autosde_openapi_client 1.1.20 → 1.1.23

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: fa09fcf85e3b134679d3d5a5fcea43dafef64d860bb9873d6a46ba02c5b1ae8d
4
- data.tar.gz: 2116259a1d255afd82f5c8f446d0eece6334ee2e1a0de8f7b569133b0a073e2d
3
+ metadata.gz: d47a47e43e26c6cade54f8dac4067bb8032fe6860f0da8f7386293ab35cb2413
4
+ data.tar.gz: d80d11f40e9feafc71875c6e8da8ce6b83f125956aed86807655e2bd81980679
5
5
  SHA512:
6
- metadata.gz: f3a2ae51616e690180b2766e233d8c205109a072adebee49ff1b4d4f35e025de615b630524f757c0340ff4a9bdec5f85c6824e511969bbe0a4589e637283b7b9
7
- data.tar.gz: b4fb35d52fd7af7d7fe710d84505fe8dd5f4fc802bc3074c7b82619f8ccea9b42a134d2df01ba97d24338498da11cda5036aaba0ae2f9c127c8c40a8175c1720
6
+ metadata.gz: 941f2df8e70c77fc78f6cb67b588a7ef70963b08fcd9f0e7b6550d0e2eb67fac4d5fcc5e817ff3255b1d2ea008bcbfd216b569ec35c6f3c002c45242a532a6d8
7
+ data.tar.gz: e9c659798318d9948da76277073e4ecdb97d3b66ee00be11c7d40b4bf0630e39a80bb0fd8427d1b04ed99704adefdc98c46348f6ffcd705b8772684f57191f21
data/docs/Event.md CHANGED
@@ -4,12 +4,14 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **created_at** | **Time** | created_at | [optional] |
7
8
  | **description** | **String** | description | [optional] |
8
9
  | **error_code** | **String** | error_code | [optional] |
9
10
  | **event_id** | **Integer** | event_id | [optional] |
10
11
  | **event_type** | **String** | event_type | [optional] |
11
12
  | **fixed** | **String** | fixed | [optional] |
12
13
  | **last_timestamp** | **Time** | last_timestamp | [optional] |
14
+ | **refresh_interval** | **Integer** | refresh_interval | [optional] |
13
15
  | **storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional] |
14
16
  | **uuid** | **String** | uuid | [optional] |
15
17
 
@@ -19,12 +21,14 @@
19
21
  require 'autosde_openapi_client'
20
22
 
21
23
  instance = AutosdeOpenapiClient::Event.new(
24
+ created_at: null,
22
25
  description: null,
23
26
  error_code: null,
24
27
  event_id: null,
25
28
  event_type: null,
26
29
  fixed: null,
27
30
  last_timestamp: null,
31
+ refresh_interval: null,
28
32
  storage_system: null,
29
33
  uuid: null
30
34
  )
@@ -9,6 +9,7 @@
9
9
  | **chap_name** | **String** | chap_name | [optional] |
10
10
  | **chap_secret** | **String** | chap_secret | [optional] |
11
11
  | **component_state** | **String** | component_state | [optional] |
12
+ | **initial_refresh** | **Boolean** | initial_refresh | [optional][default to true] |
12
13
  | **iqn** | **String** | | [optional] |
13
14
  | **management_ip** | **String** | management_ip | [optional] |
14
15
  | **name** | **String** | name | [optional] |
