autosde_openapi_client 1.1.31 → 1.1.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -8
  3. data/docs/Event.md +0 -4
  4. data/docs/EventApi.md +16 -16
  5. data/docs/Job.md +0 -2
  6. data/docs/JobApi.md +0 -136
  7. data/docs/JobCreate.md +2 -2
  8. data/docs/StorageSystemCreate.md +0 -2
  9. data/lib/autosde_openapi_client/api/event_api.rb +12 -12
  10. data/lib/autosde_openapi_client/api/job_api.rb +0 -118
  11. data/lib/autosde_openapi_client/models/event.rb +2 -22
  12. data/lib/autosde_openapi_client/models/job.rb +1 -11
  13. data/lib/autosde_openapi_client/models/job_create.rb +8 -8
  14. data/lib/autosde_openapi_client/models/storage_system_create.rb +1 -13
  15. data/lib/autosde_openapi_client/version.rb +2 -2
  16. data/lib/autosde_openapi_client.rb +0 -5
  17. data/spec/api/event_api_spec.rb +4 -4
  18. data/spec/api/job_api_spec.rb +0 -20
  19. data/spec/models/event_spec.rb +0 -12
  20. data/spec/models/job_create_spec.rb +1 -1
  21. data/spec/models/job_spec.rb +0 -6
  22. data/spec/models/storage_system_create_spec.rb +0 -6
  23. metadata +73 -93
  24. data/docs/CeleryConfig.md +0 -20
  25. data/docs/CeleryConfigApi.md +0 -140
  26. data/docs/EventResponse.md +0 -36
  27. data/docs/RefreshSystem.md +0 -18
  28. data/docs/RefreshSystemApi.md +0 -75
  29. data/lib/autosde_openapi_client/api/celery_config_api.rb +0 -136
  30. data/lib/autosde_openapi_client/api/refresh_system_api.rb +0 -83
  31. data/lib/autosde_openapi_client/models/celery_config.rb +0 -230
  32. data/lib/autosde_openapi_client/models/event_response.rb +0 -310
  33. data/lib/autosde_openapi_client/models/refresh_system.rb +0 -220
  34. data/spec/api/celery_config_api_spec.rb +0 -54
  35. data/spec/api/refresh_system_api_spec.rb +0 -45
  36. data/spec/models/celery_config_spec.rb +0 -40
  37. data/spec/models/event_response_spec.rb +0 -88
  38. data/spec/models/refresh_system_spec.rb +0 -34
@@ -14,11 +14,8 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module AutosdeOpenapiClient
17
- # Event
17
+ # Event object represents storage system alerts and messages.
18
18
  class Event
19
- # created_at
20
- attr_accessor :created_at
21
-
22
19
  # description
23
20
  attr_accessor :description
24
21
 
@@ -37,9 +34,6 @@ module AutosdeOpenapiClient
37
34
  # last_timestamp
38
35
  attr_accessor :last_timestamp
39
36
 
40
- # refresh_interval
41
- attr_accessor :refresh_interval
42
-
43
37
  attr_accessor :storage_system
44
38
 
45
39
  # uuid
@@ -48,14 +42,12 @@ module AutosdeOpenapiClient
48
42
  # Attribute mapping from ruby-style variable name to JSON key.
49
43
  def self.attribute_map
50
44
  {
51
- :'created_at' => :'created_at',
52
45
  :'description' => :'description',
53
46
  :'error_code' => :'error_code',
54
47
  :'event_id' => :'event_id',
55
48
  :'event_type' => :'event_type',
56
49
  :'fixed' => :'fixed',
57
50
  :'last_timestamp' => :'last_timestamp',
58
- :'refresh_interval' => :'refresh_interval',
59
51
  :'storage_system' => :'storage_system',
60
52
  :'uuid' => :'uuid'
61
53
  }
@@ -69,14 +61,12 @@ module AutosdeOpenapiClient
69
61
  # Attribute type mapping.
70
62
  def self.openapi_types
71
63
  {
72
- :'created_at' => :'Time',
73
64
  :'description' => :'String',
74
65
  :'error_code' => :'String',
75
66
  :'event_id' => :'Integer',
76
67
  :'event_type' => :'String',
77
68
  :'fixed' => :'String',
78
69
  :'last_timestamp' => :'Time',
79
- :'refresh_interval' => :'Integer',
80
70
  :'storage_system' => :'StorageSystem',
81
71
  :'uuid' => :'String'
82
72
  }
@@ -103,10 +93,6 @@ module AutosdeOpenapiClient
103
93
  h[k.to_sym] = v
104
94
  }
105
95
 
106
- if attributes.key?(:'created_at')
107
- self.created_at = attributes[:'created_at']
108
- end
109
-
110
96
  if attributes.key?(:'description')
111
97
  self.description = attributes[:'description']
112
98
  end
@@ -131,10 +117,6 @@ module AutosdeOpenapiClient
131
117
  self.last_timestamp = attributes[:'last_timestamp']
132
118
  end
133
119
 
134
- if attributes.key?(:'refresh_interval')
135
- self.refresh_interval = attributes[:'refresh_interval']
136
- end
137
-
138
120
  if attributes.key?(:'storage_system')
139
121
  self.storage_system = attributes[:'storage_system']
140
122
  end
@@ -162,14 +144,12 @@ module AutosdeOpenapiClient
162
144
  def ==(o)
163
145
  return true if self.equal?(o)
164
146
  self.class == o.class &&
165
- created_at == o.created_at &&
166
147
  description == o.description &&
167
148
  error_code == o.error_code &&
168
149
  event_id == o.event_id &&
169
150
  event_type == o.event_type &&
170
151
  fixed == o.fixed &&
171
152
  last_timestamp == o.last_timestamp &&
172
- refresh_interval == o.refresh_interval &&
173
153
  storage_system == o.storage_system &&
174
154
  uuid == o.uuid
175
155
  end
@@ -183,7 +163,7 @@ module AutosdeOpenapiClient
183
163
  # Calculates hash code according to all attributes.
184
164
  # @return [Integer] Hash code
185
165
  def hash
186
- [created_at, description, error_code, event_id, event_type, fixed, last_timestamp, refresh_interval, storage_system, uuid].hash
166
+ [description, error_code, event_id, event_type, fixed, last_timestamp, storage_system, uuid].hash
187
167
  end
188
168
 
189
169
  # Builds the object from hash
@@ -22,9 +22,6 @@ module AutosdeOpenapiClient
22
22
  # date_started
23
23
  attr_accessor :date_started
24
24
 
25
- # extra
26
- attr_accessor :extra
27
-
28
25
  # status
29
26
  attr_accessor :status
30
27
 
@@ -45,7 +42,6 @@ module AutosdeOpenapiClient
45
42
  {
46
43
  :'date_finished' => :'date_finished',
47
44
  :'date_started' => :'date_started',
48
- :'extra' => :'extra',
49
45
  :'status' => :'status',
50
46
  :'task_args' => :'task_args',
51
47
  :'task_id' => :'task_id',
@@ -64,7 +60,6 @@ module AutosdeOpenapiClient
64
60
  {
65
61
  :'date_finished' => :'Time',
66
62
  :'date_started' => :'Time',
67
- :'extra' => :'String',
68
63
  :'status' => :'String',
69
64
  :'task_args' => :'String',
70
65
  :'task_id' => :'String',
@@ -102,10 +97,6 @@ module AutosdeOpenapiClient
102
97
  self.date_started = attributes[:'date_started']
103
98
  end
104
99
 
105
- if attributes.key?(:'extra')
106
- self.extra = attributes[:'extra']
107
- end
108
-
109
100
  if attributes.key?(:'status')
110
101
  self.status = attributes[:'status']
111
102
  end
@@ -147,7 +138,6 @@ module AutosdeOpenapiClient
147
138
  self.class == o.class &&
148
139
  date_finished == o.date_finished &&
149
140
  date_started == o.date_started &&
150
- extra == o.extra &&
151
141
  status == o.status &&
152
142
  task_args == o.task_args &&
153
143
  task_id == o.task_id &&
@@ -164,7 +154,7 @@ module AutosdeOpenapiClient
164
154
  # Calculates hash code according to all attributes.
165
155
  # @return [Integer] Hash code
166
156
  def hash
167
- [date_finished, date_started, extra, status, task_args, task_id, task_kwargs, task_name].hash
157
+ [date_finished, date_started, status, task_args, task_id, task_kwargs, task_name].hash
168
158
  end
169
159
 
170
160
  # Builds the object from hash
@@ -16,8 +16,8 @@ require 'time'
16
16
  module AutosdeOpenapiClient
17
17
  # JobCreate
18
18
  class JobCreate
19
- # task_kwargs
20
- attr_accessor :task_kwargs
19
+ # task_args
20
+ attr_accessor :task_args
21
21
 
22
22
  # task_name
23
23
  attr_accessor :task_name
@@ -25,7 +25,7 @@ module AutosdeOpenapiClient
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
- :'task_kwargs' => :'task_kwargs',
28
+ :'task_args' => :'task_args',
29
29
  :'task_name' => :'task_name'
30
30
  }
31
31
  end
@@ -38,7 +38,7 @@ module AutosdeOpenapiClient
38
38
  # Attribute type mapping.
39
39
  def self.openapi_types
40
40
  {
41
- :'task_kwargs' => :'String',
41
+ :'task_args' => :'String',
42
42
  :'task_name' => :'String'
43
43
  }
44
44
  end
@@ -64,8 +64,8 @@ module AutosdeOpenapiClient
64
64
  h[k.to_sym] = v
65
65
  }
