Skip to content

Latest commit

 

History

History
91 lines (48 loc) · 2.52 KB

ErrorResponseWithStatus.md

File metadata and controls

91 lines (48 loc) · 2.52 KB

ErrorResponseWithStatus

Properties

Name Type Description Notes
Message Pointer to string [optional]
Errors Pointer to []ApiError An array of individual problems encountered during the request. [optional]
StatusCode Pointer to int32 The error code [optional]

Methods

GetMessage

func (o *ErrorResponseWithStatus) GetMessage() string

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

GetMessageOk

func (o *ErrorResponseWithStatus) 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.

HasMessage

func (o *ErrorResponseWithStatus) HasMessage() bool

HasMessage returns a boolean if a field has been set.

SetMessage

func (o *ErrorResponseWithStatus) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

GetErrors

func (o *ErrorResponseWithStatus) GetErrors() []ApiError

GetErrors returns the Errors field if non-nil, zero value otherwise.

GetErrorsOk

func (o *ErrorResponseWithStatus) GetErrorsOk() ([]ApiError, bool)

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

HasErrors

func (o *ErrorResponseWithStatus) HasErrors() bool

HasErrors returns a boolean if a field has been set.

SetErrors

func (o *ErrorResponseWithStatus) SetErrors(v []ApiError)

SetErrors gets a reference to the given []ApiError and assigns it to the Errors field.

GetStatusCode

func (o *ErrorResponseWithStatus) GetStatusCode() int32

GetStatusCode returns the StatusCode field if non-nil, zero value otherwise.

GetStatusCodeOk

func (o *ErrorResponseWithStatus) GetStatusCodeOk() (int32, bool)

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

HasStatusCode

func (o *ErrorResponseWithStatus) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

SetStatusCode

func (o *ErrorResponseWithStatus) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

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