autosde_openapi_client 1.1.1 → 1.1.5

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: 76b6a5c9083c727f706d3a067679303e919d5bbaab121ae7873833c674602d0e
4
+ data.tar.gz: ad50125aeb4e7e655ed51a3c58b67fba3a4d3439b5637aa4e089d75217c80653
5
5
  SHA512:
6
- metadata.gz: 0f999d2b99ec91f8d9fde49cbe0960c58e1f475fe50fd4fb07b4e56b8d2e3008f05842f751bc100fd9e3ec21830a4f2c8d039a91b7705d5a1be142d46b6e54a5
7
- data.tar.gz: fdb90c168e0276e69a802fac9b8810db249335a418245f3bc81c5318063811c3827fe5f256a0594e340fb2afd2445899675444d0dfebd9b47dcea7d30ba98bed
6
+ metadata.gz: 64f1b0f112680d0d4b9a489a7432e34a697847bc5c2ee719f8fa550df65b099197d6586d5f75f7489411035f639e34cc0ed9c4c3691a6787e2089c5955426077
7
+ data.tar.gz: 505071abb84005bf9a0e262b42fb19bc56537504c40b53b68e9438dc602d0f404b3392f2d107a74b39581fbfccf43319a98f7b9485ebc17a9d25c5af53ea57a4
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ ©Copyright Kyndryl,Inc. 2021
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+ http://www.apache.org/licenses/LICENSE-2.0
7
+
8
+ ©Copyright Kyndryl,Inc. 2021, a Delaware corporation having a place of business at One Vanderbilt Avenue, 15th Floor, New York,NY10017, U.S.A.
9
+ Produced in the United States of America, 2021.Kyndryl and the Kyndryl logo are trademarks or registered trademarks of Kyndryl Inc in many jurisdictions worldwide.
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
12
+ to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
13
+ and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
18
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["OpenAPI-Generator"]
23
23
  s.email = ["autosde@il.ibm.com"]
24
- s.homepage = "https://github.com/Autosde/autosde-oas/"
24
+ s.homepage = "https://github.com/Autosde/autosde-oas/tree/main/generated"
25
25
  s.summary = "Site Manager API Ruby Gem"
26
26
  s.description = "Site Manager API"
27
27
  s.license = "Apache-2.0"
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.5
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.5'
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.5
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-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -58,6 +58,7 @@ extensions: []
58
58
  extra_rdoc_files: []
59
59
  files:
60
60
  - Gemfile
61
+ - LICENSE.txt
61
62
  - README.md
62
63
  - Rakefile
63
64
  - autosde_openapi_client.gemspec
@@ -319,7 +320,7 @@ files:
319
320
  - spec/models/volume_spec.rb
320
321
  - spec/models/volume_update_spec.rb
321
322
  - spec/spec_helper.rb
322
- homepage: https://github.com/Autosde/autosde-oas/
323
+ homepage: https://github.com/Autosde/autosde-oas/tree/main/generated
323
324
  licenses:
324
325
  - Apache-2.0
325
326
  metadata: {}
@@ -343,89 +344,89 @@ signing_key:
343
344
  specification_version: 4
344
345
  summary: Site Manager API Ruby Gem
345
346
  test_files:
346
- - spec/api/address_api_spec.rb
347
- - spec/api/storage_host_volume_mapping_api_spec.rb
347
+ - spec/api/host_api_spec.rb
348
+ - spec/api/profile_api_spec.rb
348
349
  - spec/api/native_capability_api_spec.rb
349
350
  - 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
353
- - spec/api/host_cluster_membership_api_spec.rb
354
- - spec/api/authentication_api_spec.rb
351
+ - spec/api/volume_api_spec.rb
355
352
  - spec/api/account_api_spec.rb
356
- - spec/api/system_type_api_spec.rb
357
- - spec/api/auto_sde_role_api_spec.rb
353
+ - spec/api/host_volume_connection_api_spec.rb
354
+ - spec/api/storage_host_wwpn_candidates_api_spec.rb
355
+ - spec/api/service_resource_attachment_api_spec.rb
358
356
  - spec/api/storage_system_api_spec.rb
359
- - spec/api/snapshot_api_spec.rb
360
357
  - spec/api/provisioning_strategy_api_spec.rb
358
+ - spec/api/volume_safe_delete_api_spec.rb
359
+ - spec/api/storage_host_api_spec.rb
360
+ - spec/api/host_cluster_volume_mapping_api_spec.rb
361
+ - spec/api/host_cluster_membership_api_spec.rb
362
+ - spec/api/host_cluster_api_spec.rb
363
+ - spec/api/snapshot_api_spec.rb
364
+ - spec/api/storage_resource_api_spec.rb
365
+ - spec/api/authentication_api_spec.rb
361
366
  - 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
