Skip to content

Files

Latest commit

27e695e · May 7, 2025

History

History
567 lines (312 loc) · 15.9 KB

InstanceCreateOptions.md

File metadata and controls

567 lines (312 loc) · 15.9 KB

InstanceCreateOptions

Properties

Name Type Description Notes
SharedSnapshot Pointer to NullableString identifier of the snapshot that was shared. [optional]
SharedSnapshotPassword Pointer to NullableString optional password if the shared snapshot requires a password. [optional]
Name Pointer to NullableString the name of the device [optional]
Key Pointer to NullableString Key used to encrypt the Instance [optional]
Flavor string the flavor id
Project string project UUID
Os string OS Version
Osbuild Pointer to NullableString OS Build [optional]
Patches Pointer to []string list of patches to apply [optional]
Fwpackage Pointer to NullableString URL or image id [optional]
OrigFwPackageUrl Pointer to NullableString URL that firmware package used to create this instance is available at [optional]
Encrypt Pointer to NullableBool [optional]
WifiMac Pointer to NullableString [optional]
Volume Pointer to VolumeOptions [optional]
Snapshot Pointer to NullableString Snapshot ID for this instance to be cloned from if defined [optional]
BootOptions Pointer to InstanceBootOptions [optional]
Device Pointer to Model [optional]

Methods

NewInstanceCreateOptions

func NewInstanceCreateOptions(flavor string, project string, os string, ) *InstanceCreateOptions

NewInstanceCreateOptions instantiates a new InstanceCreateOptions 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

NewInstanceCreateOptionsWithDefaults

func NewInstanceCreateOptionsWithDefaults() *InstanceCreateOptions

NewInstanceCreateOptionsWithDefaults instantiates a new InstanceCreateOptions 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

GetSharedSnapshot

func (o *InstanceCreateOptions) GetSharedSnapshot() string

GetSharedSnapshot returns the SharedSnapshot field if non-nil, zero value otherwise.

GetSharedSnapshotOk

func (o *InstanceCreateOptions) GetSharedSnapshotOk() (*string, bool)

GetSharedSnapshotOk returns a tuple with the SharedSnapshot field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSharedSnapshot

func (o *InstanceCreateOptions) SetSharedSnapshot(v string)

SetSharedSnapshot sets SharedSnapshot field to given value.

HasSharedSnapshot

func (o *InstanceCreateOptions) HasSharedSnapshot() bool

HasSharedSnapshot returns a boolean if a field has been set.

SetSharedSnapshotNil

func (o *InstanceCreateOptions) SetSharedSnapshotNil(b bool)

SetSharedSnapshotNil sets the value for SharedSnapshot to be an explicit nil

UnsetSharedSnapshot

func (o *InstanceCreateOptions) UnsetSharedSnapshot()

UnsetSharedSnapshot ensures that no value is present for SharedSnapshot, not even an explicit nil

GetSharedSnapshotPassword

func (o *InstanceCreateOptions) GetSharedSnapshotPassword() string

GetSharedSnapshotPassword returns the SharedSnapshotPassword field if non-nil, zero value otherwise.

GetSharedSnapshotPasswordOk

func (o *InstanceCreateOptions) GetSharedSnapshotPasswordOk() (*string, bool)

GetSharedSnapshotPasswordOk returns a tuple with the SharedSnapshotPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSharedSnapshotPassword

func (o *InstanceCreateOptions) SetSharedSnapshotPassword(v string)

SetSharedSnapshotPassword sets SharedSnapshotPassword field to given value.

HasSharedSnapshotPassword

func (o *InstanceCreateOptions) HasSharedSnapshotPassword() bool

HasSharedSnapshotPassword returns a boolean if a field has been set.

SetSharedSnapshotPasswordNil

func (o *InstanceCreateOptions) SetSharedSnapshotPasswordNil(b bool)

SetSharedSnapshotPasswordNil sets the value for SharedSnapshotPassword to be an explicit nil

UnsetSharedSnapshotPassword

func (o *InstanceCreateOptions) UnsetSharedSnapshotPassword()

UnsetSharedSnapshotPassword ensures that no value is present for SharedSnapshotPassword, not even an explicit nil

GetName

func (o *InstanceCreateOptions) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *InstanceCreateOptions) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *InstanceCreateOptions) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *InstanceCreateOptions) HasName() bool

HasName returns a boolean if a field has been set.

SetNameNil

func (o *InstanceCreateOptions) SetNameNil(b bool)

SetNameNil sets the value for Name to be an explicit nil

UnsetName

func (o *InstanceCreateOptions) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

GetKey

func (o *InstanceCreateOptions) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *InstanceCreateOptions) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKey

func (o *InstanceCreateOptions) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *InstanceCreateOptions) HasKey() bool

HasKey returns a boolean if a field has been set.

SetKeyNil

func (o *InstanceCreateOptions) SetKeyNil(b bool)

SetKeyNil sets the value for Key to be an explicit nil

