Skip to content

Latest commit

 

History

History
133 lines (74 loc) · 3.85 KB

File metadata and controls

133 lines (74 loc) · 3.85 KB

ErrorResponse

Properties

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]

Methods

NewErrorResponse

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

NewErrorResponseWithDefaults

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

GetFields

func (o *ErrorResponse) GetFields() []FieldObject

GetFields returns the Fields field if non-nil, zero value otherwise.

GetFieldsOk

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.

SetFields

func (o *ErrorResponse) SetFields(v []FieldObject)

SetFields sets Fields field to given value.

HasFields

func (o *ErrorResponse) HasFields() bool

HasFields returns a boolean if a field has been set.

SetFieldsNil

func (o *ErrorResponse) SetFieldsNil(b bool)

SetFieldsNil sets the value for Fields to be an explicit nil

UnsetFields

func (o *ErrorResponse) UnsetFields()

UnsetFields ensures that no value is present for Fields, not even an explicit nil

GetHttpStatusCode

func (o *ErrorResponse) GetHttpStatusCode() int32

GetHttpStatusCode returns the HttpStatusCode field if non-nil, zero value otherwise.

GetHttpStatusCodeOk

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.

SetHttpStatusCode

func (o *ErrorResponse) SetHttpStatusCode(v int32)

SetHttpStatusCode sets HttpStatusCode field to given value.

GetMessage

func (o *ErrorResponse) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

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.

SetMessage

func (o *ErrorResponse) SetMessage(v string)

SetMessage sets Message field to given value.

GetRequestId

func (o *ErrorResponse) GetRequestId() string

GetRequestId returns the RequestId field if non-nil, zero value otherwise.

GetRequestIdOk

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.

SetRequestId

func (o *ErrorResponse) SetRequestId(v string)

SetRequestId sets RequestId field to given value.

[Back to Model list] [Back to API list] [Back to README]