# Error
# Properties
Name | Type | Description | Notes |
---|---|---|---|
Type | Pointer to ErrorType | [optional] | |
Title | Pointer to NullableString | [optional] | |
Status | Pointer to NullableInt32 | [optional] | |
Code | Pointer to NullableInt32 | [optional] [readonly] | |
Detail | Pointer to NullableString | [optional] [readonly] | |
TraceId | Pointer to NullableString | [optional] [readonly] | |
Errors | Pointer to []string | [optional] [readonly] |
# 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
# GetType
func (o *Error) GetType() ErrorType
GetType returns the Type field if non-nil, zero value otherwise.
# GetTypeOk
func (o *Error) GetTypeOk() (*ErrorType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
# SetType
func (o *Error) SetType(v ErrorType)
SetType sets Type field to given value.
# HasType
func (o *Error) HasType() bool
HasType returns a boolean if a field has been set.
# GetTitle
func (o *Error) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
# GetTitleOk
func (o *Error) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
# SetTitle
func (o *Error) SetTitle(v string)
SetTitle sets Title field to given value.
# HasTitle
func (o *Error) HasTitle() bool
HasTitle returns a boolean if a field has been set.
# SetTitleNil
func (o *Error) SetTitleNil(b bool)
SetTitleNil sets the value for Title to be an explicit nil
# UnsetTitle
func (o *Error) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil
# GetStatus
func (o *Error) GetStatus() int32
GetStatus returns the Status field if non-nil, zero value otherwise.
# GetStatusOk
func (o *Error) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
# SetStatus
func (o *Error) SetStatus(v int32)
SetStatus sets Status field to given value.
# HasStatus
func (o *Error) HasStatus() bool
HasStatus returns a boolean if a field has been set.
# SetStatusNil
func (o *Error) SetStatusNil(b bool)
SetStatusNil sets the value for Status to be an explicit nil
# UnsetStatus
func (o *Error) UnsetStatus()
UnsetStatus ensures that no value is present for Status, not even an explicit nil
# GetCode
func (o *Error) GetCode() int32
GetCode returns the Code field if non-nil, zero value otherwise.
# GetCodeOk
func (o *Error) 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.
# SetCode
func (o *Error) SetCode(v int32)
SetCode sets Code field to given value.
# HasCode
func (o *Error) HasCode() bool
HasCode returns a boolean if a field has been set.
# SetCodeNil
func (o *Error) SetCodeNil(b bool)
SetCodeNil sets the value for Code to be an explicit nil
# UnsetCode
func (o *Error) UnsetCode()
UnsetCode ensures that no value is present for Code, not even an explicit nil
# GetDetail
func (o *Error) GetDetail() string
GetDetail returns the Detail field if non-nil, zero value otherwise.
# GetDetailOk
func (o *Error) 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.
# SetDetail
func (o *Error) SetDetail(v string)
SetDetail sets Detail field to given value.
# HasDetail
func (o *Error) HasDetail() bool
HasDetail returns a boolean if a field has been set.
# SetDetailNil
func (o *Error) SetDetailNil(b bool)
SetDetailNil sets the value for Detail to be an explicit nil
# UnsetDetail
func (o *Error) UnsetDetail()
UnsetDetail ensures that no value is present for Detail, not even an explicit nil
# GetTraceId
func (o *Error) GetTraceId() string
GetTraceId returns the TraceId field if non-nil, zero value otherwise.
# GetTraceIdOk
func (o *Error) GetTraceIdOk() (*string, bool)
GetTraceIdOk returns a tuple with the TraceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
# SetTraceId
func (o *Error) SetTraceId(v string)
SetTraceId sets TraceId field to given value.
# HasTraceId
func (o *Error) HasTraceId() bool
HasTraceId returns a boolean if a field has been set.
# SetTraceIdNil
func (o *Error) SetTraceIdNil(b bool)
SetTraceIdNil sets the value for TraceId to be an explicit nil
# UnsetTraceId
func (o *Error) UnsetTraceId()
UnsetTraceId ensures that no value is present for TraceId, not even an explicit nil
# GetErrors
func (o *Error) GetErrors() []string
GetErrors returns the Errors field if non-nil, zero value otherwise.
# GetErrorsOk
func (o *Error) GetErrorsOk() (*[]string, bool)
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
# SetErrors
func (o *Error) SetErrors(v []string)
SetErrors sets Errors field to given value.
# HasErrors
func (o *Error) HasErrors() bool
HasErrors returns a boolean if a field has been set.
# SetErrorsNil
func (o *Error) SetErrorsNil(b bool)
SetErrorsNil sets the value for Errors to be an explicit nil
# UnsetErrors
func (o *Error) UnsetErrors()
UnsetErrors ensures that no value is present for Errors, not even an explicit nil