Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.77 KB

ErrorResponse.md

File metadata and controls

93 lines (50 loc) · 2.77 KB

ErrorResponse

Properties

Name Type Description Notes
ErrorCode int32 The error code. Refer to Error codes and status codes for more details.
ErrorMessage string The error description.
ErrorId string The error log ID. You can provide the error ID when submitting a ticket to help Cobo to locate the issue.

Methods

NewErrorResponse

func NewErrorResponse(errorCode int32, errorMessage string, errorId string, ) *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() int32

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

GetErrorCodeOk

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

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.

GetErrorId

func (o *ErrorResponse) GetErrorId() string

GetErrorId returns the ErrorId field if non-nil, zero value otherwise.

GetErrorIdOk

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

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

SetErrorId

func (o *ErrorResponse) SetErrorId(v string)

SetErrorId sets ErrorId field to given value.

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