Name | Type | Description | Notes |
---|---|---|---|
Fields | Pointer to []FieldObject | Fields in the request that failed validation [Optional]. | [optional] [readonly] |
HttpStatusCode | int32 | HTTP Status Code | [readonly] |
Message | string | A human readable message, which should provide an explanation and possible corrective actions. | [readonly] |
RequestId | string | Request ID that could be used to identify the error in logs. | [readonly] |
func NewErrorResponse(httpStatusCode int32, message string, requestId string, ) *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 *ErrorResponse) GetFields() []FieldObject
GetFields returns the Fields field if non-nil, zero value otherwise.
func (o *ErrorResponse) GetFieldsOk() (*[]FieldObject, bool)
GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ErrorResponse) SetFields(v []FieldObject)
SetFields sets Fields field to given value.
func (o *ErrorResponse) HasFields() bool
HasFields returns a boolean if a field has been set.
func (o *ErrorResponse) SetFieldsNil(b bool)
SetFieldsNil sets the value for Fields to be an explicit nil
func (o *ErrorResponse) UnsetFields()
UnsetFields ensures that no value is present for Fields, not even an explicit nil
func (o *ErrorResponse) GetHttpStatusCode() int32
GetHttpStatusCode returns the HttpStatusCode field if non-nil, zero value otherwise.
func (o *ErrorResponse) GetHttpStatusCodeOk() (*int32, bool)
GetHttpStatusCodeOk returns a tuple with the HttpStatusCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ErrorResponse) SetHttpStatusCode(v int32)
SetHttpStatusCode sets HttpStatusCode field to given value.
func (o *ErrorResponse) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *ErrorResponse) 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 *ErrorResponse) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *ErrorResponse) GetRequestId() string
GetRequestId returns the RequestId field if non-nil, zero value otherwise.
func (o *ErrorResponse) GetRequestIdOk() (*string, bool)
GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ErrorResponse) SetRequestId(v string)
SetRequestId sets RequestId field to given value.