Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 4.62 KB

Error.md

File metadata and controls

186 lines (101 loc) · 4.62 KB

Error

Properties

Name Type Description Notes
Id Pointer to string A unique identifier for this particular occurrence of the problem. [optional]
Status Pointer to string The HTTP status code applicable to this problem, expressed as a string value. [optional]
Code Pointer to string An application-specific error code, expressed as a string value. [optional]
Title Pointer to string A short, human-readable summary of the problem. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. [optional]
Detail Pointer to string A human-readable explanation specific to this occurrence of the problem. [optional]
Source Pointer to ErrorSource [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

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.

HasId

func (o *Error) HasId() bool

HasId returns a boolean if a field has been set.

GetStatus

func (o *Error) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

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

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

SetStatus

func (o *Error) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *Error) HasStatus() bool

HasStatus returns a boolean if a field has been set.

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.

HasCode

func (o *Error) HasCode() bool

HasCode returns a boolean if a field has been set.

GetTitle

func (o *Error) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

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

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

SetTitle

func (o *Error) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *Error) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetDetail

func (o *Error) GetDetail() string

GetDetail returns the Detail field if non-nil, zero value otherwise.

GetDetailOk

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

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

SetDetail

func (o *Error) SetDetail(v string)

SetDetail sets Detail field to given value.

HasDetail

func (o *Error) HasDetail() bool

HasDetail returns a boolean if a field has been set.

GetSource

func (o *Error) GetSource() ErrorSource

GetSource returns the Source field if non-nil, zero value otherwise.

GetSourceOk

func (o *Error) GetSourceOk() (*ErrorSource, bool)

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

SetSource

func (o *Error) SetSource(v ErrorSource)

SetSource sets Source field to given value.

HasSource

func (o *Error) HasSource() bool

HasSource returns a boolean if a field has been set.

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