autosde_openapi_client 1.0.49 → 1.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1c5213044fbd0322283bd46dfd2bce1edb8251883a019e6619eb80fd2bd0912
4
- data.tar.gz: '0948801b26be6cd5ae31fc6c37a64c52f95b0fbe8916a2d914cbd77d7b4a601b'
3
+ metadata.gz: d228ce8927b92ffd78ec537dfcd781e694293011e04a57deecc59f3e24fa3153
4
+ data.tar.gz: 1699010aa3e012f74717a0871d430710597388b1bf027bf7ff9c3468ba4027be
5
5
  SHA512:
6
- metadata.gz: a86f2e8ad20fd2b739a15623393e433d4b6f20115096bd6af05cddee737953060e19441f74814c295c40bbdefbb1eea6058df1717ad3aca1ae238befd1ac8294
7
- data.tar.gz: 4b1ee8e053dff5c8c6c7cdea02e1b18aa691bf0c9b7ca79b4065b9015e162807944e92db3abf07fd30df813a39d34c2f68af589d94a58b3798fdb5ed341a353e
6
+ metadata.gz: 0f999d2b99ec91f8d9fde49cbe0960c58e1f475fe50fd4fb07b4e56b8d2e3008f05842f751bc100fd9e3ec21830a4f2c8d039a91b7705d5a1be142d46b6e54a5
7
+ data.tar.gz: fdb90c168e0276e69a802fac9b8810db249335a418245f3bc81c5318063811c3827fe5f256a0594e340fb2afd2445899675444d0dfebd9b47dcea7d30ba98bed
data/README.md CHANGED
@@ -205,6 +205,7 @@ Class | Method | HTTP request | Description
205
205
  - [AutosdeOpenapiClient::HostCluster](docs/HostCluster.md)
206
206
  - [AutosdeOpenapiClient::HostClusterCreate](docs/HostClusterCreate.md)
207
207
  - [AutosdeOpenapiClient::HostClusterMembership](docs/HostClusterMembership.md)
208
+ - [AutosdeOpenapiClient::HostClusterResponse](docs/HostClusterResponse.md)
208
209
  - [AutosdeOpenapiClient::HostClusterVolumeMapping](docs/HostClusterVolumeMapping.md)
209
210
  - [AutosdeOpenapiClient::HostClusterVolumeMappingCreate](docs/HostClusterVolumeMappingCreate.md)
210
211
  - [AutosdeOpenapiClient::HostClusterVolumeMappingResponse](docs/HostClusterVolumeMappingResponse.md)
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
12
12
 
13
13
  ## host_clusters_get
14
14
 
15
- > <Array<HostCluster>> host_clusters_get
15
+ > <Array<HostClusterResponse>> host_clusters_get
16
16
 
17
17
 
18
18
 
@@ -42,7 +42,7 @@ end
42
42
 
43
43
  This returns an Array which contains the response data, status code and headers.
44
44
 
45
- > <Array(<Array<HostCluster>>, Integer, Hash)> host_clusters_get_with_http_info
45
+ > <Array(<Array<HostClusterResponse>>, Integer, Hash)> host_clusters_get_with_http_info
46
46
 
47
47
  ```ruby
48
48
  begin
@@ -50,7 +50,7 @@ begin
50
50
  data, status_code, headers = api_instance.host_clusters_get_with_http_info
51
51
  p status_code # => 2xx
52
52
  p headers # => { ... }
53
- p data # => <Array<HostCluster>>
53
+ p data # => <Array<HostClusterResponse>>
54
54
  rescue AutosdeOpenapiClient::ApiError => e
55
55
  puts "Error when calling HostClusterApi->host_clusters_get_with_http_info: #{e}"
56
56
  end
@@ -62,7 +62,7 @@ This endpoint does not need any parameter.
62
62
 
63
63
  ### Return type
64
64
 
65
- [**Array&lt;HostCluster&gt;**](HostCluster.md)
65
+ [**Array&lt;HostClusterResponse&gt;**](HostClusterResponse.md)
66
66
 
67
67
  ### Authorization
68
68
 
@@ -210,7 +210,7 @@ end
210
210
 
211
211
  ## host_clusters_post
212
212
 
213
- > <HostCluster> host_clusters_post(host_cluster_create)
213
+ > <HostClusterResponse> host_clusters_post(host_cluster_create)
214
214
 
215
215
 
216
216
 
@@ -241,7 +241,7 @@ end
241
241
 
242
242
  This returns an Array which contains the response data, status code and headers.
243
243
 
244
- > <Array(<HostCluster>, Integer, Hash)> host_clusters_post_with_http_info(host_cluster_create)
244
+ > <Array(<HostClusterResponse>, Integer, Hash)> host_clusters_post_with_http_info(host_cluster_create)
245
245
 
246
246
  ```ruby
247
247
  begin
@@ -249,7 +249,7 @@ begin
249
249
  data, status_code, headers = api_instance.host_clusters_post_with_http_info(host_cluster_create)
250
250
  p status_code # => 2xx
251
251
  p headers # => { ... }
252
- p data # => <HostCluster>
252
+ p data # => <HostClusterResponse>
253
253
  rescue AutosdeOpenapiClient::ApiError => e
254
254
  puts "Error when calling HostClusterApi->host_clusters_post_with_http_info: #{e}"
255
255
  end
@@ -263,7 +263,7 @@ end
263
263
 
264
264
  ### Return type
265
265
 
266
- [**HostCluster**](HostCluster.md)
266
+ [**HostClusterResponse**](HostClusterResponse.md)
267
267
 
268
268
  ### Authorization
269
269
 
