
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
3.9 KiB
Boot
Properties
Name | Type | Description | Notes |
---|---|---|---|
BootSourceOverrideEnabled | Pointer to BootSourceOverrideEnabled | [optional] | |
BootSourceOverrideTarget | Pointer to BootSource | [optional] | |
BootSourceOverrideTargetRedfishAllowableValues | Pointer to []BootSource | [optional] |
Methods
NewBoot
func NewBoot() *Boot
NewBoot instantiates a new Boot 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
NewBootWithDefaults
func NewBootWithDefaults() *Boot
NewBootWithDefaults instantiates a new Boot 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
GetBootSourceOverrideEnabled
func (o *Boot) GetBootSourceOverrideEnabled() BootSourceOverrideEnabled
GetBootSourceOverrideEnabled returns the BootSourceOverrideEnabled field if non-nil, zero value otherwise.
GetBootSourceOverrideEnabledOk
func (o *Boot) GetBootSourceOverrideEnabledOk() (*BootSourceOverrideEnabled, bool)
GetBootSourceOverrideEnabledOk returns a tuple with the BootSourceOverrideEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBootSourceOverrideEnabled
func (o *Boot) SetBootSourceOverrideEnabled(v BootSourceOverrideEnabled)
SetBootSourceOverrideEnabled sets BootSourceOverrideEnabled field to given value.
HasBootSourceOverrideEnabled
func (o *Boot) HasBootSourceOverrideEnabled() bool
HasBootSourceOverrideEnabled returns a boolean if a field has been set.
GetBootSourceOverrideTarget
func (o *Boot) GetBootSourceOverrideTarget() BootSource
GetBootSourceOverrideTarget returns the BootSourceOverrideTarget field if non-nil, zero value otherwise.
GetBootSourceOverrideTargetOk
func (o *Boot) GetBootSourceOverrideTargetOk() (*BootSource, bool)
GetBootSourceOverrideTargetOk returns a tuple with the BootSourceOverrideTarget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBootSourceOverrideTarget
func (o *Boot) SetBootSourceOverrideTarget(v BootSource)
SetBootSourceOverrideTarget sets BootSourceOverrideTarget field to given value.
HasBootSourceOverrideTarget
func (o *Boot) HasBootSourceOverrideTarget() bool
HasBootSourceOverrideTarget returns a boolean if a field has been set.
GetBootSourceOverrideTargetRedfishAllowableValues
func (o *Boot) GetBootSourceOverrideTargetRedfishAllowableValues() []BootSource
GetBootSourceOverrideTargetRedfishAllowableValues returns the BootSourceOverrideTargetRedfishAllowableValues field if non-nil, zero value otherwise.
GetBootSourceOverrideTargetRedfishAllowableValuesOk
func (o *Boot) GetBootSourceOverrideTargetRedfishAllowableValuesOk() (*[]BootSource, bool)
GetBootSourceOverrideTargetRedfishAllowableValuesOk returns a tuple with the BootSourceOverrideTargetRedfishAllowableValues field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBootSourceOverrideTargetRedfishAllowableValues
func (o *Boot) SetBootSourceOverrideTargetRedfishAllowableValues(v []BootSource)
SetBootSourceOverrideTargetRedfishAllowableValues sets BootSourceOverrideTargetRedfishAllowableValues field to given value.
HasBootSourceOverrideTargetRedfishAllowableValues
func (o *Boot) HasBootSourceOverrideTargetRedfishAllowableValues() bool
HasBootSourceOverrideTargetRedfishAllowableValues returns a boolean if a field has been set.