Name | Type | Description | Notes |
---|---|---|---|
Code | int64 | ||
Error | string |
func NewApiErrorResponse(code int64, error_ string, ) *ApiErrorResponse
NewApiErrorResponse instantiates a new ApiErrorResponse 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 NewApiErrorResponseWithDefaults() *ApiErrorResponse
NewApiErrorResponseWithDefaults instantiates a new ApiErrorResponse 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 *ApiErrorResponse) GetCode() int64
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *ApiErrorResponse) GetCodeOk() (*int64, 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.
func (o *ApiErrorResponse) SetCode(v int64)
SetCode sets Code field to given value.
func (o *ApiErrorResponse) GetError() string
GetError returns the Error field if non-nil, zero value otherwise.
func (o *ApiErrorResponse) GetErrorOk() (*string, 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 *ApiErrorResponse) SetError(v string)
SetError sets Error field to given value.