Skip to content

Latest commit

 

History

History
77 lines (42 loc) · 1.97 KB

GenericError.md

File metadata and controls

77 lines (42 loc) · 1.97 KB

GenericError

Properties

Name Type Description Notes
Detail string
Code Pointer to string [optional]

Methods

NewGenericError

func NewGenericError(detail string, ) *GenericError

NewGenericError instantiates a new GenericError 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

NewGenericErrorWithDefaults

func NewGenericErrorWithDefaults() *GenericError

NewGenericErrorWithDefaults instantiates a new GenericError 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

GetDetail

func (o *GenericError) GetDetail() string

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

GetDetailOk

func (o *GenericError) 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 *GenericError) SetDetail(v string)

SetDetail sets Detail field to given value.

GetCode

func (o *GenericError) GetCode() string

GetCode returns the Code field if non-nil, zero value otherwise.

GetCodeOk

func (o *GenericError) 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 *GenericError) SetCode(v string)

SetCode sets Code field to given value.

HasCode

func (o *GenericError) HasCode() bool

HasCode returns a boolean if a field has been set.

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