autosde_openapi_client 3.2.1 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/Snapshot.md +2 -0
- data/docs/SnapshotCreate.md +2 -0
- data/docs/SnapshotResponse.md +2 -0
- data/docs/Volume.md +0 -2
- data/docs/VolumeResponse.md +0 -2
- data/lib/autosde_openapi_client/models/host_cluster.rb +0 -15
- data/lib/autosde_openapi_client/models/host_cluster_create.rb +0 -15
- data/lib/autosde_openapi_client/models/host_cluster_response.rb +0 -15
- data/lib/autosde_openapi_client/models/host_cluster_update.rb +0 -15
- data/lib/autosde_openapi_client/models/snapshot.rb +11 -1
- data/lib/autosde_openapi_client/models/snapshot_create.rb +11 -1
- data/lib/autosde_openapi_client/models/snapshot_response.rb +11 -1
- data/lib/autosde_openapi_client/models/volume.rb +1 -10
- data/lib/autosde_openapi_client/models/volume_response.rb +1 -10
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/spec/models/snapshot_create_spec.rb +6 -0
- data/spec/models/snapshot_response_spec.rb +6 -0
- data/spec/models/snapshot_spec.rb +6 -0
- data/spec/models/volume_response_spec.rb +0 -6
- data/spec/models/volume_spec.rb +0 -6
- metadata +88 -88
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 235fabc41813b96bf7aab360e5ac58d7eb030409e7d9e81e515f2313315a26f8
|
4
|
+
data.tar.gz: 6415af7c18cc95a23b53491daede23d074c876dfc18e9baa6e09f6bf36452b54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b1fa0fdbbf768eac482fdb74543adbe9a914d5d0eb3a591746521d9e941c9f7f8a93aa25b994fc5fb0089ff761ff776549a23f46c764f3b546e90b75cbf5930
|
7
|
+
data.tar.gz: 3d8182b2aa4f4c884626d5d7e21e5e9526093929ce0b8dcd4e26831c1ebd365f81fab0f09a359c036c9c2e5a5c56a7dc780718ae3db90ba9e091c47e8380234a
|
data/docs/Snapshot.md
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
| **component_state** | **String** | component_state | [optional] |
|
8
8
|
| **description** | **String** | description | [optional] |
|
9
9
|
| **name** | **String** | name | [optional] |
|
10
|
+
| **name_in_storage** | **String** | name_in_storage | [optional] |
|
10
11
|
| **uuid** | **String** | uuid | [optional] |
|
11
12
|
| **volume** | [**Volume**](Volume.md) | | [optional] |
|
12
13
|
|
@@ -19,6 +20,7 @@ instance = AutosdeOpenapiClient::Snapshot.new(
|
|
19
20
|
component_state: null,
|
20
21
|
description: null,
|
21
22
|
name: null,
|
23
|
+
name_in_storage: null,
|
22
24
|
uuid: null,
|
23
25
|
volume: null
|
24
26
|
)
|
data/docs/SnapshotCreate.md
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
| **component_state** | **String** | component_state | [optional] |
|
8
8
|
| **description** | **String** | description | [optional] |
|
9
9
|
| **name** | **String** | name | [optional] |
|
10
|
+
| **name_in_storage** | **String** | name_in_storage | [optional] |
|
10
11
|
| **uuid** | **String** | uuid | [optional] |
|
11
12
|
| **volume** | [**Volume**](Volume.md) | | [optional] |
|
12
13
|
|
@@ -19,6 +20,7 @@ instance = AutosdeOpenapiClient::SnapshotCreate.new(
|
|
19
20
|
component_state: null,
|
20
21
|
description: null,
|
21
22
|
name: null,
|
23
|
+
name_in_storage: null,
|
22
24
|
uuid: null,
|
23
25
|
volume: null
|
24
26
|
)
|
data/docs/SnapshotResponse.md
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
| **component_state** | **String** | component_state | [optional] |
|
8
8
|
| **description** | **String** | description | [optional] |
|
9
9
|
| **name** | **String** | name | [optional] |
|
10
|
+
| **name_in_storage** | **String** | name_in_storage | [optional] |
|
10
11
|
| **uuid** | **String** | uuid | [optional] |
|
11
12
|
| **volume** | **String** | !!uuid of volume | [optional] |
|
12
13
|
|
@@ -19,6 +20,7 @@ instance = AutosdeOpenapiClient::SnapshotResponse.new(
|
|
19
20
|
component_state: null,
|
20
21
|
description: null,
|
21
22
|
name: null,
|
23
|
+
name_in_storage: null,
|
22
24
|
uuid: null,
|
23
25
|
volume: null
|
24
26
|
)
|
data/docs/Volume.md
CHANGED
@@ -7,7 +7,6 @@
|
|
7
7
|
| **compliant** | **Boolean** | compliant | [optional][default to false] |
|
8
8
|
| **component_state** | **String** | component_state | [optional] |
|
9
9
|
| **fc_map_count** | **Integer** | fc_map_count | [optional][default to 0] |
|
10
|
-
| **historical_service** | [**Service**](Service.md) | | [optional] |
|
11
10
|
| **name** | **String** | name | [optional] |
|
12
11
|
| **service** | [**Service**](Service.md) | | [optional] |
|
13
12
|
| **size** | **Integer** | size | [optional] |
|
@@ -26,7 +25,6 @@ instance = AutosdeOpenapiClient::Volume.new(
|
|
26
25
|
compliant: null,
|
27
26
|
component_state: null,
|
28
27
|
fc_map_count: null,
|
29
|
-
historical_service: null,
|
30
28
|
name: null,
|
31
29
|
service: null,
|
32
30
|
size: null,
|
data/docs/VolumeResponse.md
CHANGED
@@ -7,7 +7,6 @@
|
|
7
7
|
| **compliant** | **Boolean** | compliant | [optional][default to false] |
|
8
8
|
| **component_state** | **String** | component_state | [optional] |
|
9
9
|
| **fc_map_count** | **Integer** | fc_map_count | [optional][default to 0] |
|
10
|
-
| **historical_service** | [**Service**](Service.md) | | [optional] |
|
11
10
|
| **name** | **String** | name | [optional] |
|
12
11
|
| **service** | **String** | !!uuid of service | [optional] |
|
13
12
|
| **size** | **Integer** | size | [optional] |
|
@@ -26,7 +25,6 @@ instance = AutosdeOpenapiClient::VolumeResponse.new(
|
|
26
25
|
compliant: null,
|
27
26
|
component_state: null,
|
28
27
|
fc_map_count: null,
|
29
|
-
historical_service: null,
|
30
28
|
name: null,
|
31
29
|
service: null,
|
32
30
|
size: null,
|
@@ -164,10 +164,6 @@ module AutosdeOpenapiClient
|
|
164
164
|
invalid_properties.push('invalid value for "component_state", the character length must be smaller than or equal to 32.')
|
165
165
|
end
|
166
166
|
|
167
|
-
if !@name.nil? && @name.to_s.length > 15
|
168
|
-
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 15.')
|
169
|
-
end
|
170
|
-
|
171
167
|
if !@owner_id.nil? && @owner_id.to_s.length > 15
|
172
168
|
invalid_properties.push('invalid value for "owner_id", the character length must be smaller than or equal to 15.')
|
173
169
|
end
|
@@ -189,7 +185,6 @@ module AutosdeOpenapiClient
|
|
189
185
|
component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
190
186
|
return false unless component_state_validator.valid?(@component_state)
|
191
187
|
return false if !@component_state.nil? && @component_state.to_s.length > 32
|
192
|
-
return false if !@name.nil? && @name.to_s.length > 15
|
193
188
|
return false if !@owner_id.nil? && @owner_id.to_s.length > 15
|
194
189
|
return false if !@owner_name.nil? && @owner_name.to_s.length > 15
|
195
190
|
return false if !@protocol.nil? && @protocol.to_s.length > 15
|
@@ -206,16 +201,6 @@ module AutosdeOpenapiClient
|
|
206
201
|
@component_state = component_state
|
207
202
|
end
|
208
203
|
|
209
|
-
# Custom attribute writer method with validation
|
210
|
-
# @param [Object] name Value to be assigned
|
211
|
-
def name=(name)
|
212
|
-
if !name.nil? && name.to_s.length > 15
|
213
|
-
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 15.'
|
214
|
-
end
|
215
|
-
|
216
|
-
@name = name
|
217
|
-
end
|
218
|
-
|
219
204
|
# Custom attribute writer method with validation
|
220
205
|
# @param [Object] owner_id Value to be assigned
|
221
206
|
def owner_id=(owner_id)
|
@@ -120,10 +120,6 @@ module AutosdeOpenapiClient
|
|
120
120
|
# @return Array for valid properties with the reasons
|
121
121
|
def list_invalid_properties
|
122
122
|
invalid_properties = Array.new
|
123
|
-
if !@name.nil? && @name.to_s.length > 15
|
124
|
-
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 15.')
|
125
|
-
end
|
126
|
-
|
127
123
|
if !@owner_id.nil? && @owner_id.to_s.length > 15
|
128
124
|
invalid_properties.push('invalid value for "owner_id", the character length must be smaller than or equal to 15.')
|
129
125
|
end
|
@@ -142,23 +138,12 @@ module AutosdeOpenapiClient
|
|
142
138
|
# Check to see if the all the properties in the model are valid
|
143
139
|
# @return true if the model is valid
|
144
140
|
def valid?
|
145
|
-
return false if !@name.nil? && @name.to_s.length > 15
|
146
141
|
return false if !@owner_id.nil? && @owner_id.to_s.length > 15
|
147
142
|
return false if !@owner_name.nil? && @owner_name.to_s.length > 15
|
148
143
|
return false if !@protocol.nil? && @protocol.to_s.length > 15
|
149
144
|
true
|
150
145
|
end
|
151
146
|
|
152
|
-
# Custom attribute writer method with validation
|
153
|
-
# @param [Object] name Value to be assigned
|
154
|
-
def name=(name)
|
155
|
-
if !name.nil? && name.to_s.length > 15
|
156
|
-
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 15.'
|
157
|
-
end
|
158
|
-
|
159
|
-
@name = name
|
160
|
-
end
|
161
|
-
|
162
147
|
# Custom attribute writer method with validation
|
163
148
|
# @param [Object] owner_id Value to be assigned
|
164
149
|
def owner_id=(owner_id)
|
@@ -165,10 +165,6 @@ module AutosdeOpenapiClient
|
|
165
165
|
invalid_properties.push('invalid value for "component_state", the character length must be smaller than or equal to 32.')
|
166
166
|
end
|
167
167
|
|
168
|
-
if !@name.nil? && @name.to_s.length > 15
|
169
|
-
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 15.')
|
170
|
-
end
|
171
|
-
|
172
168
|
if !@owner_id.nil? && @owner_id.to_s.length > 15
|
173
169
|
invalid_properties.push('invalid value for "owner_id", the character length must be smaller than or equal to 15.')
|
174
170
|
end
|
@@ -190,7 +186,6 @@ module AutosdeOpenapiClient
|
|
190
186
|
component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
191
187
|
return false unless component_state_validator.valid?(@component_state)
|
192
188
|
return false if !@component_state.nil? && @component_state.to_s.length > 32
|
193
|
-
return false if !@name.nil? && @name.to_s.length > 15
|
194
189
|
return false if !@owner_id.nil? && @owner_id.to_s.length > 15
|
195
190
|
return false if !@owner_name.nil? && @owner_name.to_s.length > 15
|
196
191
|
return false if !@protocol.nil? && @protocol.to_s.length > 15
|
@@ -207,16 +202,6 @@ module AutosdeOpenapiClient
|
|
207
202
|
@component_state = component_state
|
208
203
|
end
|
209
204
|
|
210
|
-
# Custom attribute writer method with validation
|
211
|
-
# @param [Object] name Value to be assigned
|
212
|
-
def name=(name)
|
213
|
-
if !name.nil? && name.to_s.length > 15
|
214
|
-
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 15.'
|
215
|
-
end
|
216
|
-
|
217
|
-
@name = name
|
218
|
-
end
|
219
|
-
|
220
205
|
# Custom attribute writer method with validation
|
221
206
|
# @param [Object] owner_id Value to be assigned
|
222
207
|
def owner_id=(owner_id)
|
@@ -112,10 +112,6 @@ module AutosdeOpenapiClient
|
|
112
112
|
# @return Array for valid properties with the reasons
|
113
113
|
def list_invalid_properties
|
114
114
|
invalid_properties = Array.new
|
115
|
-
if !@name.nil? && @name.to_s.length > 15
|
116
|
-
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 15.')
|
117
|
-
end
|
118
|
-
|
119
115
|
if !@owner_id.nil? && @owner_id.to_s.length > 15
|
120
116
|
invalid_properties.push('invalid value for "owner_id", the character length must be smaller than or equal to 15.')
|
121
117
|
end
|
@@ -134,23 +130,12 @@ module AutosdeOpenapiClient
|
|
134
130
|
# Check to see if the all the properties in the model are valid
|
135
131
|
# @return true if the model is valid
|
136
132
|
def valid?
|
137
|
-
return false if !@name.nil? && @name.to_s.length > 15
|
138
133
|
return false if !@owner_id.nil? && @owner_id.to_s.length > 15
|
139
134
|
return false if !@owner_name.nil? && @owner_name.to_s.length > 15
|
140
135
|
return false if !@protocol.nil? && @protocol.to_s.length > 15
|
141
136
|
true
|
142
137
|
end
|
143
138
|
|
144
|
-
# Custom attribute writer method with validation
|
145
|
-
# @param [Object] name Value to be assigned
|
146
|
-
def name=(name)
|
147
|
-
if !name.nil? && name.to_s.length > 15
|
148
|
-
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 15.'
|
149
|
-
end
|
150
|
-
|
151
|
-
@name = name
|
152
|
-
end
|
153
|
-
|
154
139
|
# Custom attribute writer method with validation
|
155
140
|
# @param [Object] owner_id Value to be assigned
|
156
141
|
def owner_id=(owner_id)
|
@@ -25,6 +25,9 @@ module AutosdeOpenapiClient
|
|
25
25
|
# name
|
26
26
|
attr_accessor :name
|
27
27
|
|
28
|
+
# name_in_storage
|
29
|
+
attr_accessor :name_in_storage
|
30
|
+
|
28
31
|
# uuid
|
29
32
|
attr_accessor :uuid
|
30
33
|
|
@@ -58,6 +61,7 @@ module AutosdeOpenapiClient
|
|
58
61
|
:'component_state' => :'component_state',
|
59
62
|
:'description' => :'description',
|
60
63
|
:'name' => :'name',
|
64
|
+
:'name_in_storage' => :'name_in_storage',
|
61
65
|
:'uuid' => :'uuid',
|
62
66
|
:'volume' => :'volume'
|
63
67
|
}
|
@@ -74,6 +78,7 @@ module AutosdeOpenapiClient
|
|
74
78
|
:'component_state' => :'String',
|
75
79
|
:'description' => :'String',
|
76
80
|
:'name' => :'String',
|
81
|
+
:'name_in_storage' => :'String',
|
77
82
|
:'uuid' => :'String',
|
78
83
|
:'volume' => :'Volume'
|
79
84
|
}
|
@@ -112,6 +117,10 @@ module AutosdeOpenapiClient
|
|
112
117
|
self.name = attributes[:'name']
|
113
118
|
end
|
114
119
|
|
120
|
+
if attributes.key?(:'name_in_storage')
|
121
|
+
self.name_in_storage = attributes[:'name_in_storage']
|
122
|
+
end
|
123
|
+
|
115
124
|
if attributes.key?(:'uuid')
|
116
125
|
self.uuid = attributes[:'uuid']
|
117
126
|
end
|
@@ -159,6 +168,7 @@ module AutosdeOpenapiClient
|
|
159
168
|
component_state == o.component_state &&
|
160
169
|
description == o.description &&
|
161
170
|
name == o.name &&
|
171
|
+
name_in_storage == o.name_in_storage &&
|
162
172
|
uuid == o.uuid &&
|
163
173
|
volume == o.volume
|
164
174
|
end
|
@@ -172,7 +182,7 @@ module AutosdeOpenapiClient
|
|
172
182
|
# Calculates hash code according to all attributes.
|
173
183
|
# @return [Integer] Hash code
|
174
184
|
def hash
|
175
|
-
[component_state, description, name, uuid, volume].hash
|
185
|
+
[component_state, description, name, name_in_storage, uuid, volume].hash
|
176
186
|
end
|
177
187
|
|
178
188
|
# Builds the object from hash
|
@@ -25,6 +25,9 @@ module AutosdeOpenapiClient
|
|
25
25
|
# name
|
26
26
|
attr_accessor :name
|
27
27
|
|
28
|
+
# name_in_storage
|
29
|
+
attr_accessor :name_in_storage
|
30
|
+
|
28
31
|
# uuid
|
29
32
|
attr_accessor :uuid
|
30
33
|
|
@@ -58,6 +61,7 @@ module AutosdeOpenapiClient
|
|
58
61
|
:'component_state' => :'component_state',
|
59
62
|
:'description' => :'description',
|
60
63
|
:'name' => :'name',
|
64
|
+
:'name_in_storage' => :'name_in_storage',
|
61
65
|
:'uuid' => :'uuid',
|
62
66
|
:'volume' => :'volume'
|
63
67
|
}
|
@@ -74,6 +78,7 @@ module AutosdeOpenapiClient
|
|
74
78
|
:'component_state' => :'String',
|
75
79
|
:'description' => :'String',
|
76
80
|
:'name' => :'String',
|
81
|
+
:'name_in_storage' => :'String',
|
77
82
|
:'uuid' => :'String',
|
78
83
|
:'volume' => :'Volume'
|
79
84
|
}
|
@@ -112,6 +117,10 @@ module AutosdeOpenapiClient
|
|
112
117
|
self.name = attributes[:'name']
|
113
118
|
end
|
114
119
|
|
120
|
+
if attributes.key?(:'name_in_storage')
|
121
|
+
self.name_in_storage = attributes[:'name_in_storage']
|
122
|
+
end
|
123
|
+
|
115
124
|
if attributes.key?(:'uuid')
|
116
125
|
self.uuid = attributes[:'uuid']
|
117
126
|
end
|
@@ -159,6 +168,7 @@ module AutosdeOpenapiClient
|
|
159
168
|
component_state == o.component_state &&
|
160
169
|
description == o.description &&
|
161
170
|
name == o.name &&
|
171
|
+
name_in_storage == o.name_in_storage &&
|
162
172
|
uuid == o.uuid &&
|
163
173
|
volume == o.volume
|
164
174
|
end
|
@@ -172,7 +182,7 @@ module AutosdeOpenapiClient
|
|
172
182
|
# Calculates hash code according to all attributes.
|
173
183
|
# @return [Integer] Hash code
|
174
184
|
def hash
|
175
|
-
[component_state, description, name, uuid, volume].hash
|
185
|
+
[component_state, description, name, name_in_storage, uuid, volume].hash
|
176
186
|
end
|
177
187
|
|
178
188
|
# Builds the object from hash
|
@@ -25,6 +25,9 @@ module AutosdeOpenapiClient
|
|
25
25
|
# name
|
26
26
|
attr_accessor :name
|
27
27
|
|
28
|
+
# name_in_storage
|
29
|
+
attr_accessor :name_in_storage
|
30
|
+
|
28
31
|
# uuid
|
29
32
|
attr_accessor :uuid
|
30
33
|
|
@@ -59,6 +62,7 @@ module AutosdeOpenapiClient
|
|
59
62
|
:'component_state' => :'component_state',
|
60
63
|
:'description' => :'description',
|
61
64
|
:'name' => :'name',
|
65
|
+
:'name_in_storage' => :'name_in_storage',
|
62
66
|
:'uuid' => :'uuid',
|
63
67
|
:'volume' => :'volume'
|
64
68
|
}
|
@@ -75,6 +79,7 @@ module AutosdeOpenapiClient
|
|
75
79
|
:'component_state' => :'String',
|
76
80
|
:'description' => :'String',
|
77
81
|
:'name' => :'String',
|
82
|
+
:'name_in_storage' => :'String',
|
78
83
|
:'uuid' => :'String',
|
79
84
|
:'volume' => :'String'
|
80
85
|
}
|
@@ -113,6 +118,10 @@ module AutosdeOpenapiClient
|
|
113
118
|
self.name = attributes[:'name']
|
114
119
|
end
|
115
120
|
|
121
|
+
if attributes.key?(:'name_in_storage')
|
122
|
+
self.name_in_storage = attributes[:'name_in_storage']
|
123
|
+
end
|
124
|
+
|
116
125
|
if attributes.key?(:'uuid')
|
117
126
|
self.uuid = attributes[:'uuid']
|
118
127
|
end
|
@@ -160,6 +169,7 @@ module AutosdeOpenapiClient
|
|
160
169
|
component_state == o.component_state &&
|
161
170
|
description == o.description &&
|
162
171
|
name == o.name &&
|
172
|
+
name_in_storage == o.name_in_storage &&
|
163
173
|
uuid == o.uuid &&
|
164
174
|
volume == o.volume
|
165
175
|
end
|
@@ -173,7 +183,7 @@ module AutosdeOpenapiClient
|
|
173
183
|
# Calculates hash code according to all attributes.
|
174
184
|
# @return [Integer] Hash code
|
175
185
|
def hash
|
176
|
-
[component_state, description, name, uuid, volume].hash
|
186
|
+
[component_state, description, name, name_in_storage, uuid, volume].hash
|
177
187
|
end
|
178
188
|
|
179
189
|
# Builds the object from hash
|
@@ -25,8 +25,6 @@ module AutosdeOpenapiClient
|
|
25
25
|
# fc_map_count
|
26
26
|
attr_accessor :fc_map_count
|
27
27
|
|
28
|
-
attr_accessor :historical_service
|
29
|
-
|
30
28
|
# name
|
31
29
|
attr_accessor :name
|
32
30
|
|
@@ -77,7 +75,6 @@ module AutosdeOpenapiClient
|
|
77
75
|
:'compliant' => :'compliant',
|
78
76
|
:'component_state' => :'component_state',
|
79
77
|
:'fc_map_count' => :'fc_map_count',
|
80
|
-
:'historical_service' => :'historical_service',
|
81
78
|
:'name' => :'name',
|
82
79
|
:'service' => :'service',
|
83
80
|
:'size' => :'size',
|
@@ -100,7 +97,6 @@ module AutosdeOpenapiClient
|
|
100
97
|
:'compliant' => :'Boolean',
|
101
98
|
:'component_state' => :'String',
|
102
99
|
:'fc_map_count' => :'Integer',
|
103
|
-
:'historical_service' => :'Service',
|
104
100
|
:'name' => :'String',
|
105
101
|
:'service' => :'Service',
|
106
102
|
:'size' => :'Integer',
|
@@ -149,10 +145,6 @@ module AutosdeOpenapiClient
|
|
149
145
|
self.fc_map_count = 0
|
150
146
|
end
|
151
147
|
|
152
|
-
if attributes.key?(:'historical_service')
|
153
|
-
self.historical_service = attributes[:'historical_service']
|
154
|
-
end
|
155
|
-
|
156
148
|
if attributes.key?(:'name')
|
157
149
|
self.name = attributes[:'name']
|
158
150
|
end
|
@@ -224,7 +216,6 @@ module AutosdeOpenapiClient
|
|
224
216
|
compliant == o.compliant &&
|
225
217
|
component_state == o.component_state &&
|
226
218
|
fc_map_count == o.fc_map_count &&
|
227
|
-
historical_service == o.historical_service &&
|
228
219
|
name == o.name &&
|
229
220
|
service == o.service &&
|
230
221
|
size == o.size &&
|
@@ -244,7 +235,7 @@ module AutosdeOpenapiClient
|
|
244
235
|
# Calculates hash code according to all attributes.
|
245
236
|
# @return [Integer] Hash code
|
246
237
|
def hash
|
247
|
-
[compliant, component_state, fc_map_count,
|
238
|
+
[compliant, component_state, fc_map_count, name, service, size, status, storage_resource, unmapped_since, uuid, volume_name].hash
|
248
239
|
end
|
249
240
|
|
250
241
|
# Builds the object from hash
|
@@ -25,8 +25,6 @@ module AutosdeOpenapiClient
|
|
25
25
|
# fc_map_count
|
26
26
|
attr_accessor :fc_map_count
|
27
27
|
|
28
|
-
attr_accessor :historical_service
|
29
|
-
|
30
28
|
# name
|
31
29
|
attr_accessor :name
|
32
30
|
|
@@ -79,7 +77,6 @@ module AutosdeOpenapiClient
|
|
79
77
|
:'compliant' => :'compliant',
|
80
78
|
:'component_state' => :'component_state',
|
81
79
|
:'fc_map_count' => :'fc_map_count',
|
82
|
-
:'historical_service' => :'historical_service',
|
83
80
|
:'name' => :'name',
|
84
81
|
:'service' => :'service',
|
85
82
|
:'size' => :'size',
|
@@ -102,7 +99,6 @@ module AutosdeOpenapiClient
|
|
102
99
|
:'compliant' => :'Boolean',
|
103
100
|
:'component_state' => :'String',
|
104
101
|
:'fc_map_count' => :'Integer',
|
105
|
-
:'historical_service' => :'Service',
|
106
102
|
:'name' => :'String',
|
107
103
|
:'service' => :'String',
|
108
104
|
:'size' => :'Integer',
|
@@ -151,10 +147,6 @@ module AutosdeOpenapiClient
|
|
151
147
|
self.fc_map_count = 0
|
152
148
|
end
|
153
149
|
|
154
|
-
if attributes.key?(:'historical_service')
|
155
|
-
self.historical_service = attributes[:'historical_service']
|
156
|
-
end
|
157
|
-
|
158
150
|
if attributes.key?(:'name')
|
159
151
|
self.name = attributes[:'name']
|
160
152
|
end
|
@@ -226,7 +218,6 @@ module AutosdeOpenapiClient
|
|
226
218
|
compliant == o.compliant &&
|
227
219
|
component_state == o.component_state &&
|
228
220
|
fc_map_count == o.fc_map_count &&
|
229
|
-
historical_service == o.historical_service &&
|
230
221
|
name == o.name &&
|
231
222
|
service == o.service &&
|
232
223
|
size == o.size &&
|
@@ -246,7 +237,7 @@ module AutosdeOpenapiClient
|
|
246
237
|
# Calculates hash code according to all attributes.
|
247
238
|
# @return [Integer] Hash code
|
248
239
|
def hash
|
249
|
-
[compliant, component_state, fc_map_count,
|
240
|
+
[compliant, component_state, fc_map_count, name, service, size, status, storage_resource, unmapped_since, uuid, volume_name].hash
|
250
241
|
end
|
251
242
|
|
252
243
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Site Manager API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.2.
|
6
|
+
The version of the OpenAPI document: 3.2.3
|
7
7
|
Contact: autosde@il.ibm.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module AutosdeOpenapiClient
|
14
|
-
VERSION = '3.2.
|
14
|
+
VERSION = '3.2.3'
|
15
15
|
end
|
@@ -47,6 +47,12 @@ describe AutosdeOpenapiClient::SnapshotCreate do
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
+
describe 'test attribute "name_in_storage"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
50
56
|
describe 'test attribute "uuid"' do
|
51
57
|
it 'should work' do
|
52
58
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -47,6 +47,12 @@ describe AutosdeOpenapiClient::SnapshotResponse do
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
+
describe 'test attribute "name_in_storage"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
50
56
|
describe 'test attribute "uuid"' do
|
51
57
|
it 'should work' do
|
52
58
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -47,6 +47,12 @@ describe AutosdeOpenapiClient::Snapshot do
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
+
describe 'test attribute "name_in_storage"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
50
56
|
describe 'test attribute "uuid"' do
|
51
57
|
it 'should work' do
|
52
58
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -47,12 +47,6 @@ describe AutosdeOpenapiClient::VolumeResponse do
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
describe 'test attribute "historical_service"' do
|
51
|
-
it 'should work' do
|
52
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
50
|
describe 'test attribute "name"' do
|
57
51
|
it 'should work' do
|
58
52
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/volume_spec.rb
CHANGED
@@ -47,12 +47,6 @@ describe AutosdeOpenapiClient::Volume do
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
describe 'test attribute "historical_service"' do
|
51
|
-
it 'should work' do
|
52
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
50
|
describe 'test attribute "name"' do
|
57
51
|
it 'should work' do
|
58
52
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autosde_openapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -428,117 +428,117 @@ signing_key:
|
|
428
428
|
specification_version: 4
|
429
429
|
summary: Site Manager API Ruby Gem
|
430
430
|
test_files:
|
431
|
-
- spec/api/
|
431
|
+
- spec/api/service_resource_attachment_api_spec.rb
|
432
|
+
- spec/api/celery_config_api_spec.rb
|
433
|
+
- spec/api/volume_api_spec.rb
|
434
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
435
|
+
- spec/api/provisioning_strategy_api_spec.rb
|
436
|
+
- spec/api/system_type_api_spec.rb
|
437
|
+
- spec/api/storage_system_api_spec.rb
|
438
|
+
- spec/api/host_volume_connection_api_spec.rb
|
439
|
+
- spec/api/abstract_capability_api_spec.rb
|
432
440
|
- spec/api/service_abstract_capability_value_api_spec.rb
|
433
|
-
- spec/api/
|
434
|
-
- spec/api/
|
441
|
+
- spec/api/storage_hosts_mapping_api_spec.rb
|
442
|
+
- spec/api/snapshot_api_spec.rb
|
443
|
+
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
435
444
|
- spec/api/authentication_api_spec.rb
|
436
|
-
- spec/api/
|
437
|
-
- spec/api/service_api_spec.rb
|
445
|
+
- spec/api/storage_resource_api_spec.rb
|
438
446
|
- spec/api/auto_sde_role_api_spec.rb
|
439
|
-
- spec/api/
|
447
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
448
|
+
- spec/api/capability_translation_api_spec.rb
|
440
449
|
- spec/api/volume_clone_api_spec.rb
|
441
|
-
- spec/api/host_cluster_membership_api_spec.rb
|
442
|
-
- spec/api/celery_config_api_spec.rb
|
443
|
-
- spec/api/volume_migration_api_spec.rb
|
444
450
|
- spec/api/native_capability_api_spec.rb
|
445
|
-
- spec/api/
|
446
|
-
- spec/api/
|
447
|
-
- spec/api/provisioning_strategy_api_spec.rb
|
448
|
-
- spec/api/storage_hosts_mapping_api_spec.rb
|
451
|
+
- spec/api/storage_host_api_spec.rb
|
452
|
+
- spec/api/auto_sde_project_api_spec.rb
|
449
453
|
- spec/api/user_api_spec.rb
|
450
|
-
- spec/api/
|
451
|
-
- spec/api/refresh_system_api_spec.rb
|
454
|
+
- spec/api/job_api_spec.rb
|
452
455
|
- spec/api/validate_system_api_spec.rb
|
453
|
-
- spec/api/
|
454
|
-
- spec/api/
|
455
|
-
- spec/api/
|
456
|
-
- spec/api/host_volume_connection_api_spec.rb
|
457
|
-
- spec/api/service_resource_attachment_api_spec.rb
|
458
|
-
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
459
|
-
- spec/api/volume_api_spec.rb
|
460
|
-
- spec/api/system_type_api_spec.rb
|
461
|
-
- spec/api/host_api_spec.rb
|
462
|
-
- spec/api/storage_host_api_spec.rb
|
456
|
+
- spec/api/service_api_spec.rb
|
457
|
+
- spec/api/host_cluster_api_spec.rb
|
458
|
+
- spec/api/volume_migration_api_spec.rb
|
463
459
|
- spec/api/profile_api_spec.rb
|
460
|
+
- spec/api/refresh_system_api_spec.rb
|
461
|
+
- spec/api/address_api_spec.rb
|
464
462
|
- spec/api/account_api_spec.rb
|
463
|
+
- spec/api/host_api_spec.rb
|
464
|
+
- spec/api/event_api_spec.rb
|
465
465
|
- spec/api_client_spec.rb
|
466
466
|
- spec/configuration_spec.rb
|
467
|
-
- spec/models/
|
468
|
-
- spec/models/
|
469
|
-
- spec/models/
|
470
|
-
- spec/models/system_type_create_spec.rb
|
471
|
-
- spec/models/host_create_spec.rb
|
472
|
-
- spec/models/address_create_spec.rb
|
473
|
-
- spec/models/authentication_spec.rb
|
474
|
-
- spec/models/abstract_capability_spec.rb
|
475
|
-
- spec/models/account_post_request_spec.rb
|
476
|
-
- spec/models/storage_host_spec.rb
|
467
|
+
- spec/models/auto_sde_role_spec.rb
|
468
|
+
- spec/models/storage_resource_update_spec.rb
|
469
|
+
- spec/models/host_volume_connection_create_spec.rb
|
477
470
|
- spec/models/validate_system_data_spec.rb
|
478
|
-
- spec/models/
|
471
|
+
- spec/models/celery_config_spec.rb
|
472
|
+
- spec/models/host_volume_connection_spec.rb
|
479
473
|
- spec/models/service_resource_attachment_response_spec.rb
|
480
|
-
- spec/models/auto_sde_project_spec.rb
|
481
474
|
- spec/models/host_cluster_membership_spec.rb
|
482
|
-
- spec/models/abstract_capability_response_spec.rb
|
483
|
-
- spec/models/capability_translation_create_spec.rb
|
484
|
-
- spec/models/host_volume_connection_create_spec.rb
|
485
|
-
- spec/models/user_spec.rb
|
486
|
-
- spec/models/host_cluster_response_spec.rb
|
487
|
-
- spec/models/native_capability_spec.rb
|
488
|
-
- spec/models/celery_config_spec.rb
|
489
|
-
- spec/models/storage_host_update_spec.rb
|
490
|
-
- spec/models/service_update_spec.rb
|
491
|
-
- spec/models/snapshot_response_spec.rb
|
492
|
-
- spec/models/host_spec.rb
|
493
|
-
- spec/models/volume_spec.rb
|
494
|
-
- spec/models/snapshot_create_spec.rb
|
495
475
|
- spec/models/storage_hosts_mapping_create_spec.rb
|
496
476
|
- spec/models/service_create_spec.rb
|
497
|
-
- spec/models/storage_resource_spec.rb
|
498
|
-
- spec/models/volume_clone_spec.rb
|
499
|
-
- spec/models/system_type_spec.rb
|
500
|
-
- spec/models/storage_hosts_mapping_spec.rb
|
501
|
-
- spec/models/volume_create_spec.rb
|
502
|
-
- spec/models/capability_translation_spec.rb
|
503
|
-
- spec/models/job_create_spec.rb
|
504
|
-
- spec/models/user_create_spec.rb
|
505
|
-
- spec/models/service_abstract_capability_value_spec.rb
|
506
|
-
- spec/models/profile_spec.rb
|
507
|
-
- spec/models/storage_system_create_spec.rb
|
508
|
-
- spec/models/snapshot_spec.rb
|
509
|
-
- spec/models/event_spec.rb
|
510
|
-
- spec/models/storage_resource_update_spec.rb
|
511
|
-
- spec/models/service_resource_attachment_spec.rb
|
512
|
-
- spec/models/storage_system_update_spec.rb
|
513
|
-
- spec/models/storage_host_create_spec.rb
|
514
477
|
- spec/models/storage_resource_create_spec.rb
|
515
|
-
- spec/models/
|
516
|
-
- spec/models/
|
517
|
-
- spec/models/storage_hosts_mapping_response_spec.rb
|
478
|
+
- spec/models/auth_response_spec.rb
|
479
|
+
- spec/models/volume_response_spec.rb
|
518
480
|
- spec/models/provisioning_strategy_spec.rb
|
519
|
-
- spec/models/host_cluster_create_spec.rb
|
520
|
-
- spec/models/storage_host_response_spec.rb
|
521
|
-
- spec/models/refresh_system_spec.rb
|
522
|
-
- spec/models/storage_host_wwpn_candidates_spec.rb
|
523
|
-
- spec/models/auto_sde_role_spec.rb
|
524
481
|
- spec/models/storage_system_response_spec.rb
|
525
|
-
- spec/models/
|
526
|
-
- spec/models/validate_system_spec.rb
|
482
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
527
483
|
- spec/models/account_spec.rb
|
528
|
-
- spec/models/
|
484
|
+
- spec/models/validate_system_spec.rb
|
529
485
|
- spec/models/account_post_response_spec.rb
|
530
|
-
- spec/models/
|
531
|
-
- spec/models/storage_resource_response_spec.rb
|
532
|
-
- spec/models/system_type_response_spec.rb
|
486
|
+
- spec/models/host_cluster_response_spec.rb
|
533
487
|
- spec/models/service_spec.rb
|
534
|
-
- spec/models/
|
488
|
+
- spec/models/account_post_request_spec.rb
|
489
|
+
- spec/models/storage_hosts_mapping_spec.rb
|
490
|
+
- spec/models/native_capability_spec.rb
|
491
|
+
- spec/models/capability_translation_spec.rb
|
492
|
+
- spec/models/storage_system_create_spec.rb
|
493
|
+
- spec/models/host_create_spec.rb
|
494
|
+
- spec/models/service_abstract_capability_value_response_spec.rb
|
495
|
+
- spec/models/service_update_spec.rb
|
496
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
497
|
+
- spec/models/capability_translation_create_spec.rb
|
498
|
+
- spec/models/authentication_spec.rb
|
499
|
+
- spec/models/user_create_spec.rb
|
535
500
|
- spec/models/address_spec.rb
|
501
|
+
- spec/models/host_cluster_spec.rb
|
502
|
+
- spec/models/event_spec.rb
|
503
|
+
- spec/models/volume_update_spec.rb
|
504
|
+
- spec/models/snapshot_response_spec.rb
|
505
|
+
- spec/models/snapshot_create_spec.rb
|
506
|
+
- spec/models/storage_host_response_spec.rb
|
507
|
+
- spec/models/refresh_system_spec.rb
|
508
|
+
- spec/models/snapshot_spec.rb
|
509
|
+
- spec/models/storage_host_create_spec.rb
|
510
|
+
- spec/models/profile_spec.rb
|
511
|
+
- spec/models/abstract_capability_spec.rb
|
512
|
+
- spec/models/abstract_capability_response_spec.rb
|
513
|
+
- spec/models/system_type_create_spec.rb
|
514
|
+
- spec/models/volume_migration_spec.rb
|
515
|
+
- spec/models/storage_resource_response_spec.rb
|
516
|
+
- spec/models/storage_resource_spec.rb
|
536
517
|
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
518
|
+
- spec/models/host_spec.rb
|
519
|
+
- spec/models/storage_host_spec.rb
|
537
520
|
- spec/models/event_response_spec.rb
|
521
|
+
- spec/models/storage_host_update_spec.rb
|
522
|
+
- spec/models/service_resource_attachment_spec.rb
|
523
|
+
- spec/models/storage_system_update_spec.rb
|
524
|
+
- spec/models/job_create_spec.rb
|
525
|
+
- spec/models/storage_host_wwpn_candidates_spec.rb
|
526
|
+
- spec/models/volume_clone_spec.rb
|
527
|
+
- spec/models/service_response_spec.rb
|
528
|
+
- spec/models/system_type_response_spec.rb
|
538
529
|
- spec/models/user_update_spec.rb
|
530
|
+
- spec/models/volume_spec.rb
|
531
|
+
- spec/models/storage_hosts_mapping_response_spec.rb
|
532
|
+
- spec/models/address_create_spec.rb
|
533
|
+
- spec/models/system_type_spec.rb
|
534
|
+
- spec/models/job_response_spec.rb
|
535
|
+
- spec/models/volume_create_spec.rb
|
536
|
+
- spec/models/storage_system_spec.rb
|
537
|
+
- spec/models/user_spec.rb
|
539
538
|
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
540
|
-
- spec/models/
|
541
|
-
- spec/models/
|
542
|
-
- spec/models/
|
543
|
-
- spec/models/
|
539
|
+
- spec/models/host_cluster_update_spec.rb
|
540
|
+
- spec/models/host_cluster_create_spec.rb
|
541
|
+
- spec/models/job_spec.rb
|
542
|
+
- spec/models/auto_sde_project_spec.rb
|
543
|
+
- spec/models/async_response_spec.rb
|
544
544
|
- spec/spec_helper.rb
|