Name | Type | Description | Notes |
---|---|---|---|
SubCategory | Pointer to map[string]interface{} | Error subcategory. | [optional] |
Context | map[string][]string | Error context. | |
Links | map[string]string | Error links. | |
Id | Pointer to string | Error ID. | [optional] |
Category | string | Error category. | |
Message | string | Error message. | |
Errors | []ErrorDetail | List of error details. | |
Status | string | Error status. |
func NewStandardError(context map[string][]string, links map[string]string, category string, message string, errors []ErrorDetail, status string, ) *StandardError
NewStandardError instantiates a new StandardError 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 NewStandardErrorWithDefaults() *StandardError
NewStandardErrorWithDefaults instantiates a new StandardError 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 *StandardError) GetSubCategory() map[string]interface{}
GetSubCategory returns the SubCategory field if non-nil, zero value otherwise.
func (o *StandardError) GetSubCategoryOk() (*map[string]interface{}, bool)
GetSubCategoryOk returns a tuple with the SubCategory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StandardError) SetSubCategory(v map[string]interface{})
SetSubCategory sets SubCategory field to given value.
func (o *StandardError) HasSubCategory() bool
HasSubCategory returns a boolean if a field has been set.
func (o *StandardError) GetContext() map[string][]string
GetContext returns the Context field if non-nil, zero value otherwise.
func (o *StandardError) GetContextOk() (*map[string][]string, bool)
GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StandardError) SetContext(v map[string][]string)
SetContext sets Context field to given value.
func (o *StandardError) GetLinks() map[string]string
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *StandardError) GetLinksOk() (*map[string]string, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StandardError) SetLinks(v map[string]string)
SetLinks sets Links field to given value.
func (o *StandardError) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *StandardError) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StandardError) SetId(v string)
SetId sets Id field to given value.
func (o *StandardError) HasId() bool
HasId returns a boolean if a field has been set.
func (o *StandardError) GetCategory() string
GetCategory returns the Category field if non-nil, zero value otherwise.
func (o *StandardError) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StandardError) SetCategory(v string)
SetCategory sets Category field to given value.
func (o *StandardError) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *StandardError) 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 *StandardError) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *StandardError) GetErrors() []ErrorDetail
GetErrors returns the Errors field if non-nil, zero value otherwise.
func (o *StandardError) GetErrorsOk() (*[]ErrorDetail, 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.
func (o *StandardError) SetErrors(v []ErrorDetail)
SetErrors sets Errors field to given value.
func (o *StandardError) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *StandardError) GetStatusOk() (*string, 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.
func (o *StandardError) SetStatus(v string)
SetStatus sets Status field to given value.