@@ -0,0 +1,34 @@
1
+ # AutosdeOpenapiClient::HostClusterResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **component_state** | **String** | component_state | [optional] |
8
+ | **name** | **String** | name | [optional] |
9
+ | **owner_id** | **String** | owner_id | [optional] |
10
+ | **owner_name** | **String** | owner_name | [optional] |
11
+ | **protocol** | **String** | protocol | [optional] |
12
+ | **status** | **String** | status | [optional] |
13
+ | **storage_system** | **String** | !!uuid of storage_system | [optional] |
14
+ | **uuid** | **String** | uuid | [optional] |
15
+ | **volumes** | [**Volume**](Volume.md) | | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'autosde_openapi_client'
21
+
22
+ instance = AutosdeOpenapiClient::HostClusterResponse.new(
23
+ component_state: null,
24
+ name: null,
25
+ owner_id: null,
26
+ owner_name: null,
27
+ protocol: null,
28
+ status: null,
29
+ storage_system: null,
30
+ uuid: null,
31
+ volumes: null
32
+ )
33
+ ```
34
+
data/docs/SystemType.md CHANGED
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **component_state** | **String** | component_state | [optional] |
8
- | **name** | **String** | name | [optional][default to &#39;xiv&#39;] |
8
+ | **name** | **String** | name | [optional][default to &#39;FlashSystems/SVC&#39;] |
9
9
  | **short_version** | **String** | short_version | [optional] |
10
10
  | **uuid** | **String** | uuid | [optional] |
11
11
  | **version** | **String** | SystemType version | [optional] |
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **component_state** | **String** | component_state | [optional] |
8
- | **name** | **String** | name | [optional][default to &#39;xiv&#39;] |
8
+ | **name** | **String** | name | [optional][default to &#39;FlashSystems/SVC&#39;] |
9
9
  | **short_version** | **String** | short_version | [optional] |
10
10
  | **super_type** | **String** | super_type | [optional][default to &#39;null&#39;] |
11
11
  | **uuid** | **String** | uuid | [optional] |
data/docs/VolumeCreate.md CHANGED
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **compliant** | **Boolean** | compliant | [optional][default to false] |
8
8
  | **component_state** | **String** | component_state | [optional] |
9
+ | **count** | **Integer** | count | [optional][default to 1] |
9
10
  | **name** | **String** | name | [optional] |
10
11
  | **service** | **String** | !!uuid of service | [optional] |
11
12
  | **size** | **Integer** | size | [optional] |
@@ -21,6 +22,7 @@ require 'autosde_openapi_client'
21
22
  instance = AutosdeOpenapiClient::VolumeCreate.new(
22
23
  compliant: null,
23
24
  component_state: null,
25
+ count: null,
24
26
  name: null,
25
27
  service: null,
26
28
  size: null,
@@ -20,14 +20,14 @@ module AutosdeOpenapiClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # @param [Hash] opts the optional parameters
23
- # @return [Array<HostCluster>]
23
+ # @return [Array<HostClusterResponse>]
24
24
  def host_clusters_get(opts = {})
25
25
  data, _status_code, _headers = host_clusters_get_with_http_info(opts)
26
26
  data
27
27
  end
28
28
 
29
29
  # @param [Hash] opts the optional parameters
30
- # @return [Array<(Array<HostCluster>, Integer, Hash)>] Array<HostCluster> data, response status code and response headers
30
+ # @return [Array<(Array<HostClusterResponse>, Integer, Hash)>] Array<HostClusterResponse> data, response status code and response headers
31
31
  def host_clusters_get_with_http_info(opts = {})
32
32
  if @api_client.config.debugging
33
33
  @api_client.config.logger.debug 'Calling API: HostClusterApi.host_clusters_get ...'
@@ -50,7 +50,7 @@ module AutosdeOpenapiClient
50
50
  post_body = opts[:debug_body]
51
51
 
52
52
  # return_type
53
- return_type = opts[:debug_return_type] || 'Array<HostCluster>'
53
+ return_type = opts[:debug_return_type] || 'Array<HostClusterResponse>'
54
54
 
55
55
  # auth_names
56
56
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -192,7 +192,7 @@ module AutosdeOpenapiClient
192
192
 
193
193
  # @param host_cluster_create [HostClusterCreate]
194
194
  # @param [Hash] opts the optional parameters
195
- # @return [HostCluster]
195
+ # @return [HostClusterResponse]
196
196
  def host_clusters_post(host_cluster_create, opts = {})
197
197
  data, _status_code, _headers = host_clusters_post_with_http_info(host_cluster_create, opts)
198
198
  data
@@ -200,7 +200,7 @@ module AutosdeOpenapiClient
200
200
 
201
201
  # @param host_cluster_create [HostClusterCreate]
202
202
  # @param [Hash] opts the optional parameters
203
- # @return [Array<(HostCluster, Integer, Hash)>] HostCluster data, response status code and response headers
203
+ # @return [Array<(HostClusterResponse, Integer, Hash)>] HostClusterResponse data, response status code and response headers
204
204
  def host_clusters_post_with_http_info(host_cluster_create, opts = {})
205
205
  if @api_client.config.debugging
206
206
  @api_client.config.logger.debug 'Calling API: HostClusterApi.host_clusters_post ...'
@@ -229,7 +229,7 @@ module AutosdeOpenapiClient
229
229
  post_body = opts[:debug_body] || @api_client.object_to_http_body(host_cluster_create)
230
230
 
231
231
  # return_type
232
- return_type = opts[:debug_return_type] || 'HostCluster'
232
+ return_type = opts[:debug_return_type] || 'HostClusterResponse'
233
233
 
234
234
  # auth_names
235
235
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -0,0 +1,398 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module AutosdeOpenapiClient
17
+ # TODO add description
18
+ class HostClusterResponse
19
+ # component_state
20
+ attr_accessor :component_state
21
+
22
+ # name
23
+ attr_accessor :name
24
+
25
+ # owner_id
26
+ attr_accessor :owner_id
27
+
28
+ # owner_name
29
+ attr_accessor :owner_name
30
+
31
+ # protocol
32
+ attr_accessor :protocol
33
+
34
+ # status
35
+ attr_accessor :status
36
+
37
+ # !!uuid of storage_system
38
+ attr_accessor :storage_system
39
+
40
+ # uuid
41
+ attr_accessor :uuid
42
+
43
+ attr_accessor :volumes
44
+
45
+ class EnumAttributeValidator
46
+ attr_reader :datatype
47
+ attr_reader :allowable_values
48
+
49
+ def initialize(datatype, allowable_values)
50
+ @allowable_values = allowable_values.map do |value|
51
+ case datatype.to_s
52
+ when /Integer/i
53
+ value.to_i
54
+ when /Float/i
55
+ value.to_f
56
+ else
57
+ value
58
+ end
59
+ end
60
+ end
61
+
62
+ def valid?(value)
63
+ !value || allowable_values.include?(value)
64
+ end
65
+ end
66
+
67
+ # Attribute mapping from ruby-style variable name to JSON key.
68
+ def self.attribute_map
69
+ {
70
+ :'component_state' => :'component_state',
71
+ :'name' => :'name',
72
+ :'owner_id' => :'owner_id',
73
+ :'owner_name' => :'owner_name',
74
+ :'protocol' => :'protocol',
75
+ :'status' => :'status',
76
+ :'storage_system' => :'storage_system',
77
+ :'uuid' => :'uuid',
78
+ :'volumes' => :'volumes'
79
+ }
80
+ end
81
+
82
+ # Returns all the JSON keys this model knows about
83
+ def self.acceptable_attributes
84
+ attribute_map.values
85
+ end
86
+
87
+ # Attribute type mapping.
88
+ def self.openapi_types
89
+ {
90
+ :'component_state' => :'String',
91
+ :'name' => :'String',
92
+ :'owner_id' => :'String',
93
+ :'owner_name' => :'String',
94
+ :'protocol' => :'String',
95
+ :'status' => :'String',
96
+ :'storage_system' => :'String',
97
+ :'uuid' => :'String',
98
+ :'volumes' => :'Volume'
99
+ }
100
+ end
101
+
102
+ # List of attributes with nullable: true
103
+ def self.openapi_nullable
104
+ Set.new([
105
+ ])
106
+ end
107
+
108
+ # Initializes the object
109
+ # @param [Hash] attributes Model attributes in the form of hash
110
+ def initialize(attributes = {})
111
+ if (!attributes.is_a?(Hash))
112
+ fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::HostClusterResponse` initialize method"
113
+ end
114
+
115
+ # check to see if the attribute exists and convert string to symbol for hash key
116
+ attributes = attributes.each_with_object({}) { |(k, v), h|
117
+ if (!self.class.attribute_map.key?(k.to_sym))
118
+ fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::HostClusterResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
119
+ end
120
+ h[k.to_sym] = v
121
+ }
122
+
123
+ if attributes.key?(:'component_state')
124
+ self.component_state = attributes[:'component_state']
125
+ end
126
+
127
+ if attributes.key?(:'name')
128
+ self.name = attributes[:'name']
129
+ end
130
+
131
+ if attributes.key?(:'owner_id')
132
+ self.owner_id = attributes[:'owner_id']
133
+ end
134
+
135
+ if attributes.key?(:'owner_name')
136
+ self.owner_name = attributes[:'owner_name']
137
+ end
138
+
139
+ if attributes.key?(:'protocol')
140
+ self.protocol = attributes[:'protocol']
141
+ end
142
+
143
+ if attributes.key?(:'status')
144
+ self.status = attributes[:'status']
145
+ end
146
+
147
+ if attributes.key?(:'storage_system')
148
+ self.storage_system = attributes[:'storage_system']
149
+ end
150
+
151
+ if attributes.key?(:'uuid')
152
+ self.uuid = attributes[:'uuid']
153
+ end
154
+
155
+ if attributes.key?(:'volumes')
156
+ self.volumes = attributes[:'volumes']
157
+ end
158
+ end
159
+
160
+ # Show invalid properties with the reasons. Usually used together with valid?
161
+ # @return Array for valid properties with the reasons
162
+ def list_invalid_properties
163
+ invalid_properties = Array.new
164
+ if !@component_state.nil? && @component_state.to_s.length > 32
165
+ invalid_properties.push('invalid value for "component_state", the character length must be smaller than or equal to 32.')
166
+ end
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
+ if !@owner_id.nil? && @owner_id.to_s.length > 15
173
+ invalid_properties.push('invalid value for "owner_id", the character length must be smaller than or equal to 15.')
174
+ end
175
+
176
+ if !@owner_name.nil? && @owner_name.to_s.length > 15
177
+ invalid_properties.push('invalid value for "owner_name", the character length must be smaller than or equal to 15.')
178
+ end
179
+
180
+ if !@protocol.nil? && @protocol.to_s.length > 15
181
+ invalid_properties.push('invalid value for "protocol", the character length must be smaller than or equal to 15.')
182
+ end
183
+
184
+ invalid_properties
185
+ end
186
+
187
+ # Check to see if the all the properties in the model are valid
188
+ # @return true if the model is valid
189
+ def valid?
190
+ component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
191
+ return false unless component_state_validator.valid?(@component_state)
192
+ return false if !@component_state.nil? && @component_state.to_s.length > 32
193
+ return false if !@name.nil? && @name.to_s.length > 15
194
+ return false if !@owner_id.nil? && @owner_id.to_s.length > 15
195
+ return false if !@owner_name.nil? && @owner_name.to_s.length > 15
196
+ return false if !@protocol.nil? && @protocol.to_s.length > 15
197
+ true
198
+ end
199
+
200
+ # Custom attribute writer method checking allowed values (enum).
201
+ # @param [Object] component_state Object to be assigned
202
+ def component_state=(component_state)
203
+ validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
204
+ unless validator.valid?(component_state)
205
+ fail ArgumentError, "invalid value for \"component_state\", must be one of #{validator.allowable_values}."
206
+ end
207
+ @component_state = component_state
208
+ end
209
+
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
+ # Custom attribute writer method with validation
221
+ # @param [Object] owner_id Value to be assigned
222
+ def owner_id=(owner_id)
223
+ if !owner_id.nil? && owner_id.to_s.length > 15
224
+ fail ArgumentError, 'invalid value for "owner_id", the character length must be smaller than or equal to 15.'
225
+ end
226
+
227
+ @owner_id = owner_id
228
+ end
229
+
230
+ # Custom attribute writer method with validation
231
+ # @param [Object] owner_name Value to be assigned
232
+ def owner_name=(owner_name)
233
+ if !owner_name.nil? && owner_name.to_s.length > 15
234
+ fail ArgumentError, 'invalid value for "owner_name", the character length must be smaller than or equal to 15.'
235
+ end
236
+
237
+ @owner_name = owner_name
238
+ end
239
+
240
+ # Custom attribute writer method with validation
241
+ # @param [Object] protocol Value to be assigned
242
+ def protocol=(protocol)
243
+ if !protocol.nil? && protocol.to_s.length > 15
244
+ fail ArgumentError, 'invalid value for "protocol", the character length must be smaller than or equal to 15.'
245
+ end
246
+
247
+ @protocol = protocol
248
+ end
249
+
250
+ # Checks equality by comparing each attribute.
251
+ # @param [Object] Object to be compared
252
+ def ==(o)
253
+ return true if self.equal?(o)
254
+ self.class == o.class &&
255
+ component_state == o.component_state &&
256
+ name == o.name &&
257
+ owner_id == o.owner_id &&
258
+ owner_name == o.owner_name &&
259
+ protocol == o.protocol &&
260
+ status == o.status &&
261
+ storage_system == o.storage_system &&
262
+ uuid == o.uuid &&
263
+ volumes == o.volumes
264
+ end
265
+
266
+ # @see the `==` method
267
+ # @param [Object] Object to be compared
268
+ def eql?(o)
269
+ self == o
270
+ end
271
+
272
+ # Calculates hash code according to all attributes.
273
+ # @return [Integer] Hash code
274
+ def hash
275
+ [component_state, name, owner_id, owner_name, protocol, status, storage_system, uuid, volumes].hash
276
+ end
277
+
278
+ # Builds the object from hash
279
+ # @param [Hash] attributes Model attributes in the form of hash
280
+ # @return [Object] Returns the model itself
281
+ def self.build_from_hash(attributes)
282
+ new.build_from_hash(attributes)
283
+ end
284
+
285
+ # Builds the object from hash
286
+ # @param [Hash] attributes Model attributes in the form of hash
287
+ # @return [Object] Returns the model itself
288
+ def build_from_hash(attributes)
289
+ return nil unless attributes.is_a?(Hash)
290
+ self.class.openapi_types.each_pair do |key, type|
291
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
292
+ self.send("#{key}=", nil)
293
+ elsif type =~ /\AArray<(.*)>/i
294
+ # check to ensure the input is an array given that the attribute
295
+ # is documented as an array but the input is not
296
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
297
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
298
+ end
299
+ elsif !attributes[self.class.attribute_map[key]].nil?
300
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
301
+ end
302
+ end
303
+
304
+ self
305
+ end
306
+
307
+ # Deserializes the data based on type
308
+ # @param string type Data type
309
+ # @param string value Value to be deserialized
310
+ # @return [Object] Deserialized data
311
+ def _deserialize(type, value)
312
+ case type.to_sym
313
+ when :Time
314
+ Time.parse(value)
315
+ when :Date
316
+ Date.parse(value)
317
+ when :String
318
+ value.to_s
319
+ when :Integer
320
+ value.to_i
321
+ when :Float
322
+ value.to_f
323
+ when :Boolean
324
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
325
+ true
326
+ else
327
+ false
328
+ end
329
+ when :Object
330
+ # generic object (usually a Hash), return directly
331
+ value
332
+ when /\AArray<(?<inner_type>.+)>\z/
333
+ inner_type = Regexp.last_match[:inner_type]
334
+ value.map { |v| _deserialize(inner_type, v) }
335
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
336
+ k_type = Regexp.last_match[:k_type]
337
+ v_type = Regexp.last_match[:v_type]
338
+ {}.tap do |hash|
339
+ value.each do |k, v|
340
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
341
+ end
342
+ end
343
+ else # model
344
+ # models (e.g. Pet) or oneOf
345
+ klass = AutosdeOpenapiClient.const_get(type)
346
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
347
+ end
348
+ end
349
+
350
+ # Returns the string representation of the object
351
+ # @return [String] String presentation of the object
352
+ def to_s
353
+ to_hash.to_s
354
+ end
355
+
356
+ # to_body is an alias to to_hash (backward compatibility)
357
+ # @return [Hash] Returns the object in the form of hash
358
+ def to_body
359
+ to_hash
360
+ end
361
+
362
+ # Returns the object in the form of hash
363
+ # @return [Hash] Returns the object in the form of hash
364
+ def to_hash
365
+ hash = {}
366
+ self.class.attribute_map.each_pair do |attr, param|
367
+ value = self.send(attr)
368
+ if value.nil?
369
+ is_nullable = self.class.openapi_nullable.include?(attr)
370
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
371
+ end
372
+
373
+ hash[param] = _to_hash(value)
374
+ end
375
+ hash
376
+ end
377
+
378
+ # Outputs non-array value in the form of hash
379
+ # For object, use to_hash. Otherwise, just return the value
380
+ # @param [Object] value Any valid value
381
+ # @return [Hash] Returns the value in the form of hash
382
+ def _to_hash(value)
383
+ if value.is_a?(Array)
384
+ value.compact.map { |v| _to_hash(v) }
385
+ elsif value.is_a?(Hash)
386
+ {}.tap do |hash|
387
+ value.each { |k, v| hash[k] = _to_hash(v) }
388
+ end
389
+ elsif value.respond_to? :to_hash
390
+ value.to_hash
391
+ else
392
+ value
393
+ end
394
+ end
395
+
396
+ end
397
+
398
+ end
@@ -167,10 +167,6 @@ module AutosdeOpenapiClient
167
167
  invalid_properties.push('invalid value for "component_state", the character length must be smaller than or equal to 32.')
168
168
  end
169
169
 
170
- if !@name.nil? && @name.to_s.length > 15
171
- invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 15.')
172
- end
173
-
174
170
  invalid_properties
175
171
  end
176
172
 
@@ -180,7 +176,6 @@ module AutosdeOpenapiClient
180
176
  component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
181
177
  return false unless component_state_validator.valid?(@component_state)
182
178
  return false if !@component_state.nil? && @component_state.to_s.length > 32
183
- return false if !@name.nil? && @name.to_s.length > 15
184
179
  storage_family_validator = EnumAttributeValidator.new('String', ["", "ontap_7mode", "ontap_cluster"])
185
180
  return false unless storage_family_validator.valid?(@storage_family)
186
181
  true
@@ -196,16 +191,6 @@ module AutosdeOpenapiClient
196
191
  @component_state = component_state
197
192
  end
198
193
 
199
- # Custom attribute writer method with validation
200
- # @param [Object] name Value to be assigned
201
- def name=(name)
202
- if !name.nil? && name.to_s.length > 15
203
- fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 15.'
204
- end
205
-
206
- @name = name
207
- end
208
-
209
194
  # Custom attribute writer method checking allowed values (enum).
210
195
  # @param [Object] storage_family Object to be assigned
211
196
  def storage_family=(storage_family)
