autosde_openapi_client 1.0.44 → 1.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +58 -46
  3. data/docs/AbstractCapabilityApi.md +4 -4
  4. data/docs/AccountApi.md +2 -2
  5. data/docs/AddressApi.md +2 -2
  6. data/docs/AutoSDEProjectApi.md +4 -4
  7. data/docs/AutoSDERoleApi.md +4 -4
  8. data/docs/CapabilityTranslationApi.md +2 -2
  9. data/docs/HostApi.md +2 -2
  10. data/docs/HostCluster.md +32 -0
  11. data/docs/HostClusterApi.md +276 -0
  12. data/docs/HostClusterCreate.md +28 -0
  13. data/docs/HostClusterMembership.md +24 -0
  14. data/docs/HostClusterMembershipApi.md +276 -0
  15. data/docs/HostVolumeConnectionApi.md +2 -2
  16. data/docs/NativeCapabilityApi.md +2 -2
  17. data/docs/ProfileApi.md +4 -4
  18. data/docs/ProvisioningStrategyApi.md +2 -2
  19. data/docs/ServiceApi.md +2 -2
  20. data/docs/ServiceResourceAttachmentApi.md +2 -2
  21. data/docs/SnapshotApi.md +2 -2
  22. data/docs/StorageResourceApi.md +2 -2
  23. data/docs/StorageSystemApi.md +8 -8
  24. data/docs/StorageSystemUpdate.md +24 -0
  25. data/docs/SystemTypeApi.md +2 -2
  26. data/docs/VolumeApi.md +2 -2
  27. data/docs/VolumeSafeDeleteApi.md +2 -2
  28. data/lib/autosde_openapi_client/api/abstract_capability_api.rb +4 -4
  29. data/lib/autosde_openapi_client/api/account_api.rb +2 -2
  30. data/lib/autosde_openapi_client/api/address_api.rb +2 -2
  31. data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +4 -4
  32. data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +4 -4
  33. data/lib/autosde_openapi_client/api/capability_translation_api.rb +2 -2
  34. data/lib/autosde_openapi_client/api/host_api.rb +2 -2
  35. data/lib/autosde_openapi_client/api/host_cluster_api.rb +254 -0
  36. data/lib/autosde_openapi_client/api/host_cluster_membership_api.rb +254 -0
  37. data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +2 -2
  38. data/lib/autosde_openapi_client/api/native_capability_api.rb +2 -2
  39. data/lib/autosde_openapi_client/api/profile_api.rb +4 -4
  40. data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +2 -2
  41. data/lib/autosde_openapi_client/api/service_api.rb +2 -2
  42. data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +2 -2
  43. data/lib/autosde_openapi_client/api/snapshot_api.rb +2 -2
  44. data/lib/autosde_openapi_client/api/storage_resource_api.rb +2 -2
  45. data/lib/autosde_openapi_client/api/storage_system_api.rb +11 -11
  46. data/lib/autosde_openapi_client/api/system_type_api.rb +2 -2
  47. data/lib/autosde_openapi_client/api/volume_api.rb +2 -2
  48. data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +2 -2
  49. data/lib/autosde_openapi_client/models/abstract_capability.rb +1 -1
  50. data/lib/autosde_openapi_client/models/host_cluster.rb +388 -0
  51. data/lib/autosde_openapi_client/models/host_cluster_create.rb +329 -0
  52. data/lib/autosde_openapi_client/models/host_cluster_membership.rb +287 -0
  53. data/lib/autosde_openapi_client/models/storage_system_update.rb +265 -0
  54. data/lib/autosde_openapi_client/version.rb +2 -2
  55. data/lib/autosde_openapi_client.rb +6 -0
  56. data/spec/api/host_cluster_api_spec.rb +74 -0
  57. data/spec/api/host_cluster_membership_api_spec.rb +74 -0
  58. data/spec/api/storage_system_api_spec.rb +1 -1
  59. data/spec/models/host_cluster_create_spec.rb +64 -0
  60. data/spec/models/host_cluster_membership_spec.rb +56 -0
  61. data/spec/models/host_cluster_spec.rb +80 -0
  62. data/spec/models/storage_system_update_spec.rb +52 -0
  63. metadata +81 -57
