Name | Type | Description | Notes |
---|---|---|---|
Resources | Pointer to []string | Resource specifier strings | [optional] |
NotResources | Pointer to []string | Targeted resources are the resources NOT in this list. The <code>resources</code> field must be empty to use this field. | [optional] |
Actions | Pointer to []string | Actions to perform on a resource | [optional] |
NotActions | Pointer to []string | Targeted actions are the actions NOT in this list. The <code>actions</code> field must be empty to use this field. | [optional] |
Effect | string | Whether this statement should allow or deny actions on the resources. |
func NewStatementPost(effect string, ) *StatementPost
NewStatementPost instantiates a new StatementPost 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 NewStatementPostWithDefaults() *StatementPost
NewStatementPostWithDefaults instantiates a new StatementPost 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 *StatementPost) GetResources() []string
GetResources returns the Resources field if non-nil, zero value otherwise.
func (o *StatementPost) 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 *StatementPost) SetResources(v []string)
SetResources sets Resources field to given value.
func (o *StatementPost) HasResources() bool
HasResources returns a boolean if a field has been set.
func (o *StatementPost) GetNotResources() []string
GetNotResources returns the NotResources field if non-nil, zero value otherwise.
func (o *StatementPost) GetNotResourcesOk() (*[]string, bool)
GetNotResourcesOk returns a tuple with the NotResources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StatementPost) SetNotResources(v []string)
SetNotResources sets NotResources field to given value.
func (o *StatementPost) HasNotResources() bool
HasNotResources returns a boolean if a field has been set.
func (o *StatementPost) GetActions() []string
GetActions returns the Actions field if non-nil, zero value otherwise.
func (o *StatementPost) GetActionsOk() (*[]string, bool)
GetActionsOk returns a tuple with the Actions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StatementPost) SetActions(v []string)
SetActions sets Actions field to given value.
func (o *StatementPost) HasActions() bool
HasActions returns a boolean if a field has been set.
func (o *StatementPost) GetNotActions() []string
GetNotActions returns the NotActions field if non-nil, zero value otherwise.
func (o *StatementPost) GetNotActionsOk() (*[]string, bool)
GetNotActionsOk returns a tuple with the NotActions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StatementPost) SetNotActions(v []string)
SetNotActions sets NotActions field to given value.
func (o *StatementPost) HasNotActions() bool
HasNotActions returns a boolean if a field has been set.
func (o *StatementPost) GetEffect() string
GetEffect returns the Effect field if non-nil, zero value otherwise.
func (o *StatementPost) GetEffectOk() (*string, bool)
GetEffectOk returns a tuple with the Effect field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StatementPost) SetEffect(v string)
SetEffect sets Effect field to given value.