Skip to content

Latest commit

 

History

History
77 lines (42 loc) · 2.18 KB

ErrorResponse.md

File metadata and controls

77 lines (42 loc) · 2.18 KB

ErrorResponse

Properties

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

Methods

NewErrorResponse

func NewErrorResponse(errorCode ErrorCode, ) *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() ErrorCode

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

GetErrorCodeOk

func (o *ErrorResponse) GetErrorCodeOk() (*ErrorCode, 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 ErrorCode)

SetErrorCode sets ErrorCode field to given value.

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.

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