autosde_openapi_client 3.0.0 → 3.0.1

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: 1870191af5e15ad22eac848c81d922e688150cae0bee0b6d795fef11880396df
4
- data.tar.gz: ad4a500feec278df247d97fba97495f39b798543884588b50c4659427c8566a6
3
+ metadata.gz: 8da3f568fed60b5f620097c773d405e0fa9074fe7f6a9b70bfd4ebbddf96bc4f
4
+ data.tar.gz: 32cb0c6f52e84c0a9fd83bd83256aa49a8db8ca7d31f40cafa9143e531364de1
5
5
  SHA512:
6
- metadata.gz: 6ee9bd65a0cde8bafa143f66f9a8e0321ec6533bc3659f25dddfeecdae7719a1381dfed7164c86739be80392075cd87e973c214d72a12c50e53916d895a39ccc
7
- data.tar.gz: 4723f74be75bbb03e284042d2d3d09947186cf6236e875ef66e8c58c386015fa0f18cbd88d1e880fde3e64bc38f02114479076f4d30b6d28d02444ddedd4a357
6
+ metadata.gz: 20be810647826f91dbd071c88c05f513fe43258b22cbe04c2a6b4cf5e538c0b8004260993cf60f07b1eeda66d87409a53862271d1beedefb802332f68ca59245
7
+ data.tar.gz: 95ede7b958cdb8092adb8296ce385efbd6e06b61d191c23f95f57d05386e883baf967a180a2ea4a718e1119b4082e374df360cb741e558e99e8b08bcae8a94c9
data/README.md CHANGED
@@ -236,6 +236,7 @@ Class | Method | HTTP request | Description
236
236
  - [AutosdeOpenapiClient::HostVolumeConnectionCreate](docs/HostVolumeConnectionCreate.md)
237
237
  - [AutosdeOpenapiClient::Job](docs/Job.md)
238
238
  - [AutosdeOpenapiClient::JobCreate](docs/JobCreate.md)
239
+ - [AutosdeOpenapiClient::JobResponse](docs/JobResponse.md)
239
240
  - [AutosdeOpenapiClient::NativeCapability](docs/NativeCapability.md)
240
241
  - [AutosdeOpenapiClient::Profile](docs/Profile.md)
241
242
  - [AutosdeOpenapiClient::ProvisioningStrategy](docs/ProvisioningStrategy.md)
data/docs/Job.md CHANGED
@@ -7,7 +7,7 @@
7
7
  | **date_finished** | **Time** | date_finished | [optional] |
8
8
  | **date_started** | **Time** | date_started | [optional] |
9
9
  | **extra** | **String** | extra | [optional] |
10
- | **object_id** | **String** | object_id | [optional][default to 'null'] |
10
+ | **objects_ids** | **Array<String>** | objects_ids | [optional] |
11
11
  | **result** | **String** | result | [optional] |
12
12
  | **status** | **String** | status | [optional] |
13
13
  | **task_args** | **String** | task_args | [optional] |
