Skip to content

Latest commit

 

History

History
77 lines (42 loc) · 2.15 KB

Error.md

File metadata and controls

77 lines (42 loc) · 2.15 KB

Error

Properties

Name Type Description Notes
Message string The description detailing the cause of the error code. [readonly]
ValidationErrors Pointer to []string Validation errors, if any. [optional] [readonly]

Methods

NewError

func NewError(message string, ) *Error

NewError instantiates a new Error 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

NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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

GetMessage

func (o *Error) GetMessage() string

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

GetMessageOk

func (o *Error) 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 *Error) SetMessage(v string)

SetMessage sets Message field to given value.

GetValidationErrors

func (o *Error) GetValidationErrors() []string

GetValidationErrors returns the ValidationErrors field if non-nil, zero value otherwise.

GetValidationErrorsOk

func (o *Error) GetValidationErrorsOk() (*[]string, bool)

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

SetValidationErrors

func (o *Error) SetValidationErrors(v []string)

SetValidationErrors sets ValidationErrors field to given value.

HasValidationErrors

func (o *Error) HasValidationErrors() bool

HasValidationErrors returns a boolean if a field has been set.

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