2.8 KiB
ApiClientDataErrorResponse
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Status | Pointer to ApiResponseStatusType | [optional] | |
| Errors | Pointer to []ApiErrorDTO | Список ошибок. | [optional] |
Methods
NewApiClientDataErrorResponse
func NewApiClientDataErrorResponse() *ApiClientDataErrorResponse
NewApiClientDataErrorResponse instantiates a new ApiClientDataErrorResponse 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
NewApiClientDataErrorResponseWithDefaults
func NewApiClientDataErrorResponseWithDefaults() *ApiClientDataErrorResponse
NewApiClientDataErrorResponseWithDefaults instantiates a new ApiClientDataErrorResponse 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
GetStatus
func (o *ApiClientDataErrorResponse) GetStatus() ApiResponseStatusType
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *ApiClientDataErrorResponse) GetStatusOk() (*ApiResponseStatusType, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStatus
func (o *ApiClientDataErrorResponse) SetStatus(v ApiResponseStatusType)
SetStatus sets Status field to given value.
HasStatus
func (o *ApiClientDataErrorResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
GetErrors
func (o *ApiClientDataErrorResponse) GetErrors() []ApiErrorDTO
GetErrors returns the Errors field if non-nil, zero value otherwise.
GetErrorsOk
func (o *ApiClientDataErrorResponse) GetErrorsOk() (*[]ApiErrorDTO, 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 *ApiClientDataErrorResponse) SetErrors(v []ApiErrorDTO)
SetErrors sets Errors field to given value.
HasErrors
func (o *ApiClientDataErrorResponse) HasErrors() bool
HasErrors returns a boolean if a field has been set.
SetErrorsNil
func (o *ApiClientDataErrorResponse) SetErrorsNil(b bool)
SetErrorsNil sets the value for Errors to be an explicit nil
UnsetErrors
func (o *ApiClientDataErrorResponse) UnsetErrors()
UnsetErrors ensures that no value is present for Errors, not even an explicit nil