@@ -0,0 +1,254 @@
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 'cgi'
14
+
15
+ module AutosdeOpenapiClient
16
+ class HostClusterMembershipApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # @param [Hash] opts the optional parameters
23
+ # @return [Array<HostClusterMembership>]
24
+ def host_cluster_membership_get(opts = {})
25
+ data, _status_code, _headers = host_cluster_membership_get_with_http_info(opts)
26
+ data
27
+ end
28
+
29
+ # @param [Hash] opts the optional parameters
30
+ # @return [Array<(Array<HostClusterMembership>, Integer, Hash)>] Array<HostClusterMembership> data, response status code and response headers
31
+ def host_cluster_membership_get_with_http_info(opts = {})
32
+ if @api_client.config.debugging
33
+ @api_client.config.logger.debug 'Calling API: HostClusterMembershipApi.host_cluster_membership_get ...'
34
+ end
35
+ # resource path
36
+ local_var_path = '/host-cluster-membership'
37
+
38
+ # query parameters
39
+ query_params = opts[:query_params] || {}
40
+
41
+ # header parameters
42
+ header_params = opts[:header_params] || {}
43
+ # HTTP header 'Accept' (if needed)
44
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
45
+
46
+ # form parameters
47
+ form_params = opts[:form_params] || {}
48
+
49
+ # http body (model)
50
+ post_body = opts[:debug_body]
51
+
52
+ # return_type
53
+ return_type = opts[:debug_return_type] || 'Array<HostClusterMembership>'
54
+
55
+ # auth_names
56
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
57
+
58
+ new_options = opts.merge(
59
+ :operation => :"HostClusterMembershipApi.host_cluster_membership_get",
60
+ :header_params => header_params,
61
+ :query_params => query_params,
62
+ :form_params => form_params,
63
+ :body => post_body,
64
+ :auth_names => auth_names,
65
+ :return_type => return_type
66
+ )
67
+
68
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
69
+ if @api_client.config.debugging
70
+ @api_client.config.logger.debug "API called: HostClusterMembershipApi#host_cluster_membership_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
71
+ end
72
+ return data, status_code, headers
73
+ end
74
+
75
+ # @param pk [Integer]
76
+ # @param [Hash] opts the optional parameters
77
+ # @return [Array<HostClusterMembership>]
78
+ def host_cluster_membership_pk_delete(pk, opts = {})
79
+ data, _status_code, _headers = host_cluster_membership_pk_delete_with_http_info(pk, opts)
80
+ data
81
+ end
82
+
83
+ # @param pk [Integer]
84
+ # @param [Hash] opts the optional parameters
85
+ # @return [Array<(Array<HostClusterMembership>, Integer, Hash)>] Array<HostClusterMembership> data, response status code and response headers
86
+ def host_cluster_membership_pk_delete_with_http_info(pk, opts = {})
87
+ if @api_client.config.debugging
88
+ @api_client.config.logger.debug 'Calling API: HostClusterMembershipApi.host_cluster_membership_pk_delete ...'
89
+ end
90
+ # verify the required parameter 'pk' is set
91
+ if @api_client.config.client_side_validation && pk.nil?
92
+ fail ArgumentError, "Missing the required parameter 'pk' when calling HostClusterMembershipApi.host_cluster_membership_pk_delete"
93
+ end
94
+ # resource path
95
+ local_var_path = '/host-cluster-membership/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
96
+
97
+ # query parameters
98
+ query_params = opts[:query_params] || {}
99
+
100
+ # header parameters
101
+ header_params = opts[:header_params] || {}
102
+ # HTTP header 'Accept' (if needed)
103
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
104
+
105
+ # form parameters
106
+ form_params = opts[:form_params] || {}
107
+
108
+ # http body (model)
109
+ post_body = opts[:debug_body]
110
+
111
+ # return_type
112
+ return_type = opts[:debug_return_type] || 'Array<HostClusterMembership>'
113
+
114
+ # auth_names
115
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
116
+
117
+ new_options = opts.merge(
118
+ :operation => :"HostClusterMembershipApi.host_cluster_membership_pk_delete",
119
+ :header_params => header_params,
120
+ :query_params => query_params,
121
+ :form_params => form_params,
122
+ :body => post_body,
123
+ :auth_names => auth_names,
124
+ :return_type => return_type
125
+ )
126
+
127
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
128
+ if @api_client.config.debugging
129
+ @api_client.config.logger.debug "API called: HostClusterMembershipApi#host_cluster_membership_pk_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
130
+ end
131
+ return data, status_code, headers
132
+ end
133
+
134
+ # @param pk [Integer]
135
+ # @param [Hash] opts the optional parameters
136
+ # @return [Array<HostClusterMembership>]
137
+ def host_cluster_membership_pk_get(pk, opts = {})
138
+ data, _status_code, _headers = host_cluster_membership_pk_get_with_http_info(pk, opts)
139
+ data
140
+ end
141
+
142
+ # @param pk [Integer]
143
+ # @param [Hash] opts the optional parameters
144
+ # @return [Array<(Array<HostClusterMembership>, Integer, Hash)>] Array<HostClusterMembership> data, response status code and response headers
145
+ def host_cluster_membership_pk_get_with_http_info(pk, opts = {})
146
+ if @api_client.config.debugging
147
+ @api_client.config.logger.debug 'Calling API: HostClusterMembershipApi.host_cluster_membership_pk_get ...'
148
+ end
149
+ # verify the required parameter 'pk' is set
150
+ if @api_client.config.client_side_validation && pk.nil?
151
+ fail ArgumentError, "Missing the required parameter 'pk' when calling HostClusterMembershipApi.host_cluster_membership_pk_get"
152
+ end
153
+ # resource path
154
+ local_var_path = '/host-cluster-membership/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
155
+
156
+ # query parameters
157
+ query_params = opts[:query_params] || {}
158
+
159
+ # header parameters
160
+ header_params = opts[:header_params] || {}
161
+ # HTTP header 'Accept' (if needed)
162
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
163
+
164
+ # form parameters
165
+ form_params = opts[:form_params] || {}
166
+
167
+ # http body (model)
168
+ post_body = opts[:debug_body]
169
+
170
+ # return_type
171
+ return_type = opts[:debug_return_type] || 'Array<HostClusterMembership>'
172
+
173
+ # auth_names
174
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
175
+
176
+ new_options = opts.merge(
177
+ :operation => :"HostClusterMembershipApi.host_cluster_membership_pk_get",
178
+ :header_params => header_params,
179
+ :query_params => query_params,
180
+ :form_params => form_params,
181
+ :body => post_body,
182
+ :auth_names => auth_names,
183
+ :return_type => return_type
184
+ )
185
+
186
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
187
+ if @api_client.config.debugging
188
+ @api_client.config.logger.debug "API called: HostClusterMembershipApi#host_cluster_membership_pk_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
189
+ end
190
+ return data, status_code, headers
191
+ end
192
+
193
+ # @param host_cluster_membership [HostClusterMembership]
194
+ # @param [Hash] opts the optional parameters
195
+ # @return [HostClusterMembership]
196
+ def host_cluster_membership_post(host_cluster_membership, opts = {})
197
+ data, _status_code, _headers = host_cluster_membership_post_with_http_info(host_cluster_membership, opts)
198
+ data
199
+ end
200
+
201
+ # @param host_cluster_membership [HostClusterMembership]
202
+ # @param [Hash] opts the optional parameters
203
+ # @return [Array<(HostClusterMembership, Integer, Hash)>] HostClusterMembership data, response status code and response headers
204
+ def host_cluster_membership_post_with_http_info(host_cluster_membership, opts = {})
205
+ if @api_client.config.debugging
206
+ @api_client.config.logger.debug 'Calling API: HostClusterMembershipApi.host_cluster_membership_post ...'
207
+ end
208
+ # verify the required parameter 'host_cluster_membership' is set
209
+ if @api_client.config.client_side_validation && host_cluster_membership.nil?
210
+ fail ArgumentError, "Missing the required parameter 'host_cluster_membership' when calling HostClusterMembershipApi.host_cluster_membership_post"
211
+ end
212
+ # resource path
213
+ local_var_path = '/host-cluster-membership'
214
+
215
+ # query parameters
216
+ query_params = opts[:query_params] || {}
217
+
218
+ # header parameters
219
+ header_params = opts[:header_params] || {}
220
+ # HTTP header 'Accept' (if needed)
221
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
222
+ # HTTP header 'Content-Type'
223
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
224
+
225
+ # form parameters
226
+ form_params = opts[:form_params] || {}
227
+
228
+ # http body (model)
229
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(host_cluster_membership)
230
+
231
+ # return_type
232
+ return_type = opts[:debug_return_type] || 'HostClusterMembership'
233
+
234
+ # auth_names
235
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
236
+
237
+ new_options = opts.merge(
238
+ :operation => :"HostClusterMembershipApi.host_cluster_membership_post",
239
+ :header_params => header_params,
240
+ :query_params => query_params,
241
+ :form_params => form_params,
242
+ :body => post_body,
243
+ :auth_names => auth_names,
244
+ :return_type => return_type
245
+ )
246
+
247
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
248
+ if @api_client.config.debugging
249
+ @api_client.config.logger.debug "API called: HostClusterMembershipApi#host_cluster_membership_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
250
+ end
251
+ return data, status_code, headers
252
+ end
253
+ end
254
+ end
@@ -33,7 +33,7 @@ module AutosdeOpenapiClient
33
33
  @api_client.config.logger.debug 'Calling API: HostVolumeConnectionApi.host_volume_connection_get ...'
