135 lines
3.4 KiB
Markdown
135 lines
3.4 KiB
Markdown
# HandlerRespBody
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**Code** | Pointer to **int32** | http code | [optional]
|
|
**Data** | Pointer to **map[string]interface{}** | response data | [optional]
|
|
**Msg** | Pointer to **string** | response message | [optional]
|
|
**Reason** | Pointer to **string** | reason key | [optional]
|
|
|
|
## Methods
|
|
|
|
### NewHandlerRespBody
|
|
|
|
`func NewHandlerRespBody() *HandlerRespBody`
|
|
|
|
NewHandlerRespBody instantiates a new HandlerRespBody 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
|
|
|
|
### NewHandlerRespBodyWithDefaults
|
|
|
|
`func NewHandlerRespBodyWithDefaults() *HandlerRespBody`
|
|
|
|
NewHandlerRespBodyWithDefaults instantiates a new HandlerRespBody 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 *HandlerRespBody) GetCode() int32`
|
|
|
|
GetCode returns the Code field if non-nil, zero value otherwise.
|
|
|
|
### GetCodeOk
|
|
|
|
`func (o *HandlerRespBody) 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 *HandlerRespBody) SetCode(v int32)`
|
|
|
|
SetCode sets Code field to given value.
|
|
|
|
### HasCode
|
|
|
|
`func (o *HandlerRespBody) HasCode() bool`
|
|
|
|
HasCode returns a boolean if a field has been set.
|
|
|
|
### GetData
|
|
|
|
`func (o *HandlerRespBody) GetData() map[string]interface{}`
|
|
|
|
GetData returns the Data field if non-nil, zero value otherwise.
|
|
|
|
### GetDataOk
|
|
|
|
`func (o *HandlerRespBody) GetDataOk() (*map[string]interface{}, 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 *HandlerRespBody) SetData(v map[string]interface{})`
|
|
|
|
SetData sets Data field to given value.
|
|
|
|
### HasData
|
|
|
|
`func (o *HandlerRespBody) HasData() bool`
|
|
|
|
HasData returns a boolean if a field has been set.
|
|
|
|
### GetMsg
|
|
|
|
`func (o *HandlerRespBody) GetMsg() string`
|
|
|
|
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
|
|
|
### GetMsgOk
|
|
|
|
`func (o *HandlerRespBody) 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 *HandlerRespBody) SetMsg(v string)`
|
|
|
|
SetMsg sets Msg field to given value.
|
|
|
|
### HasMsg
|
|
|
|
`func (o *HandlerRespBody) HasMsg() bool`
|
|
|
|
HasMsg returns a boolean if a field has been set.
|
|
|
|
### GetReason
|
|
|
|
`func (o *HandlerRespBody) GetReason() string`
|
|
|
|
GetReason returns the Reason field if non-nil, zero value otherwise.
|
|
|
|
### GetReasonOk
|
|
|
|
`func (o *HandlerRespBody) 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 *HandlerRespBody) SetReason(v string)`
|
|
|
|
SetReason sets Reason field to given value.
|
|
|
|
### HasReason
|
|
|
|
`func (o *HandlerRespBody) HasReason() bool`
|
|
|
|
HasReason 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)
|
|
|
|
|