File: IpBlockProperties.md

package info (click to toggle)
golang-github-ionos-cloud-sdk-go 6.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,360 kB
  • sloc: sh: 35; makefile: 3
file content (148 lines) | stat: -rw-r--r-- 4,097 bytes parent folder | download | duplicates (3)
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
# IpBlockProperties

## Properties

|Name | Type | Description | Notes|
|------------ | ------------- | ------------- | -------------|
|**Ips** | Pointer to **[]string** | Collection of IPs, associated with the IP Block. | [optional] [readonly] |
|**Location** | **string** | Location of that IP block. Property cannot be modified after it is created (disallowed in update requests). | |
|**Size** | **int32** | The size of the IP block. | |
|**Name** | Pointer to **string** | The name of the  resource. | [optional] |
|**IpConsumers** | Pointer to [**[]IpConsumer**](IpConsumer.md) | Read-Only attribute. Lists consumption detail for an individual IP | [optional] [readonly] |

## Methods

### NewIpBlockProperties

`func NewIpBlockProperties(location string, size int32, ) *IpBlockProperties`

NewIpBlockProperties instantiates a new IpBlockProperties 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

### NewIpBlockPropertiesWithDefaults

`func NewIpBlockPropertiesWithDefaults() *IpBlockProperties`

NewIpBlockPropertiesWithDefaults instantiates a new IpBlockProperties 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

### GetIps

`func (o *IpBlockProperties) GetIps() []string`

GetIps returns the Ips field if non-nil, zero value otherwise.

### GetIpsOk

`func (o *IpBlockProperties) GetIpsOk() (*[]string, 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.

### SetIps

`func (o *IpBlockProperties) SetIps(v []string)`

SetIps sets Ips field to given value.

### HasIps

`func (o *IpBlockProperties) HasIps() bool`

HasIps returns a boolean if a field has been set.

### GetLocation

`func (o *IpBlockProperties) GetLocation() string`

GetLocation returns the Location field if non-nil, zero value otherwise.

### GetLocationOk

`func (o *IpBlockProperties) GetLocationOk() (*string, bool)`

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

### SetLocation

`func (o *IpBlockProperties) SetLocation(v string)`

SetLocation sets Location field to given value.


### GetSize

`func (o *IpBlockProperties) GetSize() int32`

GetSize returns the Size field if non-nil, zero value otherwise.

### GetSizeOk

`func (o *IpBlockProperties) GetSizeOk() (*int32, bool)`

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

### SetSize

`func (o *IpBlockProperties) SetSize(v int32)`

SetSize sets Size field to given value.


### GetName

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

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

### GetNameOk

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

SetName sets Name field to given value.

### HasName

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

HasName returns a boolean if a field has been set.

### GetIpConsumers

`func (o *IpBlockProperties) GetIpConsumers() []IpConsumer`

GetIpConsumers returns the IpConsumers field if non-nil, zero value otherwise.

### GetIpConsumersOk

`func (o *IpBlockProperties) GetIpConsumersOk() (*[]IpConsumer, bool)`

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

### SetIpConsumers

`func (o *IpBlockProperties) SetIpConsumers(v []IpConsumer)`

SetIpConsumers sets IpConsumers field to given value.

### HasIpConsumers

`func (o *IpBlockProperties) HasIpConsumers() bool`

HasIpConsumers returns a boolean if a field has been set.