34
34
  end
35
35
  # resource path
36
- local_var_path = '/host-volume-connection/'
36
+ local_var_path = '/host-volume-connection'
37
37
 
38
38
  # query parameters
39
39
  query_params = opts[:query_params] || {}
@@ -210,7 +210,7 @@ module AutosdeOpenapiClient
210
210
  fail ArgumentError, "Missing the required parameter 'host_volume_connection_create' when calling HostVolumeConnectionApi.host_volume_connection_post"
211
211
  end
212
212
  # resource path
213
- local_var_path = '/host-volume-connection/'
213
+ local_var_path = '/host-volume-connection'
214
214
 
215
215
  # query parameters
216
216
  query_params = opts[:query_params] || {}
@@ -33,7 +33,7 @@ module AutosdeOpenapiClient
33
33
  @api_client.config.logger.debug 'Calling API: NativeCapabilityApi.native_capabilities_get ...'
34
34
  end
35
35
  # resource path
36
- local_var_path = '/native-capabilities/'
36
+ local_var_path = '/native-capabilities'
37
37
 
38
38
  # query parameters
39
39
  query_params = opts[:query_params] || {}
@@ -210,7 +210,7 @@ module AutosdeOpenapiClient
210
210
  fail ArgumentError, "Missing the required parameter 'native_capability' when calling NativeCapabilityApi.native_capabilities_post"
