Name | Type | Description | Notes |
---|---|---|---|
Id | string | ||
Pack | VpsPackType | ||
Resources | BaseResources | ||
Region | RegionName | ||
Datacenter | Datacenter | ||
Reference | string | The identifying name set to the instance | |
Image | Image | ||
MarketAppId | Pointer to MarketAppId | [optional] | |
State | VpsState | ||
HasPublicIpV4 | bool | ||
RootDiskSize | int32 | The root disk's size in GB. Must be at least 5 GB for Linux and FreeBSD instances and 50 GB for Windows instances | |
StartedAt | NullableTime | Date and time when the VPS was started for the first time, right after launching it | |
Contract | VpsContract | ||
Iso | Pointer to NullableIso | [optional] | |
Ips | []IpDetails |
func NewVpsDetails(id string, pack VpsPackType, resources BaseResources, region RegionName, datacenter Datacenter, reference string, image Image, state VpsState, hasPublicIpV4 bool, rootDiskSize int32, startedAt NullableTime, contract VpsContract, ips []IpDetails, ) *VpsDetails
NewVpsDetails instantiates a new VpsDetails 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 NewVpsDetailsWithDefaults() *VpsDetails
NewVpsDetailsWithDefaults instantiates a new VpsDetails 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 *VpsDetails) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *VpsDetails) GetIdOk() (*string, 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 *VpsDetails) SetId(v string)
SetId sets Id field to given value.
func (o *VpsDetails) GetPack() VpsPackType
GetPack returns the Pack field if non-nil, zero value otherwise.
func (o *VpsDetails) GetPackOk() (*VpsPackType, bool)
GetPackOk returns a tuple with the Pack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsDetails) SetPack(v VpsPackType)
SetPack sets Pack field to given value.
func (o *VpsDetails) GetResources() BaseResources
GetResources returns the Resources field if non-nil, zero value otherwise.
func (o *VpsDetails) GetResourcesOk() (*BaseResources, bool)
GetResourcesOk returns a tuple with the Resources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsDetails) SetResources(v BaseResources)
SetResources sets Resources field to given value.
func (o *VpsDetails) GetRegion() RegionName
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *VpsDetails) GetRegionOk() (*RegionName, 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 *VpsDetails) SetRegion(v RegionName)
SetRegion sets Region field to given value.
func (o *VpsDetails) GetDatacenter() Datacenter
GetDatacenter returns the Datacenter field if non-nil, zero value otherwise.
func (o *VpsDetails) GetDatacenterOk() (*Datacenter, bool)
GetDatacenterOk returns a tuple with the Datacenter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsDetails) SetDatacenter(v Datacenter)
SetDatacenter sets Datacenter field to given value.
func (o *VpsDetails) GetReference() string
GetReference returns the Reference field if non-nil, zero value otherwise.
func (o *VpsDetails) GetReferenceOk() (*string, bool)
GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsDetails) SetReference(v string)
SetReference sets Reference field to given value.
func (o *VpsDetails) GetImage() Image
GetImage returns the Image field if non-nil, zero value otherwise.
func (o *VpsDetails) GetImageOk() (*Image, 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 *VpsDetails) SetImage(v Image)
SetImage sets Image field to given value.
func (o *VpsDetails) GetMarketAppId() MarketAppId
GetMarketAppId returns the MarketAppId field if non-nil, zero value otherwise.
func (o *VpsDetails) GetMarketAppIdOk() (*MarketAppId, bool)
GetMarketAppIdOk returns a tuple with the MarketAppId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsDetails) SetMarketAppId(v MarketAppId)
SetMarketAppId sets MarketAppId field to given value.
func (o *VpsDetails) HasMarketAppId() bool
HasMarketAppId returns a boolean if a field has been set.
func (o *VpsDetails) GetState() VpsState
GetState returns the State field if non-nil, zero value otherwise.
func (o *VpsDetails) GetStateOk() (*VpsState, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsDetails) SetState(v VpsState)
SetState sets State field to given value.
func (o *VpsDetails) GetHasPublicIpV4() bool
GetHasPublicIpV4 returns the HasPublicIpV4 field if non-nil, zero value otherwise.
func (o *VpsDetails) GetHasPublicIpV4Ok() (*bool, bool)
GetHasPublicIpV4Ok returns a tuple with the HasPublicIpV4 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsDetails) SetHasPublicIpV4(v bool)
SetHasPublicIpV4 sets HasPublicIpV4 field to given value.
func (o *VpsDetails) GetRootDiskSize() int32
GetRootDiskSize returns the RootDiskSize field if non-nil, zero value otherwise.
func (o *VpsDetails) GetRootDiskSizeOk() (*int32, bool)
GetRootDiskSizeOk returns a tuple with the RootDiskSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsDetails) SetRootDiskSize(v int32)
SetRootDiskSize sets RootDiskSize field to given value.
func (o *VpsDetails) GetStartedAt() time.Time
GetStartedAt returns the StartedAt field if non-nil, zero value otherwise.
func (o *VpsDetails) GetStartedAtOk() (*time.Time, bool)
GetStartedAtOk returns a tuple with the StartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsDetails) SetStartedAt(v time.Time)
SetStartedAt sets StartedAt field to given value.
func (o *VpsDetails) SetStartedAtNil(b bool)
SetStartedAtNil sets the value for StartedAt to be an explicit nil
func (o *VpsDetails) UnsetStartedAt()
UnsetStartedAt ensures that no value is present for StartedAt, not even an explicit nil
func (o *VpsDetails) GetContract() VpsContract
GetContract returns the Contract field if non-nil, zero value otherwise.
func (o *VpsDetails) GetContractOk() (*VpsContract, bool)
GetContractOk returns a tuple with the Contract field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsDetails) SetContract(v VpsContract)
SetContract sets Contract field to given value.
func (o *VpsDetails) GetIso() Iso
GetIso returns the Iso field if non-nil, zero value otherwise.
func (o *VpsDetails) GetIsoOk() (*Iso, bool)
GetIsoOk returns a tuple with the Iso field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsDetails) SetIso(v Iso)
SetIso sets Iso field to given value.
func (o *VpsDetails) HasIso() bool
HasIso returns a boolean if a field has been set.
func (o *VpsDetails) SetIsoNil(b bool)
SetIsoNil sets the value for Iso to be an explicit nil
func (o *VpsDetails) UnsetIso()
UnsetIso ensures that no value is present for Iso, not even an explicit nil
func (o *VpsDetails) GetIps() []IpDetails
GetIps returns the Ips field if non-nil, zero value otherwise.
func (o *VpsDetails) GetIpsOk() (*[]IpDetails, bool)
GetIpsOk returns a tuple with the Ips field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VpsDetails) SetIps(v []IpDetails)
SetIps sets Ips field to given value.