autosde_openapi_client 1.0.0 → 1.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +143 -117
  3. data/autosde_openapi_client.gemspec +4 -5
  4. data/docs/AbstractCapability.md +11 -10
  5. data/docs/AbstractCapabilityApi.md +122 -50
  6. data/docs/Account.md +13 -12
  7. data/docs/AccountApi.md +155 -65
  8. data/docs/AccountPostRequest.md +11 -10
  9. data/docs/AccountPostResponse.md +15 -14
  10. data/docs/Address.md +23 -22
  11. data/docs/AddressApi.md +122 -50
  12. data/docs/AddressCreate.md +23 -22
  13. data/docs/AuthResponse.md +9 -8
  14. data/docs/Authentication.md +11 -10
  15. data/docs/AuthenticationApi.md +33 -16
  16. data/docs/AutoSDEProject.md +47 -46
  17. data/docs/AutoSDEProjectApi.md +122 -50
  18. data/docs/AutoSDERole.md +11 -10
  19. data/docs/AutoSDERoleApi.md +122 -50
  20. data/docs/CapabilityTranslation.md +27 -26
  21. data/docs/CapabilityTranslationApi.md +122 -50
  22. data/docs/CapabilityTranslationCreate.md +23 -22
  23. data/docs/Host.md +21 -20
  24. data/docs/HostApi.md +122 -50
  25. data/docs/HostCreate.md +31 -30
  26. data/docs/HostVolumeConnection.md +15 -14
  27. data/docs/HostVolumeConnectionApi.md +122 -50
  28. data/docs/HostVolumeConnectionCreate.md +13 -12
  29. data/docs/Job.md +30 -0
  30. data/docs/JobApi.md +140 -0
  31. data/docs/JobCreate.md +20 -0
  32. data/docs/NativeCapability.md +15 -14
  33. data/docs/NativeCapabilityApi.md +122 -50
  34. data/docs/Profile.md +17 -16
  35. data/docs/ProfileApi.md +122 -50
  36. data/docs/ProvisioningStrategy.md +11 -10
  37. data/docs/ProvisioningStrategyApi.md +122 -50
  38. data/docs/Service.md +27 -26
  39. data/docs/ServiceAbstractCapabilityValue.md +13 -12
  40. data/docs/ServiceApi.md +155 -65
  41. data/docs/ServiceCreate.md +25 -24
  42. data/docs/ServiceResourceAttachment.md +15 -14
  43. data/docs/ServiceResourceAttachmentApi.md +122 -50
  44. data/docs/Snapshot.md +26 -0
  45. data/docs/SnapshotApi.md +276 -0
  46. data/docs/SnapshotCreate.md +24 -0
  47. data/docs/StorageHost.md +30 -0
  48. data/docs/StorageHostApi.md +346 -0
  49. data/docs/StorageHostCreate.md +38 -0
  50. data/docs/StorageHostResponse.md +32 -0
  51. data/docs/StorageHostUpdate.md +22 -0
  52. data/docs/StorageHostVolumeMapping.md +26 -0
  53. data/docs/StorageHostVolumeMappingApi.md +276 -0
  54. data/docs/StorageHostVolumeMappingCreate.md +24 -0
  55. data/docs/StorageHostVolumeMappingResponse.md +26 -0
  56. data/docs/StorageResource.md +25 -24
  57. data/docs/StorageResourceApi.md +155 -65
  58. data/docs/StorageResourceCreate.md +23 -22
  59. data/docs/StorageResourceResponse.md +25 -24
  60. data/docs/StorageSystem.md +21 -20
  61. data/docs/StorageSystemApi.md +122 -50
  62. data/docs/StorageSystemCreate.md +41 -40
  63. data/docs/SystemType.md +17 -16
  64. data/docs/SystemTypeApi.md +122 -50
  65. data/docs/SystemTypeCreate.md +19 -18
  66. data/docs/Volume.md +25 -22
  67. data/docs/VolumeApi.md +155 -65
  68. data/docs/VolumeCreate.md +21 -18
  69. data/docs/VolumeResponse.md +25 -22
  70. data/docs/VolumeSafeDelete.md +13 -12
  71. data/docs/VolumeSafeDeleteApi.md +122 -50
  72. data/docs/VolumeSafeDeleteCreate.md +9 -8
  73. data/docs/VolumeUpdate.md +11 -8
  74. data/lib/autosde_openapi_client.rb +18 -3
  75. data/lib/autosde_openapi_client/api/abstract_capability_api.rb +20 -16
  76. data/lib/autosde_openapi_client/api/account_api.rb +26 -21
  77. data/lib/autosde_openapi_client/api/address_api.rb +20 -16
  78. data/lib/autosde_openapi_client/api/authentication_api.rb +6 -5
  79. data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +20 -16
  80. data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +20 -16
  81. data/lib/autosde_openapi_client/api/capability_translation_api.rb +20 -16
  82. data/lib/autosde_openapi_client/api/host_api.rb +20 -16
  83. data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +20 -16
  84. data/lib/autosde_openapi_client/api/job_api.rb +136 -0
  85. data/lib/autosde_openapi_client/api/native_capability_api.rb +20 -16
  86. data/lib/autosde_openapi_client/api/profile_api.rb +20 -16
  87. data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +20 -16
  88. data/lib/autosde_openapi_client/api/service_api.rb +26 -21
  89. data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +20 -16
  90. data/lib/autosde_openapi_client/api/snapshot_api.rb +254 -0
  91. data/lib/autosde_openapi_client/api/storage_host_api.rb +321 -0
  92. data/lib/autosde_openapi_client/api/storage_host_volume_mapping_api.rb +254 -0
  93. data/lib/autosde_openapi_client/api/storage_resource_api.rb +26 -21
  94. data/lib/autosde_openapi_client/api/storage_system_api.rb +20 -16
  95. data/lib/autosde_openapi_client/api/system_type_api.rb +20 -16
  96. data/lib/autosde_openapi_client/api/volume_api.rb +26 -21
  97. data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +20 -16
  98. data/lib/autosde_openapi_client/api_client.rb +50 -48
  99. data/lib/autosde_openapi_client/api_error.rb +2 -2
  100. data/lib/autosde_openapi_client/configuration.rb +35 -8
  101. data/lib/autosde_openapi_client/models/abstract_capability.rb +22 -10
  102. data/lib/autosde_openapi_client/models/account.rb +22 -10
  103. data/lib/autosde_openapi_client/models/account_post_request.rb +22 -10
  104. data/lib/autosde_openapi_client/models/account_post_response.rb +22 -10
  105. data/lib/autosde_openapi_client/models/address.rb +22 -10
  106. data/lib/autosde_openapi_client/models/address_create.rb +22 -10
  107. data/lib/autosde_openapi_client/models/auth_response.rb +22 -10
  108. data/lib/autosde_openapi_client/models/authentication.rb +22 -10
  109. data/lib/autosde_openapi_client/models/auto_sde_project.rb +22 -10
  110. data/lib/autosde_openapi_client/models/auto_sde_role.rb +22 -10
  111. data/lib/autosde_openapi_client/models/capability_translation.rb +22 -10
  112. data/lib/autosde_openapi_client/models/capability_translation_create.rb +22 -10
  113. data/lib/autosde_openapi_client/models/host.rb +22 -10
  114. data/lib/autosde_openapi_client/models/host_create.rb +22 -10
  115. data/lib/autosde_openapi_client/models/host_volume_connection.rb +22 -10
  116. data/lib/autosde_openapi_client/models/host_volume_connection_create.rb +22 -10
  117. data/lib/autosde_openapi_client/models/job.rb +280 -0
  118. data/lib/autosde_openapi_client/models/job_create.rb +230 -0
  119. data/lib/autosde_openapi_client/models/native_capability.rb +22 -10
  120. data/lib/autosde_openapi_client/models/profile.rb +22 -10
  121. data/lib/autosde_openapi_client/models/provisioning_strategy.rb +22 -10
  122. data/lib/autosde_openapi_client/models/service.rb +22 -10
  123. data/lib/autosde_openapi_client/models/service_abstract_capability_value.rb +22 -10
  124. data/lib/autosde_openapi_client/models/service_create.rb +22 -10
  125. data/lib/autosde_openapi_client/models/service_resource_attachment.rb +22 -10
  126. data/lib/autosde_openapi_client/models/snapshot.rb +298 -0
  127. data/lib/autosde_openapi_client/models/snapshot_create.rb +288 -0
  128. data/lib/autosde_openapi_client/models/storage_host.rb +317 -0
  129. data/lib/autosde_openapi_client/models/storage_host_create.rb +368 -0
  130. data/lib/autosde_openapi_client/models/storage_host_response.rb +333 -0
  131. data/lib/autosde_openapi_client/models/storage_host_update.rb +301 -0
  132. data/lib/autosde_openapi_client/models/storage_host_volume_mapping.rb +299 -0
  133. data/lib/autosde_openapi_client/models/storage_host_volume_mapping_create.rb +291 -0
  134. data/lib/autosde_openapi_client/models/storage_host_volume_mapping_response.rb +301 -0
  135. data/lib/autosde_openapi_client/models/storage_resource.rb +22 -10
  136. data/lib/autosde_openapi_client/models/storage_resource_create.rb +22 -10
  137. data/lib/autosde_openapi_client/models/storage_resource_response.rb +22 -10
  138. data/lib/autosde_openapi_client/models/storage_system.rb +22 -10
  139. data/lib/autosde_openapi_client/models/storage_system_create.rb +22 -10
  140. data/lib/autosde_openapi_client/models/system_type.rb +22 -10
  141. data/lib/autosde_openapi_client/models/system_type_create.rb +22 -10
  142. data/lib/autosde_openapi_client/models/volume.rb +33 -11
  143. data/lib/autosde_openapi_client/models/volume_create.rb +33 -11
  144. data/lib/autosde_openapi_client/models/volume_response.rb +33 -11
  145. data/lib/autosde_openapi_client/models/volume_safe_delete.rb +22 -10
  146. data/lib/autosde_openapi_client/models/volume_safe_delete_create.rb +22 -10
  147. data/lib/autosde_openapi_client/models/volume_update.rb +35 -11
  148. data/lib/autosde_openapi_client/version.rb +4 -4
  149. data/spec/api/abstract_capability_api_spec.rb +2 -2
  150. data/spec/api/account_api_spec.rb +3 -3
  151. data/spec/api/address_api_spec.rb +2 -2
  152. data/spec/api/authentication_api_spec.rb +1 -1
  153. data/spec/api/auto_sde_project_api_spec.rb +2 -2
  154. data/spec/api/auto_sde_role_api_spec.rb +2 -2
  155. data/spec/api/capability_translation_api_spec.rb +2 -2
  156. data/spec/api/host_api_spec.rb +2 -2
  157. data/spec/api/host_volume_connection_api_spec.rb +2 -2
  158. data/spec/api/job_api_spec.rb +54 -0
  159. data/spec/api/native_capability_api_spec.rb +2 -2
  160. data/spec/api/profile_api_spec.rb +2 -2
  161. data/spec/api/provisioning_strategy_api_spec.rb +2 -2
  162. data/spec/api/service_api_spec.rb +3 -3
  163. data/spec/api/service_resource_attachment_api_spec.rb +2 -2
  164. data/spec/api/snapshot_api_spec.rb +74 -0
  165. data/spec/api/storage_host_api_spec.rb +85 -0
  166. data/spec/api/storage_host_volume_mapping_api_spec.rb +74 -0
  167. data/spec/api/storage_resource_api_spec.rb +3 -3
  168. data/spec/api/storage_system_api_spec.rb +2 -2
  169. data/spec/api/system_type_api_spec.rb +2 -2
  170. data/spec/api/volume_api_spec.rb +3 -3
  171. data/spec/api/volume_safe_delete_api_spec.rb +2 -2
  172. data/spec/api_client_spec.rb +30 -30
  173. data/spec/configuration_spec.rb +4 -4
  174. data/spec/models/abstract_capability_spec.rb +4 -11
  175. data/spec/models/account_post_request_spec.rb +4 -11
  176. data/spec/models/account_post_response_spec.rb +4 -11
  177. data/spec/models/account_spec.rb +4 -11
  178. data/spec/models/address_create_spec.rb +6 -13
  179. data/spec/models/address_spec.rb +6 -13
  180. data/spec/models/auth_response_spec.rb +4 -11
  181. data/spec/models/authentication_spec.rb +4 -11
  182. data/spec/models/auto_sde_project_spec.rb +4 -11
  183. data/spec/models/auto_sde_role_spec.rb +4 -11
  184. data/spec/models/capability_translation_create_spec.rb +4 -11
  185. data/spec/models/capability_translation_spec.rb +4 -11
  186. data/spec/models/host_create_spec.rb +7 -14
  187. data/spec/models/host_spec.rb +6 -13
  188. data/spec/models/host_volume_connection_create_spec.rb +5 -12
  189. data/spec/models/host_volume_connection_spec.rb +5 -12
  190. data/spec/models/job_create_spec.rb +40 -0
  191. data/spec/models/job_spec.rb +70 -0
  192. data/spec/models/native_capability_spec.rb +4 -11
  193. data/spec/models/profile_spec.rb +5 -12
  194. data/spec/models/provisioning_strategy_spec.rb +5 -12
  195. data/spec/models/service_abstract_capability_value_spec.rb +4 -11
  196. data/spec/models/service_create_spec.rb +5 -12
  197. data/spec/models/service_resource_attachment_spec.rb +4 -11
  198. data/spec/models/service_spec.rb +5 -12
  199. data/spec/models/snapshot_create_spec.rb +56 -0
  200. data/spec/models/snapshot_spec.rb +62 -0
  201. data/spec/models/storage_host_create_spec.rb +102 -0
  202. data/spec/models/storage_host_response_spec.rb +80 -0
  203. data/spec/models/storage_host_spec.rb +74 -0
  204. data/spec/models/storage_host_update_spec.rb +54 -0
  205. data/spec/models/storage_host_volume_mapping_create_spec.rb +56 -0
  206. data/spec/models/storage_host_volume_mapping_response_spec.rb +62 -0
  207. data/spec/models/storage_host_volume_mapping_spec.rb +62 -0
  208. data/spec/models/storage_resource_create_spec.rb +6 -13
  209. data/spec/models/storage_resource_response_spec.rb +6 -13
  210. data/spec/models/storage_resource_spec.rb +6 -13
  211. data/spec/models/storage_system_create_spec.rb +7 -14
  212. data/spec/models/storage_system_spec.rb +6 -13
  213. data/spec/models/system_type_create_spec.rb +6 -13
  214. data/spec/models/system_type_spec.rb +6 -13
  215. data/spec/models/volume_create_spec.rb +11 -12
  216. data/spec/models/volume_response_spec.rb +11 -12
  217. data/spec/models/volume_safe_delete_create_spec.rb +4 -11
  218. data/spec/models/volume_safe_delete_spec.rb +4 -11
  219. data/spec/models/volume_spec.rb +11 -12
  220. data/spec/models/volume_update_spec.rb +10 -11
  221. data/spec/spec_helper.rb +1 -1
  222. metadata +112 -72
  223. data/site_manager_oas.json +0 -3992
@@ -6,13 +6,13 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: autosde@il.ibm.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 5.0.0
10
10
 
11
11
  =end
12
12
 
13
13
  require 'cgi'
14
14
 
15
- module OpenapiClient
15
+ module AutosdeOpenapiClient
16
16
  class StorageResourceApi
17
17
  attr_accessor :api_client
18
18
 
@@ -47,15 +47,16 @@ module OpenapiClient
47
47
  form_params = opts[:form_params] || {}
48
48
 
49
49
  # http body (model)
50
- post_body = opts[:body]
50
+ post_body = opts[:debug_body]
51
51
 
52
52
  # return_type
53
- return_type = opts[:return_type] || 'Array<StorageResourceResponse>'
53
+ return_type = opts[:debug_return_type] || 'Array<StorageResourceResponse>'
54
54
 
55
55
  # auth_names
56
- auth_names = opts[:auth_names] || ['bearerAuth']
56
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
57
57
 
58
58
  new_options = opts.merge(
59
+ :operation => :"StorageResourceApi.storage_resources_get",
59
60
  :header_params => header_params,
60
61
  :query_params => query_params,
61
62
  :form_params => form_params,
@@ -105,15 +106,16 @@ module OpenapiClient
105
106
  form_params = opts[:form_params] || {}
106
107
 
107
108
  # http body (model)
108
- post_body = opts[:body]
109
+ post_body = opts[:debug_body]
109
110
 
110
111
  # return_type
111
- return_type = opts[:return_type] || 'Array<StorageResourceResponse>'
112
+ return_type = opts[:debug_return_type] || 'Array<StorageResourceResponse>'
112
113
 
113
114
  # auth_names
114
- auth_names = opts[:auth_names] || ['bearerAuth']
115
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
115
116
 
116
117
  new_options = opts.merge(
118
+ :operation => :"StorageResourceApi.storage_resources_pk_delete",
117
119
  :header_params => header_params,
118
120
  :query_params => query_params,
119
121
  :form_params => form_params,
@@ -163,15 +165,16 @@ module OpenapiClient
163
165
  form_params = opts[:form_params] || {}
164
166
 
165
167
  # http body (model)
166
- post_body = opts[:body]
168
+ post_body = opts[:debug_body]
167
169
 
168
170
  # return_type
169
- return_type = opts[:return_type] || 'Array<StorageResourceResponse>'
171
+ return_type = opts[:debug_return_type] || 'Array<StorageResourceResponse>'
170
172
 
171
173
  # auth_names
172
- auth_names = opts[:auth_names] || ['bearerAuth']
174
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
173
175
 
174
176
  new_options = opts.merge(
177
+ :operation => :"StorageResourceApi.storage_resources_pk_get",
175
178
  :header_params => header_params,
176
179
  :query_params => query_params,
177
180
  :form_params => form_params,
@@ -190,7 +193,7 @@ module OpenapiClient
190
193
  # @param pk [Integer]
191
194
  # @param storage_resource_create [StorageResourceCreate]
192
195
  # @param [Hash] opts the optional parameters
193
- # @return [Array<StorageResourceResponse>]
196
+ # @return [StorageResourceResponse]
194
197
  def storage_resources_pk_put(pk, storage_resource_create, opts = {})
195
198
  data, _status_code, _headers = storage_resources_pk_put_with_http_info(pk, storage_resource_create, opts)
196
199
  data
@@ -199,7 +202,7 @@ module OpenapiClient
199
202
  # @param pk [Integer]
200
203
  # @param storage_resource_create [StorageResourceCreate]
201
204
  # @param [Hash] opts the optional parameters
202
- # @return [Array<(Array<StorageResourceResponse>, Integer, Hash)>] Array<StorageResourceResponse> data, response status code and response headers
205
+ # @return [Array<(StorageResourceResponse, Integer, Hash)>] StorageResourceResponse data, response status code and response headers
203
206
  def storage_resources_pk_put_with_http_info(pk, storage_resource_create, opts = {})
204
207
  if @api_client.config.debugging
205
208
  @api_client.config.logger.debug 'Calling API: StorageResourceApi.storage_resources_pk_put ...'
@@ -229,15 +232,16 @@ module OpenapiClient
229
232
  form_params = opts[:form_params] || {}
230
233
 
231
234
  # http body (model)
232
- post_body = opts[:body] || @api_client.object_to_http_body(storage_resource_create)
235
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_resource_create)
233
236
 
234
237
  # return_type
235
- return_type = opts[:return_type] || 'Array<StorageResourceResponse>'
238
+ return_type = opts[:debug_return_type] || 'StorageResourceResponse'
236
239
 
237
240
  # auth_names
238
- auth_names = opts[:auth_names] || ['bearerAuth']
241
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
239
242
 
240
243
  new_options = opts.merge(
244
+ :operation => :"StorageResourceApi.storage_resources_pk_put",
241
245
  :header_params => header_params,
242
246
  :query_params => query_params,
243
247
  :form_params => form_params,
@@ -255,7 +259,7 @@ module OpenapiClient
255
259
 
256
260
  # @param storage_resource_create [StorageResourceCreate]
257
261
  # @param [Hash] opts the optional parameters
258
- # @return [Array<StorageResourceResponse>]
262
+ # @return [StorageResourceResponse]
259
263
  def storage_resources_post(storage_resource_create, opts = {})
260
264
  data, _status_code, _headers = storage_resources_post_with_http_info(storage_resource_create, opts)
261
265
  data
@@ -263,7 +267,7 @@ module OpenapiClient
263
267
 
264
268
  # @param storage_resource_create [StorageResourceCreate]
265
269
  # @param [Hash] opts the optional parameters
266
- # @return [Array<(Array<StorageResourceResponse>, Integer, Hash)>] Array<StorageResourceResponse> data, response status code and response headers
270
+ # @return [Array<(StorageResourceResponse, Integer, Hash)>] StorageResourceResponse data, response status code and response headers
267
271
  def storage_resources_post_with_http_info(storage_resource_create, opts = {})
268
272
  if @api_client.config.debugging
269
273
  @api_client.config.logger.debug 'Calling API: StorageResourceApi.storage_resources_post ...'
@@ -289,15 +293,16 @@ module OpenapiClient
289
293
  form_params = opts[:form_params] || {}
290
294
 
291
295
  # http body (model)
292
- post_body = opts[:body] || @api_client.object_to_http_body(storage_resource_create)
296
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_resource_create)
293
297
 
294
298
  # return_type
295
- return_type = opts[:return_type] || 'Array<StorageResourceResponse>'
299
+ return_type = opts[:debug_return_type] || 'StorageResourceResponse'
296
300
 
297
301
  # auth_names
298
- auth_names = opts[:auth_names] || ['bearerAuth']
302
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
299
303
 
300
304
  new_options = opts.merge(
305
+ :operation => :"StorageResourceApi.storage_resources_post",
301
306
  :header_params => header_params,
302
307
  :query_params => query_params,
303
308
  :form_params => form_params,
@@ -6,13 +6,13 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: autosde@il.ibm.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 5.0.0
10
10
 
11
11
  =end
12
12
 
13
13
  require 'cgi'
14
14
 
15
- module OpenapiClient
15
+ module AutosdeOpenapiClient
16
16
  class StorageSystemApi
17
17
  attr_accessor :api_client
18
18
 
@@ -47,15 +47,16 @@ module OpenapiClient
47
47
  form_params = opts[:form_params] || {}
48
48
 
49
49
  # http body (model)
50
- post_body = opts[:body]
50
+ post_body = opts[:debug_body]
51
51
 
52
52
  # return_type
53
- return_type = opts[:return_type] || 'Array<StorageSystem>'
53
+ return_type = opts[:debug_return_type] || 'Array<StorageSystem>'
54
54
 
55
55
  # auth_names
56
- auth_names = opts[:auth_names] || ['bearerAuth']
56
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
57
57
 
58
58
  new_options = opts.merge(
59
+ :operation => :"StorageSystemApi.storage_systems_get",
59
60
  :header_params => header_params,
60
61
  :query_params => query_params,
61
62
  :form_params => form_params,
@@ -105,15 +106,16 @@ module OpenapiClient
105
106
  form_params = opts[:form_params] || {}
106
107
 
107
108
  # http body (model)
108
- post_body = opts[:body]
109
+ post_body = opts[:debug_body]
109
110
 
110
111
  # return_type
111
- return_type = opts[:return_type] || 'Array<StorageSystem>'
112
+ return_type = opts[:debug_return_type] || 'Array<StorageSystem>'
112
113
 
113
114
  # auth_names
114
- auth_names = opts[:auth_names] || ['bearerAuth']
115
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
115
116
 
116
117
  new_options = opts.merge(
118
+ :operation => :"StorageSystemApi.storage_systems_pk_delete",
117
119
  :header_params => header_params,
118
120
  :query_params => query_params,
119
121
  :form_params => form_params,
@@ -163,15 +165,16 @@ module OpenapiClient
163
165
  form_params = opts[:form_params] || {}
164
166
 
165
167
  # http body (model)
166
- post_body = opts[:body]
168
+ post_body = opts[:debug_body]
167
169
 
168
170
  # return_type
169
- return_type = opts[:return_type] || 'Array<StorageSystem>'
171
+ return_type = opts[:debug_return_type] || 'Array<StorageSystem>'
170
172
 
171
173
  # auth_names
172
- auth_names = opts[:auth_names] || ['bearerAuth']
174
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
173
175
 
174
176
  new_options = opts.merge(
177
+ :operation => :"StorageSystemApi.storage_systems_pk_get",
175
178
  :header_params => header_params,
176
179
  :query_params => query_params,
177
180
  :form_params => form_params,
@@ -189,7 +192,7 @@ module OpenapiClient
189
192
 
190
193
  # @param storage_system_create [StorageSystemCreate]
191
194
  # @param [Hash] opts the optional parameters
192
- # @return [Array<StorageSystem>]
195
+ # @return [StorageSystem]
193
196
  def storage_systems_post(storage_system_create, opts = {})
194
197
  data, _status_code, _headers = storage_systems_post_with_http_info(storage_system_create, opts)
195
198
  data
@@ -197,7 +200,7 @@ module OpenapiClient
197
200
 
198
201
  # @param storage_system_create [StorageSystemCreate]
199
202
  # @param [Hash] opts the optional parameters
200
- # @return [Array<(Array<StorageSystem>, Integer, Hash)>] Array<StorageSystem> data, response status code and response headers
203
+ # @return [Array<(StorageSystem, Integer, Hash)>] StorageSystem data, response status code and response headers
201
204
  def storage_systems_post_with_http_info(storage_system_create, opts = {})
202
205
  if @api_client.config.debugging
203
206
  @api_client.config.logger.debug 'Calling API: StorageSystemApi.storage_systems_post ...'
@@ -223,15 +226,16 @@ module OpenapiClient
223
226
  form_params = opts[:form_params] || {}
224
227
 
225
228
  # http body (model)
226
- post_body = opts[:body] || @api_client.object_to_http_body(storage_system_create)
229
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_system_create)
227
230
 
228
231
  # return_type
229
- return_type = opts[:return_type] || 'Array<StorageSystem>'
232
+ return_type = opts[:debug_return_type] || 'StorageSystem'
230
233
 
231
234
  # auth_names
232
- auth_names = opts[:auth_names] || ['bearerAuth']
235
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
233
236
 
234
237
  new_options = opts.merge(
238
+ :operation => :"StorageSystemApi.storage_systems_post",
235
239
  :header_params => header_params,
236
240
  :query_params => query_params,
237
241
  :form_params => form_params,
@@ -6,13 +6,13 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: autosde@il.ibm.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 5.0.0
10
10
 
11
11
  =end
12
12
 
13
13
  require 'cgi'
14
14
 
15
- module OpenapiClient
15
+ module AutosdeOpenapiClient
16
16
  class SystemTypeApi
17
17
  attr_accessor :api_client
18
18
 
@@ -47,15 +47,16 @@ module OpenapiClient
47
47
  form_params = opts[:form_params] || {}
48
48
 
49
49
  # http body (model)
50
- post_body = opts[:body]
50
+ post_body = opts[:debug_body]
51
51
 
52
52
  # return_type
53
- return_type = opts[:return_type] || 'Array<SystemType>'
53
+ return_type = opts[:debug_return_type] || 'Array<SystemType>'
54
54
 
55
55
  # auth_names
56
- auth_names = opts[:auth_names] || ['bearerAuth']
56
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
57
57
 
58
58
  new_options = opts.merge(
59
+ :operation => :"SystemTypeApi.system_types_get",
59
60
  :header_params => header_params,
60
61
  :query_params => query_params,
61
62
  :form_params => form_params,
@@ -105,15 +106,16 @@ module OpenapiClient
105
106
  form_params = opts[:form_params] || {}
106
107
 
107
108
  # http body (model)
108
- post_body = opts[:body]
109
+ post_body = opts[:debug_body]
109
110
 
110
111
  # return_type
111
- return_type = opts[:return_type] || 'Array<SystemType>'
112
+ return_type = opts[:debug_return_type] || 'Array<SystemType>'
112
113
 
113
114
  # auth_names
114
- auth_names = opts[:auth_names] || ['bearerAuth']
115
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
115
116
 
116
117
  new_options = opts.merge(
118
+ :operation => :"SystemTypeApi.system_types_pk_delete",
117
119
  :header_params => header_params,
118
120
  :query_params => query_params,
119
121
  :form_params => form_params,
@@ -163,15 +165,16 @@ module OpenapiClient
163
165
  form_params = opts[:form_params] || {}
164
166
 
165
167
  # http body (model)
166
- post_body = opts[:body]
168
+ post_body = opts[:debug_body]
167
169
 
168
170
  # return_type
169
- return_type = opts[:return_type] || 'Array<SystemType>'
171
+ return_type = opts[:debug_return_type] || 'Array<SystemType>'
170
172
 
171
173
  # auth_names
172
- auth_names = opts[:auth_names] || ['bearerAuth']
174
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
173
175
 
174
176
  new_options = opts.merge(
177
+ :operation => :"SystemTypeApi.system_types_pk_get",
175
178
  :header_params => header_params,
176
179
  :query_params => query_params,
177
180
  :form_params => form_params,
@@ -189,7 +192,7 @@ module OpenapiClient
189
192
 
190
193
  # @param system_type_create [SystemTypeCreate]
191
194
  # @param [Hash] opts the optional parameters
192
- # @return [Array<SystemType>]
195
+ # @return [SystemType]
193
196
  def system_types_post(system_type_create, opts = {})
194
197
  data, _status_code, _headers = system_types_post_with_http_info(system_type_create, opts)
195
198
  data
@@ -197,7 +200,7 @@ module OpenapiClient
197
200
 
198
201
  # @param system_type_create [SystemTypeCreate]
199
202
  # @param [Hash] opts the optional parameters
200
- # @return [Array<(Array<SystemType>, Integer, Hash)>] Array<SystemType> data, response status code and response headers
203
+ # @return [Array<(SystemType, Integer, Hash)>] SystemType data, response status code and response headers
201
204
  def system_types_post_with_http_info(system_type_create, opts = {})
202
205
  if @api_client.config.debugging
203
206
  @api_client.config.logger.debug 'Calling API: SystemTypeApi.system_types_post ...'
@@ -223,15 +226,16 @@ module OpenapiClient
223
226
  form_params = opts[:form_params] || {}
224
227
 
225
228
  # http body (model)
226
- post_body = opts[:body] || @api_client.object_to_http_body(system_type_create)
229
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(system_type_create)
227
230
 
228
231
  # return_type
229
- return_type = opts[:return_type] || 'Array<SystemType>'
232
+ return_type = opts[:debug_return_type] || 'SystemType'
230
233
 
231
234
  # auth_names
232
- auth_names = opts[:auth_names] || ['bearerAuth']
235
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
233
236
 
234
237
  new_options = opts.merge(
238
+ :operation => :"SystemTypeApi.system_types_post",
235
239
  :header_params => header_params,
236
240
  :query_params => query_params,
237
241
  :form_params => form_params,
@@ -6,13 +6,13 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: autosde@il.ibm.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 5.0.0
10
10
 
11
11
  =end
12
12
 
13
13
  require 'cgi'
14
14
 
15
- module OpenapiClient
15
+ module AutosdeOpenapiClient
16
16
  class VolumeApi
17
17
  attr_accessor :api_client
18
18
 
@@ -47,15 +47,16 @@ module OpenapiClient
47
47
  form_params = opts[:form_params] || {}
48
48
 
49
49
  # http body (model)
50
- post_body = opts[:body]
50
+ post_body = opts[:debug_body]
51
51
 
52
52
  # return_type
53
- return_type = opts[:return_type] || 'Array<VolumeResponse>'
53
+ return_type = opts[:debug_return_type] || 'Array<VolumeResponse>'
54
54
 
55
55
  # auth_names
56
- auth_names = opts[:auth_names] || ['bearerAuth']
56
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
57
57
 
58
58
  new_options = opts.merge(
59
+ :operation => :"VolumeApi.volumes_get",
59
60
  :header_params => header_params,
60
61
  :query_params => query_params,
61
62
  :form_params => form_params,
@@ -105,15 +106,16 @@ module OpenapiClient
105
106
  form_params = opts[:form_params] || {}
106
107
 
107
108
  # http body (model)
108
- post_body = opts[:body]
109
+ post_body = opts[:debug_body]
109
110
 
110
111
  # return_type
111
- return_type = opts[:return_type] || 'Array<Volume>'
112
+ return_type = opts[:debug_return_type] || 'Array<Volume>'
112
113
 
113
114
  # auth_names
114
- auth_names = opts[:auth_names] || ['bearerAuth']
115
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
115
116
 
116
117
  new_options = opts.merge(
118
+ :operation => :"VolumeApi.volumes_pk_delete",
117
119
  :header_params => header_params,
118
120
  :query_params => query_params,
119
121
  :form_params => form_params,
@@ -163,15 +165,16 @@ module OpenapiClient
163
165
  form_params = opts[:form_params] || {}
164
166
 
165
167
  # http body (model)
166
- post_body = opts[:body]
168
+ post_body = opts[:debug_body]
167
169
 
168
170
  # return_type
169
- return_type = opts[:return_type] || 'Array<VolumeResponse>'
171
+ return_type = opts[:debug_return_type] || 'Array<VolumeResponse>'
170
172
 
171
173
  # auth_names
172
- auth_names = opts[:auth_names] || ['bearerAuth']
174
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
173
175
 
174
176
  new_options = opts.merge(
177
+ :operation => :"VolumeApi.volumes_pk_get",
175
178
  :header_params => header_params,
176
179
  :query_params => query_params,
177
180
  :form_params => form_params,
@@ -190,7 +193,7 @@ module OpenapiClient
190
193
  # @param pk [Integer]
191
194
  # @param volume_update [VolumeUpdate]
192
195
  # @param [Hash] opts the optional parameters
193
- # @return [Array<VolumeResponse>]
196
+ # @return [VolumeResponse]
194
197
  def volumes_pk_put(pk, volume_update, opts = {})
195
198
  data, _status_code, _headers = volumes_pk_put_with_http_info(pk, volume_update, opts)
196
199
  data
@@ -199,7 +202,7 @@ module OpenapiClient
199
202
  # @param pk [Integer]
200
203
  # @param volume_update [VolumeUpdate]
201
204
  # @param [Hash] opts the optional parameters
202
- # @return [Array<(Array<VolumeResponse>, Integer, Hash)>] Array<VolumeResponse> data, response status code and response headers
205
+ # @return [Array<(VolumeResponse, Integer, Hash)>] VolumeResponse data, response status code and response headers
203
206
  def volumes_pk_put_with_http_info(pk, volume_update, opts = {})
204
207
  if @api_client.config.debugging
205
208
  @api_client.config.logger.debug 'Calling API: VolumeApi.volumes_pk_put ...'
@@ -229,15 +232,16 @@ module OpenapiClient
229
232
  form_params = opts[:form_params] || {}
230
233
 
231
234
  # http body (model)
232
- post_body = opts[:body] || @api_client.object_to_http_body(volume_update)
235
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(volume_update)
233
236
 
234
237
  # return_type
235
- return_type = opts[:return_type] || 'Array<VolumeResponse>'
238
+ return_type = opts[:debug_return_type] || 'VolumeResponse'
236
239
 
237
240
  # auth_names
238
- auth_names = opts[:auth_names] || ['bearerAuth']
241
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
239
242
 
240
243
  new_options = opts.merge(
244
+ :operation => :"VolumeApi.volumes_pk_put",
241
245
  :header_params => header_params,
242
246
  :query_params => query_params,
243
247
  :form_params => form_params,
@@ -255,7 +259,7 @@ module OpenapiClient
255
259
 
256
260
  # @param volume_create [VolumeCreate]
257
261
  # @param [Hash] opts the optional parameters
258
- # @return [Array<VolumeResponse>]
262
+ # @return [VolumeResponse]
259
263
  def volumes_post(volume_create, opts = {})
260
264
  data, _status_code, _headers = volumes_post_with_http_info(volume_create, opts)
261
265
  data
@@ -263,7 +267,7 @@ module OpenapiClient
263
267
 
264
268
  # @param volume_create [VolumeCreate]
265
269
  # @param [Hash] opts the optional parameters
266
- # @return [Array<(Array<VolumeResponse>, Integer, Hash)>] Array<VolumeResponse> data, response status code and response headers
270
+ # @return [Array<(VolumeResponse, Integer, Hash)>] VolumeResponse data, response status code and response headers
267
271
  def volumes_post_with_http_info(volume_create, opts = {})
268
272
  if @api_client.config.debugging
269
273
  @api_client.config.logger.debug 'Calling API: VolumeApi.volumes_post ...'
@@ -289,15 +293,16 @@ module OpenapiClient
289
293
  form_params = opts[:form_params] || {}
290
294
 
291
295
  # http body (model)
292
- post_body = opts[:body] || @api_client.object_to_http_body(volume_create)
296
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(volume_create)
293
297
 
294
298
  # return_type
295
- return_type = opts[:return_type] || 'Array<VolumeResponse>'
299
+ return_type = opts[:debug_return_type] || 'VolumeResponse'
296
300
 
297
301
  # auth_names
298
- auth_names = opts[:auth_names] || ['bearerAuth']
302
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
299
303
 
300
304
  new_options = opts.merge(
305
+ :operation => :"VolumeApi.volumes_post",
301
306
  :header_params => header_params,
302
307
  :query_params => query_params,
303
308
  :form_params => form_params,