@@ -249,10 +249,6 @@ module AutosdeOpenapiClient
249
249
  invalid_properties.push('invalid value for "component_state", the character length must be smaller than or equal to 32.')
250
250
  end
251
251
 
252
- if !@name.nil? && @name.to_s.length > 15
253
- invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 15.')
254
- end
255
-
256
252
  invalid_properties
257
253
  end
258
254
 
@@ -262,7 +258,6 @@ module AutosdeOpenapiClient
262
258
  component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
263
259
  return false unless component_state_validator.valid?(@component_state)
264
260
  return false if !@component_state.nil? && @component_state.to_s.length > 32
265
- return false if !@name.nil? && @name.to_s.length > 15
266
261
  port_type_validator = EnumAttributeValidator.new('String', ["ISCSI", "FC", "NVMeFC"])
267
262
  return false unless port_type_validator.valid?(@port_type)
268
263
  storage_family_validator = EnumAttributeValidator.new('String', ["", "ontap_7mode", "ontap_cluster"])
@@ -280,16 +275,6 @@ module AutosdeOpenapiClient
280
275
  @component_state = component_state
281
276
  end
282
277
 
283
- # Custom attribute writer method with validation
284
- # @param [Object] name Value to be assigned
285
- def name=(name)
286
- if !name.nil? && name.to_s.length > 15
287
- fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 15.'
288
- end
289
-
290
- @name = name
291
- end
292
-
293
278
  # Custom attribute writer method checking allowed values (enum).