66
66
 
67
- if attributes.key?(:'task_kwargs')
68
- self.task_kwargs = attributes[:'task_kwargs']
67
+ if attributes.key?(:'task_args')
68
+ self.task_args = attributes[:'task_args']
69
69
  end
70
70
 
71
71
  if attributes.key?(:'task_name')
@@ -91,7 +91,7 @@ module AutosdeOpenapiClient
91
91
  def ==(o)
92
92
  return true if self.equal?(o)
93
93
  self.class == o.class &&
94
- task_kwargs == o.task_kwargs &&
94
+ task_args == o.task_args &&
95
95
  task_name == o.task_name
96
96
  end
97
97
 
@@ -104,7 +104,7 @@ module AutosdeOpenapiClient
104
104
  # Calculates hash code according to all attributes.
105
105
  # @return [Integer] Hash code
106
106
  def hash
107
- [task_kwargs, task_name].hash
107
+ [task_args, task_name].hash
108
108
  end
109
109
 
110
110
  # Builds the object from hash
@@ -31,9 +31,6 @@ module AutosdeOpenapiClient
31
31
  # component_state
32
32
  attr_accessor :component_state
33
33
 
34
- # initial_refresh
35
- attr_accessor :initial_refresh
36
-
37
34
  attr_accessor :iqn
38
35
 
39
36
  # management_ip
@@ -101,7 +98,6 @@ module AutosdeOpenapiClient
101
98
  :'chap_name' => :'chap_name',
102
99
  :'chap_secret' => :'chap_secret',
103
100
  :'component_state' => :'component_state',
104
- :'initial_refresh' => :'initial_refresh',
105
101
  :'iqn' => :'iqn',
106
102
  :'management_ip' => :'management_ip',
107
103
  :'name' => :'name',
@@ -131,7 +127,6 @@ module AutosdeOpenapiClient
131
127
  :'chap_name' => :'String',
132
128
  :'chap_secret' => :'String',
133
129
  :'component_state' => :'String',
134
- :'initial_refresh' => :'Boolean',
135
130
  :'iqn' => :'String',
136
131
  :'management_ip' => :'String',
137
132
  :'name' => :'String',
@@ -193,12 +188,6 @@ module AutosdeOpenapiClient
193
188
  self.component_state = attributes[:'component_state']
194
189
  end
195
190
 
196
- if attributes.key?(:'initial_refresh')
197
- self.initial_refresh = attributes[:'initial_refresh']
198
- else
199
- self.initial_refresh = true
200
- end
201
-
202
191
  if attributes.key?(:'iqn')
203
192
  self.iqn = attributes[:'iqn']
204
193
  end
@@ -316,7 +305,6 @@ module AutosdeOpenapiClient
316
305
  chap_name == o.chap_name &&
317
306
  chap_secret == o.chap_secret &&
318
307
  component_state == o.component_state &&
319
- initial_refresh == o.initial_refresh &&
320
308
  iqn == o.iqn &&
321
309
  management_ip == o.management_ip &&
322
310
  name == o.name &&
@@ -341,7 +329,7 @@ module AutosdeOpenapiClient
341
329
  # Calculates hash code according to all attributes.
342
330
  # @return [Integer] Hash code
343
331
  def 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
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
345
333
  end
346
334
 
347
335
  # 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.31
6
+ The version of the OpenAPI document: 1.1.32
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.31'
14
+ VERSION = '1.1.32'
15
15
  end
@@ -29,9 +29,7 @@ require 'autosde_openapi_client/models/auto_sde_project'
29
29
  require 'autosde_openapi_client/models/auto_sde_role'
30
30
  require 'autosde_openapi_client/models/capability_translation'
31
31
  require 'autosde_openapi_client/models/capability_translation_create'
32
- require 'autosde_openapi_client/models/celery_config'
33
32
  require 'autosde_openapi_client/models/event'
34
- require 'autosde_openapi_client/models/event_response'
35
33
  require 'autosde_openapi_client/models/host'
36
34
  require 'autosde_openapi_client/models/host_cluster'
37
35
  require 'autosde_openapi_client/models/host_cluster_create'
@@ -48,7 +46,6 @@ require 'autosde_openapi_client/models/job_create'
48
46
  require 'autosde_openapi_client/models/native_capability'
49
47
  require 'autosde_openapi_client/models/profile'