@@ -24,7 +24,7 @@ instance = AutosdeOpenapiClient::Job.new(
24
24
  date_finished: null,
25
25
  date_started: null,
26
26
  extra: null,
27
- object_id: null,
27
+ objects_ids: null,
28
28
  result: null,
29
29
  status: null,
30
30
  task_args: null,
data/docs/JobApi.md CHANGED
@@ -143,7 +143,7 @@ end
143
143
 
144
144
  ## jobs_pk_get
145
145
 
146
- > <Job> jobs_pk_get(pk)
146
+ > <JobResponse> jobs_pk_get(pk)
147
147
 
148
148
 
149
149
 
@@ -174,7 +174,7 @@ end
174
174
 
175
175
  This returns an Array which contains the response data, status code and headers.
176
176
 
177
- > <Array(<Job>, Integer, Hash)> jobs_pk_get_with_http_info(pk)
177
+ > <Array(<JobResponse>, Integer, Hash)> jobs_pk_get_with_http_info(pk)
178
178
 
179
179
  ```ruby
180
180
  begin
@@ -182,7 +182,7 @@ begin
182
182
  data, status_code, headers = api_instance.jobs_pk_get_with_http_info(pk)
183
183
  p status_code # => 2xx
184
184
  p headers # => { ... }
185
- p data # => <Job>
185
+ p data # => <JobResponse>
186
186
  rescue AutosdeOpenapiClient::ApiError => e
187
187
  puts "Error when calling JobApi->jobs_pk_get_with_http_info: #{e}"
188
188
  end
@@ -196,7 +196,7 @@ end
196
196
 
197
197
  ### Return type
198
198
 
199
- [**Job**](Job.md)
199
+ [**JobResponse**](JobResponse.md)
200
200
 
201
201
  ### Authorization
202
202
 
@@ -0,0 +1,36 @@
1
+ # AutosdeOpenapiClient::JobResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **date_finished** | **Time** | date_finished | [optional] |
8
+ | **date_started** | **Time** | date_started | [optional] |
9
+ | **extra** | **String** | extra | [optional] |
10
+ | **objects_ids** | **Array&lt;String&gt;** | objects_ids | [optional] |
11
+ | **result** | **String** | result | [optional] |
12
+ | **status** | **String** | status | [optional] |
13
+ | **task_args** | **String** | task_args | [optional] |
14
+ | **task_id** | **String** | task_id | [optional] |
15
+ | **task_kwargs** | **String** | task_kwargs | [optional] |
16
+ | **task_name** | **String** | task_name | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'autosde_openapi_client'
22
+
23
+ instance = AutosdeOpenapiClient::JobResponse.new(
24
+ date_finished: null,
25
+ date_started: null,
26
+ extra: null,
27
+ objects_ids: null,
28
+ result: null,
29
+ status: null,
30
+ task_args: null,
31
+ task_id: null,
32
+ task_kwargs: null,
33
+ task_name: null
34
+ )
35
+ ```
36
+
@@ -133,7 +133,7 @@ module AutosdeOpenapiClient
133
133
 
134
134
  # @param pk [Integer]
135
135
  # @param [Hash] opts the optional parameters
136
- # @return [Job]
136
+ # @return [JobResponse]
137
137
  def jobs_pk_get(pk, opts = {})
138
138
  data, _status_code, _headers = jobs_pk_get_with_http_info(pk, opts)
139
139
  data
@@ -141,7 +141,7 @@ module AutosdeOpenapiClient
141
141
 
142
142
  # @param pk [Integer]
143
143
  # @param [Hash] opts the optional parameters
144
- # @return [Array<(Job, Integer, Hash)>] Job data, response status code and response headers
144
+ # @return [Array<(JobResponse, Integer, Hash)>] JobResponse data, response status code and response headers
145
145
  def jobs_pk_get_with_http_info(pk, opts = {})
146
146
  if @api_client.config.debugging
147
147
  @api_client.config.logger.debug 'Calling API: JobApi.jobs_pk_get ...'
@@ -168,7 +168,7 @@ module AutosdeOpenapiClient
168
168
  post_body = opts[:debug_body]
169
169
 
170
170
  # return_type
171
- return_type = opts[:debug_return_type] || 'Job'
171
+ return_type = opts[:debug_return_type] || 'JobResponse'
172
172
 
173
173
  # auth_names
174
174
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module AutosdeOpenapiClient
17
- # hostClusterMembership
17
+ # HostClusterMembership
18
18
  class HostClusterMembership
19
19
  attr_accessor :cluster
20
20
 
@@ -25,8 +25,8 @@ module AutosdeOpenapiClient
25
25
  # extra
26
26
  attr_accessor :extra
27
27
 
28
- # object_id
29
- attr_accessor :object_id
28
+ # objects_ids
29
+ attr_accessor :objects_ids
30
30
 
31
31
  # result
32
32
  attr_accessor :result
@@ -52,7 +52,7 @@ module AutosdeOpenapiClient
52
52
  :'date_finished' => :'date_finished',
53
53
  :'date_started' => :'date_started',
54
54
  :'extra' => :'extra',
55
- :'object_id' => :'object_id',
55
+ :'objects_ids' => :'objects_ids',
56
56
  :'result' => :'result',
57
57
  :'status' => :'status',
58
58
  :'task_args' => :'task_args',
@@ -73,7 +73,7 @@ module AutosdeOpenapiClient
73
73
  :'date_finished' => :'Time',
74
74
  :'date_started' => :'Time',
75
75
  :'extra' => :'String',
76
- :'object_id' => :'String',
76
+ :'objects_ids' => :'Array<String>',
77
77
  :'result' => :'String',
78
78
  :'status' => :'String',
79
79
  :'task_args' => :'String',
@@ -116,10 +116,10 @@ module AutosdeOpenapiClient
116
116
  self.extra = attributes[:'extra']
117
117
  end
118
118
 
119
- if attributes.key?(:'object_id')
120
- self.object_id = attributes[:'object_id']
121
- else
122
- self.object_id = 'null'
119
+ if attributes.key?(:'objects_ids')
120
+ if (value = attributes[:'objects_ids']).is_a?(Array)
121
+ self.objects_ids = value
122
+ end
123
123
  end
124
124
 
125
125
  if attributes.key?(:'result')
@@ -168,7 +168,7 @@ module AutosdeOpenapiClient
168
168
  date_finished == o.date_finished &&
169
169
  date_started == o.date_started &&
170
170
  extra == o.extra &&
171
- object_id == o.object_id &&
171
+ objects_ids == o.objects_ids &&
172
172
  result == o.result &&
173
173
  status == o.status &&
174
174
  task_args == o.task_args &&
@@ -186,7 +186,7 @@ module AutosdeOpenapiClient
186
186
  # Calculates hash code according to all attributes.
187
187
  # @return [Integer] Hash code
188
188
  def hash
189
- [date_finished, date_started, extra, object_id, result, status, task_args, task_id, task_kwargs, task_name].hash
189
+ [date_finished, date_started, extra, objects_ids, result, status, task_args, task_id, task_kwargs, task_name].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash
@@ -0,0 +1,312 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module AutosdeOpenapiClient
17
+ # TODO add description
18
+ class JobResponse
19
+ # date_finished
20
+ attr_accessor :date_finished
21
+
22
+ # date_started
23
+ attr_accessor :date_started
24
+
25
+ # extra
26
+ attr_accessor :extra
27
+
28
+ # objects_ids
29
+ attr_accessor :objects_ids
30
+
31
+ # result
32
+ attr_accessor :result
33
+
34
+ # status
35
+ attr_accessor :status
36
+
37
+ # task_args
38
+ attr_accessor :task_args
39
+
40
+ # task_id
41
+ attr_accessor :task_id
42
+
43
+ # task_kwargs
44
+ attr_accessor :task_kwargs
45
+
46
+ # task_name
47
+ attr_accessor :task_name
48
+
49
+ # Attribute mapping from ruby-style variable name to JSON key.
50
+ def self.attribute_map
51
+ {
52
+ :'date_finished' => :'date_finished',
53
+ :'date_started' => :'date_started',
54
+ :'extra' => :'extra',
55
+ :'objects_ids' => :'objects_ids',
56
+ :'result' => :'result',
57
+ :'status' => :'status',
58
+ :'task_args' => :'task_args',
59
+ :'task_id' => :'task_id',
60
+ :'task_kwargs' => :'task_kwargs',
61
+ :'task_name' => :'task_name'
62
+ }
63
+ end
64
+
65
+ # Returns all the JSON keys this model knows about
66
+ def self.acceptable_attributes
67
+ attribute_map.values
68
+ end
69
+
70
+ # Attribute type mapping.
71
+ def self.openapi_types
72
+ {
73
+ :'date_finished' => :'Time',
74
+ :'date_started' => :'Time',
75
+ :'extra' => :'String',
76
+ :'objects_ids' => :'Array<String>',
77
+ :'result' => :'String',
78
+ :'status' => :'String',
79
+ :'task_args' => :'String',
80
+ :'task_id' => :'String',
81
+ :'task_kwargs' => :'String',
82
+ :'task_name' => :'String'
83
+ }
84
+ end
85
+
86
+ # List of attributes with nullable: true
87
+ def self.openapi_nullable
88
+ Set.new([
89
+ ])
90
+ end
91
+
92
+ # Initializes the object
93
+ # @param [Hash] attributes Model attributes in the form of hash
94
+ def initialize(attributes = {})
95
+ if (!attributes.is_a?(Hash))
96
+ fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::JobResponse` initialize method"
97
+ end
98
+
99
+ # check to see if the attribute exists and convert string to symbol for hash key
100
+ attributes = attributes.each_with_object({}) { |(k, v), h|
101
+ if (!self.class.attribute_map.key?(k.to_sym))
102
+ fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::JobResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
103
+ end
104
+ h[k.to_sym] = v
105
+ }
106
+
107
+ if attributes.key?(:'date_finished')
108
+ self.date_finished = attributes[:'date_finished']
109
+ end
110
+
111
+ if attributes.key?(:'date_started')
112
+ self.date_started = attributes[:'date_started']
113
+ end
114
+
115
+ if attributes.key?(:'extra')
116
+ self.extra = attributes[:'extra']
117
+ end
118
+
119
+ if attributes.key?(:'objects_ids')
120
+ if (value = attributes[:'objects_ids']).is_a?(Array)
121
+ self.objects_ids = value
122
+ end
123
+ end
124
+
125
+ if attributes.key?(:'result')
126
+ self.result = attributes[:'result']
127
+ end
128
+
129
+ if attributes.key?(:'status')
130
+ self.status = attributes[:'status']
131
+ end
132
+
133
+ if attributes.key?(:'task_args')
134
+ self.task_args = attributes[:'task_args']
135
+ end
136
+
137
+ if attributes.key?(:'task_id')
138
+ self.task_id = attributes[:'task_id']
139
+ end
140
+
141
+ if attributes.key?(:'task_kwargs')
142
+ self.task_kwargs = attributes[:'task_kwargs']
143
+ end
144
+
145
+ if attributes.key?(:'task_name')
146
+ self.task_name = attributes[:'task_name']
147
+ end
148
+ end
149
+
150
+ # Show invalid properties with the reasons. Usually used together with valid?
151
+ # @return Array for valid properties with the reasons
152
+ def list_invalid_properties
153
+ invalid_properties = Array.new
154
+ invalid_properties
155
+ end
156
+
157
+ # Check to see if the all the properties in the model are valid
158
+ # @return true if the model is valid
159
+ def valid?
160
+ true
161
+ end
162
+
163
+ # Checks equality by comparing each attribute.
164
+ # @param [Object] Object to be compared
165
+ def ==(o)
166
+ return true if self.equal?(o)
167
+ self.class == o.class &&
168
+ date_finished == o.date_finished &&
169
+ date_started == o.date_started &&
170
+ extra == o.extra &&
171
+ objects_ids == o.objects_ids &&
172
+ result == o.result &&
173
+ status == o.status &&
174
+ task_args == o.task_args &&
175
+ task_id == o.task_id &&
176
+ task_kwargs == o.task_kwargs &&
177
+ task_name == o.task_name
178
+ end
179
+
180
+ # @see the `==` method
181
+ # @param [Object] Object to be compared
182
+ def eql?(o)
183
+ self == o
184
+ end
185
+
186
+ # Calculates hash code according to all attributes.
187
+ # @return [Integer] Hash code
188
+ def hash
189
+ [date_finished, date_started, extra, objects_ids, result, status, task_args, task_id, task_kwargs, task_name].hash
190
+ end
191
+
192
+ # Builds the object from hash
193
+ # @param [Hash] attributes Model attributes in the form of hash
194
+ # @return [Object] Returns the model itself
195
+ def self.build_from_hash(attributes)
196
+ new.build_from_hash(attributes)
197
+ end
198
+
199
+ # Builds the object from hash
200
+ # @param [Hash] attributes Model attributes in the form of hash
201
+ # @return [Object] Returns the model itself
202
+ def build_from_hash(attributes)
203
+ return nil unless attributes.is_a?(Hash)
204
+ self.class.openapi_types.each_pair do |key, type|
205
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
206
+ self.send("#{key}=", nil)
207
+ elsif type =~ /\AArray<(.*)>/i
208
+ # check to ensure the input is an array given that the attribute
209
+ # is documented as an array but the input is not
210
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
211
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
212
+ end
213
+ elsif !attributes[self.class.attribute_map[key]].nil?
214
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
215
+ end
216
+ end
217
+
218
+ self
219
+ end
220
+
221
+ # Deserializes the data based on type
222
+ # @param string type Data type
223
+ # @param string value Value to be deserialized
224
+ # @return [Object] Deserialized data
225
+ def _deserialize(type, value)
226
+ case type.to_sym
227
+ when :Time
228
+ Time.parse(value)
229
+ when :Date
230
+ Date.parse(value)
231
+ when :String
232
+ value.to_s
233
+ when :Integer
234
+ value.to_i
235
+ when :Float
236
+ value.to_f
237
+ when :Boolean
238
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
239
+ true
240
+ else
241
+ false
242
+ end
243
+ when :Object
244
+ # generic object (usually a Hash), return directly
245
+ value
246
+ when /\AArray<(?<inner_type>.+)>\z/
247
+ inner_type = Regexp.last_match[:inner_type]
248
+ value.map { |v| _deserialize(inner_type, v) }
249
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
250
+ k_type = Regexp.last_match[:k_type]
251
+ v_type = Regexp.last_match[:v_type]
252
+ {}.tap do |hash|
253
+ value.each do |k, v|
254
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
255
+ end
256
+ end
257
+ else # model
258
+ # models (e.g. Pet) or oneOf
259
+ klass = AutosdeOpenapiClient.const_get(type)
260
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
261
+ end
262
+ end
263
+
264
+ # Returns the string representation of the object
265
+ # @return [String] String presentation of the object
266
+ def to_s
267
+ to_hash.to_s
268
+ end
269
+
270
+ # to_body is an alias to to_hash (backward compatibility)
271
+ # @return [Hash] Returns the object in the form of hash
272
+ def to_body
273
+ to_hash
274
+ end
275
+
276
+ # Returns the object in the form of hash
277
+ # @return [Hash] Returns the object in the form of hash
278
+ def to_hash
279
+ hash = {}
280
+ self.class.attribute_map.each_pair do |attr, param|
281
+ value = self.send(attr)
282
+ if value.nil?
283
+ is_nullable = self.class.openapi_nullable.include?(attr)
284
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
285
+ end
286
+
287
+ hash[param] = _to_hash(value)
288
+ end
289
+ hash
290
+ end
291
+
292
+ # Outputs non-array value in the form of hash
293
+ # For object, use to_hash. Otherwise, just return the value
294
+ # @param [Object] value Any valid value
295
+ # @return [Hash] Returns the value in the form of hash
296
+ def _to_hash(value)
297
+ if value.is_a?(Array)
298
+ value.compact.map { |v| _to_hash(v) }
299
+ elsif value.is_a?(Hash)
300
+ {}.tap do |hash|
301
+ value.each { |k, v| hash[k] = _to_hash(v) }
302
+ end
303
+ elsif value.respond_to? :to_hash
304
+ value.to_hash
305
+ else
306
+ value
307
+ end
308
+ end
309
+
310
+ end
311
+
312
+ end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Site Manager API
5
5
 
6
- The version of the OpenAPI document: 3.0.0
6
+ The version of the OpenAPI document: 3.0.1
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.0.0'
14
+ VERSION = '3.0.1'
15
15
  end
@@ -47,6 +47,7 @@ require 'autosde_openapi_client/models/host_volume_connection'
47
47
  require 'autosde_openapi_client/models/host_volume_connection_create'
48
48
  require 'autosde_openapi_client/models/job'
49
49
  require 'autosde_openapi_client/models/job_create'
50
+ require 'autosde_openapi_client/models/job_response'
50
51
  require 'autosde_openapi_client/models/native_capability'
51
52
  require 'autosde_openapi_client/models/profile'
52
53
  require 'autosde_openapi_client/models/provisioning_strategy'
@@ -54,7 +54,7 @@ describe 'JobApi' do
54
54
  # unit tests for jobs_pk_get
55
55
  # @param pk
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Job]
57
+ # @return [JobResponse]
58
58
  describe 'jobs_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
@@ -0,0 +1,88 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AutosdeOpenapiClient::JobResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AutosdeOpenapiClient::JobResponse do
21
+ let(:instance) { AutosdeOpenapiClient::JobResponse.new }
22
+
23
+ describe 'test an instance of JobResponse' do
24
+ it 'should create an instance of JobResponse' do
25
+ expect(instance).to be_instance_of(AutosdeOpenapiClient::JobResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "date_finished"' 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
+ describe 'test attribute "date_started"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
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
+ describe 'test attribute "objects_ids"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "result"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "status"' 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
+ describe 'test attribute "task_args"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "task_id"' 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
+ describe 'test attribute "task_kwargs"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "task_name"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ end
@@ -43,7 +43,7 @@ describe AutosdeOpenapiClient::Job do
43
43
  end
44
44
  end
45
45
 
46
- describe 'test attribute "object_id"' do
46
+ describe 'test attribute "objects_ids"' do
47
47
  it 'should work' do
48
48
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autosde_openapi_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -107,6 +107,7 @@ files:
107
107
  - docs/Job.md
108
108
  - docs/JobApi.md
109
109
  - docs/JobCreate.md
110
+ - docs/JobResponse.md
110
111
  - docs/NativeCapability.md
111
112
  - docs/NativeCapabilityApi.md
112
113
  - docs/Profile.md
@@ -238,6 +239,7 @@ files:
238
239
  - lib/autosde_openapi_client/models/host_volume_connection_create.rb
239
240
  - lib/autosde_openapi_client/models/job.rb
240
241
  - lib/autosde_openapi_client/models/job_create.rb
242
+ - lib/autosde_openapi_client/models/job_response.rb
241
243
  - lib/autosde_openapi_client/models/native_capability.rb
242
244
  - lib/autosde_openapi_client/models/profile.rb
243
245
  - lib/autosde_openapi_client/models/provisioning_strategy.rb
@@ -347,6 +349,7 @@ files:
347
349
  - spec/models/host_volume_connection_create_spec.rb
348
350
  - spec/models/host_volume_connection_spec.rb
349
351
  - spec/models/job_create_spec.rb
352
+ - spec/models/job_response_spec.rb
350
353
  - spec/models/job_spec.rb
351
354
  - spec/models/native_capability_spec.rb
352
355
  - spec/models/profile_spec.rb
@@ -416,113 +419,114 @@ signing_key:
416
419
  specification_version: 4
417
420
  summary: Site Manager API Ruby Gem
418
421
  test_files:
419
- - spec/api/host_cluster_membership_api_spec.rb
420
- - spec/api/capability_translation_api_spec.rb
421
- - spec/api/storage_system_api_spec.rb
422
- - spec/api/storage_host_api_spec.rb
423
- - spec/api/volume_api_spec.rb
424
- - spec/api/storage_host_wwpn_candidates_api_spec.rb
425
- - spec/api/validate_system_api_spec.rb
426
- - spec/api/host_volume_connection_api_spec.rb
427
- - spec/api/snapshot_api_spec.rb
428
- - spec/api/service_resource_attachment_api_spec.rb
429
422
  - spec/api/host_cluster_api_spec.rb
430
- - spec/api/volume_clone_api_spec.rb
431
423
  - spec/api/host_api_spec.rb
432
- - spec/api/refresh_system_api_spec.rb
433
- - spec/api/host_cluster_volume_mapping_api_spec.rb
434
- - spec/api/auto_sde_role_api_spec.rb
424
+ - spec/api/storage_resource_api_spec.rb
425
+ - spec/api/validate_system_api_spec.rb
426
+ - spec/api/service_resource_attachment_api_spec.rb
435
427
  - spec/api/address_api_spec.rb
436
428
  - spec/api/system_type_api_spec.rb
429
+ - spec/api/volume_clone_api_spec.rb
430
+ - spec/api/auto_sde_project_api_spec.rb
431
+ - spec/api/snapshot_api_spec.rb
432
+ - spec/api/celery_config_api_spec.rb
433
+ - spec/api/abstract_capability_api_spec.rb
437
434
  - spec/api/volume_migration_api_spec.rb
438
- - spec/api/job_api_spec.rb
435
+ - spec/api/storage_host_wwpn_candidates_api_spec.rb
436
+ - spec/api/host_volume_connection_api_spec.rb
439
437
  - spec/api/profile_api_spec.rb
440
- - spec/api/storage_hosts_mapping_api_spec.rb
441
- - spec/api/storage_resource_api_spec.rb
442
- - spec/api/native_capability_api_spec.rb
443
- - spec/api/celery_config_api_spec.rb
444
- - spec/api/auto_sde_project_api_spec.rb
438
+ - spec/api/job_api_spec.rb
439
+ - spec/api/volume_api_spec.rb
440
+ - spec/api/service_api_spec.rb
445
441
  - spec/api/provisioning_strategy_api_spec.rb
446
- - spec/api/event_api_spec.rb
442
+ - spec/api/auto_sde_role_api_spec.rb
443
+ - spec/api/account_api_spec.rb
444
+ - spec/api/native_capability_api_spec.rb
445
+ - spec/api/capability_translation_api_spec.rb
446
+ - spec/api/service_abstract_capability_value_api_spec.rb
447
+ - spec/api/host_cluster_volume_mapping_api_spec.rb
448
+ - spec/api/refresh_system_api_spec.rb
447
449
  - spec/api/authentication_api_spec.rb
448
- - spec/api/service_api_spec.rb
450
+ - spec/api/storage_system_api_spec.rb
451
+ - spec/api/host_cluster_membership_api_spec.rb
449
452
  - spec/api/user_api_spec.rb
450
- - spec/api/abstract_capability_api_spec.rb
451
- - spec/api/service_abstract_capability_value_api_spec.rb
452
- - spec/api/account_api_spec.rb
453
+ - spec/api/storage_hosts_mapping_api_spec.rb
454
+ - spec/api/event_api_spec.rb
455
+ - spec/api/storage_host_api_spec.rb
453
456
  - spec/api_client_spec.rb
454
457
  - spec/configuration_spec.rb
455
- - spec/models/storage_host_response_spec.rb
456
- - spec/models/user_create_spec.rb
457
- - spec/models/service_create_spec.rb
458
- - spec/models/storage_resource_create_spec.rb
459
- - spec/models/host_volume_connection_create_spec.rb
460
- - spec/models/system_type_spec.rb
461
- - spec/models/service_abstract_capability_value_response_spec.rb
462
- - spec/models/host_cluster_volume_mapping_create_spec.rb
463
- - spec/models/capability_translation_spec.rb
464
- - spec/models/storage_system_spec.rb
465
- - spec/models/system_type_create_spec.rb
466
- - spec/models/auto_sde_role_spec.rb
467
- - spec/models/service_resource_attachment_response_spec.rb
468
- - spec/models/address_spec.rb
458
+ - spec/models/account_post_request_spec.rb
459
+ - spec/models/host_cluster_volume_mapping_spec.rb
460
+ - spec/models/native_capability_spec.rb
461
+ - spec/models/validate_system_spec.rb
462
+ - spec/models/auth_response_spec.rb
463
+ - spec/models/storage_system_create_spec.rb
469
464
  - spec/models/storage_hosts_mapping_create_spec.rb
470
- - spec/models/async_response_spec.rb
471
- - spec/models/storage_host_wwpn_candidates_spec.rb
472
- - spec/models/storage_system_update_spec.rb
465
+ - spec/models/storage_resource_create_spec.rb
466
+ - spec/models/storage_host_spec.rb
473
467
  - spec/models/snapshot_spec.rb
474
- - spec/models/validate_system_spec.rb
475
- - spec/models/host_create_spec.rb
468
+ - spec/models/abstract_capability_spec.rb
476
469
  - spec/models/address_create_spec.rb
477
- - spec/models/service_response_spec.rb
478
- - spec/models/storage_hosts_mapping_spec.rb
479
- - spec/models/host_cluster_response_spec.rb
480
- - spec/models/host_cluster_volume_mapping_response_spec.rb
470
+ - spec/models/host_volume_connection_create_spec.rb
471
+ - spec/models/volume_create_spec.rb
481
472
  - spec/models/event_response_spec.rb
482
- - spec/models/profile_spec.rb
483
- - spec/models/auto_sde_project_spec.rb
484
473
  - spec/models/storage_resource_update_spec.rb
485
- - spec/models/volume_update_spec.rb
474
+ - spec/models/profile_spec.rb
475
+ - spec/models/storage_system_spec.rb
486
476
  - spec/models/volume_clone_spec.rb
487
- - spec/models/host_cluster_membership_spec.rb
488
- - spec/models/volume_create_spec.rb
489
477
  - spec/models/user_spec.rb
490
- - spec/models/account_post_response_spec.rb
491
- - spec/models/service_abstract_capability_value_spec.rb
492
- - spec/models/authentication_spec.rb
493
- - spec/models/account_post_request_spec.rb
478
+ - spec/models/celery_config_spec.rb
479
+ - spec/models/host_cluster_volume_mapping_create_spec.rb
494
480
  - spec/models/service_resource_attachment_spec.rb
481
+ - spec/models/host_cluster_create_spec.rb
482
+ - spec/models/system_type_spec.rb
483
+ - spec/models/auto_sde_role_spec.rb
495
484
  - spec/models/volume_response_spec.rb
485
+ - spec/models/async_response_spec.rb
486
+ - spec/models/storage_host_response_spec.rb
487
+ - spec/models/storage_host_wwpn_candidates_spec.rb
488
+ - spec/models/host_cluster_volume_mapping_response_spec.rb
489
+ - spec/models/job_create_spec.rb
490
+ - spec/models/service_abstract_capability_value_response_spec.rb
491
+ - spec/models/host_spec.rb
492
+ - spec/models/host_cluster_response_spec.rb
496
493
  - spec/models/provisioning_strategy_spec.rb
494
+ - spec/models/account_spec.rb
495
+ - spec/models/capability_translation_create_spec.rb
496
+ - spec/models/host_cluster_membership_spec.rb
497
+ - spec/models/service_spec.rb
498
+ - spec/models/account_post_response_spec.rb
499
+ - spec/models/service_create_spec.rb
500
+ - spec/models/storage_hosts_mapping_response_spec.rb
501
+ - spec/models/authentication_spec.rb
502
+ - spec/models/volume_migration_spec.rb
503
+ - spec/models/address_spec.rb
504
+ - spec/models/snapshot_create_spec.rb
505
+ - spec/models/refresh_system_spec.rb
506
+ - spec/models/service_abstract_capability_value_spec.rb
507
+ - spec/models/storage_system_update_spec.rb
508
+ - spec/models/user_create_spec.rb
509
+ - spec/models/job_response_spec.rb
510
+ - spec/models/storage_system_response_spec.rb
497
511
  - spec/models/event_spec.rb
498
- - spec/models/native_capability_spec.rb
512
+ - spec/models/capability_translation_spec.rb
513
+ - spec/models/volume_spec.rb
514
+ - spec/models/storage_resource_response_spec.rb
515
+ - spec/models/user_update_spec.rb
516
+ - spec/models/auto_sde_project_spec.rb
499
517
  - spec/models/abstract_capability_response_spec.rb
500
- - spec/models/snapshot_create_spec.rb
501
- - spec/models/system_type_response_spec.rb
502
- - spec/models/job_create_spec.rb
503
518
  - spec/models/storage_host_update_spec.rb
504
- - spec/models/volume_spec.rb
505
- - spec/models/host_cluster_spec.rb
519
+ - spec/models/system_type_create_spec.rb
506
520
  - spec/models/host_volume_connection_spec.rb
507
- - spec/models/user_update_spec.rb
508
- - spec/models/storage_system_create_spec.rb
509
- - spec/models/account_spec.rb
510
- - spec/models/refresh_system_spec.rb
511
- - spec/models/host_cluster_create_spec.rb
512
- - spec/models/host_spec.rb
513
- - spec/models/capability_translation_create_spec.rb
514
- - spec/models/host_cluster_volume_mapping_spec.rb
515
- - spec/models/abstract_capability_spec.rb
516
- - spec/models/storage_resource_response_spec.rb
517
- - spec/models/auth_response_spec.rb
518
- - spec/models/snapshot_response_spec.rb
519
- - spec/models/storage_hosts_mapping_response_spec.rb
521
+ - spec/models/storage_hosts_mapping_spec.rb
520
522
  - spec/models/storage_host_create_spec.rb
521
- - spec/models/storage_host_spec.rb
522
523
  - spec/models/job_spec.rb
523
- - spec/models/volume_migration_spec.rb
524
- - spec/models/service_spec.rb
524
+ - spec/models/host_cluster_spec.rb
525
+ - spec/models/system_type_response_spec.rb
526
+ - spec/models/service_resource_attachment_response_spec.rb
525
527
  - spec/models/storage_resource_spec.rb
526
- - spec/models/celery_config_spec.rb
527
- - spec/models/storage_system_response_spec.rb
528
+ - spec/models/service_response_spec.rb
529
+ - spec/models/snapshot_response_spec.rb
530
+ - spec/models/host_create_spec.rb
531
+ - spec/models/volume_update_spec.rb
528
532
  - spec/spec_helper.rb