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. |
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
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
func (o *ErrorResponse) GetErrorCode() int32
GetErrorCode returns the ErrorCode field if non-nil, zero value otherwise.
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.
func (o *ErrorResponse) SetErrorCode(v int32)
SetErrorCode sets ErrorCode field to given value.
func (o *ErrorResponse) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field if non-nil, zero value otherwise.
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.
func (o *ErrorResponse) SetErrorMessage(v string)
SetErrorMessage sets ErrorMessage field to given value.
func (o *ErrorResponse) GetErrorId() string
GetErrorId returns the ErrorId field if non-nil, zero value otherwise.
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.
func (o *ErrorResponse) SetErrorId(v string)
SetErrorId sets ErrorId field to given value.