Name | Type | Description | Notes |
---|---|---|---|
Code | string | Short identifier for the error, suitable for indicating the specific error within client code | |
Message | Pointer to string | Human-readable, English description of the problem with the contents of the field | [optional] |
Path | string | <ul> <li style='margin-left: 12px;'>JSONPath referring to a field containing an error</li> <strong style='margin-left: 12px;'>OR</strong> <li style='margin-left: 12px;'>JSONPath referring to a field that refers to an object containing an error, with more detail in `pathRelated`</li> </ul> | |
PathRelated | Pointer to string | JSONPath referring to a field containing an error, which is referenced by `path` | [optional] |
func NewErrorField(code string, path string, ) *ErrorField
NewErrorField instantiates a new ErrorField 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 NewErrorFieldWithDefaults() *ErrorField
NewErrorFieldWithDefaults instantiates a new ErrorField 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 *ErrorField) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *ErrorField) 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 *ErrorField) SetCode(v string)
SetCode sets Code field to given value.
func (o *ErrorField) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *ErrorField) 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 *ErrorField) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *ErrorField) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (o *ErrorField) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *ErrorField) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ErrorField) SetPath(v string)
SetPath sets Path field to given value.
func (o *ErrorField) GetPathRelated() string
GetPathRelated returns the PathRelated field if non-nil, zero value otherwise.
func (o *ErrorField) GetPathRelatedOk() (*string, bool)
GetPathRelatedOk returns a tuple with the PathRelated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ErrorField) SetPathRelated(v string)
SetPathRelated sets PathRelated field to given value.
func (o *ErrorField) HasPathRelated() bool
HasPathRelated returns a boolean if a field has been set.