Name | Type | Description | Notes |
---|---|---|---|
Error | ResponseError | ||
Status | Pointer to int32 | HTTP status code of the error response | [optional] [default to 500] |
func NewErrorResponse(error_ ResponseError, ) *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) GetError() ResponseError
GetError returns the Error field if non-nil, zero value otherwise.
func (o *ErrorResponse) GetErrorOk() (*ResponseError, bool)
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ErrorResponse) SetError(v ResponseError)
SetError sets Error field to given value.
func (o *ErrorResponse) GetStatus() int32
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *ErrorResponse) 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.
func (o *ErrorResponse) SetStatus(v int32)
SetStatus sets Status field to given value.
func (o *ErrorResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.