294
279
  # @param [Object] port_type Object to be assigned
295
280
  def port_type=(port_type)
@@ -108,7 +108,7 @@ module AutosdeOpenapiClient
108
108
  if attributes.key?(:'name')
109
109
  self.name = attributes[:'name']
110
110
  else
111
- self.name = 'xiv'
111
+ self.name = 'FlashSystems/SVC'
112
112
  end
113
113
 
114
114
  if attributes.key?(:'short_version')
@@ -132,8 +132,8 @@ module AutosdeOpenapiClient
132
132
  invalid_properties.push('invalid value for "component_state", the character length must be smaller than or equal to 32.')
133
133
  end
134
134
 
135
- if !@name.nil? && @name.to_s.length > 10
136
- invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 10.')
135
+ if !@name.nil? && @name.to_s.length > 255
136
+ invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 255.')
137
137
  end
138
138
 
139
139
  if !@short_version.nil? && @short_version.to_s.length > 255
@@ -149,9 +149,9 @@ module AutosdeOpenapiClient
149
149
  component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
150
150
  return false unless component_state_validator.valid?(@component_state)
151
151
  return false if !@component_state.nil? && @component_state.to_s.length > 32
152
- name_validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "svc"])
152
+ name_validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "FlashSystems/SVC"])
153
153
  return false unless name_validator.valid?(@name)
154
- return false if !@name.nil? && @name.to_s.length > 10
154
+ return false if !@name.nil? && @name.to_s.length > 255
155
155
  return false if !@short_version.nil? && @short_version.to_s.length > 255
156
156
  true
157
157
  end
@@ -169,7 +169,7 @@ module AutosdeOpenapiClient
169
169
  # Custom attribute writer method checking allowed values (enum).
170
170
  # @param [Object] name Object to be assigned
171
171
  def name=(name)
172
- validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "svc"])
172
+ validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "FlashSystems/SVC"])
173
173
  unless validator.valid?(name)
174
174
  fail ArgumentError, "invalid value for \"name\", must be one of #{validator.allowable_values}."
175
175
  end
@@ -113,7 +113,7 @@ module AutosdeOpenapiClient
113
113
  if attributes.key?(:'name')
114
114
  self.name = attributes[:'name']
115
115
  else
116
- self.name = 'xiv'
116
+ self.name = 'FlashSystems/SVC'
117
117
  end
118
118
 
