Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.92 KB

ErrorResponse.md

File metadata and controls

108 lines (59 loc) · 2.92 KB

ErrorResponse

Properties

Name Type Description Notes
ErrorCode Pointer to ErrorsEnum [optional]
ErrorMessage Pointer to string [optional]
Details Pointer to string [optional]

Methods

NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse 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

NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse 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

GetErrorCode

func (o *ErrorResponse) GetErrorCode() ErrorsEnum

GetErrorCode returns the ErrorCode field if non-nil, zero value otherwise.

GetErrorCodeOk

func (o *ErrorResponse) GetErrorCodeOk() (*ErrorsEnum, bool)

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

SetErrorCode

func (o *ErrorResponse) SetErrorCode(v ErrorsEnum)

SetErrorCode sets ErrorCode field to given value.

HasErrorCode

func (o *ErrorResponse) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

GetErrorMessage

func (o *ErrorResponse) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field if non-nil, zero value otherwise.

GetErrorMessageOk

func (o *ErrorResponse) GetErrorMessageOk() (*string, bool)

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

SetErrorMessage

func (o *ErrorResponse) SetErrorMessage(v string)

SetErrorMessage sets ErrorMessage field to given value.

HasErrorMessage

func (o *ErrorResponse) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

GetDetails

func (o *ErrorResponse) GetDetails() string

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

GetDetailsOk

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

SetDetails sets Details field to given value.

HasDetails

func (o *ErrorResponse) HasDetails() bool

HasDetails returns a boolean if a field has been set.

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