Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.17 KB

Permission.md

File metadata and controls

82 lines (45 loc) · 2.17 KB

Permission

Properties

Name Type Description Notes
Action Pointer to string [optional]
ResourceType Pointer to string [optional]

Methods

NewPermission

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

NewPermissionWithDefaults

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

GetAction

func (o *Permission) GetAction() string

GetAction returns the Action field if non-nil, zero value otherwise.

GetActionOk

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.

SetAction

func (o *Permission) SetAction(v string)

SetAction sets Action field to given value.

HasAction

func (o *Permission) HasAction() bool

HasAction returns a boolean if a field has been set.

GetResourceType

func (o *Permission) GetResourceType() string

GetResourceType returns the ResourceType field if non-nil, zero value otherwise.

GetResourceTypeOk

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.

SetResourceType

func (o *Permission) SetResourceType(v string)

SetResourceType sets ResourceType field to given value.

HasResourceType

func (o *Permission) HasResourceType() bool

HasResourceType returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]