Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.04 KB

ErrorResponse.md

File metadata and controls

72 lines (39 loc) · 2.04 KB

ErrorResponse

Properties

Name Type Description Notes
Id string An identifier for the error; this is unique to the specific API request.
Errors []ErrorDescription A list of one or more causes of the error.

Methods

NewErrorResponse

func NewErrorResponse(id string, errors []ErrorDescription, ) *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

GetId

func (o *ErrorResponse) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *ErrorResponse) GetIdOk() (*string, bool)

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

SetId

func (o *ErrorResponse) SetId(v string)

SetId sets Id field to given value.

GetErrors

func (o *ErrorResponse) GetErrors() []ErrorDescription

GetErrors returns the Errors field if non-nil, zero value otherwise.

GetErrorsOk

func (o *ErrorResponse) GetErrorsOk() (*[]ErrorDescription, bool)

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

SetErrors

func (o *ErrorResponse) SetErrors(v []ErrorDescription)

SetErrors sets Errors field to given value.

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