@@ -34,6 +35,7 @@ instance = AutosdeOpenapiClient::StorageSystemCreate.new(
34
35
  chap_name: null,
35
36
  chap_secret: null,
36
37
  component_state: null,
38
+ initial_refresh: null,
37
39
  iqn: null,
38
40
  management_ip: null,
39
41
  name: null,
@@ -16,6 +16,9 @@ require 'time'
16
16
  module AutosdeOpenapiClient
17
17
  # Event object represents storage system alerts and messages.
18
18
  class Event
19
+ # created_at
20
+ attr_accessor :created_at
21
+
19
22
  # description
20
23
  attr_accessor :description
21
24
 
@@ -34,6 +37,9 @@ module AutosdeOpenapiClient
34
37
  # last_timestamp
35
38
  attr_accessor :last_timestamp
36
39
 
40
+ # refresh_interval
41
+ attr_accessor :refresh_interval
42
+
37
43
  attr_accessor :storage_system
38
44
 
39
45
  # uuid
@@ -42,12 +48,14 @@ module AutosdeOpenapiClient
42
48
  # Attribute mapping from ruby-style variable name to JSON key.
43
49
  def self.attribute_map
44
50
  {
51
+ :'created_at' => :'created_at',
45
52
  :'description' => :'description',
46
53
  :'error_code' => :'error_code',
47
54
  :'event_id' => :'event_id',
48
55
  :'event_type' => :'event_type',
49
56
  :'fixed' => :'fixed',
50
57
  :'last_timestamp' => :'last_timestamp',
58
+ :'refresh_interval' => :'refresh_interval',
51
59
  :'storage_system' => :'storage_system',
52
60
  :'uuid' => :'uuid'
53
61
  }
@@ -61,12 +69,14 @@ module AutosdeOpenapiClient
61
69
  # Attribute type mapping.
62
70
  def self.openapi_types
63
71
  {
72
+ :'created_at' => :'Time',
64
73
  :'description' => :'String',
65
74
  :'error_code' => :'String',
66
75
  :'event_id' => :'Integer',
67
76
  :'event_type' => :'String',
68
77
  :'fixed' => :'String',
69
78
  :'last_timestamp' => :'Time',
79
+ :'refresh_interval' => :'Integer',
70
80
  :'storage_system' => :'StorageSystem',
71
81
  :'uuid' => :'String'
72
82
  }
@@ -93,6 +103,10 @@ module AutosdeOpenapiClient
93
103
  h[k.to_sym] = v
94
104
  }
95
105
 
106
+ if attributes.key?(:'created_at')
107
+ self.created_at = attributes[:'created_at']
108
+ end
109
+
96
110
  if attributes.key?(:'description')
97
111
  self.description = attributes[:'description']
98
112
  end
@@ -117,6 +131,10 @@ module AutosdeOpenapiClient
117
131
  self.last_timestamp = attributes[:'last_timestamp']
118
132
  end
119
133
 
134
+ if attributes.key?(:'refresh_interval')
135
+ self.refresh_interval = attributes[:'refresh_interval']
136
+ end
137
+
120
138
  if attributes.key?(:'storage_system')
121
139
  self.storage_system = attributes[:'storage_system']
122
140
  end
@@ -144,12 +162,14 @@ module AutosdeOpenapiClient
144
162
  def ==(o)
145
163
  return true if self.equal?(o)
146
164
  self.class == o.class &&
165
+ created_at == o.created_at &&
147
166
  description == o.description &&
148
167
  error_code == o.error_code &&
149
168
  event_id == o.event_id &&
150
169
  event_type == o.event_type &&
151
170
  fixed == o.fixed &&
152
171
  last_timestamp == o.last_timestamp &&
172
+ refresh_interval == o.refresh_interval &&
153
173
  storage_system == o.storage_system &&
154
174
  uuid == o.uuid
155
175
  end
@@ -163,7 +183,7 @@ module AutosdeOpenapiClient
163
183
  # Calculates hash code according to all attributes.
164
184
  # @return [Integer] Hash code
165
185
  def hash
166
- [description, error_code, event_id, event_type, fixed, last_timestamp, storage_system, uuid].hash
186
+ [created_at, description, error_code, event_id, event_type, fixed, last_timestamp, refresh_interval, storage_system, uuid].hash
167
187
  end
168
188
 
169
189
  # Builds the object from hash
@@ -31,6 +31,9 @@ module AutosdeOpenapiClient
31
31
  # component_state
32
32
  attr_accessor :component_state
33
33
 
34
+ # initial_refresh
35
+ attr_accessor :initial_refresh
36
+
34
37
  attr_accessor :iqn
35
38
 
36
39
  # management_ip
@@ -98,6 +101,7 @@ module AutosdeOpenapiClient
98
101
  :'chap_name' => :'chap_name',
99
102
  :'chap_secret' => :'chap_secret',
100
103
  :'component_state' => :'component_state',
104
+ :'initial_refresh' => :'initial_refresh',
101
105
  :'iqn' => :'iqn',
102
106
  :'management_ip' => :'management_ip',