211
211
  end
212
212
  # resource path
213
- local_var_path = '/native-capabilities/'
213
+ local_var_path = '/native-capabilities'
214
214
 
215
215
  # query parameters
216
216
  query_params = opts[:query_params] || {}
@@ -33,7 +33,7 @@ module AutosdeOpenapiClient
33
33
  @api_client.config.logger.debug 'Calling API: ProfileApi.profiles_get ...'
34
34
  end
35
35
  # resource path
36
- local_var_path = '/profiles/'
36
+ local_var_path = '/profiles'
37
37
 
38
38
  # query parameters
39
39
  query_params = opts[:query_params] || {}
@@ -92,7 +92,7 @@ module AutosdeOpenapiClient
92
92
  fail ArgumentError, "Missing the required parameter 'pk' when calling ProfileApi.profiles_pk_delete"
93
93
  end
94
94
  # resource path
95
- local_var_path = '/profiles/{pk}/'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
95
+ local_var_path = '/profiles/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
96
96
 
97
97
  # query parameters
98
98
  query_params = opts[:query_params] || {}
@@ -151,7 +151,7 @@ module AutosdeOpenapiClient
151
151
  fail ArgumentError, "Missing the required parameter 'pk' when calling ProfileApi.profiles_pk_get"
152
152
  end
153
153
  # resource path
154
- local_var_path = '/profiles/{pk}/'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
154
+ local_var_path = '/profiles/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
155
155
 
