autosde_openapi_client 1.1.1 → 1.1.2

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: d228ce8927b92ffd78ec537dfcd781e694293011e04a57deecc59f3e24fa3153
4
- data.tar.gz: 1699010aa3e012f74717a0871d430710597388b1bf027bf7ff9c3468ba4027be
3
+ metadata.gz: 3cf577cba05ed26c1828a3037026460ab28aea0e035576b98f52cd7b7bd0a960
4
+ data.tar.gz: c461a9091bf7d19389649b16ca710879620c5bf67ea984e5a23b367310fca84d
5
5
  SHA512:
6
- metadata.gz: 0f999d2b99ec91f8d9fde49cbe0960c58e1f475fe50fd4fb07b4e56b8d2e3008f05842f751bc100fd9e3ec21830a4f2c8d039a91b7705d5a1be142d46b6e54a5
7
- data.tar.gz: fdb90c168e0276e69a802fac9b8810db249335a418245f3bc81c5318063811c3827fe5f256a0594e340fb2afd2445899675444d0dfebd9b47dcea7d30ba98bed
6
+ metadata.gz: 413c4a230ad384b3e7f95b28e068f6b49f8f177488d209e5c2174256a66d84b96c5597362e2b58aa3cb64be6d1bc8706797c52a1b7c6c05d7be1bdd0b4d7171b
7
+ data.tar.gz: 00e5e7ea32c77eaf226c01cad8169b41e2f6d34127562a92b6224f4f9cf395c3254a600ef6819b7a1b30ea92ff197777143cfabae1230b6db645beae3dad630d
data/docs/StorageHost.md CHANGED
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **component_state** | **String** | component_state | [optional] |
8
8
  | **description** | **String** | description | [optional] |
9
+ | **host_cluster** | [**HostCluster**](HostCluster.md) | | [optional] |
9
10
  | **host_cluster_name** | **String** | host_cluster_name | [optional] |
10
11
  | **io_groups** | **String** | io_groups | [optional] |
11
12
  | **name** | **String** | The Storage Host Name | [optional] |