103
107
  :'name' => :'name',
@@ -127,6 +131,7 @@ module AutosdeOpenapiClient
127
131
  :'chap_name' => :'String',
128
132
  :'chap_secret' => :'String',
129
133
  :'component_state' => :'String',
134
+ :'initial_refresh' => :'Boolean',
130
135
  :'iqn' => :'String',
131
136
  :'management_ip' => :'String',
132
137
  :'name' => :'String',
@@ -188,6 +193,12 @@ module AutosdeOpenapiClient
188
193
  self.component_state = attributes[:'component_state']
189
194
  end
190
195
 
196
+ if attributes.key?(:'initial_refresh')
197
+ self.initial_refresh = attributes[:'initial_refresh']
198
+ else
199
+ self.initial_refresh = true
200
+ end
201
+
191
202
  if attributes.key?(:'iqn')
192
203
  self.iqn = attributes[:'iqn']
193
204
  end
@@ -305,6 +316,7 @@ module AutosdeOpenapiClient
305
316
  chap_name == o.chap_name &&
306
317
  chap_secret == o.chap_secret &&
307
318
  component_state == o.component_state &&
319
+ initial_refresh == o.initial_refresh &&
308
320
  iqn == o.iqn &&
309
321
  management_ip == o.management_ip &&
310
322
  name == o.name &&
@@ -329,7 +341,7 @@ module AutosdeOpenapiClient
329
341
  # Calculates hash code according to all attributes.
330
342
  # @return [Integer] Hash code
331
343
  def hash
332
- [auto_add_pools, auto_setup, chap_name, chap_secret, component_state, iqn, management_ip, name, password, port_type, secondary_ip, status, storage_array, storage_driver, storage_family, system_type, user, wwpn].hash
344
+ [auto_add_pools, auto_setup, chap_name, chap_secret, component_state, initial_refresh, iqn, management_ip, name, password, port_type, secondary_ip, status, storage_array, storage_driver, storage_family, system_type, user, wwpn].hash
333
345
  end
334
346
 
335
347
  # 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.20
6
+ The version of the OpenAPI document: 1.1.23
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.20'
14
+ VERSION = '1.1.23'
15
15
  end
@@ -25,6 +25,12 @@ describe AutosdeOpenapiClient::Event do
25
25
  expect(instance).to be_instance_of(AutosdeOpenapiClient::Event)
26
26
  end
27
27
  end
28
+ describe 'test attribute "created_at"' 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 "description"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -61,6 +67,12 @@ describe AutosdeOpenapiClient::Event do
61
67
  end
62
68
  end
63
69
 
70
+ describe 'test attribute "refresh_interval"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
64
76
  describe 'test attribute "storage_system"' do
65
77
  it 'should work' do
66
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -59,6 +59,12 @@ describe AutosdeOpenapiClient::StorageSystemCreate do
59
59
  end
60
60
  end
61
61
 
62
+ describe 'test attribute "initial_refresh"' 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
+
62
68
  describe 'test attribute "iqn"' do
63
69
  it 'should work' do
64
70
  # 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.20
4
+ version: 1.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -368,97 +368,97 @@ signing_key:
368
368
  specification_version: 4
369
369
  summary: Site Manager API Ruby Gem
370
370
  test_files:
371
- - spec/api/volume_api_spec.rb
372
- - spec/api/validate_system_api_spec.rb
373
- - spec/api/auto_sde_role_api_spec.rb
371
+ - spec/api/storage_resource_api_spec.rb
372
+ - spec/api/provisioning_strategy_api_spec.rb
373
+ - spec/api/service_resource_attachment_api_spec.rb
374
+ - spec/api/authentication_api_spec.rb
374
375
  - spec/api/user_api_spec.rb
375
- - spec/api/host_cluster_membership_api_spec.rb
376
- - spec/api/storage_host_volume_mapping_api_spec.rb
377
- - spec/api/native_capability_api_spec.rb
378
- - spec/api/host_cluster_api_spec.rb
376
+ - spec/api/volume_api_spec.rb
377
+ - spec/api/system_type_api_spec.rb
378
+ - spec/api/service_api_spec.rb
379
379
  - spec/api/capability_translation_api_spec.rb
