4.2 KiB
AnswerAdminApiSettingPrivilegesGet200Response
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Code | Pointer to int32 | http code | [optional] |
| Data | Pointer to SchemaGetPrivilegesConfigResp | [optional] | |
| Msg | Pointer to string | response message | [optional] |
| Reason | Pointer to string | reason key | [optional] |
Methods
NewAnswerAdminApiSettingPrivilegesGet200Response
func NewAnswerAdminApiSettingPrivilegesGet200Response() *AnswerAdminApiSettingPrivilegesGet200Response
NewAnswerAdminApiSettingPrivilegesGet200Response instantiates a new AnswerAdminApiSettingPrivilegesGet200Response 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
NewAnswerAdminApiSettingPrivilegesGet200ResponseWithDefaults
func NewAnswerAdminApiSettingPrivilegesGet200ResponseWithDefaults() *AnswerAdminApiSettingPrivilegesGet200Response
NewAnswerAdminApiSettingPrivilegesGet200ResponseWithDefaults instantiates a new AnswerAdminApiSettingPrivilegesGet200Response 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
GetCode
func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetCode() int32
GetCode returns the Code field if non-nil, zero value otherwise.
GetCodeOk
func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCode
func (o *AnswerAdminApiSettingPrivilegesGet200Response) SetCode(v int32)
SetCode sets Code field to given value.
HasCode
func (o *AnswerAdminApiSettingPrivilegesGet200Response) HasCode() bool
HasCode returns a boolean if a field has been set.
GetData
func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetData() SchemaGetPrivilegesConfigResp
GetData returns the Data field if non-nil, zero value otherwise.
GetDataOk
func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetDataOk() (*SchemaGetPrivilegesConfigResp, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetData
func (o *AnswerAdminApiSettingPrivilegesGet200Response) SetData(v SchemaGetPrivilegesConfigResp)
SetData sets Data field to given value.
HasData
func (o *AnswerAdminApiSettingPrivilegesGet200Response) HasData() bool
HasData returns a boolean if a field has been set.
GetMsg
func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetMsg() string
GetMsg returns the Msg field if non-nil, zero value otherwise.
GetMsgOk
func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMsg
func (o *AnswerAdminApiSettingPrivilegesGet200Response) SetMsg(v string)
SetMsg sets Msg field to given value.
HasMsg
func (o *AnswerAdminApiSettingPrivilegesGet200Response) HasMsg() bool
HasMsg returns a boolean if a field has been set.
GetReason
func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetReason() string
GetReason returns the Reason field if non-nil, zero value otherwise.
GetReasonOk
func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetReason
func (o *AnswerAdminApiSettingPrivilegesGet200Response) SetReason(v string)
SetReason sets Reason field to given value.
HasReason
func (o *AnswerAdminApiSettingPrivilegesGet200Response) HasReason() bool
HasReason returns a boolean if a field has been set.