Name | Type | Description | Notes |
---|---|---|---|
BackupsEnabled | Pointer to bool | If this field is set to `true`, the created Linode will automatically be enrolled in the Linode Backup service. This will incur an additional charge. Pricing is included in the response from List types. - Can only be included when cloning to a new Linode. | [optional] |
Configs | Pointer to []int32 | An array of configuration profile IDs. - If the `configs` parameter is not provided, then all configuration profiles and their associated disks will be cloned from the source Linode. Any disks specified by the `disks` parameter will also be cloned. - If an empty array is provided for the `configs` parameter, then no configuration profiles (nor their associated disks) will be cloned from the source Linode. Any disks specified by the `disks` parameter will still be cloned. - If a non-empty array is provided for the `configs` parameter, then the configuration profiles specified in the array (and their associated disks) will be cloned from the source Linode. Any disks specified by the `disks` parameter will also be cloned. | [optional] |
Disks | Pointer to []int32 | An array of disk IDs. - If the `disks` parameter is not provided, then no extra disks will be cloned from the source Linode. All disks associated with the configuration profiles specified by the `configs` parameter will still be cloned. - If an empty array is provided for the `disks` parameter, then no extra disks will be cloned from the source Linode. All disks associated with the configuration profiles specified by the `configs` parameter will still be cloned. - If a non-empty array is provided for the `disks` parameter, then the disks specified in the array will be cloned from the source Linode, in addition to any disks associated with the configuration profiles specified by the `configs` parameter. | [optional] |
Group | Pointer to string | A label used to group Linodes for display. Linodes are not required to have a group. | [optional] |
Label | Pointer to string | The label to assign this Linode when cloning to a new Linode. - Can only be provided when cloning to a new Linode. - Defaults to `linode`. | [optional] |
LinodeId | Pointer to int32 | If an existing Linode is the target for the clone, the ID of that Linode. The existing Linode must have enough resources to accept the clone. | [optional] |
Metadata | Pointer to PostLinodeInstanceRequestAllOfMetadata | [optional] | |
PlacementGroup | Pointer to PostCloneLinodeInstanceRequestPlacementGroup | [optional] | |
PrivateIp | Pointer to bool | If true, the created Linode will have private networking enabled and assigned a private IPv4 address. - Can only be provided when cloning to a new Linode. | [optional] |
Region | Pointer to string | This is the Region where the Linode will be deployed. To view all available Regions you can deploy to, run List regions. - Region can only be provided and is required when cloning to a new Linode. | [optional] |
Type | Pointer to string | A Linode's Type determines what resources are available to it, including disk space, memory, and virtual cpus. The amounts available to a specific Linode are returned as `specs` on the Linode object. To view all available Linode Types you can deploy with, run List types. - Type can only be provided and is required when cloning to a new Linode. | [optional] |
func NewPostCloneLinodeInstanceRequest() *PostCloneLinodeInstanceRequest
NewPostCloneLinodeInstanceRequest instantiates a new PostCloneLinodeInstanceRequest 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 NewPostCloneLinodeInstanceRequestWithDefaults() *PostCloneLinodeInstanceRequest
NewPostCloneLinodeInstanceRequestWithDefaults instantiates a new PostCloneLinodeInstanceRequest 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 *PostCloneLinodeInstanceRequest) GetBackupsEnabled() bool
GetBackupsEnabled returns the BackupsEnabled field if non-nil, zero value otherwise.
func (o *PostCloneLinodeInstanceRequest) GetBackupsEnabledOk() (*bool, bool)
GetBackupsEnabledOk returns a tuple with the BackupsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCloneLinodeInstanceRequest) SetBackupsEnabled(v bool)
SetBackupsEnabled sets BackupsEnabled field to given value.
func (o *PostCloneLinodeInstanceRequest) HasBackupsEnabled() bool
HasBackupsEnabled returns a boolean if a field has been set.
func (o *PostCloneLinodeInstanceRequest) GetConfigs() []int32
GetConfigs returns the Configs field if non-nil, zero value otherwise.
func (o *PostCloneLinodeInstanceRequest) GetConfigsOk() (*[]int32, bool)
GetConfigsOk returns a tuple with the Configs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCloneLinodeInstanceRequest) SetConfigs(v []int32)
SetConfigs sets Configs field to given value.
func (o *PostCloneLinodeInstanceRequest) HasConfigs() bool
HasConfigs returns a boolean if a field has been set.
func (o *PostCloneLinodeInstanceRequest) GetDisks() []int32
GetDisks returns the Disks field if non-nil, zero value otherwise.
func (o *PostCloneLinodeInstanceRequest) GetDisksOk() (*[]int32, bool)
GetDisksOk returns a tuple with the Disks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCloneLinodeInstanceRequest) SetDisks(v []int32)
SetDisks sets Disks field to given value.
func (o *PostCloneLinodeInstanceRequest) HasDisks() bool
HasDisks returns a boolean if a field has been set.
func (o *PostCloneLinodeInstanceRequest) GetGroup() string
GetGroup returns the Group field if non-nil, zero value otherwise.
func (o *PostCloneLinodeInstanceRequest) GetGroupOk() (*string, bool)
GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCloneLinodeInstanceRequest) SetGroup(v string)
SetGroup sets Group field to given value.
func (o *PostCloneLinodeInstanceRequest) HasGroup() bool
HasGroup returns a boolean if a field has been set.
func (o *PostCloneLinodeInstanceRequest) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *PostCloneLinodeInstanceRequest) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCloneLinodeInstanceRequest) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *PostCloneLinodeInstanceRequest) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *PostCloneLinodeInstanceRequest) GetLinodeId() int32
GetLinodeId returns the LinodeId field if non-nil, zero value otherwise.
func (o *PostCloneLinodeInstanceRequest) GetLinodeIdOk() (*int32, bool)
GetLinodeIdOk returns a tuple with the LinodeId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCloneLinodeInstanceRequest) SetLinodeId(v int32)
SetLinodeId sets LinodeId field to given value.
func (o *PostCloneLinodeInstanceRequest) HasLinodeId() bool
HasLinodeId returns a boolean if a field has been set.
func (o *PostCloneLinodeInstanceRequest) GetMetadata() PostLinodeInstanceRequestAllOfMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *PostCloneLinodeInstanceRequest) GetMetadataOk() (*PostLinodeInstanceRequestAllOfMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCloneLinodeInstanceRequest) SetMetadata(v PostLinodeInstanceRequestAllOfMetadata)
SetMetadata sets Metadata field to given value.
func (o *PostCloneLinodeInstanceRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *PostCloneLinodeInstanceRequest) GetPlacementGroup() PostCloneLinodeInstanceRequestPlacementGroup
GetPlacementGroup returns the PlacementGroup field if non-nil, zero value otherwise.
func (o *PostCloneLinodeInstanceRequest) GetPlacementGroupOk() (*PostCloneLinodeInstanceRequestPlacementGroup, bool)
GetPlacementGroupOk returns a tuple with the PlacementGroup field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCloneLinodeInstanceRequest) SetPlacementGroup(v PostCloneLinodeInstanceRequestPlacementGroup)
SetPlacementGroup sets PlacementGroup field to given value.
func (o *PostCloneLinodeInstanceRequest) HasPlacementGroup() bool
HasPlacementGroup returns a boolean if a field has been set.
func (o *PostCloneLinodeInstanceRequest) GetPrivateIp() bool
GetPrivateIp returns the PrivateIp field if non-nil, zero value otherwise.
func (o *PostCloneLinodeInstanceRequest) GetPrivateIpOk() (*bool, bool)
GetPrivateIpOk returns a tuple with the PrivateIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCloneLinodeInstanceRequest) SetPrivateIp(v bool)
SetPrivateIp sets PrivateIp field to given value.
func (o *PostCloneLinodeInstanceRequest) HasPrivateIp() bool
HasPrivateIp returns a boolean if a field has been set.
func (o *PostCloneLinodeInstanceRequest) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *PostCloneLinodeInstanceRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCloneLinodeInstanceRequest) SetRegion(v string)
SetRegion sets Region field to given value.
func (o *PostCloneLinodeInstanceRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (o *PostCloneLinodeInstanceRequest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PostCloneLinodeInstanceRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostCloneLinodeInstanceRequest) SetType(v string)
SetType sets Type field to given value.
func (o *PostCloneLinodeInstanceRequest) HasType() bool
HasType returns a boolean if a field has been set.