Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.13 KB

ErrorResponse.md

File metadata and controls

82 lines (45 loc) · 2.13 KB

ErrorResponse

Properties

Name Type Description Notes
Ok Pointer to bool [optional] [default to false]
Error Pointer to ErrorResponseError [optional]

Methods

NewErrorResponse

func NewErrorResponse() *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

GetOk

func (o *ErrorResponse) GetOk() bool

GetOk returns the Ok field if non-nil, zero value otherwise.

GetOkOk

func (o *ErrorResponse) GetOkOk() (*bool, bool)

GetOkOk returns a tuple with the Ok field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOk

func (o *ErrorResponse) SetOk(v bool)

SetOk sets Ok field to given value.

HasOk

func (o *ErrorResponse) HasOk() bool

HasOk returns a boolean if a field has been set.

GetError

func (o *ErrorResponse) GetError() ErrorResponseError

GetError returns the Error field if non-nil, zero value otherwise.

GetErrorOk

func (o *ErrorResponse) GetErrorOk() (*ErrorResponseError, 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.

SetError

func (o *ErrorResponse) SetError(v ErrorResponseError)

SetError sets Error field to given value.

HasError

func (o *ErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

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