autosde_openapi_client 2.4.2 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f82cbf09b45bfc300554e39a3e013f32d3aebac2dff95a0974600b6e47f355c
4
- data.tar.gz: '039bc7727a0eceeaec4d1bd07bd2caaf809e77b7feffd01672e2168572cd690f'
3
+ metadata.gz: f8332457da7b4581b3e7c59f96c412cd923d41b7df44cc46e71ac470f58a4d4b
4
+ data.tar.gz: 9008912b40c9db630bda91f2a673bf637394239afb86e5dfae2f212155dadf77
5
5
  SHA512:
6
- metadata.gz: c7ed6c1fa8ad25aa5a52ceb5d891f0782a124f31cec11aaac3ae6f3c1d56f43f3d184420158b42df4a5a2736d298f99ef31c7abbe535d8afe79ea2d42854ccee
7
- data.tar.gz: c70879f74cc2c547a3b4a652478677212edf7a7a0ca2cc44a93417c1b6b609c9e91feec4840be86d8ac3404c162a6e5ff788739f2e8e5ac60afc44ac11e22180
6
+ metadata.gz: 64d788f928c0fc5fa48a0d98780bab2a7c161398d48438161dff39455426f73b0b3803fbf652545772a9b1c53016da8d83e09658280d0d8f939b56293d6d35f9
7
+ data.tar.gz: 0ea24fd6a394282b67eb3ef6fb9c4235332768aac5a2eeeb93cf3d63ec191605004f96861755ec47afb1208168c963f5898ae6aa02f0d05a1eb1f7b00f75c5d3
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **refresh_all_storage_systems** | **Boolean** | refresh_all_storage_systems | [optional][default to false] |
7
8
  | **resource_type** | **String** | resource_type | [optional] |
8
9
  | **storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional] |
9
10
 
@@ -13,6 +14,7 @@
13
14
  require 'autosde_openapi_client'
14
15
 
15
16
  instance = AutosdeOpenapiClient::RefreshSystem.new(
17
+ refresh_all_storage_systems: null,
16
18
  resource_type: null,
17
19
  storage_system: null
18
20
  )
@@ -16,6 +16,9 @@ require 'time'
16
16
  module AutosdeOpenapiClient
17
17
  # RefreshSystem object represents refreshing of the storage system.
18
18
  class RefreshSystem
19
+ # refresh_all_storage_systems
20
+ attr_accessor :refresh_all_storage_systems
21
+
19
22
  # resource_type
20
23
  attr_accessor :resource_type
21
24
 
@@ -46,6 +49,7 @@ module AutosdeOpenapiClient
46
49
  # Attribute mapping from ruby-style variable name to JSON key.
47
50
  def self.attribute_map
48
51
  {
52
+ :'refresh_all_storage_systems' => :'refresh_all_storage_systems',
49
53
  :'resource_type' => :'resource_type',
50
54
  :'storage_system' => :'storage_system'
51
55
  }
@@ -59,6 +63,7 @@ module AutosdeOpenapiClient
59
63
  # Attribute type mapping.
60
64
  def self.openapi_types
61
65
  {
66
+ :'refresh_all_storage_systems' => :'Boolean',
62
67
  :'resource_type' => :'String',
63
68
  :'storage_system' => :'StorageSystem'
64
69
  }
@@ -85,6 +90,12 @@ module AutosdeOpenapiClient
85
90
  h[k.to_sym] = v
86
91
  }
87
92
 
93
+ if attributes.key?(:'refresh_all_storage_systems')
94
+ self.refresh_all_storage_systems = attributes[:'refresh_all_storage_systems']
95
+ else
96
+ self.refresh_all_storage_systems = false
97
+ end
98
+
88
99
  if attributes.key?(:'resource_type')
89
100
  self.resource_type = attributes[:'resource_type']
90
101
  end
@@ -104,7 +115,7 @@ module AutosdeOpenapiClient
104
115
  # Check to see if the all the properties in the model are valid
105
116
  # @return true if the model is valid
106
117
  def valid?
107
- resource_type_validator = EnumAttributeValidator.new('String', ["system_resources", "volumes_and_snapshots", "hosts", "events"])
118
+ resource_type_validator = EnumAttributeValidator.new('String', ["all_system_components", "system_resources", "volumes", "hosts", "events"])
108
119
  return false unless resource_type_validator.valid?(@resource_type)
109
120
  true
110
121
  end
