Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] | |
Name | Pointer to string | [optional] | |
Description | Pointer to string | [optional] | |
Type | Pointer to string | [optional] | |
Policies | Pointer to []string | [optional] | |
Resources | Pointer to []string | [optional] | |
Scopes | Pointer to []string | [optional] | |
Logic | Pointer to Logic | [optional] | |
DecisionStrategy | Pointer to DecisionStrategy | [optional] | |
Owner | Pointer to string | [optional] | |
ResourcesData | Pointer to []ResourceRepresentation | [optional] | |
ScopesData | Pointer to []ScopeRepresentation | [optional] | |
Config | Pointer to map[string]string | [optional] |
func NewPolicyRepresentation() *PolicyRepresentation
NewPolicyRepresentation instantiates a new PolicyRepresentation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPolicyRepresentationWithDefaults() *PolicyRepresentation
NewPolicyRepresentationWithDefaults instantiates a new PolicyRepresentation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *PolicyRepresentation) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetId(v string)
SetId sets Id field to given value.
func (o *PolicyRepresentation) HasId() bool
HasId returns a boolean if a field has been set.
func (o *PolicyRepresentation) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetName(v string)
SetName sets Name field to given value.
func (o *PolicyRepresentation) HasName() bool
HasName returns a boolean if a field has been set.
func (o *PolicyRepresentation) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *PolicyRepresentation) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *PolicyRepresentation) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetType(v string)
SetType sets Type field to given value.
func (o *PolicyRepresentation) HasType() bool
HasType returns a boolean if a field has been set.
func (o *PolicyRepresentation) GetPolicies() []string
GetPolicies returns the Policies field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetPoliciesOk() (*[]string, bool)
GetPoliciesOk returns a tuple with the Policies field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetPolicies(v []string)
SetPolicies sets Policies field to given value.
func (o *PolicyRepresentation) HasPolicies() bool
HasPolicies returns a boolean if a field has been set.
func (o *PolicyRepresentation) GetResources() []string
GetResources returns the Resources field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetResourcesOk() (*[]string, bool)
GetResourcesOk returns a tuple with the Resources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetResources(v []string)
SetResources sets Resources field to given value.
func (o *PolicyRepresentation) HasResources() bool
HasResources returns a boolean if a field has been set.
func (o *PolicyRepresentation) GetScopes() []string
GetScopes returns the Scopes field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetScopesOk() (*[]string, bool)
GetScopesOk returns a tuple with the Scopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetScopes(v []string)
SetScopes sets Scopes field to given value.
func (o *PolicyRepresentation) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (o *PolicyRepresentation) GetLogic() Logic
GetLogic returns the Logic field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetLogicOk() (*Logic, bool)
GetLogicOk returns a tuple with the Logic field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetLogic(v Logic)
SetLogic sets Logic field to given value.
func (o *PolicyRepresentation) HasLogic() bool
HasLogic returns a boolean if a field has been set.
func (o *PolicyRepresentation) GetDecisionStrategy() DecisionStrategy
GetDecisionStrategy returns the DecisionStrategy field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetDecisionStrategyOk() (*DecisionStrategy, bool)
GetDecisionStrategyOk returns a tuple with the DecisionStrategy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetDecisionStrategy(v DecisionStrategy)
SetDecisionStrategy sets DecisionStrategy field to given value.
func (o *PolicyRepresentation) HasDecisionStrategy() bool
HasDecisionStrategy returns a boolean if a field has been set.
func (o *PolicyRepresentation) GetOwner() string
GetOwner returns the Owner field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetOwner(v string)
SetOwner sets Owner field to given value.
func (o *PolicyRepresentation) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (o *PolicyRepresentation) GetResourcesData() []ResourceRepresentation
GetResourcesData returns the ResourcesData field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetResourcesDataOk() (*[]ResourceRepresentation, bool)
GetResourcesDataOk returns a tuple with the ResourcesData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetResourcesData(v []ResourceRepresentation)
SetResourcesData sets ResourcesData field to given value.
func (o *PolicyRepresentation) HasResourcesData() bool
HasResourcesData returns a boolean if a field has been set.
func (o *PolicyRepresentation) GetScopesData() []ScopeRepresentation
GetScopesData returns the ScopesData field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetScopesDataOk() (*[]ScopeRepresentation, bool)
GetScopesDataOk returns a tuple with the ScopesData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetScopesData(v []ScopeRepresentation)
SetScopesData sets ScopesData field to given value.
func (o *PolicyRepresentation) HasScopesData() bool
HasScopesData returns a boolean if a field has been set.
func (o *PolicyRepresentation) GetConfig() map[string]string
GetConfig returns the Config field if non-nil, zero value otherwise.
func (o *PolicyRepresentation) GetConfigOk() (*map[string]string, bool)
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyRepresentation) SetConfig(v map[string]string)
SetConfig sets Config field to given value.
func (o *PolicyRepresentation) HasConfig() bool
HasConfig returns a boolean if a field has been set.