Name | Type | Description | Notes |
---|---|---|---|
Alerts | Pointer to LinodeAlerts | [optional] | |
Backups | Pointer to LinodeBackups | [optional] | |
Capabilities | Pointer to []string | A list of capabilities this compute instance supports. | [optional] [readonly] |
Created | Pointer to time.Time | When this Linode was created. | [optional] [readonly] |
DiskEncryption | Pointer to NullableString | Indicates the local disk encryption setting for this Linode. If the Linode is part of an LKE cluster, the value is `null`. | [optional] [readonly] [default to "enabled"] |
Group | Pointer to string | The group label for this Linode. | [optional] |
HasUserData | Pointer to bool | Whether this compute instance was provisioned with `user_data` provided via the Metadata service. See the Create a Linode description for more information on Metadata. | [optional] [readonly] |
HostUuid | Pointer to string | The Linode's host machine, as a UUID. | [optional] [readonly] |
Hypervisor | Pointer to string | The virtualization software powering this Linode. | [optional] [readonly] |
Id | Pointer to int32 | This Linode's ID which must be provided for all operations impacting this Linode. | [optional] [readonly] |
Image | Pointer to string | An Image ID to deploy the Linode Disk from. Run the List images operation with authentication to view all available Images. Official Linode Images start with `linode/`, while your Account's Images start with `private/`. Creating a disk from a Private Image requires `read_only` or `read_write` permissions for that Image. Run the Update a user's grants operation to adjust permissions for an Account Image. | [optional] |
Ipv4 | Pointer to []string | This Linode's IPv4 Addresses. Each Linode is assigned a single public IPv4 address upon creation, and may get a single private IPv4 address if needed. You may need to Open a support ticket to get additional IPv4 addresses. IPv4 addresses may be reassigned between your Linodes, or shared with other Linodes. See the networking operations for details. | [optional] [readonly] |
Ipv6 | Pointer to NullableString | This Linode's IPv6 SLAAC address. This address is specific to a Linode, and may not be shared. If the Linode has not been assigned an IPv6 address, the return value will be `null`. | [optional] [readonly] |
Label | Pointer to string | Provides a name for the Linode. If not provided, the API generates one for it. Linode labels have the following constraints: - It needs to begin and end with an alphanumeric character. - It can only consist of alphanumeric characters, hyphens (`-`), underscores (`_`) or periods (`.`). - Cannot have two hyphens (`--`), underscores (`__`) or periods (`..`) in a row. | [optional] |
LkeClusterId | Pointer to NullableInt32 | The ID of the Kubernetes cluster if the Linode is part of cluster. | [optional] [readonly] |
PlacementGroup | Pointer to NullableLinode1PlacementGroup | [optional] | |
Region | Pointer to string | The region where the Linode deployed. A Linode's region can only be changed by initiating a cross data center migration. | [optional] [readonly] |
Specs | Pointer to LinodeSpecs | [optional] | |
Status | Pointer to string | A brief description of this Linode's current state. This field may change without direct action from you. For example, when a compute instance goes into maintenance mode, its status is `stopped`. Status is generally self-explanatory, based on its name. - `busy` indicates you've assigned the compute instance to a placement group, but the compute instance is currently booting. Once the boot completes, the API completes the assignment and updates the compute instance's `status` accordingly. - `provisioning` indicates that the API is applying operating system or Marketplace applications on the compute instance. - `billing_suspension` indicates that payment is past due on the compute instance, so we've suspended its use. | [optional] [readonly] |
Tags | Pointer to []string | Tags to help you organize your content. | [optional] |
Type | Pointer to string | This is the Linode type that this Linode was deployed with. To change a Linode's type, use Resize a Linode. | [optional] [readonly] |
Updated | Pointer to time.Time | When this Linode was last updated. | [optional] [readonly] |
WatchdogEnabled | Pointer to bool | The watchdog, named Lassie, is a Shutdown Watchdog that monitors your Linode and reboots it if it powers off unexpectedly. It works by issuing a boot job when your Linode powers off without a shutdown job being responsible. To prevent a loop, Lassie gives up if there have been more than 5 boot jobs issued within 15 minutes. | [optional] |
func NewLinode1() *Linode1
NewLinode1 instantiates a new Linode1 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 NewLinode1WithDefaults() *Linode1
NewLinode1WithDefaults instantiates a new Linode1 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 *Linode1) GetAlerts() LinodeAlerts
GetAlerts returns the Alerts field if non-nil, zero value otherwise.
func (o *Linode1) GetAlertsOk() (*LinodeAlerts, bool)
GetAlertsOk returns a tuple with the Alerts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetAlerts(v LinodeAlerts)
SetAlerts sets Alerts field to given value.
func (o *Linode1) HasAlerts() bool
HasAlerts returns a boolean if a field has been set.
func (o *Linode1) GetBackups() LinodeBackups
GetBackups returns the Backups field if non-nil, zero value otherwise.
func (o *Linode1) GetBackupsOk() (*LinodeBackups, bool)
GetBackupsOk returns a tuple with the Backups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetBackups(v LinodeBackups)
SetBackups sets Backups field to given value.
func (o *Linode1) HasBackups() bool
HasBackups returns a boolean if a field has been set.
func (o *Linode1) GetCapabilities() []string
GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
func (o *Linode1) GetCapabilitiesOk() (*[]string, bool)
GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetCapabilities(v []string)
SetCapabilities sets Capabilities field to given value.
func (o *Linode1) HasCapabilities() bool
HasCapabilities returns a boolean if a field has been set.
func (o *Linode1) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Linode1) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *Linode1) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *Linode1) GetDiskEncryption() string
GetDiskEncryption returns the DiskEncryption field if non-nil, zero value otherwise.
func (o *Linode1) GetDiskEncryptionOk() (*string, bool)
GetDiskEncryptionOk returns a tuple with the DiskEncryption field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetDiskEncryption(v string)
SetDiskEncryption sets DiskEncryption field to given value.
func (o *Linode1) HasDiskEncryption() bool
HasDiskEncryption returns a boolean if a field has been set.
func (o *Linode1) SetDiskEncryptionNil(b bool)
SetDiskEncryptionNil sets the value for DiskEncryption to be an explicit nil
func (o *Linode1) UnsetDiskEncryption()
UnsetDiskEncryption ensures that no value is present for DiskEncryption, not even an explicit nil
func (o *Linode1) GetGroup() string
GetGroup returns the Group field if non-nil, zero value otherwise.
func (o *Linode1) 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 *Linode1) SetGroup(v string)
SetGroup sets Group field to given value.
func (o *Linode1) HasGroup() bool
HasGroup returns a boolean if a field has been set.
func (o *Linode1) GetHasUserData() bool
GetHasUserData returns the HasUserData field if non-nil, zero value otherwise.
func (o *Linode1) GetHasUserDataOk() (*bool, bool)
GetHasUserDataOk returns a tuple with the HasUserData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetHasUserData(v bool)
SetHasUserData sets HasUserData field to given value.
func (o *Linode1) HasHasUserData() bool
HasHasUserData returns a boolean if a field has been set.
func (o *Linode1) GetHostUuid() string
GetHostUuid returns the HostUuid field if non-nil, zero value otherwise.
func (o *Linode1) GetHostUuidOk() (*string, bool)
GetHostUuidOk returns a tuple with the HostUuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetHostUuid(v string)
SetHostUuid sets HostUuid field to given value.
func (o *Linode1) HasHostUuid() bool
HasHostUuid returns a boolean if a field has been set.
func (o *Linode1) GetHypervisor() string
GetHypervisor returns the Hypervisor field if non-nil, zero value otherwise.
func (o *Linode1) GetHypervisorOk() (*string, bool)
GetHypervisorOk returns a tuple with the Hypervisor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetHypervisor(v string)
SetHypervisor sets Hypervisor field to given value.
func (o *Linode1) HasHypervisor() bool
HasHypervisor returns a boolean if a field has been set.
func (o *Linode1) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Linode1) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetId(v int32)
SetId sets Id field to given value.
func (o *Linode1) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Linode1) GetImage() string
GetImage returns the Image field if non-nil, zero value otherwise.
func (o *Linode1) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetImage(v string)
SetImage sets Image field to given value.
func (o *Linode1) HasImage() bool
HasImage returns a boolean if a field has been set.
func (o *Linode1) GetIpv4() []string
GetIpv4 returns the Ipv4 field if non-nil, zero value otherwise.
func (o *Linode1) GetIpv4Ok() (*[]string, bool)
GetIpv4Ok returns a tuple with the Ipv4 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetIpv4(v []string)
SetIpv4 sets Ipv4 field to given value.
func (o *Linode1) HasIpv4() bool
HasIpv4 returns a boolean if a field has been set.
func (o *Linode1) GetIpv6() string
GetIpv6 returns the Ipv6 field if non-nil, zero value otherwise.
func (o *Linode1) GetIpv6Ok() (*string, bool)
GetIpv6Ok returns a tuple with the Ipv6 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetIpv6(v string)
SetIpv6 sets Ipv6 field to given value.
func (o *Linode1) HasIpv6() bool
HasIpv6 returns a boolean if a field has been set.
func (o *Linode1) SetIpv6Nil(b bool)
SetIpv6Nil sets the value for Ipv6 to be an explicit nil
func (o *Linode1) UnsetIpv6()
UnsetIpv6 ensures that no value is present for Ipv6, not even an explicit nil
func (o *Linode1) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *Linode1) 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 *Linode1) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *Linode1) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *Linode1) GetLkeClusterId() int32
GetLkeClusterId returns the LkeClusterId field if non-nil, zero value otherwise.
func (o *Linode1) GetLkeClusterIdOk() (*int32, bool)
GetLkeClusterIdOk returns a tuple with the LkeClusterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetLkeClusterId(v int32)
SetLkeClusterId sets LkeClusterId field to given value.
func (o *Linode1) HasLkeClusterId() bool
HasLkeClusterId returns a boolean if a field has been set.
func (o *Linode1) SetLkeClusterIdNil(b bool)
SetLkeClusterIdNil sets the value for LkeClusterId to be an explicit nil
func (o *Linode1) UnsetLkeClusterId()
UnsetLkeClusterId ensures that no value is present for LkeClusterId, not even an explicit nil
func (o *Linode1) GetPlacementGroup() Linode1PlacementGroup
GetPlacementGroup returns the PlacementGroup field if non-nil, zero value otherwise.
func (o *Linode1) GetPlacementGroupOk() (*Linode1PlacementGroup, 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 *Linode1) SetPlacementGroup(v Linode1PlacementGroup)
SetPlacementGroup sets PlacementGroup field to given value.
func (o *Linode1) HasPlacementGroup() bool
HasPlacementGroup returns a boolean if a field has been set.
func (o *Linode1) SetPlacementGroupNil(b bool)
SetPlacementGroupNil sets the value for PlacementGroup to be an explicit nil
func (o *Linode1) UnsetPlacementGroup()
UnsetPlacementGroup ensures that no value is present for PlacementGroup, not even an explicit nil
func (o *Linode1) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *Linode1) 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 *Linode1) SetRegion(v string)
SetRegion sets Region field to given value.
func (o *Linode1) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (o *Linode1) GetSpecs() LinodeSpecs
GetSpecs returns the Specs field if non-nil, zero value otherwise.
func (o *Linode1) GetSpecsOk() (*LinodeSpecs, bool)
GetSpecsOk returns a tuple with the Specs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetSpecs(v LinodeSpecs)
SetSpecs sets Specs field to given value.
func (o *Linode1) HasSpecs() bool
HasSpecs returns a boolean if a field has been set.
func (o *Linode1) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Linode1) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *Linode1) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *Linode1) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *Linode1) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *Linode1) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *Linode1) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Linode1) 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 *Linode1) SetType(v string)
SetType sets Type field to given value.
func (o *Linode1) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Linode1) GetUpdated() time.Time
GetUpdated returns the Updated field if non-nil, zero value otherwise.
func (o *Linode1) GetUpdatedOk() (*time.Time, bool)
GetUpdatedOk returns a tuple with the Updated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetUpdated(v time.Time)
SetUpdated sets Updated field to given value.
func (o *Linode1) HasUpdated() bool
HasUpdated returns a boolean if a field has been set.
func (o *Linode1) GetWatchdogEnabled() bool
GetWatchdogEnabled returns the WatchdogEnabled field if non-nil, zero value otherwise.
func (o *Linode1) GetWatchdogEnabledOk() (*bool, bool)
GetWatchdogEnabledOk returns a tuple with the WatchdogEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Linode1) SetWatchdogEnabled(v bool)
SetWatchdogEnabled sets WatchdogEnabled field to given value.
func (o *Linode1) HasWatchdogEnabled() bool
HasWatchdogEnabled returns a boolean if a field has been set.