Name | Type | Description | Notes |
---|---|---|---|
Code | Pointer to ErrorCode | [optional] [default to ERRORCODE_NO_ERROR] | |
Message | Pointer to string | [optional] |
func NewUnauthenticatedResponse() *UnauthenticatedResponse
NewUnauthenticatedResponse instantiates a new UnauthenticatedResponse 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 NewUnauthenticatedResponseWithDefaults() *UnauthenticatedResponse
NewUnauthenticatedResponseWithDefaults instantiates a new UnauthenticatedResponse 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 *UnauthenticatedResponse) GetCode() ErrorCode
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *UnauthenticatedResponse) GetCodeOk() (*ErrorCode, 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 *UnauthenticatedResponse) SetCode(v ErrorCode)
SetCode sets Code field to given value.
func (o *UnauthenticatedResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (o *UnauthenticatedResponse) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *UnauthenticatedResponse) 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 *UnauthenticatedResponse) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *UnauthenticatedResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.