119
119
  if attributes.key?(:'short_version')
@@ -143,8 +143,8 @@ module AutosdeOpenapiClient
143
143
  invalid_properties.push('invalid value for "component_state", the character length must be smaller than or equal to 32.')
144
144
  end
145
145
 
146
- if !@name.nil? && @name.to_s.length > 10
147
- invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 10.')
146
+ if !@name.nil? && @name.to_s.length > 255
147
+ invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 255.')
148
148
  end
149
149
 
150
150
  if !@short_version.nil? && @short_version.to_s.length > 255
@@ -160,9 +160,9 @@ module AutosdeOpenapiClient
160
160
  component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
161
161
  return false unless component_state_validator.valid?(@component_state)
162
162
  return false if !@component_state.nil? && @component_state.to_s.length > 32
163
- name_validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "svc"])
163
+ name_validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "FlashSystems/SVC"])
164
164
  return false unless name_validator.valid?(@name)
165
- return false if !@name.nil? && @name.to_s.length > 10
165
+ return false if !@name.nil? && @name.to_s.length > 255
166
166
  return false if !@short_version.nil? && @short_version.to_s.length > 255
167
167
  true
168
168
  end
@@ -180,7 +180,7 @@ module AutosdeOpenapiClient
180
180
  # Custom attribute writer method checking allowed values (enum).
181
181
  # @param [Object] name Object to be assigned
182
182
  def name=(name)
183
- validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "svc"])
183
+ validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "FlashSystems/SVC"])
184
184
  unless validator.valid?(name)
185
185
  fail ArgumentError, "invalid value for \"name\", must be one of #{validator.allowable_values}."
186
186
  end
@@ -22,6 +22,9 @@ module AutosdeOpenapiClient
22
22
  # component_state
23
23
  attr_accessor :component_state
24
24
 
25
+ # count
26
+ attr_accessor :count
27
+
25
28
  # name
26
29
  attr_accessor :name
27
30
 
@@ -67,6 +70,7 @@ module AutosdeOpenapiClient
67
70
  {
68
71
  :'compliant' => :'compliant',
69
72
  :'component_state' => :'component_state',
73
+ :'count' => :'count',
70
74
  :'name' => :'name',
71
75
  :'service' => :'service',
72
76
  :'size' => :'size',
@@ -86,6 +90,7 @@ module AutosdeOpenapiClient
86
90
  {
87
91
  :'compliant' => :'Boolean',
88
92
  :'component_state' => :'String',
93
+ :'count' => :'Integer',
89
94
  :'name' => :'String',
90
95
  :'service' => :'String',
91
96
  :'size' => :'Integer',
@@ -126,6 +131,12 @@ module AutosdeOpenapiClient
126
131
  self.component_state = attributes[:'component_state']
127
132
  end
128
133
 
134
+ if attributes.key?(:'count')
135
+ self.count = attributes[:'count']
136
+ else
137
+ self.count = 1
138
+ end
139
+
129
140
  if attributes.key?(:'name')
130
141
  self.name = attributes[:'name']
131
142
  end
@@ -188,6 +199,7 @@ module AutosdeOpenapiClient
188
199
  self.class == o.class &&
189
200
  compliant == o.compliant &&
190
201
  component_state == o.component_state &&
202
+ count == o.count &&
191
203
  name == o.name &&
192
204
  service == o.service &&
193
205
  size == o.size &&
@@ -205,7 +217,7 @@ module AutosdeOpenapiClient
205
217
  # Calculates hash code according to all attributes.
206
218
  # @return [Integer] Hash code
207
219
  def hash
208
- [compliant, component_state, name, service, size, status, unmapped_since, uuid].hash
220
+ [compliant, component_state, count, name, service, size, status, unmapped_since, uuid].hash
209
221
  end
210
222
 
211
223
  # 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: 1.0.49
6
+ The version of the OpenAPI document: 1.1.1
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 = '1.0.49'
14
+ VERSION = '1.1.1'
15
15
  end
@@ -33,6 +33,7 @@ require 'autosde_openapi_client/models/host'
33
33
  require 'autosde_openapi_client/models/host_cluster'
34
34
  require 'autosde_openapi_client/models/host_cluster_create'
35
35
  require 'autosde_openapi_client/models/host_cluster_membership'
36
+ require 'autosde_openapi_client/models/host_cluster_response'
36
37
  require 'autosde_openapi_client/models/host_cluster_volume_mapping'
37
38
  require 'autosde_openapi_client/models/host_cluster_volume_mapping_create'
38
39
  require 'autosde_openapi_client/models/host_cluster_volume_mapping_response'
@@ -34,7 +34,7 @@ describe 'HostClusterApi' do
34
34
 
35
35
  # unit tests for host_clusters_get
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<HostCluster>]
37
+ # @return [Array<HostClusterResponse>]
38
38
  describe 'host_clusters_get test' do
39
39
  it 'should work' do
40
40
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -64,7 +64,7 @@ describe 'HostClusterApi' do
64
64
  # unit tests for host_clusters_post
65
65
  # @param host_cluster_create
66
66
  # @param [Hash] opts the optional parameters
67
- # @return [HostCluster]
67
+ # @return [HostClusterResponse]
68
68
  describe 'host_clusters_post test' do
69
69
  it 'should work' do
70
70
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,86 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AutosdeOpenapiClient::HostClusterResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AutosdeOpenapiClient::HostClusterResponse do
21
+ let(:instance) { AutosdeOpenapiClient::HostClusterResponse.new }
22
+
23
+ describe 'test an instance of HostClusterResponse' do
24
+ it 'should create an instance of HostClusterResponse' do
25
+ expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "component_state"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.component_state = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "name"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "owner_id"' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ describe 'test attribute "owner_name"' 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
+ describe 'test attribute "protocol"' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ describe 'test attribute "status"' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ describe 'test attribute "storage_system"' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ describe 'test attribute "uuid"' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
+ end
78
+ end
79
+
80
+ describe 'test attribute "volumes"' do
81
+ it 'should work' do
82
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
+ end
84
+ end
85
+
86
+ end
@@ -38,7 +38,7 @@ describe AutosdeOpenapiClient::SystemTypeCreate do
38
38
  describe 'test attribute "name"' do
39
39
  it 'should work' do
40
40
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "svc"])
41
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "FlashSystems/SVC"])
42
42
  # validator.allowable_values.each do |value|
