Name | Type | Description | Notes |
---|---|---|---|
Action | Pointer to string | [optional] | |
ResourceType | Pointer to string | [optional] |
func NewPermission() *Permission
NewPermission instantiates a new Permission 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 NewPermissionWithDefaults() *Permission
NewPermissionWithDefaults instantiates a new Permission 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 *Permission) GetAction() string
GetAction returns the Action field if non-nil, zero value otherwise.
func (o *Permission) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Permission) SetAction(v string)
SetAction sets Action field to given value.
func (o *Permission) HasAction() bool
HasAction returns a boolean if a field has been set.
func (o *Permission) GetResourceType() string
GetResourceType returns the ResourceType field if non-nil, zero value otherwise.
func (o *Permission) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Permission) SetResourceType(v string)
SetResourceType sets ResourceType field to given value.
func (o *Permission) HasResourceType() bool
HasResourceType returns a boolean if a field has been set.