Skip to content

Latest commit

 

History

History
119 lines (64 loc) · 2.91 KB

Permission.md

File metadata and controls

119 lines (64 loc) · 2.91 KB

Permission

Properties

Name Type Description Notes
Id int32
MetaType string
Scope string
Links Pointer to PermissionLinks [optional]

Methods

NewPermission

func NewPermission(id int32, metaType string, scope string, ) *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

GetId

func (o *Permission) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Permission) GetIdOk() (*int32, 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.

SetId

func (o *Permission) SetId(v int32)

SetId sets Id field to given value.

GetMetaType

func (o *Permission) GetMetaType() string

GetMetaType returns the MetaType field if non-nil, zero value otherwise.

GetMetaTypeOk

func (o *Permission) GetMetaTypeOk() (*string, bool)

GetMetaTypeOk returns a tuple with the MetaType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMetaType

func (o *Permission) SetMetaType(v string)

SetMetaType sets MetaType field to given value.

GetScope

func (o *Permission) GetScope() string

GetScope returns the Scope field if non-nil, zero value otherwise.

GetScopeOk

func (o *Permission) GetScopeOk() (*string, bool)

GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetScope

func (o *Permission) SetScope(v string)

SetScope sets Scope field to given value.

GetLinks

func (o *Permission) GetLinks() PermissionLinks

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *Permission) GetLinksOk() (*PermissionLinks, bool)

GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLinks

func (o *Permission) SetLinks(v PermissionLinks)

SetLinks sets Links field to given value.

HasLinks

func (o *Permission) HasLinks() bool

HasLinks returns a boolean if a field has been set.

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