Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.38 KB

Error.md

File metadata and controls

98 lines (53 loc) · 2.38 KB

Error

Properties

Name Type Description Notes
Code string
Message string
Detail Pointer to map[string]interface{} [optional]

Methods

NewError

func NewError(code 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

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.

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.

GetDetail

func (o *Error) GetDetail() map[string]interface{}

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

GetDetailOk

func (o *Error) GetDetailOk() (*map[string]interface{}, 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 map[string]interface{})

SetDetail sets Detail field to given value.

HasDetail

func (o *Error) HasDetail() bool

HasDetail returns a boolean if a field has been set.

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