File: PrivateCrossConnectProperties.md

package info (click to toggle)
golang-github-ionos-cloud-sdk-go 6.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,360 kB
  • sloc: sh: 35; makefile: 3
file content (132 lines) | stat: -rw-r--r-- 4,566 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# PrivateCrossConnectProperties

## Properties

|Name | Type | Description | Notes|
|------------ | ------------- | ------------- | -------------|
|**Name** | Pointer to **string** | The name of the Cross Connect. | [optional] |
|**Description** | Pointer to **string** | Human-readable description of the Cross Connect. | [optional] |
|**Peers** | Pointer to [**[]Peer**](Peer.md) | Read-Only attribute. Lists LAN's connected to this Cross Connect. | [optional] [readonly] |
|**ConnectableDatacenters** | Pointer to [**[]ConnectableDatacenter**](ConnectableDatacenter.md) | Read-Only attribute. Lists data centers that can be connected to this Cross Connect. If the Cross Connect is not connected to any LANs it lists all VDCs the user has access to. If the Cross Connect is connected to at least 1 LAN it lists all VDCs the user has access to in the location of the connected LAN. | [optional] [readonly] |

## Methods

### NewPrivateCrossConnectProperties

`func NewPrivateCrossConnectProperties() *PrivateCrossConnectProperties`

NewPrivateCrossConnectProperties instantiates a new PrivateCrossConnectProperties 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

### NewPrivateCrossConnectPropertiesWithDefaults

`func NewPrivateCrossConnectPropertiesWithDefaults() *PrivateCrossConnectProperties`

NewPrivateCrossConnectPropertiesWithDefaults instantiates a new PrivateCrossConnectProperties 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

### GetName

`func (o *PrivateCrossConnectProperties) GetName() string`

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

### GetNameOk

`func (o *PrivateCrossConnectProperties) 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 *PrivateCrossConnectProperties) SetName(v string)`

SetName sets Name field to given value.

### HasName

`func (o *PrivateCrossConnectProperties) HasName() bool`

HasName returns a boolean if a field has been set.

### GetDescription

`func (o *PrivateCrossConnectProperties) GetDescription() string`

GetDescription returns the Description field if non-nil, zero value otherwise.

### GetDescriptionOk

`func (o *PrivateCrossConnectProperties) GetDescriptionOk() (*string, bool)`

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

### SetDescription

`func (o *PrivateCrossConnectProperties) SetDescription(v string)`

SetDescription sets Description field to given value.

### HasDescription

`func (o *PrivateCrossConnectProperties) HasDescription() bool`

HasDescription returns a boolean if a field has been set.

### GetPeers

`func (o *PrivateCrossConnectProperties) GetPeers() []Peer`

GetPeers returns the Peers field if non-nil, zero value otherwise.

### GetPeersOk

`func (o *PrivateCrossConnectProperties) GetPeersOk() (*[]Peer, bool)`

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

### SetPeers

`func (o *PrivateCrossConnectProperties) SetPeers(v []Peer)`

SetPeers sets Peers field to given value.

### HasPeers

`func (o *PrivateCrossConnectProperties) HasPeers() bool`

HasPeers returns a boolean if a field has been set.

### GetConnectableDatacenters

`func (o *PrivateCrossConnectProperties) GetConnectableDatacenters() []ConnectableDatacenter`

GetConnectableDatacenters returns the ConnectableDatacenters field if non-nil, zero value otherwise.

### GetConnectableDatacentersOk

`func (o *PrivateCrossConnectProperties) GetConnectableDatacentersOk() (*[]ConnectableDatacenter, bool)`

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

### SetConnectableDatacenters

`func (o *PrivateCrossConnectProperties) SetConnectableDatacenters(v []ConnectableDatacenter)`

SetConnectableDatacenters sets ConnectableDatacenters field to given value.

### HasConnectableDatacenters

`func (o *PrivateCrossConnectProperties) HasConnectableDatacenters() bool`

HasConnectableDatacenters returns a boolean if a field has been set.