@@ -112,7 +123,7 @@ module AutosdeOpenapiClient
112
123
  # Custom attribute writer method checking allowed values (enum).
113
124
  # @param [Object] resource_type Object to be assigned
114
125
  def resource_type=(resource_type)
115
- validator = EnumAttributeValidator.new('String', ["system_resources", "volumes_and_snapshots", "hosts", "events"])
126
+ validator = EnumAttributeValidator.new('String', ["all_system_components", "system_resources", "volumes", "hosts", "events"])
116
127
  unless validator.valid?(resource_type)
117
128
  fail ArgumentError, "invalid value for \"resource_type\", must be one of #{validator.allowable_values}."
118
129
  end
@@ -124,6 +135,7 @@ module AutosdeOpenapiClient
124
135
  def ==(o)
125
136
  return true if self.equal?(o)
126
137
  self.class == o.class &&
138
+ refresh_all_storage_systems == o.refresh_all_storage_systems &&
127
139
  resource_type == o.resource_type &&
128
140
  storage_system == o.storage_system
129
141
  end
@@ -137,7 +149,7 @@ module AutosdeOpenapiClient
137
149
  # Calculates hash code according to all attributes.
138
150
  # @return [Integer] Hash code
139
151
  def hash
140
- [resource_type, storage_system].hash
152
+ [refresh_all_storage_systems, resource_type, storage_system].hash
141
153
  end
142
154
 
143
155
  # 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: 2.4.2
6
+ The version of the OpenAPI document: 2.4.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 = '2.4.2'
14
+ VERSION = '2.4.3'
15
15
  end
@@ -25,10 +25,16 @@ describe AutosdeOpenapiClient::RefreshSystem do
25
25
  expect(instance).to be_instance_of(AutosdeOpenapiClient::RefreshSystem)
26
26
  end
27
27
  end
28
+ describe 'test attribute "refresh_all_storage_systems"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  describe 'test attribute "resource_type"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["system_resources", "volumes_and_snapshots", "hosts", "events"])
37
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["all_system_components", "system_resources", "volumes", "hosts", "events"])
32
38
  # validator.allowable_values.each do |value|
33
39
  # expect { instance.resource_type = value }.not_to raise_error
34
40
  # end
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: 2.4.2
4
+ version: 2.4.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-02-15 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -410,111 +410,111 @@ signing_key:
410
410
  specification_version: 4
411
411
  summary: Site Manager API Ruby Gem
412
412
  test_files:
413
- - spec/api/host_volume_connection_api_spec.rb
414
- - spec/api/address_api_spec.rb
415
- - spec/api/storage_host_api_spec.rb
416
- - spec/api/event_api_spec.rb
413
+ - spec/api/authentication_api_spec.rb
414
+ - spec/api/storage_resource_api_spec.rb
415
+ - spec/api/abstract_capability_api_spec.rb
416
+ - spec/api/snapshot_api_spec.rb
417
+ - spec/api/service_abstract_capability_value_api_spec.rb
418
+ - spec/api/storage_hosts_mapping_api_spec.rb
419
+ - spec/api/native_capability_api_spec.rb
420
+ - spec/api/host_cluster_volume_mapping_api_spec.rb
421
+ - spec/api/profile_api_spec.rb
417
422
  - spec/api/capability_translation_api_spec.rb
418
- - spec/api/auto_sde_project_api_spec.rb
423
+ - spec/api/service_api_spec.rb
419
424
  - spec/api/auto_sde_role_api_spec.rb
425
+ - spec/api/volume_clone_api_spec.rb
426
+ - spec/api/host_cluster_membership_api_spec.rb
420
427
  - spec/api/service_resource_attachment_api_spec.rb
421
- - spec/api/snapshot_api_spec.rb
422
- - spec/api/celery_config_api_spec.rb
423
- - spec/api/abstract_capability_api_spec.rb
424
- - spec/api/host_cluster_volume_mapping_api_spec.rb
425
- - spec/api/job_api_spec.rb
426
- - spec/api/native_capability_api_spec.rb
427
- - spec/api/storage_system_api_spec.rb
428
428
  - spec/api/user_api_spec.rb
429
- - spec/api/host_cluster_api_spec.rb
429
+ - spec/api/job_api_spec.rb
430
+ - spec/api/volume_api_spec.rb
431
+ - spec/api/auto_sde_project_api_spec.rb
432
+ - spec/api/validate_system_api_spec.rb
430
433
  - spec/api/provisioning_strategy_api_spec.rb