380
- - spec/api/address_api_spec.rb
380
+ - spec/api/host_api_spec.rb
381
381
  - spec/api/storage_system_api_spec.rb
382
+ - spec/api/host_cluster_api_spec.rb
382
383
  - spec/api/host_cluster_volume_mapping_api_spec.rb
383
- - spec/api/provisioning_strategy_api_spec.rb
384
- - spec/api/job_api_spec.rb
385
- - spec/api/host_api_spec.rb
386
- - spec/api/service_api_spec.rb
387
- - spec/api/storage_host_wwpn_candidates_api_spec.rb
384
+ - spec/api/storage_host_volume_mapping_api_spec.rb
385
+ - spec/api/native_capability_api_spec.rb
386
+ - spec/api/host_cluster_membership_api_spec.rb
387
+ - spec/api/auto_sde_project_api_spec.rb
388
+ - spec/api/host_volume_connection_api_spec.rb
389
+ - spec/api/storage_host_api_spec.rb
388
390
  - spec/api/event_api_spec.rb
391
+ - spec/api/volume_safe_delete_api_spec.rb
389
392
  - spec/api/account_api_spec.rb
390
- - spec/api/authentication_api_spec.rb
391
- - spec/api/host_volume_connection_api_spec.rb
392
- - spec/api/service_resource_attachment_api_spec.rb
393
- - spec/api/storage_resource_api_spec.rb
394
- - spec/api/profile_api_spec.rb
395
- - spec/api/auto_sde_project_api_spec.rb
396
393
  - spec/api/snapshot_api_spec.rb
397
- - spec/api/volume_safe_delete_api_spec.rb
394
+ - spec/api/auto_sde_role_api_spec.rb
395
+ - spec/api/profile_api_spec.rb
398
396
  - spec/api/abstract_capability_api_spec.rb
399
- - spec/api/storage_host_api_spec.rb
400
- - spec/api/system_type_api_spec.rb
397
+ - spec/api/validate_system_api_spec.rb
398
+ - spec/api/job_api_spec.rb
399
+ - spec/api/storage_host_wwpn_candidates_api_spec.rb
400
+ - spec/api/address_api_spec.rb
401
401
  - spec/api_client_spec.rb
402
402
  - spec/configuration_spec.rb
403
- - spec/models/storage_system_create_spec.rb
404
- - spec/models/storage_host_response_spec.rb
405
- - spec/models/snapshot_create_spec.rb
406
- - spec/models/event_spec.rb
407
- - spec/models/capability_translation_create_spec.rb
408
- - spec/models/validate_system_spec.rb
409
- - spec/models/host_volume_connection_create_spec.rb
410
- - spec/models/host_create_spec.rb
403
+ - spec/models/storage_resource_spec.rb
404
+ - spec/models/host_cluster_spec.rb
405
+ - spec/models/user_spec.rb
406
+ - spec/models/account_post_response_spec.rb
407
+ - spec/models/account_spec.rb
411
408
  - spec/models/host_cluster_response_spec.rb
412
- - spec/models/system_type_create_spec.rb
409
+ - spec/models/volume_safe_delete_create_spec.rb
410
+ - spec/models/job_spec.rb
413
411
  - spec/models/storage_resource_create_spec.rb
414
- - spec/models/account_post_request_spec.rb
415
- - spec/models/account_spec.rb
416
- - spec/models/auto_sde_role_spec.rb
417
- - spec/models/auto_sde_project_spec.rb
418
- - spec/models/host_volume_connection_spec.rb
419
- - spec/models/service_resource_attachment_spec.rb
420
- - spec/models/authentication_spec.rb
412
+ - spec/models/volume_spec.rb
421
413
  - spec/models/service_spec.rb
422
- - spec/models/host_spec.rb
414
+ - spec/models/snapshot_create_spec.rb
415
+ - spec/models/volume_create_spec.rb
416
+ - spec/models/system_type_create_spec.rb
417
+ - spec/models/event_spec.rb
418
+ - spec/models/address_spec.rb
419
+ - spec/models/storage_host_wwpn_candidates_spec.rb
420
+ - spec/models/host_volume_connection_spec.rb
421
+ - spec/models/host_create_spec.rb
423
422
  - spec/models/system_type_spec.rb
