Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.3 KB

File metadata and controls

93 lines (50 loc) · 2.3 KB

Error

Properties

Name Type Description Notes
Title string
Status int32
ErrorType ApiErrorType

Methods

NewError

func NewError(title string, status int32, errorType ApiErrorType, ) *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

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() int32

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

GetStatusOk

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

SetStatus sets Status field to given value.

GetErrorType

func (o *Error) GetErrorType() ApiErrorType

GetErrorType returns the ErrorType field if non-nil, zero value otherwise.

GetErrorTypeOk

func (o *Error) GetErrorTypeOk() (*ApiErrorType, bool)

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

SetErrorType

func (o *Error) SetErrorType(v ApiErrorType)

SetErrorType sets ErrorType field to given value.

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