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

109 lines
3.2 KiB
Markdown

# SchemaPrivilegeOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Level** | Pointer to [**SchemaPrivilegeLevel**](SchemaPrivilegeLevel.md) | | [optional]
**LevelDesc** | Pointer to **string** | | [optional]
**Privileges** | Pointer to [**[]ConstantPrivilege**](ConstantPrivilege.md) | | [optional]
## Methods
### NewSchemaPrivilegeOption
`func NewSchemaPrivilegeOption() *SchemaPrivilegeOption`
NewSchemaPrivilegeOption instantiates a new SchemaPrivilegeOption 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
### NewSchemaPrivilegeOptionWithDefaults
`func NewSchemaPrivilegeOptionWithDefaults() *SchemaPrivilegeOption`
NewSchemaPrivilegeOptionWithDefaults instantiates a new SchemaPrivilegeOption 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
### GetLevel
`func (o *SchemaPrivilegeOption) GetLevel() SchemaPrivilegeLevel`
GetLevel returns the Level field if non-nil, zero value otherwise.
### GetLevelOk
`func (o *SchemaPrivilegeOption) GetLevelOk() (*SchemaPrivilegeLevel, 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 *SchemaPrivilegeOption) SetLevel(v SchemaPrivilegeLevel)`
SetLevel sets Level field to given value.
### HasLevel
`func (o *SchemaPrivilegeOption) HasLevel() bool`
HasLevel returns a boolean if a field has been set.
### GetLevelDesc
`func (o *SchemaPrivilegeOption) GetLevelDesc() string`
GetLevelDesc returns the LevelDesc field if non-nil, zero value otherwise.
### GetLevelDescOk
`func (o *SchemaPrivilegeOption) GetLevelDescOk() (*string, bool)`
GetLevelDescOk returns a tuple with the LevelDesc field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetLevelDesc
`func (o *SchemaPrivilegeOption) SetLevelDesc(v string)`
SetLevelDesc sets LevelDesc field to given value.
### HasLevelDesc
`func (o *SchemaPrivilegeOption) HasLevelDesc() bool`
HasLevelDesc returns a boolean if a field has been set.
### GetPrivileges
`func (o *SchemaPrivilegeOption) GetPrivileges() []ConstantPrivilege`
GetPrivileges returns the Privileges field if non-nil, zero value otherwise.
### GetPrivilegesOk
`func (o *SchemaPrivilegeOption) GetPrivilegesOk() (*[]ConstantPrivilege, bool)`
GetPrivilegesOk returns a tuple with the Privileges field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPrivileges
`func (o *SchemaPrivilegeOption) SetPrivileges(v []ConstantPrivilege)`
SetPrivileges sets Privileges field to given value.
### HasPrivileges
`func (o *SchemaPrivilegeOption) HasPrivileges() bool`
HasPrivileges 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)