Connection
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewConnection(datacenterId string, lanId string, cidr string, ) *Connection
NewConnection instantiates a new Connection 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 NewConnectionWithDefaults() *Connection
NewConnectionWithDefaults instantiates a new Connection 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 *Connection) GetDatacenterId() string
GetDatacenterId returns the DatacenterId field if non-nil, zero value otherwise.
func (o *Connection) GetDatacenterIdOk() (*string, bool)
GetDatacenterIdOk returns a tuple with the DatacenterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Connection) SetDatacenterId(v string)
SetDatacenterId sets DatacenterId field to given value.
func (o *Connection) GetLanId() string
GetLanId returns the LanId field if non-nil, zero value otherwise.
func (o *Connection) GetLanIdOk() (*string, bool)
GetLanIdOk returns a tuple with the LanId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Connection) SetLanId(v string)
SetLanId sets LanId field to given value.
func (o *Connection) GetCidr() string
GetCidr returns the Cidr field if non-nil, zero value otherwise.
func (o *Connection) GetCidrOk() (*string, bool)
GetCidrOk returns a tuple with the Cidr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Connection) SetCidr(v string)
SetCidr sets Cidr field to given value.
DatacenterId
string
The datacenter to connect your instance to.
LanId
string
The numeric LAN ID to connect your instance to.
Cidr
string
The IP and subnet for your instance. Note the following unavailable IP ranges: 10.210.0.0/16 10.212.0.0/14