autosde_openapi_client 3.2.7 → 3.2.9

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: 0025f8ce1f6ff1724c8688586a15db0ef1d52175de25fc5715c33dadd65ae7b2
4
- data.tar.gz: 4005862923b247dea56101ca3f26cc44737a98eda5754c706fbb1ea35800b66d
3
+ metadata.gz: e0901ca213ae4f7dfaf3f456cb53187d6e7d67c82441b845ec91b8d419a39e77
4
+ data.tar.gz: ebedcc42bf653bf52e0905b097d912218561b511427906513e0f85273d2c06bd
5
5
  SHA512:
6
- metadata.gz: ec9ce4aaa6a0a98f3855b5b737236cd35a68cb403718465c7620cb5b1cb6aba8982cf7541cf0e922dc83c439edaf3a8fcc39a8d6b37b7436ae87587abaf61723
7
- data.tar.gz: 3ca0c47b4b43816fb3c35bf31b9ab3fda7959e125ea7f6b195d249e4c77c83111cd8efc89b8cb7ebad63a8afb808306d023cb0c7ad735bc44142c1fa50ced4c2
6
+ metadata.gz: 7fc34e38ba17685e812e281aec1c8123d6b11c5479bb5928f5ce70839fa025716a6a295751a7ad247ddc2d4ca64a67a2b8a64a46a2f9d103f0607a26284afd84
7
+ data.tar.gz: a8dd220273b351ba63c24e7d210edb8b46c3ec8bb997f7c98e116308860cafbafd09a05b1b3f498d7cfc9f0d0b23c9907fed0c1e0d0596ee879183c94800668d
@@ -5,14 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **capability_id_list** | **Array<String>** | capability_id_list | [optional] |
8
- | **component_state** | **String** | component_state | [optional] |
9
- | **description** | **String** | description | [optional][default to ''] |
10
- | **name** | **String** | name | [optional] |
11
- | **profile** | [**Profile**](Profile.md) | | [optional] |
12
- | **project** | [**AutoSDEProject**](AutoSDEProject.md) | | [optional] |
13
- | **provisioning_strategy** | [**ProvisioningStrategy**](ProvisioningStrategy.md) | | [optional] |
14
- | **uuid** | **String** | uuid | [optional] |
15
- | **version** | **Integer** | The version of the service | [optional][default to 1] |
8
+ | **description** | **String** | description | [optional][default to 'null'] |
9
+ | **name** | **String** | name | [optional][default to 'null'] |
16
10
 
17
11
  ## Example
18
12
 
@@ -21,14 +15,8 @@ require 'autosde_openapi_client'
21
15
 
22
16
  instance = AutosdeOpenapiClient::ServiceUpdate.new(
23
17
  capability_id_list: null,
24
- component_state: null,
25
18
  description: null,
26
- name: null,
27
- profile: null,
28
- project: null,
29
- provisioning_strategy: null,
30
- uuid: null,
31
- version: null
19
+ name: null
32
20
  )
