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 |
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
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) 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) GetOperationId() string
GetOperationId returns the OperationId field if non-nil, zero value otherwise.
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.
func (o *Error) SetOperationId(v string)
SetOperationId sets OperationId field to given value.
func (o *Error) HasOperationId() bool
HasOperationId returns a boolean if a field has been set.
func (o *Error) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *Error) SetId(v string)
SetId sets Id field to given value.
func (o *Error) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
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.
func (o *Error) SetKind(v string)
SetKind sets Kind field to given value.
func (o *Error) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
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.
func (o *Error) SetHref(v string)
SetHref sets Href field to given value.
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.