156
156
  # query parameters
157
157
  query_params = opts[:query_params] || {}
@@ -210,7 +210,7 @@ module AutosdeOpenapiClient
210
210
  fail ArgumentError, "Missing the required parameter 'profile' when calling ProfileApi.profiles_post"
211
211
  end
212
212
  # resource path
213
- local_var_path = '/profiles/'
213
+ local_var_path = '/profiles'
214
214
 
215
215
  # query parameters
216
216
  query_params = opts[:query_params] || {}
@@ -33,7 +33,7 @@ module AutosdeOpenapiClient
33
33
  @api_client.config.logger.debug 'Calling API: ProvisioningStrategyApi.provisioning_strategy_get ...'
34
34
  end
35
35
  # resource path
36
- local_var_path = '/provisioning-strategy/'
36
+ local_var_path = '/provisioning-strategy'
37
37
 
38
38
  # query parameters
39
39
  query_params = opts[:query_params] || {}
@@ -210,7 +210,7 @@ module AutosdeOpenapiClient
210
210
  fail ArgumentError, "Missing the required parameter 'provisioning_strategy' when calling ProvisioningStrategyApi.provisioning_strategy_post"
211
211
  end
212
212
  # resource path
213
- local_var_path = '/provisioning-strategy/'
213
+ local_var_path = '/provisioning-strategy'
214
214
 
215
215
  # query parameters
216
216
  query_params = opts[:query_params] || {}
@@ -33,7 +33,7 @@ module AutosdeOpenapiClient
33
33
  @api_client.config.logger.debug 'Calling API: ServiceApi.services_get ...'
34
34
  end
35
35
  # resource path
36
- local_var_path = '/services/'
36
+ local_var_path = '/services'
37
37
 
38
38
  # query parameters
39
39
  query_params = opts[:query_params] || {}
@@ -277,7 +277,7 @@ module AutosdeOpenapiClient
277
277
  fail ArgumentError, "Missing the required parameter 'service_create' when calling ServiceApi.services_post"
278
278
  end
279
279
  # resource path
280
- local_var_path = '/services/'
280
+ local_var_path = '/services'
281
281
 
282
282
  # query parameters
283
283
  query_params = opts[:query_params] || {}
@@ -33,7 +33,7 @@ module AutosdeOpenapiClient
33
33
  @api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.service_resource_attchment_get ...'
34
34
  end
35
35
  # resource path
36
- local_var_path = '/service-resource-attchment/'
36
+ local_var_path = '/service-resource-attchment'
37
37
 
38
38
  # query parameters
39
39
  query_params = opts[:query_params] || {}
@@ -210,7 +210,7 @@ module AutosdeOpenapiClient
210
210
  fail ArgumentError, "Missing the required parameter 'service_resource_attachment' when calling ServiceResourceAttachmentApi.service_resource_attchment_post"
211
211
  end
212
212
  # resource path
213
- local_var_path = '/service-resource-attchment/'
213
+ local_var_path = '/service-resource-attchment'
214
214
 
215
215
  # query parameters
216
216
  query_params = opts[:query_params] || {}
@@ -33,7 +33,7 @@ module AutosdeOpenapiClient
33
33
  @api_client.config.logger.debug 'Calling API: SnapshotApi.snapshots_get ...'
34
34
  end
35
35
  # resource path
36
- local_var_path = '/snapshots/'
36
+ local_var_path = '/snapshots'
37
37
 
38
38
  # query parameters
39
39
  query_params = opts[:query_params] || {}
@@ -210,7 +210,7 @@ module AutosdeOpenapiClient
210
210
  fail ArgumentError, "Missing the required parameter 'snapshot_create' when calling SnapshotApi.snapshots_post"
211
211
  end
212
212
  # resource path
213
- local_var_path = '/snapshots/'
213
+ local_var_path = '/snapshots'
214
214
 
215
215
  # query parameters
216
216
  query_params = opts[:query_params] || {}
@@ -33,7 +33,7 @@ module AutosdeOpenapiClient
33
33
  @api_client.config.logger.debug 'Calling API: StorageResourceApi.storage_resources_get ...'
34
34
  end
35
35
  # resource path
