File: LoadbalancerProperties.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 (116 lines) | stat: -rw-r--r-- 3,247 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
# LoadbalancerProperties

## Properties

|Name | Type | Description | Notes|
|------------ | ------------- | ------------- | -------------|
|**Name** | Pointer to **string** | The name of the  resource. | [optional] |
|**Ip** | Pointer to **NullableString** | IPv4 address of the loadbalancer. All attached NICs will inherit this IP. Leaving value null will assign IP automatically. | [optional] |
|**Dhcp** | Pointer to **bool** | Indicates if the loadbalancer will reserve an IP using DHCP. | [optional] |

## Methods

### NewLoadbalancerProperties

`func NewLoadbalancerProperties() *LoadbalancerProperties`

NewLoadbalancerProperties instantiates a new LoadbalancerProperties 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

### NewLoadbalancerPropertiesWithDefaults

`func NewLoadbalancerPropertiesWithDefaults() *LoadbalancerProperties`

NewLoadbalancerPropertiesWithDefaults instantiates a new LoadbalancerProperties 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 *LoadbalancerProperties) GetName() string`

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

### GetNameOk

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

SetName sets Name field to given value.

### HasName

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

HasName returns a boolean if a field has been set.

### GetIp

`func (o *LoadbalancerProperties) GetIp() string`

GetIp returns the Ip field if non-nil, zero value otherwise.

### GetIpOk

`func (o *LoadbalancerProperties) GetIpOk() (*string, bool)`

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

### SetIp

`func (o *LoadbalancerProperties) SetIp(v string)`

SetIp sets Ip field to given value.

### HasIp

`func (o *LoadbalancerProperties) HasIp() bool`

HasIp returns a boolean if a field has been set.

### SetIpNil

`func (o *LoadbalancerProperties) SetIpNil()`

 SetIpNil sets the value for Ip to be marshalled as an explicit nil
 Alternatively Ip can be set directly to the address `&Nilstring`, which is a sentinel value that is checked when marshalling.

### UnsetIp
`func (o *LoadbalancerProperties) UnsetIp()`

### GetDhcp

`func (o *LoadbalancerProperties) GetDhcp() bool`

GetDhcp returns the Dhcp field if non-nil, zero value otherwise.

### GetDhcpOk

`func (o *LoadbalancerProperties) GetDhcpOk() (*bool, bool)`

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

### SetDhcp

`func (o *LoadbalancerProperties) SetDhcp(v bool)`

SetDhcp sets Dhcp field to given value.

### HasDhcp

`func (o *LoadbalancerProperties) HasDhcp() bool`

HasDhcp returns a boolean if a field has been set.