UnsetKey

func (o *InstanceCreateOptions) UnsetKey()

UnsetKey ensures that no value is present for Key, not even an explicit nil

GetFlavor

func (o *InstanceCreateOptions) GetFlavor() string

GetFlavor returns the Flavor field if non-nil, zero value otherwise.

GetFlavorOk

func (o *InstanceCreateOptions) GetFlavorOk() (*string, bool)

GetFlavorOk returns a tuple with the Flavor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFlavor

func (o *InstanceCreateOptions) SetFlavor(v string)

SetFlavor sets Flavor field to given value.

GetProject

func (o *InstanceCreateOptions) GetProject() string

GetProject returns the Project field if non-nil, zero value otherwise.

GetProjectOk

func (o *InstanceCreateOptions) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProject

func (o *InstanceCreateOptions) SetProject(v string)

SetProject sets Project field to given value.

GetOs

func (o *InstanceCreateOptions) GetOs() string

GetOs returns the Os field if non-nil, zero value otherwise.

GetOsOk

func (o *InstanceCreateOptions) GetOsOk() (*string, bool)

GetOsOk returns a tuple with the Os field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOs

func (o *InstanceCreateOptions) SetOs(v string)

SetOs sets Os field to given value.

GetOsbuild

func (o *InstanceCreateOptions) GetOsbuild() string

GetOsbuild returns the Osbuild field if non-nil, zero value otherwise.

GetOsbuildOk

func (o *InstanceCreateOptions) GetOsbuildOk() (*string, bool)

GetOsbuildOk returns a tuple with the Osbuild field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOsbuild

func (o *InstanceCreateOptions) SetOsbuild(v string)

SetOsbuild sets Osbuild field to given value.

HasOsbuild

func (o *InstanceCreateOptions) HasOsbuild() bool

HasOsbuild returns a boolean if a field has been set.

SetOsbuildNil

func (o *InstanceCreateOptions) SetOsbuildNil(b bool)

SetOsbuildNil sets the value for Osbuild to be an explicit nil

UnsetOsbuild

func (o *InstanceCreateOptions) UnsetOsbuild()

UnsetOsbuild ensures that no value is present for Osbuild, not even an explicit nil

GetPatches

func (o *InstanceCreateOptions) GetPatches() []string

GetPatches returns the Patches field if non-nil, zero value otherwise.

GetPatchesOk

func (o *InstanceCreateOptions) GetPatchesOk() (*[]string, bool)

GetPatchesOk returns a tuple with the Patches field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPatches

func (o *InstanceCreateOptions) SetPatches(v []string)

SetPatches sets Patches field to given value.

HasPatches

func (o *InstanceCreateOptions) HasPatches() bool

HasPatches returns a boolean if a field has been set.

SetPatchesNil

func (o *InstanceCreateOptions) SetPatchesNil(b bool)

SetPatchesNil sets the value for Patches to be an explicit nil

UnsetPatches

func (o *InstanceCreateOptions) UnsetPatches()

UnsetPatches ensures that no value is present for Patches, not even an explicit nil

GetFwpackage

func (o *InstanceCreateOptions) GetFwpackage() string

GetFwpackage returns the Fwpackage field if non-nil, zero value otherwise.

GetFwpackageOk

func (o *InstanceCreateOptions) GetFwpackageOk() (*string, bool)

GetFwpackageOk returns a tuple with the Fwpackage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFwpackage

func (o *InstanceCreateOptions) SetFwpackage(v string)

SetFwpackage sets Fwpackage field to given value.

HasFwpackage

func (o *InstanceCreateOptions) HasFwpackage() bool

HasFwpackage returns a boolean if a field has been set.

SetFwpackageNil

func (o *InstanceCreateOptions) SetFwpackageNil(b bool)

SetFwpackageNil sets the value for Fwpackage to be an explicit nil

UnsetFwpackage

func (o *InstanceCreateOptions) UnsetFwpackage()

UnsetFwpackage ensures that no value is present for Fwpackage, not even an explicit nil

GetOrigFwPackageUrl

func (o *InstanceCreateOptions) GetOrigFwPackageUrl() string

GetOrigFwPackageUrl returns the OrigFwPackageUrl field if non-nil, zero value otherwise.

GetOrigFwPackageUrlOk

func (o *InstanceCreateOptions) GetOrigFwPackageUrlOk() (*string, bool)

GetOrigFwPackageUrlOk returns a tuple with the OrigFwPackageUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOrigFwPackageUrl

func (o *InstanceCreateOptions) SetOrigFwPackageUrl(v string)

SetOrigFwPackageUrl sets OrigFwPackageUrl field to given value.

HasOrigFwPackageUrl

func (o *InstanceCreateOptions) HasOrigFwPackageUrl() bool

HasOrigFwPackageUrl returns a boolean if a field has been set.

SetOrigFwPackageUrlNil

func (o *InstanceCreateOptions) SetOrigFwPackageUrlNil(b bool)

