Name | Type | Description | Notes |
---|---|---|---|
Detail | string | If we don't have required it comes out as pointer and there is a bug in the formatter | |
Instance | string | ||
Status | int32 | ||
Title | string | ||
Type | string | ||
ValidationErrors | Pointer to []PerrErrorDetailModel | [optional] |
func NewPerrErrorModel(detail string, instance string, status int32, title string, type_ string, ) *PerrErrorModel
NewPerrErrorModel instantiates a new PerrErrorModel 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
func NewPerrErrorModelWithDefaults() *PerrErrorModel
NewPerrErrorModelWithDefaults instantiates a new PerrErrorModel 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
func (o *PerrErrorModel) GetDetail() string
GetDetail returns the Detail field if non-nil, zero value otherwise.
func (o *PerrErrorModel) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PerrErrorModel) SetDetail(v string)
SetDetail sets Detail field to given value.
func (o *PerrErrorModel) GetInstance() string
GetInstance returns the Instance field if non-nil, zero value otherwise.
func (o *PerrErrorModel) GetInstanceOk() (*string, bool)
GetInstanceOk returns a tuple with the Instance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PerrErrorModel) SetInstance(v string)
SetInstance sets Instance field to given value.
func (o *PerrErrorModel) GetStatus() int32
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *PerrErrorModel) GetStatusOk() (*int32, 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.
func (o *PerrErrorModel) SetStatus(v int32)
SetStatus sets Status field to given value.
func (o *PerrErrorModel) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *PerrErrorModel) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PerrErrorModel) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *PerrErrorModel) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PerrErrorModel) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PerrErrorModel) SetType(v string)
SetType sets Type field to given value.
func (o *PerrErrorModel) GetValidationErrors() []PerrErrorDetailModel
GetValidationErrors returns the ValidationErrors field if non-nil, zero value otherwise.
func (o *PerrErrorModel) GetValidationErrorsOk() (*[]PerrErrorDetailModel, 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.
func (o *PerrErrorModel) SetValidationErrors(v []PerrErrorDetailModel)
SetValidationErrors sets ValidationErrors field to given value.
func (o *PerrErrorModel) HasValidationErrors() bool
HasValidationErrors returns a boolean if a field has been set.