Name | Type | Description | Notes |
---|---|---|---|
Code | string | An error code describing the type of error. | |
Message | string | A short English-language description of the error. | |
Detail | Pointer to string | An optional fuller English-language description of the error. | [optional] |
Meta | Pointer to map[string]interface{} | An optional list of metadata about the error. | [optional] |
func NewErrorDescription(code string, message string, ) *ErrorDescription
NewErrorDescription instantiates a new ErrorDescription 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 NewErrorDescriptionWithDefaults() *ErrorDescription
NewErrorDescriptionWithDefaults instantiates a new ErrorDescription 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 *ErrorDescription) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *ErrorDescription) 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.
func (o *ErrorDescription) SetCode(v string)
SetCode sets Code field to given value.
func (o *ErrorDescription) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *ErrorDescription) 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 *ErrorDescription) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *ErrorDescription) GetDetail() string
GetDetail returns the Detail field if non-nil, zero value otherwise.
func (o *ErrorDescription) 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.
func (o *ErrorDescription) SetDetail(v string)
SetDetail sets Detail field to given value.
func (o *ErrorDescription) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (o *ErrorDescription) GetMeta() map[string]interface{}
GetMeta returns the Meta field if non-nil, zero value otherwise.
func (o *ErrorDescription) GetMetaOk() (*map[string]interface{}, bool)
GetMetaOk returns a tuple with the Meta field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ErrorDescription) SetMeta(v map[string]interface{})
SetMeta sets Meta field to given value.
func (o *ErrorDescription) HasMeta() bool
HasMeta returns a boolean if a field has been set.