431
- - spec/api/storage_resource_api_spec.rb
432
- - spec/api/storage_host_wwpn_candidates_api_spec.rb
433
434
  - spec/api/system_type_api_spec.rb
434
- - spec/api/account_api_spec.rb
435
- - spec/api/service_abstract_capability_value_api_spec.rb
436
- - spec/api/profile_api_spec.rb
435
+ - spec/api/storage_host_api_spec.rb
436
+ - spec/api/storage_host_wwpn_candidates_api_spec.rb
437
437
  - spec/api/refresh_system_api_spec.rb
438
- - spec/api/host_cluster_membership_api_spec.rb
439
- - spec/api/validate_system_api_spec.rb
440
- - spec/api/volume_clone_api_spec.rb
441
- - spec/api/volume_api_spec.rb
442
- - spec/api/authentication_api_spec.rb
443
- - spec/api/storage_hosts_mapping_api_spec.rb
444
438
  - spec/api/host_api_spec.rb
445
- - spec/api/service_api_spec.rb
439
+ - spec/api/address_api_spec.rb
440
+ - spec/api/account_api_spec.rb
441
+ - spec/api/event_api_spec.rb
442
+ - spec/api/celery_config_api_spec.rb
443
+ - spec/api/storage_system_api_spec.rb
444
+ - spec/api/host_cluster_api_spec.rb
445
+ - spec/api/host_volume_connection_api_spec.rb
446
446
  - spec/api_client_spec.rb
447
447
  - spec/configuration_spec.rb
448
- - spec/models/storage_hosts_mapping_response_spec.rb
449
- - spec/models/job_create_spec.rb
450
- - spec/models/snapshot_spec.rb
451
- - spec/models/celery_config_spec.rb
448
+ - spec/models/abstract_capability_response_spec.rb
449
+ - spec/models/system_type_response_spec.rb
450
+ - spec/models/native_capability_spec.rb
451
+ - spec/models/storage_system_update_spec.rb
452
+ - spec/models/storage_resource_spec.rb
453
+ - spec/models/async_response_spec.rb
454
+ - spec/models/snapshot_response_spec.rb
455
+ - spec/models/host_cluster_volume_mapping_create_spec.rb
456
+ - spec/models/storage_resource_update_spec.rb
457
+ - spec/models/service_resource_attachment_spec.rb
458
+ - spec/models/storage_hosts_mapping_spec.rb
459
+ - spec/models/host_cluster_spec.rb
460
+ - spec/models/service_abstract_capability_value_response_spec.rb
461
+ - spec/models/storage_host_wwpn_candidates_spec.rb
452
462
  - spec/models/account_post_response_spec.rb
463
+ - spec/models/user_create_spec.rb
453
464
  - spec/models/storage_host_spec.rb
454
- - spec/models/host_cluster_volume_mapping_create_spec.rb
455
- - spec/models/service_spec.rb
456
- - spec/models/async_response_spec.rb
457
- - spec/models/system_type_spec.rb
458
- - spec/models/host_cluster_membership_spec.rb
459
- - spec/models/service_create_spec.rb
460
- - spec/models/storage_resource_spec.rb
465
+ - spec/models/storage_system_response_spec.rb
466
+ - spec/models/service_abstract_capability_value_spec.rb
467
+ - spec/models/volume_spec.rb
468
+ - spec/models/auto_sde_role_spec.rb
469
+ - spec/models/service_response_spec.rb
470
+ - spec/models/host_cluster_volume_mapping_response_spec.rb
461
471
  - spec/models/event_response_spec.rb
462
- - spec/models/address_spec.rb
463
- - spec/models/storage_host_response_spec.rb
472
+ - spec/models/user_spec.rb
473
+ - spec/models/host_create_spec.rb
474
+ - spec/models/event_spec.rb
475
+ - spec/models/storage_system_create_spec.rb
464
476
  - spec/models/authentication_spec.rb
465
- - spec/models/volume_response_spec.rb
466
- - spec/models/storage_system_response_spec.rb
467
- - spec/models/storage_resource_update_spec.rb
477
+ - spec/models/provisioning_strategy_spec.rb
478
+ - spec/models/job_spec.rb
479
+ - spec/models/storage_resource_response_spec.rb
480
+ - spec/models/host_volume_connection_create_spec.rb
468
481
  - spec/models/auto_sde_project_spec.rb
