Error

Properties

NameTypeDescriptionNotes
TypestringA URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type.
TitlestringA short, human-readable summary of the problem type.
Statusfloat32The HTTP status code generated by the API server for this occurrence of the problem.
DetailPointer to stringA human-readable explanation specific to this occurrence of the problem.[optional]
InstancePointer to stringA URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.[optional]

Methods

NewError

func NewError(type_ string, title string, status float32, ) *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

GetType

func (o *Error) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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

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

SetType

func (o *Error) SetType(v string)

SetType sets Type field to given value.

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.

GetStatus

func (o *Error) GetStatus() float32

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

GetStatusOk

func (o *Error) GetStatusOk() (*float32, 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 float32)

SetStatus sets Status field to given value.

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.

GetInstance

func (o *Error) GetInstance() string

GetInstance returns the Instance field if non-nil, zero value otherwise.

GetInstanceOk

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

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

SetInstance

func (o *Error) SetInstance(v string)

SetInstance sets Instance field to given value.

HasInstance

func (o *Error) HasInstance() bool

HasInstance returns a boolean if a field has been set.

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