36
- local_var_path = '/storage-resources/'
36
+ local_var_path = '/storage-resources'
37
37
 
38
38
  # query parameters
39
39
  query_params = opts[:query_params] || {}
@@ -277,7 +277,7 @@ module AutosdeOpenapiClient
277
277
  fail ArgumentError, "Missing the required parameter 'storage_resource_create' when calling StorageResourceApi.storage_resources_post"
278
278
  end
279
279
  # resource path
280
- local_var_path = '/storage-resources/'
280
+ local_var_path = '/storage-resources'
281
281
 
282
282
  # query parameters
283
283
  query_params = opts[:query_params] || {}
@@ -33,7 +33,7 @@ module AutosdeOpenapiClient
33
33
  @api_client.config.logger.debug 'Calling API: StorageSystemApi.storage_systems_get ...'
34
34
  end
35
35
  # resource path
36
- local_var_path = '/storage-systems/'
36
+ local_var_path = '/storage-systems'
37
37
 
38
38
  # query parameters
39
39
  query_params = opts[:query_params] || {}
@@ -191,19 +191,19 @@ module AutosdeOpenapiClient
191
191
  end
192
192
 
193
193
  # @param pk [Integer]
194
- # @param storage_system [StorageSystem]
194
+ # @param storage_system_update [StorageSystemUpdate]
195
195
  # @param [Hash] opts the optional parameters
196
196
  # @return [StorageSystem]
197
- def storage_systems_pk_put(pk, storage_system, opts = {})
198
- data, _status_code, _headers = storage_systems_pk_put_with_http_info(pk, storage_system, opts)
197
+ def storage_systems_pk_put(pk, storage_system_update, opts = {})
198
+ data, _status_code, _headers = storage_systems_pk_put_with_http_info(pk, storage_system_update, opts)
199
199
  data
200
200
  end
201
201
 
202
202
  # @param pk [Integer]
203
- # @param storage_system [StorageSystem]
203
+ # @param storage_system_update [StorageSystemUpdate]
204
204
  # @param [Hash] opts the optional parameters
205
205
  # @return [Array<(StorageSystem, Integer, Hash)>] StorageSystem data, response status code and response headers
206
- def storage_systems_pk_put_with_http_info(pk, storage_system, opts = {})
206
+ def storage_systems_pk_put_with_http_info(pk, storage_system_update, opts = {})
207
207
  if @api_client.config.debugging
208
208
  @api_client.config.logger.debug 'Calling API: StorageSystemApi.storage_systems_pk_put ...'
209
209
  end
@@ -211,9 +211,9 @@ module AutosdeOpenapiClient
211
211
  if @api_client.config.client_side_validation && pk.nil?
212
212
  fail ArgumentError, "Missing the required parameter 'pk' when calling StorageSystemApi.storage_systems_pk_put"
213
213
  end
214
- # verify the required parameter 'storage_system' is set
215
- if @api_client.config.client_side_validation && storage_system.nil?
216
- fail ArgumentError, "Missing the required parameter 'storage_system' when calling StorageSystemApi.storage_systems_pk_put"
214
+ # verify the required parameter 'storage_system_update' is set
215
+ if @api_client.config.client_side_validation && storage_system_update.nil?
216
+ fail ArgumentError, "Missing the required parameter 'storage_system_update' when calling StorageSystemApi.storage_systems_pk_put"
217
217
  end
218
218
  # resource path
219
219
  local_var_path = '/storage-systems/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
@@ -232,7 +232,7 @@ module AutosdeOpenapiClient
232
232
  form_params = opts[:form_params] || {}
233
233
 
234
234
  # http body (model)
235
- post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_system)
235
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_system_update)
236
236
 
237
237
  # return_type
238
238
  return_type = opts[:debug_return_type] || 'StorageSystem'
@@ -277,7 +277,7 @@ module AutosdeOpenapiClient
277
277
  fail ArgumentError, "Missing the required parameter 'storage_system_create' when calling StorageSystemApi.storage_systems_post"
278
278
  end
279
279
  # resource path
280
- local_var_path = '/storage-systems/'
280
+ local_var_path = '/storage-systems'
281
281
 
282
282
  # query parameters
283
283
  query_params = opts[:query_params] || {}