1.8 KiB
Error
Properties
Name | Type | Description | Notes |
---|---|---|---|
ErrorDescription | Pointer to string | Текст помилки для кінцевого користувача, для автоматичного оброблення потрібно аналізувати HTTP код відповіді (200, 404, 429 та інші) | [optional] |
Methods
NewError
func NewError() *Error
NewError instantiates a new Error 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
NewErrorWithDefaults
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error 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
GetErrorDescription
func (o *Error) GetErrorDescription() string
GetErrorDescription returns the ErrorDescription field if non-nil, zero value otherwise.
GetErrorDescriptionOk
func (o *Error) GetErrorDescriptionOk() (*string, bool)
GetErrorDescriptionOk returns a tuple with the ErrorDescription field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetErrorDescription
func (o *Error) SetErrorDescription(v string)
SetErrorDescription sets ErrorDescription field to given value.
HasErrorDescription
func (o *Error) HasErrorDescription() bool
HasErrorDescription returns a boolean if a field has been set.