367
  - spec/api/capability_translation_api_spec.rb
366
- - spec/api/storage_resource_api_spec.rb
368
+ - spec/api/address_api_spec.rb
369
+ - spec/api/job_api_spec.rb
370
+ - spec/api/storage_host_volume_mapping_api_spec.rb
371
+ - spec/api/system_type_api_spec.rb
372
+ - spec/api/auto_sde_role_api_spec.rb
367
373
  - 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
373
374
  - spec/api_client_spec.rb
374
375
  - spec/configuration_spec.rb
375
376
  - 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
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
377
+ - spec/models/storage_host_wwpn_candidates_spec.rb
378
+ - spec/models/storage_host_create_spec.rb
379
+ - spec/models/auto_sde_role_spec.rb
392
380
  - 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
400
- - spec/models/storage_system_update_spec.rb
401
- - spec/models/auth_response_spec.rb
381
+ - spec/models/profile_spec.rb
382
+ - spec/models/storage_host_volume_mapping_spec.rb
402
383
  - spec/models/system_type_spec.rb
403
- - spec/models/storage_system_spec.rb
404
- - spec/models/snapshot_create_spec.rb
405
384
  - spec/models/storage_host_response_spec.rb
406
- - spec/models/job_create_spec.rb
385
+ - spec/models/storage_host_volume_mapping_create_spec.rb
407
386
  - spec/models/host_cluster_create_spec.rb
408
- - spec/models/service_abstract_capability_value_spec.rb
409
387
  - spec/models/storage_resource_create_spec.rb
410
- - spec/models/job_spec.rb
411
388
  - spec/models/storage_host_spec.rb
412
- - spec/models/storage_host_create_spec.rb
389
+ - spec/models/address_spec.rb
390
+ - spec/models/host_volume_connection_create_spec.rb
391
+ - spec/models/volume_safe_delete_spec.rb
413
392
  - spec/models/host_spec.rb
414
- - spec/models/host_cluster_membership_spec.rb
415
- - spec/models/abstract_capability_spec.rb
416
- - spec/models/volume_safe_delete_create_spec.rb
393
+ - spec/models/snapshot_spec.rb
394
+ - spec/models/storage_system_update_spec.rb
395
+ - spec/models/account_post_request_spec.rb
396
+ - spec/models/auth_response_spec.rb
397
+ - spec/models/service_create_spec.rb
417
398
  - spec/models/service_spec.rb
399
+ - spec/models/abstract_capability_spec.rb
400
+ - spec/models/host_cluster_volume_mapping_create_spec.rb
401
+ - spec/models/host_cluster_volume_mapping_response_spec.rb
402
+ - spec/models/host_cluster_membership_spec.rb
418
403
  - spec/models/volume_response_spec.rb
419
- - spec/models/service_resource_attachment_spec.rb
420
- - spec/models/storage_host_volume_mapping_response_spec.rb
404
+ - spec/models/authentication_spec.rb
421
405
  - 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
406
  - spec/models/storage_system_create_spec.rb
407
+ - spec/models/storage_resource_spec.rb
408
+ - spec/models/snapshot_create_spec.rb
409
+ - spec/models/host_volume_connection_spec.rb
410
+ - spec/models/host_cluster_volume_mapping_spec.rb
411
+ - spec/models/host_cluster_spec.rb
412
+ - spec/models/job_spec.rb
413
+ - spec/models/job_create_spec.rb
414
+ - spec/models/storage_system_spec.rb
415
+ - spec/models/service_resource_attachment_spec.rb
416
+ - spec/models/system_type_create_spec.rb
417
+ - spec/models/capability_translation_create_spec.rb
418
+ - spec/models/volume_safe_delete_create_spec.rb
419
+ - spec/models/service_abstract_capability_value_spec.rb
420
+ - spec/models/host_create_spec.rb
421
+ - spec/models/address_create_spec.rb
422
+ - spec/models/storage_resource_response_spec.rb
423
+ - spec/models/native_capability_spec.rb
424
+ - spec/models/account_spec.rb
425
+ - spec/models/storage_host_update_spec.rb
426
+ - spec/models/volume_update_spec.rb
427
+ - spec/models/storage_host_volume_mapping_response_spec.rb
428
+ - spec/models/host_cluster_response_spec.rb
430
429
  - spec/models/auto_sde_project_spec.rb
430
+ - spec/models/capability_translation_spec.rb
431
+ - spec/models/provisioning_strategy_spec.rb
431
432
  - spec/spec_helper.rb