Name | Type | Description | Notes |
---|---|---|---|
Target | Pointer to string | Target of error | [optional] |
Reason | Pointer to string | The type of error. | [optional] |
Message | Pointer to string | The details of the error. | [optional] |
func NewError() *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) GetTarget() string
GetTarget returns the Target field if non-nil, zero value otherwise.
func (o *Error) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Error) SetTarget(v string)
SetTarget sets Target field to given value.
func (o *Error) HasTarget() bool
HasTarget returns a boolean if a field has been set.
func (o *Error) GetReason() string
GetReason returns the Reason field if non-nil, zero value otherwise.
func (o *Error) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Error) SetReason(v string)
SetReason sets Reason field to given value.
func (o *Error) HasReason() bool
HasReason 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.