Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 3.88 KB

Error.md

File metadata and controls

160 lines (87 loc) · 3.88 KB

Error

Properties

Name Type Description Notes
Status Pointer to int32 HTTP status code [optional]
Error Pointer to string HTTP status as text [optional]
Code Pointer to string API specific error identifier for switch-case handling [optional]
Message Pointer to string General, human-friendly error description [optional]
Details Pointer to string Detailed, human-friendly problem description adopting specific inputs of the request [optional]

Methods

NewError

func NewError() *Error

NewError instantiates a new Error 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

NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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

GetStatus

func (o *Error) GetStatus() int32

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *Error) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatus

func (o *Error) SetStatus(v int32)

SetStatus sets Status field to given value.

HasStatus

func (o *Error) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetError

func (o *Error) GetError() string

GetError returns the Error field if non-nil, zero value otherwise.

GetErrorOk

func (o *Error) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetError

func (o *Error) SetError(v string)

SetError sets Error field to given value.

HasError

func (o *Error) HasError() bool

HasError returns a boolean if a field has been set.

GetCode

func (o *Error) GetCode() string

GetCode returns the Code field if non-nil, zero value otherwise.

GetCodeOk

func (o *Error) GetCodeOk() (*string, 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 *Error) SetCode(v string)

SetCode sets Code field to given value.

HasCode

func (o *Error) HasCode() bool

HasCode returns a boolean if a field has been set.

GetMessage

func (o *Error) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

func (o *Error) 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 *Error) SetMessage(v string)

SetMessage sets Message field to given value.

HasMessage

func (o *Error) HasMessage() bool

HasMessage returns a boolean if a field has been set.

GetDetails

func (o *Error) GetDetails() string

GetDetails returns the Details field if non-nil, zero value otherwise.

GetDetailsOk

func (o *Error) GetDetailsOk() (*string, 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 *Error) SetDetails(v string)

SetDetails sets Details field to given value.

HasDetails

func (o *Error) HasDetails() bool

HasDetails returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]