Name | Type | Description | Notes |
---|---|---|---|
Code | string | ||
Message | string | ||
Target | Pointer to string | [optional] | |
Details | Pointer to []OdataErrorDetail | [optional] | |
Innererror | Pointer to map[string]interface{} | The structure of this object is service-specific | [optional] |
func NewOdataErrorMain(code string, message string, ) *OdataErrorMain
NewOdataErrorMain instantiates a new OdataErrorMain 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 NewOdataErrorMainWithDefaults() *OdataErrorMain
NewOdataErrorMainWithDefaults instantiates a new OdataErrorMain 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 *OdataErrorMain) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *OdataErrorMain) 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 *OdataErrorMain) SetCode(v string)
SetCode sets Code field to given value.
func (o *OdataErrorMain) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *OdataErrorMain) 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.
func (o *OdataErrorMain) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *OdataErrorMain) GetTarget() string
GetTarget returns the Target field if non-nil, zero value otherwise.
func (o *OdataErrorMain) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OdataErrorMain) SetTarget(v string)
SetTarget sets Target field to given value.
func (o *OdataErrorMain) HasTarget() bool
HasTarget returns a boolean if a field has been set.
func (o *OdataErrorMain) GetDetails() []OdataErrorDetail
GetDetails returns the Details field if non-nil, zero value otherwise.
func (o *OdataErrorMain) GetDetailsOk() (*[]OdataErrorDetail, bool)
GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OdataErrorMain) SetDetails(v []OdataErrorDetail)
SetDetails sets Details field to given value.
func (o *OdataErrorMain) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (o *OdataErrorMain) GetInnererror() map[string]interface{}
GetInnererror returns the Innererror field if non-nil, zero value otherwise.
func (o *OdataErrorMain) GetInnererrorOk() (*map[string]interface{}, bool)
GetInnererrorOk returns a tuple with the Innererror field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OdataErrorMain) SetInnererror(v map[string]interface{})
SetInnererror sets Innererror field to given value.
func (o *OdataErrorMain) HasInnererror() bool
HasInnererror returns a boolean if a field has been set.