Status
February 16, 2023 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Code | Pointer to int32 | [optional] | |
| Message | Pointer to string | [optional] | |
| Details | Pointer to []Any | [optional] |
Methods
NewStatus
func NewStatus() *Status
NewStatus instantiates a new Status 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
NewStatusWithDefaults
func NewStatusWithDefaults() *Status
NewStatusWithDefaults instantiates a new Status 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 *Status) GetCode() int32
GetCode returns the Code field if non-nil, zero value otherwise.
GetCodeOk
func (o *Status) 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 *Status) SetCode(v int32)
SetCode sets Code field to given value.
HasCode
func (o *Status) HasCode() bool
HasCode returns a boolean if a field has been set.
GetMessage
func (o *Status) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
GetMessageOk
func (o *Status) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMessage
func (o *Status) SetMessage(v string)
SetMessage sets Message field to given value.
HasMessage
func (o *Status) HasMessage() bool
HasMessage returns a boolean if a field has been set.
GetDetails
func (o *Status) GetDetails() []Any
GetDetails returns the Details field if non-nil, zero value otherwise.
GetDetailsOk
func (o *Status) GetDetailsOk() (*[]Any, bool)
GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDetails
func (o *Status) SetDetails(v []Any)
SetDetails sets Details field to given value.
HasDetails
func (o *Status) HasDetails() bool
HasDetails returns a boolean if a field has been set.