Name | Type | Description | Notes |
---|---|---|---|
Code | string | Short identifier for the error, suitable for indicating the specific error within client code | |
Fields | Pointer to []ErrorField | List of the specific fields, and the errors found with their contents | [optional] |
Message | Pointer to string | Human-readable, English description of the error | [optional] |
func NewError(code 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
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
func (o *Error) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *Error) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Error) SetCode(v string)
SetCode sets Code field to given value.
func (o *Error) GetFields() []ErrorField
GetFields returns the Fields field if non-nil, zero value otherwise.
func (o *Error) GetFieldsOk() (*[]ErrorField, bool)
GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Error) SetFields(v []ErrorField)
SetFields sets Fields field to given value.
func (o *Error) HasFields() bool
HasFields returns a boolean if a field has been set.
func (o *Error) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *Error) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Error) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *Error) HasMessage() bool
HasMessage returns a boolean if a field has been set.