2.0 KiB
Error
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| ErrorCode | string | ||
| ErrorMessage | Pointer to string | [optional] |
Methods
NewError
func NewError(errorCode string, ) *Error
NewError instantiates a new Error 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
NewErrorWithDefaults
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error 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 *Error) GetErrorCode() string
GetErrorCode returns the ErrorCode field if non-nil, zero value otherwise.
GetErrorCodeOk
func (o *Error) GetErrorCodeOk() (*string, 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 *Error) SetErrorCode(v string)
SetErrorCode sets ErrorCode field to given value.
GetErrorMessage
func (o *Error) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field if non-nil, zero value otherwise.
GetErrorMessageOk
func (o *Error) 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 *Error) SetErrorMessage(v string)
SetErrorMessage sets ErrorMessage field to given value.
HasErrorMessage
func (o *Error) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.