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.1 KiB
VirtualMediaActions
Properties
Name | Type | Description | Notes |
---|---|---|---|
VirtualMediaEjectMedia | Pointer to VirtualMediaActionsVirtualMediaEjectMedia | [optional] | |
VirtualMediaInsertMedia | Pointer to VirtualMediaActionsVirtualMediaEjectMedia | [optional] |
Methods
NewVirtualMediaActions
func NewVirtualMediaActions() *VirtualMediaActions
NewVirtualMediaActions instantiates a new VirtualMediaActions 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
NewVirtualMediaActionsWithDefaults
func NewVirtualMediaActionsWithDefaults() *VirtualMediaActions
NewVirtualMediaActionsWithDefaults instantiates a new VirtualMediaActions 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
GetVirtualMediaEjectMedia
func (o *VirtualMediaActions) GetVirtualMediaEjectMedia() VirtualMediaActionsVirtualMediaEjectMedia
GetVirtualMediaEjectMedia returns the VirtualMediaEjectMedia field if non-nil, zero value otherwise.
GetVirtualMediaEjectMediaOk
func (o *VirtualMediaActions) GetVirtualMediaEjectMediaOk() (*VirtualMediaActionsVirtualMediaEjectMedia, bool)
GetVirtualMediaEjectMediaOk returns a tuple with the VirtualMediaEjectMedia field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVirtualMediaEjectMedia
func (o *VirtualMediaActions) SetVirtualMediaEjectMedia(v VirtualMediaActionsVirtualMediaEjectMedia)
SetVirtualMediaEjectMedia sets VirtualMediaEjectMedia field to given value.
HasVirtualMediaEjectMedia
func (o *VirtualMediaActions) HasVirtualMediaEjectMedia() bool
HasVirtualMediaEjectMedia returns a boolean if a field has been set.
GetVirtualMediaInsertMedia
func (o *VirtualMediaActions) GetVirtualMediaInsertMedia() VirtualMediaActionsVirtualMediaEjectMedia
GetVirtualMediaInsertMedia returns the VirtualMediaInsertMedia field if non-nil, zero value otherwise.
GetVirtualMediaInsertMediaOk
func (o *VirtualMediaActions) GetVirtualMediaInsertMediaOk() (*VirtualMediaActionsVirtualMediaEjectMedia, bool)
GetVirtualMediaInsertMediaOk returns a tuple with the VirtualMediaInsertMedia field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVirtualMediaInsertMedia
func (o *VirtualMediaActions) SetVirtualMediaInsertMedia(v VirtualMediaActionsVirtualMediaEjectMedia)
SetVirtualMediaInsertMedia sets VirtualMediaInsertMedia field to given value.
HasVirtualMediaInsertMedia
func (o *VirtualMediaActions) HasVirtualMediaInsertMedia() bool
HasVirtualMediaInsertMedia returns a boolean if a field has been set.