Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.46 KB

File metadata and controls

93 lines (50 loc) · 2.46 KB

RestrictedModelError

Properties

Name Type Description Notes
Key string
Message string
Code int32

Methods

NewRestrictedModelError

func NewRestrictedModelError(key string, message string, code int32, ) *RestrictedModelError

NewRestrictedModelError instantiates a new RestrictedModelError 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

NewRestrictedModelErrorWithDefaults

func NewRestrictedModelErrorWithDefaults() *RestrictedModelError

NewRestrictedModelErrorWithDefaults instantiates a new RestrictedModelError 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

GetKey

func (o *RestrictedModelError) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *RestrictedModelError) GetKeyOk() (*string, bool)

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

SetKey

func (o *RestrictedModelError) SetKey(v string)

SetKey sets Key field to given value.

GetMessage

func (o *RestrictedModelError) GetMessage() string

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

GetMessageOk

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

SetMessage sets Message field to given value.

GetCode

func (o *RestrictedModelError) GetCode() int32

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

GetCodeOk

func (o *RestrictedModelError) GetCodeOk() (*int32, 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 *RestrictedModelError) SetCode(v int32)

SetCode sets Code field to given value.

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