| Name | Type | Description | Notes |
|---|---|---|---|
| Key | string | ||
| Message | string | ||
| Code | int32 |
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
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
func (o *RestrictedModelError) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
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.
func (o *RestrictedModelError) SetKey(v string)
SetKey sets Key field to given value.
func (o *RestrictedModelError) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
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.
func (o *RestrictedModelError) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *RestrictedModelError) GetCode() int32
GetCode returns the Code field if non-nil, zero value otherwise.
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.
func (o *RestrictedModelError) SetCode(v int32)
SetCode sets Code field to given value.