Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.57 KB

File metadata and controls

98 lines (53 loc) · 2.57 KB

GenericApiError

Properties

Name Type Description Notes
Type string
Message string
ErrorCode Pointer to int64 [optional]

Methods

NewGenericApiError

func NewGenericApiError(type_ string, message string, ) *GenericApiError

NewGenericApiError instantiates a new GenericApiError 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

NewGenericApiErrorWithDefaults

func NewGenericApiErrorWithDefaults() *GenericApiError

NewGenericApiErrorWithDefaults instantiates a new GenericApiError 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 *GenericApiError) GetType() string

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

GetTypeOk

func (o *GenericApiError) 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 *GenericApiError) SetType(v string)

SetType sets Type field to given value.

GetMessage

func (o *GenericApiError) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

func (o *GenericApiError) 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 *GenericApiError) SetMessage(v string)

SetMessage sets Message field to given value.

GetErrorCode

func (o *GenericApiError) GetErrorCode() int64

GetErrorCode returns the ErrorCode field if non-nil, zero value otherwise.

GetErrorCodeOk

func (o *GenericApiError) GetErrorCodeOk() (*int64, bool)

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

SetErrorCode

func (o *GenericApiError) SetErrorCode(v int64)

SetErrorCode sets ErrorCode field to given value.

HasErrorCode

func (o *GenericApiError) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

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