Name | Type | Description | Notes |
---|---|---|---|
Code | string | Error code | |
Description | string | Error message | |
Timestamp | string | Timestamp when the error occurred in the format <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code>. | |
Endpoint | string | Endpoint caused the error |
func NewError(code string, description string, timestamp string, endpoint string, ) *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
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
func (o *Error) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *Error) 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 *Error) SetCode(v string)
SetCode sets Code field to given value.
func (o *Error) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Error) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Error) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Error) GetTimestamp() string
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
func (o *Error) GetTimestampOk() (*string, bool)
GetTimestampOk returns a tuple with the Timestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Error) SetTimestamp(v string)
SetTimestamp sets Timestamp field to given value.
func (o *Error) GetEndpoint() string
GetEndpoint returns the Endpoint field if non-nil, zero value otherwise.
func (o *Error) GetEndpointOk() (*string, bool)
GetEndpointOk returns a tuple with the Endpoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Error) SetEndpoint(v string)
SetEndpoint sets Endpoint field to given value.