SetOrigFwPackageUrlNil sets the value for OrigFwPackageUrl to be an explicit nil

UnsetOrigFwPackageUrl

func (o *InstanceCreateOptions) UnsetOrigFwPackageUrl()

UnsetOrigFwPackageUrl ensures that no value is present for OrigFwPackageUrl, not even an explicit nil

GetEncrypt

func (o *InstanceCreateOptions) GetEncrypt() bool

GetEncrypt returns the Encrypt field if non-nil, zero value otherwise.

GetEncryptOk

func (o *InstanceCreateOptions) GetEncryptOk() (*bool, bool)

GetEncryptOk returns a tuple with the Encrypt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEncrypt

func (o *InstanceCreateOptions) SetEncrypt(v bool)

SetEncrypt sets Encrypt field to given value.

HasEncrypt

func (o *InstanceCreateOptions) HasEncrypt() bool

HasEncrypt returns a boolean if a field has been set.

SetEncryptNil

func (o *InstanceCreateOptions) SetEncryptNil(b bool)

SetEncryptNil sets the value for Encrypt to be an explicit nil

UnsetEncrypt

func (o *InstanceCreateOptions) UnsetEncrypt()

UnsetEncrypt ensures that no value is present for Encrypt, not even an explicit nil

GetWifiMac

func (o *InstanceCreateOptions) GetWifiMac() string

GetWifiMac returns the WifiMac field if non-nil, zero value otherwise.

GetWifiMacOk

func (o *InstanceCreateOptions) GetWifiMacOk() (*string, bool)

GetWifiMacOk returns a tuple with the WifiMac field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWifiMac

func (o *InstanceCreateOptions) SetWifiMac(v string)

SetWifiMac sets WifiMac field to given value.

HasWifiMac

func (o *InstanceCreateOptions) HasWifiMac() bool

HasWifiMac returns a boolean if a field has been set.

SetWifiMacNil

func (o *InstanceCreateOptions) SetWifiMacNil(b bool)

SetWifiMacNil sets the value for WifiMac to be an explicit nil

UnsetWifiMac

func (o *InstanceCreateOptions) UnsetWifiMac()

UnsetWifiMac ensures that no value is present for WifiMac, not even an explicit nil

GetVolume

func (o *InstanceCreateOptions) GetVolume() VolumeOptions

GetVolume returns the Volume field if non-nil, zero value otherwise.

GetVolumeOk

func (o *InstanceCreateOptions) GetVolumeOk() (*VolumeOptions, bool)

GetVolumeOk returns a tuple with the Volume field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetVolume

func (o *InstanceCreateOptions) SetVolume(v VolumeOptions)

SetVolume sets Volume field to given value.

HasVolume

func (o *InstanceCreateOptions) HasVolume() bool

HasVolume returns a boolean if a field has been set.

GetSnapshot

func (o *InstanceCreateOptions) GetSnapshot() string

GetSnapshot returns the Snapshot field if non-nil, zero value otherwise.

GetSnapshotOk

func (o *InstanceCreateOptions) GetSnapshotOk() (*string, bool)

GetSnapshotOk returns a tuple with the Snapshot field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSnapshot

func (o *InstanceCreateOptions) SetSnapshot(v string)

SetSnapshot sets Snapshot field to given value.

HasSnapshot

func (o *InstanceCreateOptions) HasSnapshot() bool

HasSnapshot returns a boolean if a field has been set.

SetSnapshotNil

func (o *InstanceCreateOptions) SetSnapshotNil(b bool)

SetSnapshotNil sets the value for Snapshot to be an explicit nil

UnsetSnapshot

func (o *InstanceCreateOptions) UnsetSnapshot()

UnsetSnapshot ensures that no value is present for Snapshot, not even an explicit nil

GetBootOptions

func (o *InstanceCreateOptions) GetBootOptions() InstanceBootOptions

GetBootOptions returns the BootOptions field if non-nil, zero value otherwise.

GetBootOptionsOk

func (o *InstanceCreateOptions) GetBootOptionsOk() (*InstanceBootOptions, bool)

GetBootOptionsOk returns a tuple with the BootOptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBootOptions

func (o *InstanceCreateOptions) SetBootOptions(v InstanceBootOptions)

SetBootOptions sets BootOptions field to given value.

HasBootOptions

func (o *InstanceCreateOptions) HasBootOptions() bool

HasBootOptions returns a boolean if a field has been set.

GetDevice

func (o *InstanceCreateOptions) GetDevice() Model

GetDevice returns the Device field if non-nil, zero value otherwise.

GetDeviceOk

func (o *InstanceCreateOptions) GetDeviceOk() (*Model, bool)

GetDeviceOk returns a tuple with the Device field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDevice

func (o *InstanceCreateOptions) SetDevice(v Model)

SetDevice sets Device field to given value.

HasDevice

func (o *InstanceCreateOptions) HasDevice() bool

HasDevice returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]