@@ -22,6 +23,7 @@ require 'autosde_openapi_client'
22
23
  instance = AutosdeOpenapiClient::StorageHost.new(
23
24
  component_state: null,
24
25
  description: null,
26
+ host_cluster: null,
25
27
  host_cluster_name: null,
26
28
  io_groups: null,
27
29
  name: null,
@@ -7,6 +7,7 @@
7
7
  | **addresses** | [**Array<Address>**](Address.md) | addresses | [optional] |
8
8
  | **component_state** | **String** | component_state | [optional] |
9
9
  | **description** | **String** | description | [optional] |
10
+ | **host_cluster** | **String** | !!uuid of host_cluster | [optional] |
10
11
  | **host_cluster_name** | **String** | host_cluster_name | [optional] |
11
12
  | **io_groups** | **String** | io_groups | [optional] |
12
13
  | **name** | **String** | The Storage Host Name | [optional] |
@@ -24,6 +25,7 @@ instance = AutosdeOpenapiClient::StorageHostResponse.new(
24
25
  addresses: null,
25
26
  component_state: null,
26
27
  description: null,
28
+ host_cluster: null,
27
29
  host_cluster_name: null,
28
30
  io_groups: null,
29
31
  name: null,
@@ -22,6 +22,8 @@ module AutosdeOpenapiClient
22
22
  # description
23
23
  attr_accessor :description
24
24
 
25
+ attr_accessor :host_cluster
26
+
25
27
  # host_cluster_name
26
28
  attr_accessor :host_cluster_name
27
29
 
@@ -68,6 +70,7 @@ module AutosdeOpenapiClient
68
70
  {
69
71
  :'component_state' => :'component_state',
70
72
  :'description' => :'description',
73
+ :'host_cluster' => :'host_cluster',
71
74
  :'host_cluster_name' => :'host_cluster_name',
72
75
  :'io_groups' => :'io_groups',
73
76
  :'name' => :'name',
@@ -88,6 +91,7 @@ module AutosdeOpenapiClient
88
91
  {
89
92
  :'component_state' => :'String',
90
93
  :'description' => :'String',
94
+ :'host_cluster' => :'HostCluster',
91
95
  :'host_cluster_name' => :'String',
92
96
  :'io_groups' => :'String',
93
97
  :'name' => :'String',
@@ -127,6 +131,10 @@ module AutosdeOpenapiClient
127
131
  self.description = attributes[:'description']
128
132
  end
129
133
 
134
+ if attributes.key?(:'host_cluster')
135
+ self.host_cluster = attributes[:'host_cluster']
136
+ end
137
+
130
138
  if attributes.key?(:'host_cluster_name')
131
139
  self.host_cluster_name = attributes[:'host_cluster_name']
132
140
  end
@@ -193,6 +201,7 @@ module AutosdeOpenapiClient
193
201
  self.class == o.class &&
194
202
  component_state == o.component_state &&
195
203
  description == o.description &&
204
+ host_cluster == o.host_cluster &&
196
205
  host_cluster_name == o.host_cluster_name &&
197
206
  io_groups == o.io_groups &&
198
207
  name == o.name &&
@@ -211,7 +220,7 @@ module AutosdeOpenapiClient
211
220
  # Calculates hash code according to all attributes.
212
221
  # @return [Integer] Hash code
213
222
  def hash
214
- [component_state, description, host_cluster_name, io_groups, name, status, storage_system, uuid, volumes].hash
223
+ [component_state, description, host_cluster, host_cluster_name, io_groups, name, status, storage_system, uuid, volumes].hash
215
224
  end
216
225
 
217
226
  # Builds the object from hash
@@ -25,6 +25,9 @@ module AutosdeOpenapiClient
25
25
  # description
26
26
  attr_accessor :description
27
27
 
28
+ # !!uuid of host_cluster
29
+ attr_accessor :host_cluster
30
+
28
31
  # host_cluster_name
29
32
  attr_accessor :host_cluster_name
30
33
 
@@ -74,6 +77,7 @@ module AutosdeOpenapiClient
74
77
  :'addresses' => :'addresses',
75
78
  :'component_state' => :'component_state',
76
79
  :'description' => :'description',
80
+ :'host_cluster' => :'host_cluster',
77
81
  :'host_cluster_name' => :'host_cluster_name',
78
82
  :'io_groups' => :'io_groups',
79
83
  :'name' => :'name',
@@ -95,6 +99,7 @@ module AutosdeOpenapiClient
95
99
  :'addresses' => :'Array<Address>',
96
100
  :'component_state' => :'String',
97
101
  :'description' => :'String',
102
+ :'host_cluster' => :'String',
98
103
  :'host_cluster_name' => :'String',
99
104
  :'io_groups' => :'String',
100
105
  :'name' => :'String',
@@ -140,6 +145,10 @@ module AutosdeOpenapiClient
140
145
  self.description = attributes[:'description']
141
146
  end
142
147
 
148
+ if attributes.key?(:'host_cluster')
149
+ self.host_cluster = attributes[:'host_cluster']
150
+ end
151
+
143
152
  if attributes.key?(:'host_cluster_name')
144
153
  self.host_cluster_name = attributes[:'host_cluster_name']
145
154
  end
@@ -209,6 +218,7 @@ module AutosdeOpenapiClient
209
218
  addresses == o.addresses &&
210
219
  component_state == o.component_state &&
211
220
  description == o.description &&
221
+ host_cluster == o.host_cluster &&
212
222
  host_cluster_name == o.host_cluster_name &&
213
223
  io_groups == o.io_groups &&
214
224
  name == o.name &&
@@ -227,7 +237,7 @@ module AutosdeOpenapiClient
227
237
  # Calculates hash code according to all attributes.
228
238
  # @return [Integer] Hash code
229
239
  def hash
230
- [addresses, component_state, description, host_cluster_name, io_groups, name, status, storage_system, uuid, volumes].hash
240
+ [addresses, component_state, description, host_cluster, host_cluster_name, io_groups, name, status, storage_system, uuid, volumes].hash
231
241
  end
232
242
 
233
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: 1.1.1
6
+ The version of the OpenAPI document: 1.1.2
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.1.1'
14
+ VERSION = '1.1.2'
15
15
  end
@@ -47,6 +47,12 @@ describe AutosdeOpenapiClient::StorageHostResponse do
47
47
  end
48
48
  end
49
49
 
50
+ describe 'test attribute "host_cluster"' 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 "host_cluster_name"' do
51
57
  it 'should work' do
52
58
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -41,6 +41,12 @@ describe AutosdeOpenapiClient::StorageHost do
41
41
  end
42
42
  end
43
43
 
44
+ describe 'test attribute "host_cluster"' 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 "host_cluster_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.1.1
4
+ version: 1.1.2
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-12-01 00:00:00.000000000 Z
11
+ date: 2021-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -343,89 +343,89 @@ signing_key:
343
343
  specification_version: 4
344
344
  summary: Site Manager API Ruby Gem
345
345
  test_files:
346
- - spec/api/address_api_spec.rb
347
- - spec/api/storage_host_volume_mapping_api_spec.rb
348
- - spec/api/native_capability_api_spec.rb
349
- - spec/api/abstract_capability_api_spec.rb
350
- - spec/api/storage_host_api_spec.rb
351
- - spec/api/host_cluster_api_spec.rb
352
- - spec/api/volume_safe_delete_api_spec.rb
346
+ - spec/api/storage_resource_api_spec.rb
353
347
  - spec/api/host_cluster_membership_api_spec.rb
354
- - spec/api/authentication_api_spec.rb
355
- - spec/api/account_api_spec.rb
356
348
  - spec/api/system_type_api_spec.rb
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
349
+ - spec/api/storage_host_api_spec.rb
350
+ - spec/api/authentication_api_spec.rb
351
+ - spec/api/volume_api_spec.rb
352
+ - spec/api/volume_safe_delete_api_spec.rb
361
353
  - 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
367
354
  - spec/api/auto_sde_project_api_spec.rb
368
- - spec/api/host_volume_connection_api_spec.rb
369
355
  - spec/api/profile_api_spec.rb
370
356
  - spec/api/host_cluster_volume_mapping_api_spec.rb
357
+ - spec/api/snapshot_api_spec.rb
358
+ - spec/api/host_volume_connection_api_spec.rb
359
+ - spec/api/storage_host_volume_mapping_api_spec.rb
371
360
  - spec/api/service_resource_attachment_api_spec.rb
372
- - spec/api/volume_api_spec.rb
361
+ - spec/api/storage_host_wwpn_candidates_api_spec.rb
362
+ - spec/api/storage_system_api_spec.rb
363
+ - spec/api/native_capability_api_spec.rb
364
+ - spec/api/host_api_spec.rb
365
+ - spec/api/host_cluster_api_spec.rb
366
+ - spec/api/auto_sde_role_api_spec.rb
367
+ - spec/api/address_api_spec.rb
368
+ - spec/api/provisioning_strategy_api_spec.rb
369
+ - spec/api/account_api_spec.rb
370
+ - spec/api/abstract_capability_api_spec.rb
371
+ - spec/api/capability_translation_api_spec.rb
372
+ - spec/api/job_api_spec.rb
373
373
  - spec/api_client_spec.rb
374
374
  - spec/configuration_spec.rb
375
- - spec/models/volume_create_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
375
+ - spec/models/native_capability_spec.rb
376
+ - spec/models/auto_sde_project_spec.rb
381
377
  - spec/models/storage_resource_response_spec.rb
382
- - spec/models/snapshot_spec.rb
383
- - spec/models/host_cluster_volume_mapping_create_spec.rb
378
+ - spec/models/account_spec.rb
379
+ - spec/models/volume_response_spec.rb
380
+ - spec/models/storage_host_response_spec.rb
381
+ - spec/models/address_create_spec.rb
382
+ - spec/models/service_resource_attachment_spec.rb
383
+ - spec/models/volume_safe_delete_create_spec.rb
384
+ - spec/models/volume_spec.rb
385
+ - spec/models/host_volume_connection_create_spec.rb
386
+ - spec/models/host_cluster_membership_spec.rb
387
+ - spec/models/storage_resource_spec.rb
388
+ - spec/models/storage_host_create_spec.rb
389
+ - spec/models/host_spec.rb
390
+ - spec/models/service_spec.rb
384
391
  - spec/models/host_cluster_response_spec.rb
385
- - spec/models/native_capability_spec.rb
386
392
  - spec/models/authentication_spec.rb
387
- - spec/models/system_type_create_spec.rb
388
- - spec/models/storage_resource_spec.rb
393
+ - spec/models/storage_system_spec.rb
389
394
  - spec/models/storage_host_update_spec.rb
390
- - spec/models/provisioning_strategy_spec.rb
395
+ - spec/models/storage_host_volume_mapping_spec.rb
396
+ - spec/models/service_abstract_capability_value_spec.rb
397
+ - spec/models/storage_host_wwpn_candidates_spec.rb
398
+ - spec/models/capability_translation_create_spec.rb
399
+ - spec/models/snapshot_create_spec.rb
400
+ - spec/models/auto_sde_role_spec.rb
401
+ - spec/models/system_type_create_spec.rb
391
402
  - spec/models/account_post_request_spec.rb
392
- - spec/models/volume_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
403
+ - spec/models/storage_system_create_spec.rb
400
404
  - spec/models/storage_system_update_spec.rb
401
- - spec/models/auth_response_spec.rb
402
- - spec/models/system_type_spec.rb
403
- - spec/models/storage_system_spec.rb
404
- - spec/models/snapshot_create_spec.rb
405
- - spec/models/storage_host_response_spec.rb
406
- - spec/models/job_create_spec.rb
405
+ - spec/models/volume_safe_delete_spec.rb
406
+ - spec/models/provisioning_strategy_spec.rb
407
+ - spec/models/job_spec.rb
407
408
  - spec/models/host_cluster_create_spec.rb
408
- - spec/models/service_abstract_capability_value_spec.rb
409
+ - spec/models/snapshot_spec.rb
410
+ - spec/models/service_create_spec.rb
409
411
  - spec/models/storage_resource_create_spec.rb
410
- - spec/models/job_spec.rb
411
- - spec/models/storage_host_spec.rb
412
- - spec/models/storage_host_create_spec.rb
413
- - spec/models/host_spec.rb
414
- - spec/models/host_cluster_membership_spec.rb
412
+ - spec/models/host_cluster_volume_mapping_response_spec.rb
413
+ - spec/models/host_cluster_volume_mapping_spec.rb
414
+ - spec/models/host_cluster_spec.rb
415
+ - spec/models/storage_host_volume_mapping_create_spec.rb
416
+ - spec/models/volume_create_spec.rb
417
+ - spec/models/system_type_spec.rb
418
+ - spec/models/capability_translation_spec.rb
415
419
  - spec/models/abstract_capability_spec.rb
416
- - spec/models/volume_safe_delete_create_spec.rb
417
- - spec/models/service_spec.rb
418
- - spec/models/volume_response_spec.rb
419
- - spec/models/service_resource_attachment_spec.rb
420
420
  - spec/models/storage_host_volume_mapping_response_spec.rb
421
- - spec/models/account_post_response_spec.rb
421
+ - spec/models/storage_host_spec.rb
422
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
423
+ - spec/models/host_volume_connection_spec.rb
424
+ - spec/models/account_post_response_spec.rb
425
+ - spec/models/host_create_spec.rb
426
+ - spec/models/host_cluster_volume_mapping_create_spec.rb
427
+ - spec/models/address_spec.rb
428
428
  - spec/models/profile_spec.rb
429
- - spec/models/storage_system_create_spec.rb
430
- - spec/models/auto_sde_project_spec.rb
429
+ - spec/models/job_create_spec.rb
430
+ - spec/models/auth_response_spec.rb
431
431
  - spec/spec_helper.rb