autosde_openapi_client 2.5.0 → 2.5.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: 30575d4269a4be52684f2fb7e14ea16d098de10db751a7245e9b7611b8db89cb
4
- data.tar.gz: 171c4a32faa2e64784c7053f8b9c87fc7351a28e472750eb62bd4f779bdadac8
3
+ metadata.gz: 764d6d080e3b7b7fcf7281d05085923415079791f5e8bde8b22895ed24175370
4
+ data.tar.gz: 30d0b776ffd2c0cb5d8f7b9da6d2ab4b6f44dc5dc9c65fa86b140e43bf1179d9
5
5
  SHA512:
6
- metadata.gz: 30081a807245f2c7387c748eddb4349b4bb96df79f19a6e6e8e6d7f3228a18593940e4cc5e3a5733cc5cd78707cbc9468ce8eed7b7cc099c2e85e9c8597fe579
7
- data.tar.gz: 5d99dc1d66cbf2ecf2e5f624b501fef6fab1145574f5887ce7be6346615f7a79802cb0d9e8a5c1a0df0f5c471720beccc4d186d5f79ce73da9f6f58ef87357a7
6
+ metadata.gz: a1ca13e278457ce511173657e39c922afaa76a925d2e0bc4f43a57f0cf3ef9b2bb74558eb693a7ac7eb40124beeaa20f00cdff06ef860bfbe524327530584f23
7
+ data.tar.gz: 80175c56dfa238a22ef9b364faa34ed3743e4597651b4595d6edacf30d363472ada349836d416f201aaff37af12ad823df1663f5f586eb7d1e684d1ad74101e2
@@ -11,6 +11,7 @@
11
11
  | **profile** | [**Profile**](Profile.md) | | [optional] |
12
12
  | **project** | [**AutoSDEProject**](AutoSDEProject.md) | | [optional] |
13
13
  | **provisioning_strategy** | [**ProvisioningStrategy**](ProvisioningStrategy.md) | | [optional] |
14
+ | **resources** | **Array<String>** | resources | [optional] |
14
15
  | **uuid** | **String** | uuid | [optional] |
15
16
  | **version** | **Integer** | The version of the service | [optional][default to 1] |
16
17
 
@@ -27,6 +28,7 @@ instance = AutosdeOpenapiClient::ServiceCreate.new(
27
28
  profile: null,
28
29
  project: null,
29
30
  provisioning_strategy: null,
31
+ resources: null,
30
32
  uuid: null,
31
33
  version: null
32
34
  )
@@ -280,7 +280,7 @@ end
280
280
 
281
281
  ## storage_resources_post
282
282
 
283
- > <StorageResourceResponse> storage_resources_post(storage_resource_create)
283
+ > <AsyncResponse> storage_resources_post(storage_resource_create)
284
284
 
285
285
 
286
286
 
@@ -311,7 +311,7 @@ end
311
311
 
312
312
  This returns an Array which contains the response data, status code and headers.
313
313
 
314
- > <Array(<StorageResourceResponse>, Integer, Hash)> storage_resources_post_with_http_info(storage_resource_create)
314
+ > <Array(<AsyncResponse>, Integer, Hash)> storage_resources_post_with_http_info(storage_resource_create)
315
315
 
316
316
  ```ruby
317
317
  begin
@@ -319,7 +319,7 @@ begin
319
319
  data, status_code, headers = api_instance.storage_resources_post_with_http_info(storage_resource_create)
320
320
  p status_code # => 2xx
321
321
  p headers # => { ... }
322
- p data # => <StorageResourceResponse>
322
+ p data # => <AsyncResponse>
323
323
  rescue AutosdeOpenapiClient::ApiError => e
324
324
  puts "Error when calling StorageResourceApi->storage_resources_post_with_http_info: #{e}"
325
325
  end
@@ -333,7 +333,7 @@ end
333
333
 
334
334
  ### Return type
335
335
 
336
- [**StorageResourceResponse**](StorageResourceResponse.md)
336
+ [**AsyncResponse**](AsyncResponse.md)
337
337
 
338
338
  ### Authorization
339
339
 
@@ -259,7 +259,7 @@ module AutosdeOpenapiClient
259
259
 
260
260
  # @param storage_resource_create [StorageResourceCreate]
261
261
  # @param [Hash] opts the optional parameters
262
- # @return [StorageResourceResponse]
262
+ # @return [AsyncResponse]
263
263
  def storage_resources_post(storage_resource_create, opts = {})
264
264
  data, _status_code, _headers = storage_resources_post_with_http_info(storage_resource_create, opts)
265
265
  data
@@ -267,7 +267,7 @@ module AutosdeOpenapiClient
267
267
 
268
268
  # @param storage_resource_create [StorageResourceCreate]
269
269
  # @param [Hash] opts the optional parameters
270
- # @return [Array<(StorageResourceResponse, Integer, Hash)>] StorageResourceResponse data, response status code and response headers
270
+ # @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
271
271
  def storage_resources_post_with_http_info(storage_resource_create, opts = {})
272
272
  if @api_client.config.debugging
273
273
  @api_client.config.logger.debug 'Calling API: StorageResourceApi.storage_resources_post ...'
@@ -296,7 +296,7 @@ module AutosdeOpenapiClient
296
296
  post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_resource_create)
297
297
 
298
298
  # return_type
299
- return_type = opts[:debug_return_type] || 'StorageResourceResponse'
299
+ return_type = opts[:debug_return_type] || 'AsyncResponse'
300
300
 
301
301
  # auth_names
302
302
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -34,6 +34,9 @@ module AutosdeOpenapiClient
34
34
 
35
35
  attr_accessor :provisioning_strategy
36
36
 
37
+ # resources
38
+ attr_accessor :resources
39
+
37
40
  # uuid
38
41
  attr_accessor :uuid
39
42
 
@@ -72,6 +75,7 @@ module AutosdeOpenapiClient
72
75
  :'profile' => :'profile',
73
76
  :'project' => :'project',
74
77
  :'provisioning_strategy' => :'provisioning_strategy',
78
+ :'resources' => :'resources',
75
79
  :'uuid' => :'uuid',
76
80
  :'version' => :'version'
77
81
  }
@@ -92,6 +96,7 @@ module AutosdeOpenapiClient
92
96
  :'profile' => :'Profile',
93
97
  :'project' => :'AutoSDEProject',
94
98
  :'provisioning_strategy' => :'ProvisioningStrategy',
99
+ :'resources' => :'Array<String>',
95
100
  :'uuid' => :'String',
96
101
  :'version' => :'Integer'
97
102
  }
@@ -150,6 +155,12 @@ module AutosdeOpenapiClient
150
155
  self.provisioning_strategy = attributes[:'provisioning_strategy']
151
156
  end
152
157
 
158
+ if attributes.key?(:'resources')
159
+ if (value = attributes[:'resources']).is_a?(Array)
160
+ self.resources = value
161
+ end
162
+ end
163
+
153
164
  if attributes.key?(:'uuid')
154
165
  self.uuid = attributes[:'uuid']
155
166
  end
@@ -203,6 +214,7 @@ module AutosdeOpenapiClient
203
214
  profile == o.profile &&
204
215
  project == o.project &&
205
216
  provisioning_strategy == o.provisioning_strategy &&
217
+ resources == o.resources &&
206
218
  uuid == o.uuid &&
207
219
  version == o.version
208
220
  end
@@ -216,7 +228,7 @@ module AutosdeOpenapiClient
216
228
  # Calculates hash code according to all attributes.
217
229
  # @return [Integer] Hash code
218
230
  def hash
219
- [capability_value_list, component_state, description, name, profile, project, provisioning_strategy, uuid, version].hash
231
+ [capability_value_list, component_state, description, name, profile, project, provisioning_strategy, resources, uuid, version].hash
220
232
  end
221
233
 
222
234
  # 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.5.0
6
+ The version of the OpenAPI document: 2.5.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 = '2.5.0'
14
+ VERSION = '2.5.1'
15
15
  end
@@ -75,7 +75,7 @@ describe 'StorageResourceApi' do
75
75
  # unit tests for storage_resources_post
76
76
  # @param storage_resource_create
77
77
  # @param [Hash] opts the optional parameters
78
- # @return [StorageResourceResponse]
78
+ # @return [AsyncResponse]
79
79
  describe 'storage_resources_post test' do
80
80
  it 'should work' do
81
81
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -71,6 +71,12 @@ describe AutosdeOpenapiClient::ServiceCreate do
71
71
  end
72
72
  end
73
73
 
74
+ describe 'test attribute "resources"' 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
+
74
80
  describe 'test attribute "uuid"' do
75
81
  it 'should work' do
76
82
  # 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: 2.5.0
4
+ version: 2.5.1
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-16 00:00:00.000000000 Z
11
+ date: 2023-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus