ApiErrorResponse

Properties

Name
Type
Description
Notes

HttpStatus

int32

Methods

NewApiErrorResponse

func NewApiErrorResponse(httpStatus int32, messages []ApiErrorMessage, ) *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

NewApiErrorResponseWithDefaults

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

GetHttpStatus

func (o *ApiErrorResponse) GetHttpStatus() int32

GetHttpStatus returns the HttpStatus field if non-nil, zero value otherwise.

GetHttpStatusOk

func (o *ApiErrorResponse) GetHttpStatusOk() (*int32, bool)

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

SetHttpStatus

func (o *ApiErrorResponse) SetHttpStatus(v int32)

SetHttpStatus sets HttpStatus field to given value.

GetMessages

func (o *ApiErrorResponse) GetMessages() []ApiErrorMessage

GetMessages returns the Messages field if non-nil, zero value otherwise.

GetMessagesOk

func (o *ApiErrorResponse) GetMessagesOk() (*[]ApiErrorMessage, bool)

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

SetMessages

func (o *ApiErrorResponse) SetMessages(v []ApiErrorMessage)

SetMessages sets Messages field to given value.

SetMessagesNil

func (o *ApiErrorResponse) SetMessagesNil(b bool)

SetMessagesNil sets the value for Messages to be an explicit nil

UnsetMessages

func (o *ApiErrorResponse) UnsetMessages()

UnsetMessages ensures that no value is present for Messages, not even an explicit nil

Last updated