Upgraded openapi generator version to 5.1.0 for the support of nullable values for optional fields; Added missing "Disabled" enum value to the BootSourceOverrideEnabled model in the openapi schema. Signed-off-by: James Gu <james.gu@att.com> Change-Id: Ia3e0b018be13079d2085ef61ed2e797bcfd25fd7
1.5 KiB
RedfishError
Properties
Name | Type | Description | Notes |
---|---|---|---|
Error | RedfishErrorError |
Methods
NewRedfishError
func NewRedfishError(error_ RedfishErrorError, ) *RedfishError
NewRedfishError instantiates a new RedfishError 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
NewRedfishErrorWithDefaults
func NewRedfishErrorWithDefaults() *RedfishError
NewRedfishErrorWithDefaults instantiates a new RedfishError 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
GetError
func (o *RedfishError) GetError() RedfishErrorError
GetError returns the Error field if non-nil, zero value otherwise.
GetErrorOk
func (o *RedfishError) GetErrorOk() (*RedfishErrorError, bool)
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetError
func (o *RedfishError) SetError(v RedfishErrorError)
SetError sets Error field to given value.