43
43
  # expect { instance.name = value }.not_to raise_error
44
44
  # end
@@ -38,7 +38,7 @@ describe AutosdeOpenapiClient::SystemType do
38
38
  describe 'test attribute "name"' do
39
39
  it 'should work' do
40
40
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "svc"])
41
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "FlashSystems/SVC"])
42
42
  # validator.allowable_values.each do |value|
43
43
  # expect { instance.name = value }.not_to raise_error
44
44
  # end
@@ -41,6 +41,12 @@ describe AutosdeOpenapiClient::VolumeCreate do
41
41
  end
42
42
  end
43
43
 
44
+ describe 'test attribute "count"' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
44
50
  describe 'test attribute "name"' do
45
51
  it 'should work' do
46
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: 1.0.49
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-01 00:00:00.000000000 Z
11
+ date: 2021-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -87,6 +87,7 @@ files:
87
87
  - docs/HostClusterCreate.md
88
88
  - docs/HostClusterMembership.md
89
89
  - docs/HostClusterMembershipApi.md
90
+ - docs/HostClusterResponse.md
90
91
  - docs/HostClusterVolumeMapping.md
91
92
  - docs/HostClusterVolumeMappingApi.md
92
93
  - docs/HostClusterVolumeMappingCreate.md
@@ -191,6 +192,7 @@ files:
191
192
  - lib/autosde_openapi_client/models/host_cluster.rb
192
193
  - lib/autosde_openapi_client/models/host_cluster_create.rb
193
194
  - lib/autosde_openapi_client/models/host_cluster_membership.rb
195
+ - lib/autosde_openapi_client/models/host_cluster_response.rb
194
196
  - lib/autosde_openapi_client/models/host_cluster_volume_mapping.rb
195
197
  - lib/autosde_openapi_client/models/host_cluster_volume_mapping_create.rb
196
198
  - lib/autosde_openapi_client/models/host_cluster_volume_mapping_response.rb
@@ -274,6 +276,7 @@ files:
274
276
  - spec/models/capability_translation_spec.rb
275
277
  - spec/models/host_cluster_create_spec.rb
276
278
  - spec/models/host_cluster_membership_spec.rb
279
+ - spec/models/host_cluster_response_spec.rb
277
280
  - spec/models/host_cluster_spec.rb
278
281
  - spec/models/host_cluster_volume_mapping_create_spec.rb
279
282
  - spec/models/host_cluster_volume_mapping_response_spec.rb
@@ -340,88 +343,89 @@ signing_key:
340
343
  specification_version: 4
341
344
  summary: Site Manager API Ruby Gem
342
345
  test_files:
343
- - spec/api/host_api_spec.rb
344
- - spec/api/profile_api_spec.rb
346
+ - spec/api/address_api_spec.rb
347
+ - spec/api/storage_host_volume_mapping_api_spec.rb
345
348
  - spec/api/native_capability_api_spec.rb
346
349
  - spec/api/abstract_capability_api_spec.rb
347
- - spec/api/volume_api_spec.rb
348
- - spec/api/account_api_spec.rb
349
- - spec/api/host_volume_connection_api_spec.rb
350
- - spec/api/storage_host_wwpn_candidates_api_spec.rb
351
- - spec/api/service_resource_attachment_api_spec.rb
352
- - spec/api/storage_system_api_spec.rb
353
- - spec/api/provisioning_strategy_api_spec.rb
354
- - spec/api/volume_safe_delete_api_spec.rb
355
350
  - spec/api/storage_host_api_spec.rb
356
- - spec/api/host_cluster_volume_mapping_api_spec.rb
357
- - spec/api/host_cluster_membership_api_spec.rb
358
351
  - spec/api/host_cluster_api_spec.rb
359
- - spec/api/snapshot_api_spec.rb
360
- - spec/api/storage_resource_api_spec.rb
352
+ - spec/api/volume_safe_delete_api_spec.rb
353
+ - spec/api/host_cluster_membership_api_spec.rb
361
354
  - spec/api/authentication_api_spec.rb
362
- - spec/api/service_api_spec.rb
363
- - spec/api/capability_translation_api_spec.rb
364
- - spec/api/address_api_spec.rb
365
- - spec/api/job_api_spec.rb
366
- - spec/api/storage_host_volume_mapping_api_spec.rb
355
+ - spec/api/account_api_spec.rb
367
356
  - spec/api/system_type_api_spec.rb
368
357
  - spec/api/auto_sde_role_api_spec.rb
358
+ - spec/api/storage_system_api_spec.rb
359
+ - spec/api/snapshot_api_spec.rb
360
+ - spec/api/provisioning_strategy_api_spec.rb
361
+ - spec/api/service_api_spec.rb
362
+ - spec/api/job_api_spec.rb
363
+ - spec/api/storage_host_wwpn_candidates_api_spec.rb
364
+ - spec/api/host_api_spec.rb
365
+ - spec/api/capability_translation_api_spec.rb
366
+ - spec/api/storage_resource_api_spec.rb
369
367
  - spec/api/auto_sde_project_api_spec.rb
368
+ - spec/api/host_volume_connection_api_spec.rb
369
+ - spec/api/profile_api_spec.rb
370
+ - spec/api/host_cluster_volume_mapping_api_spec.rb
371
+ - spec/api/service_resource_attachment_api_spec.rb
372
+ - spec/api/volume_api_spec.rb
370
373
  - spec/api_client_spec.rb
