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] |
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
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
func (o *Privilege) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *Privilege) SetId(v int64)
SetId sets Id field to given value.
func (o *Privilege) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Privilege) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *Privilege) SetName(v string)
SetName sets Name field to given value.
func (o *Privilege) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Privilege) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
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.
func (o *Privilege) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *Privilege) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *Privilege) GetLevel() string
GetLevel returns the Level field if non-nil, zero value otherwise.
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.
func (o *Privilege) SetLevel(v string)
SetLevel sets Level field to given value.
func (o *Privilege) HasLevel() bool
HasLevel returns a boolean if a field has been set.
func (o *Privilege) GetOrder() int32
GetOrder returns the Order field if non-nil, zero value otherwise.
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.
func (o *Privilege) SetOrder(v int32)
SetOrder sets Order field to given value.
func (o *Privilege) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (o *Privilege) GetServiceId() string
GetServiceId returns the ServiceId field if non-nil, zero value otherwise.
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.
func (o *Privilege) SetServiceId(v string)
SetServiceId sets ServiceId field to given value.
func (o *Privilege) HasServiceId() bool
HasServiceId returns a boolean if a field has been set.
func (o *Privilege) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *Privilege) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Privilege) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Privilege) GetExtra() string
GetExtra returns the Extra field if non-nil, zero value otherwise.
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.
func (o *Privilege) SetExtra(v string)
SetExtra sets Extra field to given value.
func (o *Privilege) HasExtra() bool
HasExtra returns a boolean if a field has been set.