Skip to content

Latest commit

 

History

History
176 lines (95 loc) · 4.4 KB

Error.md

File metadata and controls

176 lines (95 loc) · 4.4 KB

Error

Properties

Name Type Description Notes
Error string Stable machine-readable code.
Message string Human-readable; do not branch on it.
Errors Pointer to map[string][]string Field → messages, on field-level validation failures. [optional]
Scope Pointer to string [optional]
UnknownFields Pointer to []string [optional]
CurrentEtag Pointer to string [optional]

Methods

NewError

func NewError(error_ string, message 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

GetError

func (o *Error) GetError() string

GetError returns the Error field if non-nil, zero value otherwise.

GetErrorOk

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

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

SetError

func (o *Error) SetError(v string)

SetError sets Error field to given value.

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.

GetErrors

func (o *Error) GetErrors() map[string][]string

GetErrors returns the Errors field if non-nil, zero value otherwise.

GetErrorsOk

func (o *Error) GetErrorsOk() (*map[string][]string, bool)

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

SetErrors

func (o *Error) SetErrors(v map[string][]string)

SetErrors sets Errors field to given value.

HasErrors

func (o *Error) HasErrors() bool

HasErrors returns a boolean if a field has been set.

GetScope

func (o *Error) GetScope() string

GetScope returns the Scope field if non-nil, zero value otherwise.

GetScopeOk

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

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

SetScope

func (o *Error) SetScope(v string)

SetScope sets Scope field to given value.

HasScope

func (o *Error) HasScope() bool

HasScope returns a boolean if a field has been set.

GetUnknownFields

func (o *Error) GetUnknownFields() []string

GetUnknownFields returns the UnknownFields field if non-nil, zero value otherwise.

GetUnknownFieldsOk

func (o *Error) GetUnknownFieldsOk() (*[]string, bool)

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

SetUnknownFields

func (o *Error) SetUnknownFields(v []string)

SetUnknownFields sets UnknownFields field to given value.

HasUnknownFields

func (o *Error) HasUnknownFields() bool

HasUnknownFields returns a boolean if a field has been set.

GetCurrentEtag

func (o *Error) GetCurrentEtag() string

GetCurrentEtag returns the CurrentEtag field if non-nil, zero value otherwise.

GetCurrentEtagOk

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

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

SetCurrentEtag

func (o *Error) SetCurrentEtag(v string)

SetCurrentEtag sets CurrentEtag field to given value.

HasCurrentEtag

func (o *Error) HasCurrentEtag() bool

HasCurrentEtag returns a boolean if a field has been set.

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