Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.63 KB

Error.md

File metadata and controls

108 lines (59 loc) · 2.63 KB

Error

Properties

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]

Methods

NewError

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

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

GetTarget

func (o *Error) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

GetTargetOk

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.

SetTarget

func (o *Error) SetTarget(v string)

SetTarget sets Target field to given value.

HasTarget

func (o *Error) HasTarget() bool

HasTarget returns a boolean if a field has been set.

GetReason

func (o *Error) GetReason() string

GetReason returns the Reason field if non-nil, zero value otherwise.

GetReasonOk

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.

SetReason

func (o *Error) SetReason(v string)

SetReason sets Reason field to given value.

HasReason

func (o *Error) HasReason() bool

HasReason returns a boolean if a field has been set.

GetMessage

func (o *Error) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

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.

SetMessage

func (o *Error) SetMessage(v string)

SetMessage sets Message field to given value.

HasMessage

func (o *Error) HasMessage() bool

HasMessage returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]