469
- - spec/models/system_type_response_spec.rb
470
- - spec/models/native_capability_spec.rb
471
- - spec/models/host_cluster_volume_mapping_spec.rb
472
- - spec/models/event_spec.rb
473
- - spec/models/storage_hosts_mapping_create_spec.rb
482
+ - spec/models/system_type_spec.rb
483
+ - spec/models/storage_resource_create_spec.rb
484
+ - spec/models/auth_response_spec.rb
485
+ - spec/models/capability_translation_spec.rb
486
+ - spec/models/service_resource_attachment_response_spec.rb
474
487
  - spec/models/abstract_capability_spec.rb
475
- - spec/models/snapshot_response_spec.rb
476
- - spec/models/host_volume_connection_create_spec.rb
477
- - spec/models/job_spec.rb
488
+ - spec/models/host_cluster_response_spec.rb
489
+ - spec/models/storage_host_response_spec.rb
478
490
  - spec/models/storage_host_create_spec.rb
479
- - spec/models/service_abstract_capability_value_response_spec.rb
491
+ - spec/models/validate_system_spec.rb
492
+ - spec/models/storage_hosts_mapping_response_spec.rb
493
+ - spec/models/host_volume_connection_spec.rb
494
+ - spec/models/volume_clone_spec.rb
480
495
  - spec/models/host_spec.rb
496
+ - spec/models/storage_hosts_mapping_create_spec.rb
481
497
  - spec/models/profile_spec.rb
482
- - spec/models/volume_clone_spec.rb
483
- - spec/models/storage_hosts_mapping_spec.rb
484
- - spec/models/auth_response_spec.rb
485
- - spec/models/volume_spec.rb
486
- - spec/models/capability_translation_create_spec.rb
487
- - spec/models/service_response_spec.rb
488
- - spec/models/host_create_spec.rb
489
- - spec/models/abstract_capability_response_spec.rb
490
- - spec/models/validate_system_spec.rb
491
- - spec/models/storage_host_wwpn_candidates_spec.rb
492
- - spec/models/snapshot_create_spec.rb
498
+ - spec/models/service_spec.rb
499
+ - spec/models/user_update_spec.rb
500
+ - spec/models/volume_update_spec.rb
501
+ - spec/models/celery_config_spec.rb
502
+ - spec/models/volume_create_spec.rb
503
+ - spec/models/address_spec.rb
504
+ - spec/models/system_type_create_spec.rb
505
+ - spec/models/host_cluster_volume_mapping_spec.rb
506
+ - spec/models/snapshot_spec.rb
493
507
  - spec/models/storage_host_update_spec.rb
494
- - spec/models/storage_resource_create_spec.rb
508
+ - spec/models/account_spec.rb
495
509
  - spec/models/address_create_spec.rb
496
- - spec/models/storage_system_create_spec.rb
497
- - spec/models/volume_create_spec.rb
498
- - spec/models/service_resource_attachment_spec.rb
510
+ - spec/models/capability_translation_create_spec.rb
511
+ - spec/models/host_cluster_membership_spec.rb
512
+ - spec/models/job_create_spec.rb
513
+ - spec/models/volume_response_spec.rb
514
+ - spec/models/host_cluster_create_spec.rb
499
515
  - spec/models/refresh_system_spec.rb
500
- - spec/models/user_create_spec.rb
501
- - spec/models/host_cluster_spec.rb
516
+ - spec/models/snapshot_create_spec.rb
517
+ - spec/models/service_create_spec.rb
502
518
  - spec/models/storage_system_spec.rb
503
- - spec/models/auto_sde_role_spec.rb
504
- - spec/models/storage_system_update_spec.rb
505
- - spec/models/service_resource_attachment_response_spec.rb
506
- - spec/models/host_cluster_response_spec.rb
507
- - spec/models/host_cluster_create_spec.rb
508
- - spec/models/service_abstract_capability_value_spec.rb
509
- - spec/models/host_cluster_volume_mapping_response_spec.rb
510
- - spec/models/storage_resource_response_spec.rb
511
- - spec/models/provisioning_strategy_spec.rb
512
519
  - spec/models/account_post_request_spec.rb
513
- - spec/models/user_update_spec.rb
514
- - spec/models/account_spec.rb
515
- - spec/models/host_volume_connection_spec.rb
516
- - spec/models/user_spec.rb
517
- - spec/models/capability_translation_spec.rb
518
- - spec/models/volume_update_spec.rb
519
- - spec/models/system_type_create_spec.rb
520
520
  - spec/spec_helper.rb