33
21
  ```
34
22
 
@@ -19,61 +19,18 @@ module AutosdeOpenapiClient
19
19
  # capability_id_list
20
20
  attr_accessor :capability_id_list
21
21
 
22
- # component_state
23
- attr_accessor :component_state
24
-
25
22
  # description
26
23
  attr_accessor :description
27
24
 
28
25
  # name
29
26
  attr_accessor :name
30
27
 
31
- attr_accessor :profile
32
-
33
- attr_accessor :project
34
-
35
- attr_accessor :provisioning_strategy
36
-
37
- # uuid
38
- attr_accessor :uuid
39
-
40
- # The version of the service
41
- attr_accessor :version
42
-
43
- class EnumAttributeValidator
44
- attr_reader :datatype
45
- attr_reader :allowable_values
46
-
47
- def initialize(datatype, allowable_values)
48
- @allowable_values = allowable_values.map do |value|
49
- case datatype.to_s
50
- when /Integer/i
51
- value.to_i
52
- when /Float/i
53
- value.to_f
54
- else
55
- value
56
- end
57
- end
58
- end
59
-
60
- def valid?(value)
61
- !value || allowable_values.include?(value)
62
- end
63
- end
64
-
65
28
  # Attribute mapping from ruby-style variable name to JSON key.
66
29
  def self.attribute_map
67
30
  {
68
31
  :'capability_id_list' => :'capability_id_list',
69
- :'component_state' => :'component_state',
70
32
  :'description' => :'description',
71
- :'name' => :'name',
72
- :'profile' => :'profile',
73
- :'project' => :'project',
74
- :'provisioning_strategy' => :'provisioning_strategy',
75
- :'uuid' => :'uuid',
76
- :'version' => :'version'
33
+ :'name' => :'name'
77
34
  }
78
35
  end
79
36
 
@@ -86,14 +43,8 @@ module AutosdeOpenapiClient
86
43
  def self.openapi_types
87
44
  {
88
45
  :'capability_id_list' => :'Array<String>',
89
- :'component_state' => :'String',
90
46
  :'description' => :'String',
91
- :'name' => :'String',
92
- :'profile' => :'Profile',
93
- :'project' => :'AutoSDEProject',
94
- :'provisioning_strategy' => :'ProvisioningStrategy',
95
- :'uuid' => :'String',
96
- :'version' => :'Integer'
47
+ :'name' => :'String'
97
48
  }
98
49
  end
99
50
 
@@ -124,40 +75,16 @@ module AutosdeOpenapiClient
124
75
  end
125
76
  end
126
77
 
127
- if attributes.key?(:'component_state')
128
- self.component_state = attributes[:'component_state']
129
- end
130
-
131
78
  if attributes.key?(:'description')
132
79
  self.description = attributes[:'description']
133
80
  else
134
- self.description = ''
81
+ self.description = 'null'
135
82
  end
136
83
 
137
84
  if attributes.key?(:'name')
138
85
  self.name = attributes[:'name']
139
- end
140
-
141
- if attributes.key?(:'profile')
142
- self.profile = attributes[:'profile']
143
- end
144
-
145
- if attributes.key?(:'project')
146
- self.project = attributes[:'project']
147
- end
148
-
149
- if attributes.key?(:'provisioning_strategy')
150
- self.provisioning_strategy = attributes[:'provisioning_strategy']
151
- end
152
-
153
- if attributes.key?(:'uuid')
154
- self.uuid = attributes[:'uuid']
155
- end
156
-
157
- if attributes.key?(:'version')
158
- self.version = attributes[:'version']
159
86
  else
160
- self.version = 1
87
+ self.name = 'null'
161
88
  end
162
89
  end
163
90
 
@@ -165,46 +92,23 @@ module AutosdeOpenapiClient
165
92
  # @return Array for valid properties with the reasons
166
93
  def list_invalid_properties
167
94
  invalid_properties = Array.new
168
- if !@component_state.nil? && @component_state.to_s.length > 32
169
- invalid_properties.push('invalid value for "component_state", the character length must be smaller than or equal to 32.')
170
- end
171
-
172
95
  invalid_properties
173
96
  end
174
97
 
175
98
  # Check to see if the all the properties in the model are valid
176
99
  # @return true if the model is valid
177
100
  def valid?
178
- component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
179
- return false unless component_state_validator.valid?(@component_state)
180
- return false if !@component_state.nil? && @component_state.to_s.length > 32
181
101
  true
182
102
  end
183
103
 
184
- # Custom attribute writer method checking allowed values (enum).
185
- # @param [Object] component_state Object to be assigned
186
- def component_state=(component_state)
187
- validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
188
- unless validator.valid?(component_state)
189
- fail ArgumentError, "invalid value for \"component_state\", must be one of #{validator.allowable_values}."
190
- end
191
- @component_state = component_state
192
- end
193
-
194
104
  # Checks equality by comparing each attribute.
195
105
  # @param [Object] Object to be compared
196
106
  def ==(o)
197
107
  return true if self.equal?(o)
198
108
  self.class == o.class &&
199
109
  capability_id_list == o.capability_id_list &&
200
- component_state == o.component_state &&
201
110
  description == o.description &&
202
- name == o.name &&
203
- profile == o.profile &&
204
- project == o.project &&
205
- provisioning_strategy == o.provisioning_strategy &&
206
- uuid == o.uuid &&
207
- version == o.version
111
+ name == o.name
208
112
  end
209
113
 
210
114
  # @see the `==` method
@@ -216,7 +120,7 @@ module AutosdeOpenapiClient
216
120
  # Calculates hash code according to all attributes.
217
121
  # @return [Integer] Hash code
218
122
  def hash
219
- [capability_id_list, component_state, description, name, profile, project, provisioning_strategy, uuid, version].hash
123
+ [capability_id_list, description, name].hash
220
124
  end
221
125
 
222
126
  # 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: 3.2.7
6
+ The version of the OpenAPI document: 3.2.9
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 = '3.2.7'
14
+ VERSION = '3.2.9'
15
15
  end
@@ -31,16 +31,6 @@ describe AutosdeOpenapiClient::ServiceUpdate do
31
31
  end
32
32
  end
33
33
 
34
- describe 'test attribute "component_state"' do
35
- it 'should work' do
36
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
38
- # validator.allowable_values.each do |value|
39
- # expect { instance.component_state = value }.not_to raise_error
40
- # end
41
- end
42
- end
43
-
44
34
  describe 'test attribute "description"' do
45
35
  it 'should work' do
46
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -53,34 +43,4 @@ describe AutosdeOpenapiClient::ServiceUpdate do
53
43
  end
54
44
  end
55
45
 
56
- describe 'test attribute "profile"' 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 "project"' 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 "provisioning_strategy"' 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 "version"' 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
46
  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: 3.2.7
4
+ version: 3.2.9
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-03-13 00:00:00.000000000 Z
11
+ date: 2023-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -428,117 +428,117 @@ signing_key:
428
428
  specification_version: 4
429
429
  summary: Site Manager API Ruby Gem
430
430
  test_files:
431
+ - spec/api/storage_host_api_spec.rb
431
432
  - spec/api/host_cluster_membership_api_spec.rb
432
- - spec/api/system_type_api_spec.rb
433
433
  - spec/api/service_resource_attachment_api_spec.rb
434
- - spec/api/refresh_system_api_spec.rb
435
- - spec/api/celery_config_api_spec.rb
436
- - spec/api/storage_hosts_mapping_api_spec.rb
437
- - spec/api/capability_translation_api_spec.rb
438
- - spec/api/host_api_spec.rb
439
- - spec/api/event_api_spec.rb
434
+ - spec/api/auto_sde_role_api_spec.rb
440
435
  - spec/api/snapshot_api_spec.rb
441
- - spec/api/host_cluster_api_spec.rb
442
- - spec/api/service_abstract_capability_value_api_spec.rb
436
+ - spec/api/storage_hosts_mapping_api_spec.rb
437
+ - spec/api/storage_host_wwpn_candidates_api_spec.rb
443
438
  - spec/api/validate_system_api_spec.rb
439
+ - spec/api/profile_api_spec.rb
440
+ - spec/api/provisioning_strategy_api_spec.rb
441
+ - spec/api/volume_migration_api_spec.rb
442
+ - spec/api/service_abstract_capability_value_api_spec.rb
444
443
  - spec/api/storage_resource_api_spec.rb
445
- - spec/api/storage_host_api_spec.rb
446
- - spec/api/volume_clone_api_spec.rb
447
- - spec/api/auto_sde_project_api_spec.rb
448
444
  - spec/api/address_api_spec.rb
449
- - spec/api/native_capability_api_spec.rb
450
- - spec/api/account_api_spec.rb
445
+ - spec/api/service_api_spec.rb
446
+ - spec/api/host_api_spec.rb
451
447
  - spec/api/volume_api_spec.rb
452
- - spec/api/abstract_capability_api_spec.rb
453
- - spec/api/profile_api_spec.rb
454
- - spec/api/storage_system_api_spec.rb
455
448
  - spec/api/user_api_spec.rb
456
- - spec/api/volume_migration_api_spec.rb
457
449
  - spec/api/job_api_spec.rb
458
450
  - spec/api/host_volume_connection_api_spec.rb
459
- - spec/api/auto_sde_role_api_spec.rb
460
- - spec/api/storage_host_wwpn_candidates_api_spec.rb
461
- - spec/api/service_api_spec.rb
462
- - spec/api/provisioning_strategy_api_spec.rb
463
- - spec/api/authentication_api_spec.rb
451
+ - spec/api/event_api_spec.rb
452
+ - spec/api/auto_sde_project_api_spec.rb
464
453
  - spec/api/host_cluster_volume_mapping_api_spec.rb
454
+ - spec/api/system_type_api_spec.rb
455
+ - spec/api/capability_translation_api_spec.rb
456
+ - spec/api/volume_clone_api_spec.rb
457
+ - spec/api/celery_config_api_spec.rb
458
+ - spec/api/abstract_capability_api_spec.rb
459
+ - spec/api/authentication_api_spec.rb
460
+ - spec/api/native_capability_api_spec.rb
461
+ - spec/api/storage_system_api_spec.rb
462
+ - spec/api/account_api_spec.rb
463
+ - spec/api/host_cluster_api_spec.rb
464
+ - spec/api/refresh_system_api_spec.rb
465
465
  - spec/api_client_spec.rb
466
466
  - spec/configuration_spec.rb
467
- - spec/models/volume_create_spec.rb
468
- - spec/models/async_response_spec.rb
469
- - spec/models/native_capability_spec.rb
467
+ - spec/models/host_cluster_response_spec.rb
468
+ - spec/models/storage_host_spec.rb
469
+ - spec/models/storage_system_create_spec.rb
470
+ - spec/models/service_resource_attachment_spec.rb
470
471
  - spec/models/host_volume_connection_create_spec.rb
471
- - spec/models/authentication_spec.rb
472
- - spec/models/job_response_spec.rb
473
- - spec/models/capability_translation_spec.rb
474
- - spec/models/celery_config_spec.rb
472
+ - spec/models/service_abstract_capability_value_response_spec.rb
473
+ - spec/models/host_spec.rb
474
+ - spec/models/address_create_spec.rb
475
+ - spec/models/storage_host_update_spec.rb
475
476
  - spec/models/snapshot_response_spec.rb
476
- - spec/models/system_type_spec.rb
477
- - spec/models/abstract_capability_response_spec.rb
478
- - spec/models/storage_host_wwpn_candidates_spec.rb
479
- - spec/models/service_update_spec.rb
480
- - spec/models/refresh_system_spec.rb
477
+ - spec/models/celery_config_spec.rb
478
+ - spec/models/storage_host_create_spec.rb
481
479
  - spec/models/storage_resource_spec.rb
482
- - spec/models/service_resource_attachment_response_spec.rb
483
- - spec/models/volume_response_spec.rb
484
- - spec/models/capability_translation_create_spec.rb
480
+ - spec/models/provisioning_strategy_spec.rb
481
+ - spec/models/host_volume_connection_spec.rb
482
+ - spec/models/account_spec.rb
483
+ - spec/models/host_cluster_membership_spec.rb
485
484
  - spec/models/account_post_request_spec.rb
486
- - spec/models/storage_system_create_spec.rb
487
- - spec/models/service_create_spec.rb
488
- - spec/models/system_type_response_spec.rb
489
- - spec/models/volume_spec.rb
490
- - spec/models/storage_system_response_spec.rb
491
- - spec/models/storage_host_create_spec.rb
492
- - spec/models/volume_clone_spec.rb
493
- - spec/models/service_spec.rb
494
- - spec/models/volume_migration_spec.rb
485
+ - spec/models/auto_sde_role_spec.rb
495
486
  - spec/models/auto_sde_project_spec.rb
496
- - spec/models/system_type_create_spec.rb
497
- - spec/models/profile_spec.rb
498
- - spec/models/job_create_spec.rb
499
- - spec/models/event_spec.rb
500
- - spec/models/host_cluster_membership_spec.rb
501
- - spec/models/host_volume_connection_spec.rb
487
+ - spec/models/async_response_spec.rb
488
+ - spec/models/volume_update_spec.rb
489
+ - spec/models/storage_resource_update_spec.rb
502
490
  - spec/models/snapshot_spec.rb
491
+ - spec/models/storage_system_response_spec.rb
492
+ - spec/models/snapshot_create_spec.rb
493
+ - spec/models/host_cluster_spec.rb
494
+ - spec/models/host_cluster_volume_mapping_create_spec.rb
495
+ - spec/models/event_spec.rb
496
+ - spec/models/storage_hosts_mapping_create_spec.rb
497
+ - spec/models/host_create_spec.rb
498
+ - spec/models/system_type_response_spec.rb
499
+ - spec/models/volume_spec.rb
500
+ - spec/models/job_response_spec.rb
501
+ - spec/models/service_abstract_capability_value_spec.rb
502
+ - spec/models/abstract_capability_response_spec.rb
503
+ - spec/models/storage_host_response_spec.rb
504
+ - spec/models/volume_create_spec.rb
505
+ - spec/models/service_response_spec.rb
503
506
  - spec/models/validate_system_data_spec.rb
504
- - spec/models/storage_resource_response_spec.rb
505
- - spec/models/service_abstract_capability_value_response_spec.rb
506
- - spec/models/storage_system_update_spec.rb
507
- - spec/models/user_create_spec.rb
508
- - spec/models/service_resource_attachment_spec.rb
507
+ - spec/models/storage_hosts_mapping_spec.rb
508
+ - spec/models/storage_host_wwpn_candidates_spec.rb
509
+ - spec/models/validate_system_spec.rb
510
+ - spec/models/host_cluster_create_spec.rb
511
+ - spec/models/capability_translation_create_spec.rb
512
+ - spec/models/service_create_spec.rb
513
+ - spec/models/address_spec.rb
514
+ - spec/models/capability_translation_spec.rb
515
+ - spec/models/host_cluster_volume_mapping_response_spec.rb
509
516
  - spec/models/user_update_spec.rb
510
- - spec/models/host_create_spec.rb
517
+ - spec/models/authentication_spec.rb
511
518
  - spec/models/host_cluster_volume_mapping_spec.rb
512
- - spec/models/host_cluster_create_spec.rb
513
- - spec/models/storage_resource_create_spec.rb
514
519
  - spec/models/abstract_capability_spec.rb
515
- - spec/models/snapshot_create_spec.rb
516
- - spec/models/address_create_spec.rb
517
- - spec/models/host_cluster_volume_mapping_response_spec.rb
518
- - spec/models/storage_resource_update_spec.rb
519
- - spec/models/host_cluster_update_spec.rb
520
- - spec/models/address_spec.rb
520
+ - spec/models/volume_clone_spec.rb
521
+ - spec/models/volume_response_spec.rb
522
+ - spec/models/storage_system_spec.rb
523
+ - spec/models/service_update_spec.rb
524
+ - spec/models/native_capability_spec.rb
525
+ - spec/models/refresh_system_spec.rb
526
+ - spec/models/service_resource_attachment_response_spec.rb
527
+ - spec/models/event_response_spec.rb
521
528
  - spec/models/auth_response_spec.rb
522
- - spec/models/provisioning_strategy_spec.rb
523
- - spec/models/account_spec.rb
524
- - spec/models/user_spec.rb
525
- - spec/models/host_spec.rb
526
- - spec/models/service_abstract_capability_value_spec.rb
527
- - spec/models/host_cluster_volume_mapping_create_spec.rb
528
- - spec/models/storage_host_update_spec.rb
529
- - spec/models/host_cluster_response_spec.rb
529
+ - spec/models/service_spec.rb
530
+ - spec/models/storage_system_update_spec.rb
530
531
  - spec/models/storage_hosts_mapping_response_spec.rb
531
- - spec/models/storage_hosts_mapping_create_spec.rb
532
+ - spec/models/system_type_spec.rb
532
533
  - spec/models/job_spec.rb
533
- - spec/models/storage_hosts_mapping_spec.rb
534
- - spec/models/validate_system_spec.rb
535
- - spec/models/storage_host_spec.rb
536
- - spec/models/event_response_spec.rb
534
+ - spec/models/user_spec.rb
535
+ - spec/models/storage_resource_response_spec.rb
536
+ - spec/models/host_cluster_update_spec.rb
537
+ - spec/models/system_type_create_spec.rb
538
+ - spec/models/profile_spec.rb
537
539
  - spec/models/account_post_response_spec.rb
538
- - spec/models/storage_host_response_spec.rb
539
- - spec/models/host_cluster_spec.rb
540
- - spec/models/service_response_spec.rb
541
- - spec/models/volume_update_spec.rb
542
- - spec/models/auto_sde_role_spec.rb
543
- - spec/models/storage_system_spec.rb
540
+ - spec/models/user_create_spec.rb
541
+ - spec/models/job_create_spec.rb
542
+ - spec/models/volume_migration_spec.rb
543
+ - spec/models/storage_resource_create_spec.rb
544
544
  - spec/spec_helper.rb