Name | Type | Description | Notes |
---|---|---|---|
Detail | string | ||
Code | Pointer to string | [optional] |
func NewGenericError(detail string, ) *GenericError
NewGenericError instantiates a new GenericError 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 NewGenericErrorWithDefaults() *GenericError
NewGenericErrorWithDefaults instantiates a new GenericError 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 *GenericError) GetDetail() string
GetDetail returns the Detail field if non-nil, zero value otherwise.
func (o *GenericError) 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 *GenericError) SetDetail(v string)
SetDetail sets Detail field to given value.
func (o *GenericError) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *GenericError) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GenericError) SetCode(v string)
SetCode sets Code field to given value.
func (o *GenericError) HasCode() bool
HasCode returns a boolean if a field has been set.