50
48
  require 'autosde_openapi_client/models/provisioning_strategy'
51
- require 'autosde_openapi_client/models/refresh_system'
52
49
  require 'autosde_openapi_client/models/service'
53
50
  require 'autosde_openapi_client/models/service_abstract_capability_value'
54
51
  require 'autosde_openapi_client/models/service_create'
@@ -90,7 +87,6 @@ require 'autosde_openapi_client/api/authentication_api'
90
87
  require 'autosde_openapi_client/api/auto_sde_project_api'
91
88
  require 'autosde_openapi_client/api/auto_sde_role_api'
92
89
  require 'autosde_openapi_client/api/capability_translation_api'
93
- require 'autosde_openapi_client/api/celery_config_api'
94
90
  require 'autosde_openapi_client/api/event_api'
95
91
  require 'autosde_openapi_client/api/host_api'
96
92
  require 'autosde_openapi_client/api/host_cluster_api'
@@ -101,7 +97,6 @@ require 'autosde_openapi_client/api/job_api'
101
97
  require 'autosde_openapi_client/api/native_capability_api'
102
98
  require 'autosde_openapi_client/api/profile_api'
103
99
  require 'autosde_openapi_client/api/provisioning_strategy_api'
104
- require 'autosde_openapi_client/api/refresh_system_api'
105
100
  require 'autosde_openapi_client/api/service_api'
106
101
  require 'autosde_openapi_client/api/service_resource_attachment_api'
107
102
  require 'autosde_openapi_client/api/snapshot_api'
@@ -34,7 +34,7 @@ describe 'EventApi' do
34
34
 
35
35
  # unit tests for events_get
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<EventResponse>]
37
+ # @return [Array<Event>]
38
38
  describe 'events_get test' do
39
39
  it 'should work' do
40
40
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,7 +44,7 @@ describe 'EventApi' do
44
44
  # unit tests for events_pk_delete
45
45
  # @param pk
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<EventResponse>]
47
+ # @return [Array<Event>]
48
48
  describe 'events_pk_delete test' do
49
49
  it 'should work' do
50
50
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -54,7 +54,7 @@ describe 'EventApi' do
54
54
  # unit tests for events_pk_get
55
55
  # @param pk
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<EventResponse>]
57
+ # @return [Array<Event>]
58
58
  describe 'events_pk_get test' do
59
59
  it 'should work' do
60
60
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -64,7 +64,7 @@ describe 'EventApi' do
64
64
  # unit tests for events_post
65
65
  # @param event
66
66
  # @param [Hash] opts the optional parameters
67
- # @return [EventResponse]
67
+ # @return [Event]
68
68
  describe 'events_post test' do
69
69
  it 'should work' do
70
70
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -41,26 +41,6 @@ describe 'JobApi' do
41
41
  end
42
42
  end
43
43
 
44
- # unit tests for jobs_pk_delete
45
- # @param pk
46
- # @param [Hash] opts the optional parameters
47
- # @return [Array<Job>]
48
- describe 'jobs_pk_delete test' do
49
- it 'should work' do
50
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
- end
52
- end
53
-
54
- # unit tests for jobs_pk_get
55
- # @param pk
56
- # @param [Hash] opts the optional parameters
57
- # @return [Array<Job>]
58
- describe 'jobs_pk_get test' do
59
- it 'should work' do
60
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
- end
62
- end
63
-
64
44
  # unit tests for jobs_post
65
45
  # @param job_create
66
46
  # @param [Hash] opts the optional parameters
@@ -25,12 +25,6 @@ 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
-
34
28
  describe 'test attribute "description"' do
35
29
  it 'should work' do
36
30
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -67,12 +61,6 @@ describe AutosdeOpenapiClient::Event do
67
61
  end
68
62
  end
69
63
 
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
-
76
64
  describe 'test attribute "storage_system"' do
77
65
  it 'should work' do
78
66
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -25,7 +25,7 @@ describe AutosdeOpenapiClient::JobCreate do
25
25
  expect(instance).to be_instance_of(AutosdeOpenapiClient::JobCreate)
26
26
  end
27
27
  end
28
- describe 'test attribute "task_kwargs"' do
28
+ describe 'test attribute "task_args"' do
29
29
  it 'should work' do
30
30
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
31
  end
@@ -37,12 +37,6 @@ describe AutosdeOpenapiClient::Job do
37
37
  end
38
38
  end
39
39
 
40
- describe 'test attribute "extra"' do
41
- it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
- end
44
- end
45
-
46
40
  describe 'test attribute "status"' do
47
41
  it 'should work' do
48
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -59,12 +59,6 @@ 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
-
68
62
  describe 'test attribute "iqn"' do
69
63
  it 'should work' do
70
64
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers