Skip to content

Latest commit

 

History

History
161 lines (86 loc) · 3.92 KB

File metadata and controls

161 lines (86 loc) · 3.92 KB

Error

Properties

Name Type Description Notes
Reason string Human-readable description of the error. Intended for human consumption
OperationId Pointer to string Relatively unique operation ID of the request associated to the error [optional]
Id string The unique and immutable identifier of the resource
Kind string The kind of the resource
Href string The absolute path of the resource
Code string Code of the error

Methods

NewError

func NewError(reason string, id string, kind string, href string, 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

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

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.

GetOperationId

func (o *Error) GetOperationId() string

GetOperationId returns the OperationId field if non-nil, zero value otherwise.

GetOperationIdOk

func (o *Error) GetOperationIdOk() (*string, bool)

GetOperationIdOk returns a tuple with the OperationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOperationId

func (o *Error) SetOperationId(v string)

SetOperationId sets OperationId field to given value.

HasOperationId

func (o *Error) HasOperationId() bool

HasOperationId returns a boolean if a field has been set.

GetId

func (o *Error) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Error) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *Error) SetId(v string)

SetId sets Id field to given value.

GetKind

func (o *Error) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *Error) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKind

func (o *Error) SetKind(v string)

SetKind sets Kind field to given value.

GetHref

func (o *Error) GetHref() string

GetHref returns the Href field if non-nil, zero value otherwise.

GetHrefOk

func (o *Error) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHref

func (o *Error) SetHref(v string)

SetHref sets Href field to given value.

GetCode

func (o *Error) GetCode() string

GetCode returns the Code field if non-nil, zero value otherwise.

GetCodeOk

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.

SetCode

func (o *Error) SetCode(v string)

SetCode sets Code field to given value.

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