424
- - spec/models/service_abstract_capability_value_spec.rb
425
- - spec/models/snapshot_spec.rb
426
- - spec/models/host_cluster_create_spec.rb
427
- - spec/models/volume_spec.rb
428
- - spec/models/storage_host_volume_mapping_spec.rb
429
- - spec/models/volume_safe_delete_spec.rb
430
- - spec/models/user_spec.rb
431
- - spec/models/host_cluster_volume_mapping_create_spec.rb
432
- - spec/models/service_create_spec.rb
433
- - spec/models/volume_safe_delete_create_spec.rb
434
- - spec/models/volume_update_spec.rb
435
- - spec/models/profile_spec.rb
423
+ - spec/models/storage_system_create_spec.rb
424
+ - spec/models/service_resource_attachment_spec.rb
425
+ - spec/models/auto_sde_project_spec.rb
426
+ - spec/models/user_update_spec.rb
436
427
  - spec/models/abstract_capability_spec.rb
437
- - spec/models/user_create_spec.rb
438
- - spec/models/address_create_spec.rb
439
- - spec/models/storage_host_wwpn_candidates_spec.rb
440
- - spec/models/storage_system_spec.rb
441
- - spec/models/storage_resource_response_spec.rb
442
428
  - spec/models/storage_system_update_spec.rb
443
- - spec/models/storage_resource_spec.rb
444
- - spec/models/storage_host_create_spec.rb
445
- - spec/models/host_cluster_volume_mapping_response_spec.rb
446
- - spec/models/address_spec.rb
447
- - spec/models/storage_host_volume_mapping_response_spec.rb
448
- - spec/models/account_post_response_spec.rb
449
- - spec/models/storage_host_update_spec.rb
450
429
  - spec/models/volume_response_spec.rb
430
+ - spec/models/profile_spec.rb
431
+ - spec/models/provisioning_strategy_spec.rb
432
+ - spec/models/host_cluster_create_spec.rb
451
433
  - spec/models/auth_response_spec.rb
452
- - spec/models/job_create_spec.rb
453
- - spec/models/host_cluster_membership_spec.rb
454
- - spec/models/user_update_spec.rb
434
+ - spec/models/storage_host_volume_mapping_response_spec.rb
435
+ - spec/models/storage_host_create_spec.rb
436
+ - spec/models/storage_host_response_spec.rb
437
+ - spec/models/address_create_spec.rb
438
+ - spec/models/account_post_request_spec.rb
439
+ - spec/models/host_cluster_volume_mapping_spec.rb
440
+ - spec/models/storage_system_spec.rb
455
441
  - spec/models/native_capability_spec.rb
442
+ - spec/models/service_create_spec.rb
443
+ - spec/models/host_spec.rb
444
+ - spec/models/storage_host_volume_mapping_spec.rb
445
+ - spec/models/authentication_spec.rb
446
+ - spec/models/storage_resource_response_spec.rb
456
447
  - spec/models/storage_host_volume_mapping_create_spec.rb
448
+ - spec/models/user_create_spec.rb
449
+ - spec/models/auto_sde_role_spec.rb
450
+ - spec/models/service_abstract_capability_value_spec.rb
451
+ - spec/models/host_cluster_volume_mapping_create_spec.rb
452
+ - spec/models/validate_system_spec.rb
457
453
  - spec/models/capability_translation_spec.rb
458
- - spec/models/host_cluster_volume_mapping_spec.rb
454
+ - spec/models/volume_update_spec.rb
455
+ - spec/models/host_cluster_volume_mapping_response_spec.rb
456
+ - spec/models/snapshot_spec.rb
457
+ - spec/models/job_create_spec.rb
458
+ - spec/models/host_cluster_membership_spec.rb
459
+ - spec/models/host_volume_connection_create_spec.rb
460
+ - spec/models/capability_translation_create_spec.rb
461
+ - spec/models/volume_safe_delete_spec.rb
462
+ - spec/models/storage_host_update_spec.rb
459
463
  - spec/models/storage_host_spec.rb
460
- - spec/models/provisioning_strategy_spec.rb
461
- - spec/models/volume_create_spec.rb
462
- - spec/models/job_spec.rb
463
- - spec/models/host_cluster_spec.rb
464
464
  - spec/spec_helper.rb