Files
openapi-go-answer/docs/ConstantPrivilege.md
2023-08-22 10:37:28 +08:00

109 lines
2.7 KiB
Markdown

# ConstantPrivilege
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Key** | Pointer to **string** | | [optional]
**Label** | Pointer to **string** | | [optional]
**Value** | Pointer to **int32** | | [optional]
## Methods
### NewConstantPrivilege
`func NewConstantPrivilege() *ConstantPrivilege`
NewConstantPrivilege instantiates a new ConstantPrivilege 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
### NewConstantPrivilegeWithDefaults
`func NewConstantPrivilegeWithDefaults() *ConstantPrivilege`
NewConstantPrivilegeWithDefaults instantiates a new ConstantPrivilege 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
### GetKey
`func (o *ConstantPrivilege) GetKey() string`
GetKey returns the Key field if non-nil, zero value otherwise.
### GetKeyOk
`func (o *ConstantPrivilege) GetKeyOk() (*string, bool)`
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetKey
`func (o *ConstantPrivilege) SetKey(v string)`
SetKey sets Key field to given value.
### HasKey
`func (o *ConstantPrivilege) HasKey() bool`
HasKey returns a boolean if a field has been set.
### GetLabel
`func (o *ConstantPrivilege) GetLabel() string`
GetLabel returns the Label field if non-nil, zero value otherwise.
### GetLabelOk
`func (o *ConstantPrivilege) 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 *ConstantPrivilege) SetLabel(v string)`
SetLabel sets Label field to given value.
### HasLabel
`func (o *ConstantPrivilege) HasLabel() bool`
HasLabel returns a boolean if a field has been set.
### GetValue
`func (o *ConstantPrivilege) GetValue() int32`
GetValue returns the Value field if non-nil, zero value otherwise.
### GetValueOk
`func (o *ConstantPrivilege) GetValueOk() (*int32, bool)`
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetValue
`func (o *ConstantPrivilege) SetValue(v int32)`
SetValue sets Value field to given value.
### HasValue
`func (o *ConstantPrivilege) HasValue() bool`
HasValue returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)