371
374
  - spec/configuration_spec.rb
372
375
  - spec/models/volume_create_spec.rb
373
- - spec/models/storage_host_wwpn_candidates_spec.rb
374
- - spec/models/storage_host_create_spec.rb
375
- - spec/models/auto_sde_role_spec.rb
376
+ - spec/models/host_cluster_spec.rb
377
+ - spec/models/host_volume_connection_create_spec.rb
378
+ - spec/models/address_spec.rb
379
+ - spec/models/host_create_spec.rb
380
+ - spec/models/address_create_spec.rb
381
+ - spec/models/storage_resource_response_spec.rb
382
+ - spec/models/snapshot_spec.rb
383
+ - spec/models/host_cluster_volume_mapping_create_spec.rb
384
+ - spec/models/host_cluster_response_spec.rb
385
+ - spec/models/native_capability_spec.rb
386
+ - spec/models/authentication_spec.rb
387
+ - spec/models/system_type_create_spec.rb
388
+ - spec/models/storage_resource_spec.rb
389
+ - spec/models/storage_host_update_spec.rb
390
+ - spec/models/provisioning_strategy_spec.rb
391
+ - spec/models/account_post_request_spec.rb
376
392
  - spec/models/volume_spec.rb
377
- - spec/models/profile_spec.rb
378
- - spec/models/storage_host_volume_mapping_spec.rb
393
+ - spec/models/account_spec.rb
394
+ - spec/models/host_cluster_volume_mapping_spec.rb
395
+ - spec/models/storage_host_volume_mapping_create_spec.rb
396
+ - spec/models/service_create_spec.rb
397
+ - spec/models/capability_translation_spec.rb
398
+ - spec/models/host_volume_connection_spec.rb
399
+ - spec/models/volume_safe_delete_spec.rb
400
+ - spec/models/storage_system_update_spec.rb
401
+ - spec/models/auth_response_spec.rb
379
402
  - spec/models/system_type_spec.rb
403
+ - spec/models/storage_system_spec.rb
404
+ - spec/models/snapshot_create_spec.rb
380
405
  - spec/models/storage_host_response_spec.rb
381
- - spec/models/storage_host_volume_mapping_create_spec.rb
406
+ - spec/models/job_create_spec.rb
382
407
  - spec/models/host_cluster_create_spec.rb
408
+ - spec/models/service_abstract_capability_value_spec.rb
383
409
  - spec/models/storage_resource_create_spec.rb
410
+ - spec/models/job_spec.rb
384
411
  - spec/models/storage_host_spec.rb
385
- - spec/models/address_spec.rb
386
- - spec/models/host_volume_connection_create_spec.rb
387
- - spec/models/volume_safe_delete_spec.rb
412
+ - spec/models/storage_host_create_spec.rb
388
413
  - spec/models/host_spec.rb
389
- - spec/models/snapshot_spec.rb
390
- - spec/models/storage_system_update_spec.rb
391
- - spec/models/account_post_request_spec.rb
392
- - spec/models/auth_response_spec.rb
393
- - spec/models/service_create_spec.rb
394
- - spec/models/service_spec.rb
395
- - spec/models/abstract_capability_spec.rb
396
- - spec/models/host_cluster_volume_mapping_create_spec.rb
397
- - spec/models/host_cluster_volume_mapping_response_spec.rb
398
414
  - spec/models/host_cluster_membership_spec.rb
415
+ - spec/models/abstract_capability_spec.rb
416
+ - spec/models/volume_safe_delete_create_spec.rb
417
+ - spec/models/service_spec.rb
399
418
  - spec/models/volume_response_spec.rb
400
- - spec/models/authentication_spec.rb
401
- - spec/models/account_post_response_spec.rb
402
- - spec/models/storage_system_create_spec.rb
403
- - spec/models/storage_resource_spec.rb
404
- - spec/models/snapshot_create_spec.rb
405
- - spec/models/host_volume_connection_spec.rb
406
- - spec/models/host_cluster_volume_mapping_spec.rb
407
- - spec/models/host_cluster_spec.rb
408
- - spec/models/job_spec.rb
409
- - spec/models/job_create_spec.rb
410
- - spec/models/storage_system_spec.rb
411
419
  - spec/models/service_resource_attachment_spec.rb
412
- - spec/models/system_type_create_spec.rb
413
- - spec/models/capability_translation_create_spec.rb
414
- - spec/models/volume_safe_delete_create_spec.rb
415
- - spec/models/service_abstract_capability_value_spec.rb
416
- - spec/models/host_create_spec.rb
417
- - spec/models/address_create_spec.rb
418
- - spec/models/storage_resource_response_spec.rb
419
- - spec/models/native_capability_spec.rb
420
- - spec/models/account_spec.rb
421
- - spec/models/storage_host_update_spec.rb
422
- - spec/models/volume_update_spec.rb
423
420
  - spec/models/storage_host_volume_mapping_response_spec.rb
421
+ - spec/models/account_post_response_spec.rb
422
+ - spec/models/volume_update_spec.rb
423
+ - spec/models/host_cluster_volume_mapping_response_spec.rb
424
+ - spec/models/auto_sde_role_spec.rb
425
+ - spec/models/capability_translation_create_spec.rb
426
+ - spec/models/storage_host_volume_mapping_spec.rb
427
+ - spec/models/storage_host_wwpn_candidates_spec.rb
428
+ - spec/models/profile_spec.rb
429
+ - spec/models/storage_system_create_spec.rb
424
430
  - spec/models/auto_sde_project_spec.rb
425
- - spec/models/capability_translation_spec.rb
426
- - spec/models/provisioning_strategy_spec.rb
427
431
  - spec/spec_helper.rb