Skip to content

Latest commit

 

History

History
238 lines (129 loc) · 5.53 KB

Privilege.md

File metadata and controls

238 lines (129 loc) · 5.53 KB

Privilege

Properties

Name Type Description Notes
Id Pointer to int64 [optional]
Name Pointer to string [optional]
Label Pointer to string [optional]
Level Pointer to string [optional]
Order Pointer to int32 [optional]
ServiceId Pointer to string [optional]
Description Pointer to string [optional]
Extra Pointer to string [optional]

Methods

NewPrivilege

func NewPrivilege() *Privilege

NewPrivilege instantiates a new Privilege 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

NewPrivilegeWithDefaults

func NewPrivilegeWithDefaults() *Privilege

NewPrivilegeWithDefaults instantiates a new Privilege 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 *Privilege) GetId() int64

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

GetIdOk

func (o *Privilege) GetIdOk() (*int64, 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 *Privilege) SetId(v int64)

SetId sets Id field to given value.

HasId

func (o *Privilege) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *Privilege) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Privilege) 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.

SetName

func (o *Privilege) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *Privilege) HasName() bool

HasName returns a boolean if a field has been set.

GetLabel

func (o *Privilege) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

func (o *Privilege) GetLabelOk() (*string, bool)

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

SetLabel

func (o *Privilege) SetLabel(v string)

SetLabel sets Label field to given value.

HasLabel

func (o *Privilege) HasLabel() bool

HasLabel returns a boolean if a field has been set.

GetLevel

func (o *Privilege) GetLevel() string

GetLevel returns the Level field if non-nil, zero value otherwise.

GetLevelOk

func (o *Privilege) GetLevelOk() (*string, bool)

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

SetLevel

func (o *Privilege) SetLevel(v string)

SetLevel sets Level field to given value.

HasLevel

func (o *Privilege) HasLevel() bool

HasLevel returns a boolean if a field has been set.

GetOrder

func (o *Privilege) GetOrder() int32

GetOrder returns the Order field if non-nil, zero value otherwise.

GetOrderOk

func (o *Privilege) GetOrderOk() (*int32, bool)

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

SetOrder

func (o *Privilege) SetOrder(v int32)

SetOrder sets Order field to given value.

HasOrder

func (o *Privilege) HasOrder() bool

HasOrder returns a boolean if a field has been set.

GetServiceId

func (o *Privilege) GetServiceId() string

GetServiceId returns the ServiceId field if non-nil, zero value otherwise.

GetServiceIdOk

func (o *Privilege) GetServiceIdOk() (*string, bool)

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

SetServiceId

func (o *Privilege) SetServiceId(v string)

SetServiceId sets ServiceId field to given value.

HasServiceId

func (o *Privilege) HasServiceId() bool

HasServiceId returns a boolean if a field has been set.

GetDescription

func (o *Privilege) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *Privilege) 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.

SetDescription

func (o *Privilege) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Privilege) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetExtra

func (o *Privilege) GetExtra() string

GetExtra returns the Extra field if non-nil, zero value otherwise.

GetExtraOk

func (o *Privilege) GetExtraOk() (*string, bool)

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

SetExtra

func (o *Privilege) SetExtra(v string)

SetExtra sets Extra field to given value.

HasExtra

func (o *Privilege) HasExtra() bool

HasExtra returns a boolean if a field has been set.

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