autosde_openapi_client 1.2.1 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/AbstractCapabilityApi.md +8 -8
- data/docs/AccountApi.md +8 -8
- data/docs/AddressApi.md +12 -12
- data/docs/AsyncResponse.md +20 -0
- data/docs/AutoSDEProjectApi.md +8 -8
- data/docs/AutoSDERoleApi.md +8 -8
- data/docs/CapabilityTranslationApi.md +8 -8
- data/docs/EventApi.md +12 -12
- data/docs/HostApi.md +12 -12
- data/docs/HostClusterApi.md +8 -8
- data/docs/HostClusterMembershipApi.md +12 -12
- data/docs/HostClusterVolumeMappingApi.md +8 -8
- data/docs/HostVolumeConnectionApi.md +12 -12
- data/docs/JobApi.md +8 -8
- data/docs/NativeCapabilityApi.md +8 -8
- data/docs/ProfileApi.md +8 -8
- data/docs/ProvisioningStrategyApi.md +8 -8
- data/docs/ServiceApi.md +12 -12
- data/docs/ServiceResourceAttachmentApi.md +42 -42
- data/docs/SnapshotApi.md +12 -12
- data/docs/StorageHostApi.md +16 -16
- data/docs/StorageHostsMappingApi.md +12 -12
- data/docs/StorageResourceApi.md +12 -12
- data/docs/StorageSystemApi.md +16 -16
- data/docs/SystemTypeApi.md +12 -12
- data/docs/UserApi.md +8 -8
- data/docs/VolumeApi.md +16 -16
- data/docs/VolumeSafeDeleteApi.md +8 -8
- data/lib/autosde_openapi_client/api/abstract_capability_api.rb +6 -6
- data/lib/autosde_openapi_client/api/account_api.rb +6 -6
- data/lib/autosde_openapi_client/api/address_api.rb +9 -9
- data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +6 -6
- data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +6 -6
- data/lib/autosde_openapi_client/api/capability_translation_api.rb +6 -6
- data/lib/autosde_openapi_client/api/event_api.rb +9 -9
- data/lib/autosde_openapi_client/api/host_api.rb +9 -9
- data/lib/autosde_openapi_client/api/host_cluster_api.rb +6 -6
- data/lib/autosde_openapi_client/api/host_cluster_membership_api.rb +9 -9
- data/lib/autosde_openapi_client/api/host_cluster_volume_mapping_api.rb +6 -6
- data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +9 -9
- data/lib/autosde_openapi_client/api/job_api.rb +6 -6
- data/lib/autosde_openapi_client/api/native_capability_api.rb +6 -6
- data/lib/autosde_openapi_client/api/profile_api.rb +6 -6
- data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +6 -6
- data/lib/autosde_openapi_client/api/service_api.rb +9 -9
- data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +40 -40
- data/lib/autosde_openapi_client/api/snapshot_api.rb +9 -9
- data/lib/autosde_openapi_client/api/storage_host_api.rb +12 -12
- data/lib/autosde_openapi_client/api/storage_hosts_mapping_api.rb +9 -9
- data/lib/autosde_openapi_client/api/storage_resource_api.rb +9 -9
- data/lib/autosde_openapi_client/api/storage_system_api.rb +12 -12
- data/lib/autosde_openapi_client/api/system_type_api.rb +9 -9
- data/lib/autosde_openapi_client/api/user_api.rb +6 -6
- data/lib/autosde_openapi_client/api/volume_api.rb +12 -12
- data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +6 -6
- data/lib/autosde_openapi_client/models/async_response.rb +230 -0
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/lib/autosde_openapi_client.rb +1 -0
- data/spec/api/abstract_capability_api_spec.rb +2 -2
- data/spec/api/account_api_spec.rb +2 -2
- data/spec/api/address_api_spec.rb +3 -3
- data/spec/api/auto_sde_project_api_spec.rb +2 -2
- data/spec/api/auto_sde_role_api_spec.rb +2 -2
- data/spec/api/capability_translation_api_spec.rb +2 -2
- data/spec/api/event_api_spec.rb +3 -3
- data/spec/api/host_api_spec.rb +3 -3
- data/spec/api/host_cluster_api_spec.rb +2 -2
- data/spec/api/host_cluster_membership_api_spec.rb +3 -3
- data/spec/api/host_cluster_volume_mapping_api_spec.rb +2 -2
- data/spec/api/host_volume_connection_api_spec.rb +3 -3
- data/spec/api/job_api_spec.rb +2 -2
- data/spec/api/native_capability_api_spec.rb +2 -2
- data/spec/api/profile_api_spec.rb +2 -2
- data/spec/api/provisioning_strategy_api_spec.rb +2 -2
- data/spec/api/service_api_spec.rb +3 -3
- data/spec/api/service_resource_attachment_api_spec.rb +11 -11
- data/spec/api/snapshot_api_spec.rb +3 -3
- data/spec/api/storage_host_api_spec.rb +4 -4
- data/spec/api/storage_hosts_mapping_api_spec.rb +3 -3
- data/spec/api/storage_resource_api_spec.rb +3 -3
- data/spec/api/storage_system_api_spec.rb +4 -4
- data/spec/api/system_type_api_spec.rb +3 -3
- data/spec/api/user_api_spec.rb +2 -2
- data/spec/api/volume_api_spec.rb +4 -4
- data/spec/api/volume_safe_delete_api_spec.rb +2 -2
- data/spec/models/async_response_spec.rb +40 -0
- metadata +81 -77
@@ -21,19 +21,19 @@ module AutosdeOpenapiClient
|
|
21
21
|
end
|
22
22
|
# @param [Hash] opts the optional parameters
|
23
23
|
# @return [Array<ServiceResourceAttachment>]
|
24
|
-
def
|
25
|
-
data, _status_code, _headers =
|
24
|
+
def service_resource_attachment_get(opts = {})
|
25
|
+
data, _status_code, _headers = service_resource_attachment_get_with_http_info(opts)
|
26
26
|
data
|
27
27
|
end
|
28
28
|
|
29
29
|
# @param [Hash] opts the optional parameters
|
30
30
|
# @return [Array<(Array<ServiceResourceAttachment>, Integer, Hash)>] Array<ServiceResourceAttachment> data, response status code and response headers
|
31
|
-
def
|
31
|
+
def service_resource_attachment_get_with_http_info(opts = {})
|
32
32
|
if @api_client.config.debugging
|
33
|
-
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.
|
33
|
+
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.service_resource_attachment_get ...'
|
34
34
|
end
|
35
35
|
# resource path
|
36
|
-
local_var_path = '/service-resource-
|
36
|
+
local_var_path = '/service-resource-attachment'
|
37
37
|
|
38
38
|
# query parameters
|
39
39
|
query_params = opts[:query_params] || {}
|
@@ -56,7 +56,7 @@ module AutosdeOpenapiClient
|
|
56
56
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
57
57
|
|
58
58
|
new_options = opts.merge(
|
59
|
-
:operation => :"ServiceResourceAttachmentApi.
|
59
|
+
:operation => :"ServiceResourceAttachmentApi.service_resource_attachment_get",
|
60
60
|
:header_params => header_params,
|
61
61
|
:query_params => query_params,
|
62
62
|
:form_params => form_params,
|
@@ -67,32 +67,32 @@ module AutosdeOpenapiClient
|
|
67
67
|
|
68
68
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
69
69
|
if @api_client.config.debugging
|
70
|
-
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#
|
70
|
+
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#service_resource_attachment_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
71
71
|
end
|
72
72
|
return data, status_code, headers
|
73
73
|
end
|
74
74
|
|
75
75
|
# @param pk [Integer]
|
76
76
|
# @param [Hash] opts the optional parameters
|
77
|
-
# @return [
|
78
|
-
def
|
79
|
-
data, _status_code, _headers =
|
77
|
+
# @return [AsyncResponse]
|
78
|
+
def service_resource_attachment_pk_delete(pk, opts = {})
|
79
|
+
data, _status_code, _headers = service_resource_attachment_pk_delete_with_http_info(pk, opts)
|
80
80
|
data
|
81
81
|
end
|
82
82
|
|
83
83
|
# @param pk [Integer]
|
84
84
|
# @param [Hash] opts the optional parameters
|
85
|
-
# @return [Array<(
|
86
|
-
def
|
85
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
86
|
+
def service_resource_attachment_pk_delete_with_http_info(pk, opts = {})
|
87
87
|
if @api_client.config.debugging
|
88
|
-
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.
|
88
|
+
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.service_resource_attachment_pk_delete ...'
|
89
89
|
end
|
90
90
|
# verify the required parameter 'pk' is set
|
91
91
|
if @api_client.config.client_side_validation && pk.nil?
|
92
|
-
fail ArgumentError, "Missing the required parameter 'pk' when calling ServiceResourceAttachmentApi.
|
92
|
+
fail ArgumentError, "Missing the required parameter 'pk' when calling ServiceResourceAttachmentApi.service_resource_attachment_pk_delete"
|
93
93
|
end
|
94
94
|
# resource path
|
95
|
-
local_var_path = '/service-resource-
|
95
|
+
local_var_path = '/service-resource-attachment/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
|
96
96
|
|
97
97
|
# query parameters
|
98
98
|
query_params = opts[:query_params] || {}
|
@@ -109,13 +109,13 @@ module AutosdeOpenapiClient
|
|
109
109
|
post_body = opts[:debug_body]
|
110
110
|
|
111
111
|
# return_type
|
112
|
-
return_type = opts[:debug_return_type] || '
|
112
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
113
113
|
|
114
114
|
# auth_names
|
115
115
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
116
116
|
|
117
117
|
new_options = opts.merge(
|
118
|
-
:operation => :"ServiceResourceAttachmentApi.
|
118
|
+
:operation => :"ServiceResourceAttachmentApi.service_resource_attachment_pk_delete",
|
119
119
|
:header_params => header_params,
|
120
120
|
:query_params => query_params,
|
121
121
|
:form_params => form_params,
|
@@ -126,32 +126,32 @@ module AutosdeOpenapiClient
|
|
126
126
|
|
127
127
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
128
128
|
if @api_client.config.debugging
|
129
|
-
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#
|
129
|
+
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#service_resource_attachment_pk_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
130
130
|
end
|
131
131
|
return data, status_code, headers
|
132
132
|
end
|
133
133
|
|
134
134
|
# @param pk [Integer]
|
135
135
|
# @param [Hash] opts the optional parameters
|
136
|
-
# @return [
|
137
|
-
def
|
138
|
-
data, _status_code, _headers =
|
136
|
+
# @return [ServiceResourceAttachment]
|
137
|
+
def service_resource_attachment_pk_get(pk, opts = {})
|
138
|
+
data, _status_code, _headers = service_resource_attachment_pk_get_with_http_info(pk, opts)
|
139
139
|
data
|
140
140
|
end
|
141
141
|
|
142
142
|
# @param pk [Integer]
|
143
143
|
# @param [Hash] opts the optional parameters
|
144
|
-
# @return [Array<(
|
145
|
-
def
|
144
|
+
# @return [Array<(ServiceResourceAttachment, Integer, Hash)>] ServiceResourceAttachment data, response status code and response headers
|
145
|
+
def service_resource_attachment_pk_get_with_http_info(pk, opts = {})
|
146
146
|
if @api_client.config.debugging
|
147
|
-
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.
|
147
|
+
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.service_resource_attachment_pk_get ...'
|
148
148
|
end
|
149
149
|
# verify the required parameter 'pk' is set
|
150
150
|
if @api_client.config.client_side_validation && pk.nil?
|
151
|
-
fail ArgumentError, "Missing the required parameter 'pk' when calling ServiceResourceAttachmentApi.
|
151
|
+
fail ArgumentError, "Missing the required parameter 'pk' when calling ServiceResourceAttachmentApi.service_resource_attachment_pk_get"
|
152
152
|
end
|
153
153
|
# resource path
|
154
|
-
local_var_path = '/service-resource-
|
154
|
+
local_var_path = '/service-resource-attachment/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
|
155
155
|
|
156
156
|
# query parameters
|
157
157
|
query_params = opts[:query_params] || {}
|
@@ -168,13 +168,13 @@ module AutosdeOpenapiClient
|
|
168
168
|
post_body = opts[:debug_body]
|
169
169
|
|
170
170
|
# return_type
|
171
|
-
return_type = opts[:debug_return_type] || '
|
171
|
+
return_type = opts[:debug_return_type] || 'ServiceResourceAttachment'
|
172
172
|
|
173
173
|
# auth_names
|
174
174
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
175
175
|
|
176
176
|
new_options = opts.merge(
|
177
|
-
:operation => :"ServiceResourceAttachmentApi.
|
177
|
+
:operation => :"ServiceResourceAttachmentApi.service_resource_attachment_pk_get",
|
178
178
|
:header_params => header_params,
|
179
179
|
:query_params => query_params,
|
180
180
|
:form_params => form_params,
|
@@ -185,32 +185,32 @@ module AutosdeOpenapiClient
|
|
185
185
|
|
186
186
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
187
187
|
if @api_client.config.debugging
|
188
|
-
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#
|
188
|
+
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#service_resource_attachment_pk_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
189
189
|
end
|
190
190
|
return data, status_code, headers
|
191
191
|
end
|
192
192
|
|
193
193
|
# @param service_resource_attachment [ServiceResourceAttachment]
|
194
194
|
# @param [Hash] opts the optional parameters
|
195
|
-
# @return [
|
196
|
-
def
|
197
|
-
data, _status_code, _headers =
|
195
|
+
# @return [AsyncResponse]
|
196
|
+
def service_resource_attachment_post(service_resource_attachment, opts = {})
|
197
|
+
data, _status_code, _headers = service_resource_attachment_post_with_http_info(service_resource_attachment, opts)
|
198
198
|
data
|
199
199
|
end
|
200
200
|
|
201
201
|
# @param service_resource_attachment [ServiceResourceAttachment]
|
202
202
|
# @param [Hash] opts the optional parameters
|
203
|
-
# @return [Array<(
|
204
|
-
def
|
203
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
204
|
+
def service_resource_attachment_post_with_http_info(service_resource_attachment, opts = {})
|
205
205
|
if @api_client.config.debugging
|
206
|
-
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.
|
206
|
+
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.service_resource_attachment_post ...'
|
207
207
|
end
|
208
208
|
# verify the required parameter 'service_resource_attachment' is set
|
209
209
|
if @api_client.config.client_side_validation && service_resource_attachment.nil?
|
210
|
-
fail ArgumentError, "Missing the required parameter 'service_resource_attachment' when calling ServiceResourceAttachmentApi.
|
210
|
+
fail ArgumentError, "Missing the required parameter 'service_resource_attachment' when calling ServiceResourceAttachmentApi.service_resource_attachment_post"
|
211
211
|
end
|
212
212
|
# resource path
|
213
|
-
local_var_path = '/service-resource-
|
213
|
+
local_var_path = '/service-resource-attachment'
|
214
214
|
|
215
215
|
# query parameters
|
216
216
|
query_params = opts[:query_params] || {}
|
@@ -229,13 +229,13 @@ module AutosdeOpenapiClient
|
|
229
229
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(service_resource_attachment)
|
230
230
|
|
231
231
|
# return_type
|
232
|
-
return_type = opts[:debug_return_type] || '
|
232
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
233
233
|
|
234
234
|
# auth_names
|
235
235
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
236
236
|
|
237
237
|
new_options = opts.merge(
|
238
|
-
:operation => :"ServiceResourceAttachmentApi.
|
238
|
+
:operation => :"ServiceResourceAttachmentApi.service_resource_attachment_post",
|
239
239
|
:header_params => header_params,
|
240
240
|
:query_params => query_params,
|
241
241
|
:form_params => form_params,
|
@@ -246,7 +246,7 @@ module AutosdeOpenapiClient
|
|
246
246
|
|
247
247
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
248
248
|
if @api_client.config.debugging
|
249
|
-
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#
|
249
|
+
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#service_resource_attachment_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
250
250
|
end
|
251
251
|
return data, status_code, headers
|
252
252
|
end
|
@@ -74,7 +74,7 @@ module AutosdeOpenapiClient
|
|
74
74
|
|
75
75
|
# @param pk [Integer]
|
76
76
|
# @param [Hash] opts the optional parameters
|
77
|
-
# @return [
|
77
|
+
# @return [AsyncResponse]
|
78
78
|
def snapshots_pk_delete(pk, opts = {})
|
79
79
|
data, _status_code, _headers = snapshots_pk_delete_with_http_info(pk, opts)
|
80
80
|
data
|
@@ -82,7 +82,7 @@ module AutosdeOpenapiClient
|
|
82
82
|
|
83
83
|
# @param pk [Integer]
|
84
84
|
# @param [Hash] opts the optional parameters
|
85
|
-
# @return [Array<(
|
85
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
86
86
|
def snapshots_pk_delete_with_http_info(pk, opts = {})
|
87
87
|
if @api_client.config.debugging
|
88
88
|
@api_client.config.logger.debug 'Calling API: SnapshotApi.snapshots_pk_delete ...'
|
@@ -109,7 +109,7 @@ module AutosdeOpenapiClient
|
|
109
109
|
post_body = opts[:debug_body]
|
110
110
|
|
111
111
|
# return_type
|
112
|
-
return_type = opts[:debug_return_type] || '
|
112
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
113
113
|
|
114
114
|
# auth_names
|
115
115
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -133,7 +133,7 @@ module AutosdeOpenapiClient
|
|
133
133
|
|
134
134
|
# @param pk [Integer]
|
135
135
|
# @param [Hash] opts the optional parameters
|
136
|
-
# @return [
|
136
|
+
# @return [Snapshot]
|
137
137
|
def snapshots_pk_get(pk, opts = {})
|
138
138
|
data, _status_code, _headers = snapshots_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<(
|
144
|
+
# @return [Array<(Snapshot, Integer, Hash)>] Snapshot data, response status code and response headers
|
145
145
|
def snapshots_pk_get_with_http_info(pk, opts = {})
|
146
146
|
if @api_client.config.debugging
|
147
147
|
@api_client.config.logger.debug 'Calling API: SnapshotApi.snapshots_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] || '
|
171
|
+
return_type = opts[:debug_return_type] || 'Snapshot'
|
172
172
|
|
173
173
|
# auth_names
|
174
174
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -192,7 +192,7 @@ module AutosdeOpenapiClient
|
|
192
192
|
|
193
193
|
# @param snapshot_create [SnapshotCreate]
|
194
194
|
# @param [Hash] opts the optional parameters
|
195
|
-
# @return [
|
195
|
+
# @return [AsyncResponse]
|
196
196
|
def snapshots_post(snapshot_create, opts = {})
|
197
197
|
data, _status_code, _headers = snapshots_post_with_http_info(snapshot_create, opts)
|
198
198
|
data
|
@@ -200,7 +200,7 @@ module AutosdeOpenapiClient
|
|
200
200
|
|
201
201
|
# @param snapshot_create [SnapshotCreate]
|
202
202
|
# @param [Hash] opts the optional parameters
|
203
|
-
# @return [Array<(
|
203
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
204
204
|
def snapshots_post_with_http_info(snapshot_create, opts = {})
|
205
205
|
if @api_client.config.debugging
|
206
206
|
@api_client.config.logger.debug 'Calling API: SnapshotApi.snapshots_post ...'
|
@@ -229,7 +229,7 @@ module AutosdeOpenapiClient
|
|
229
229
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(snapshot_create)
|
230
230
|
|
231
231
|
# return_type
|
232
|
-
return_type = opts[:debug_return_type] || '
|
232
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
233
233
|
|
234
234
|
# auth_names
|
235
235
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -74,7 +74,7 @@ module AutosdeOpenapiClient
|
|
74
74
|
|
75
75
|
# @param pk [Integer]
|
76
76
|
# @param [Hash] opts the optional parameters
|
77
|
-
# @return [
|
77
|
+
# @return [AsyncResponse]
|
78
78
|
def storage_hosts_pk_delete(pk, opts = {})
|
79
79
|
data, _status_code, _headers = storage_hosts_pk_delete_with_http_info(pk, opts)
|
80
80
|
data
|
@@ -82,7 +82,7 @@ module AutosdeOpenapiClient
|
|
82
82
|
|
83
83
|
# @param pk [Integer]
|
84
84
|
# @param [Hash] opts the optional parameters
|
85
|
-
# @return [Array<(
|
85
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
86
86
|
def storage_hosts_pk_delete_with_http_info(pk, opts = {})
|
87
87
|
if @api_client.config.debugging
|
88
88
|
@api_client.config.logger.debug 'Calling API: StorageHostApi.storage_hosts_pk_delete ...'
|
@@ -109,7 +109,7 @@ module AutosdeOpenapiClient
|
|
109
109
|
post_body = opts[:debug_body]
|
110
110
|
|
111
111
|
# return_type
|
112
|
-
return_type = opts[:debug_return_type] || '
|
112
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
113
113
|
|
114
114
|
# auth_names
|
115
115
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -133,7 +133,7 @@ module AutosdeOpenapiClient
|
|
133
133
|
|
134
134
|
# @param pk [Integer]
|
135
135
|
# @param [Hash] opts the optional parameters
|
136
|
-
# @return [
|
136
|
+
# @return [StorageHost]
|
137
137
|
def storage_hosts_pk_get(pk, opts = {})
|
138
138
|
data, _status_code, _headers = storage_hosts_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<(
|
144
|
+
# @return [Array<(StorageHost, Integer, Hash)>] StorageHost data, response status code and response headers
|
145
145
|
def storage_hosts_pk_get_with_http_info(pk, opts = {})
|
146
146
|
if @api_client.config.debugging
|
147
147
|
@api_client.config.logger.debug 'Calling API: StorageHostApi.storage_hosts_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] || '
|
171
|
+
return_type = opts[:debug_return_type] || 'StorageHost'
|
172
172
|
|
173
173
|
# auth_names
|
174
174
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -193,7 +193,7 @@ module AutosdeOpenapiClient
|
|
193
193
|
# @param pk [Integer]
|
194
194
|
# @param storage_host_update [StorageHostUpdate]
|
195
195
|
# @param [Hash] opts the optional parameters
|
196
|
-
# @return [
|
196
|
+
# @return [AsyncResponse]
|
197
197
|
def storage_hosts_pk_put(pk, storage_host_update, opts = {})
|
198
198
|
data, _status_code, _headers = storage_hosts_pk_put_with_http_info(pk, storage_host_update, opts)
|
199
199
|
data
|
@@ -202,7 +202,7 @@ module AutosdeOpenapiClient
|
|
202
202
|
# @param pk [Integer]
|
203
203
|
# @param storage_host_update [StorageHostUpdate]
|
204
204
|
# @param [Hash] opts the optional parameters
|
205
|
-
# @return [Array<(
|
205
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
206
206
|
def storage_hosts_pk_put_with_http_info(pk, storage_host_update, opts = {})
|
207
207
|
if @api_client.config.debugging
|
208
208
|
@api_client.config.logger.debug 'Calling API: StorageHostApi.storage_hosts_pk_put ...'
|
@@ -235,7 +235,7 @@ module AutosdeOpenapiClient
|
|
235
235
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_host_update)
|
236
236
|
|
237
237
|
# return_type
|
238
|
-
return_type = opts[:debug_return_type] || '
|
238
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
239
239
|
|
240
240
|
# auth_names
|
241
241
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -259,7 +259,7 @@ module AutosdeOpenapiClient
|
|
259
259
|
|
260
260
|
# @param storage_host_create [StorageHostCreate]
|
261
261
|
# @param [Hash] opts the optional parameters
|
262
|
-
# @return [
|
262
|
+
# @return [AsyncResponse]
|
263
263
|
def storage_hosts_post(storage_host_create, opts = {})
|
264
264
|
data, _status_code, _headers = storage_hosts_post_with_http_info(storage_host_create, opts)
|
265
265
|
data
|
@@ -267,7 +267,7 @@ module AutosdeOpenapiClient
|
|
267
267
|
|
268
268
|
# @param storage_host_create [StorageHostCreate]
|
269
269
|
# @param [Hash] opts the optional parameters
|
270
|
-
# @return [Array<(
|
270
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
271
271
|
def storage_hosts_post_with_http_info(storage_host_create, opts = {})
|
272
272
|
if @api_client.config.debugging
|
273
273
|
@api_client.config.logger.debug 'Calling API: StorageHostApi.storage_hosts_post ...'
|
@@ -296,7 +296,7 @@ module AutosdeOpenapiClient
|
|
296
296
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_host_create)
|
297
297
|
|
298
298
|
# return_type
|
299
|
-
return_type = opts[:debug_return_type] || '
|
299
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
300
300
|
|
301
301
|
# auth_names
|
302
302
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -74,7 +74,7 @@ module AutosdeOpenapiClient
|
|
74
74
|
|
75
75
|
# @param pk [Integer]
|
76
76
|
# @param [Hash] opts the optional parameters
|
77
|
-
# @return [
|
77
|
+
# @return [AsyncResponse]
|
78
78
|
def storage_hosts_mapping_pk_delete(pk, opts = {})
|
79
79
|
data, _status_code, _headers = storage_hosts_mapping_pk_delete_with_http_info(pk, opts)
|
80
80
|
data
|
@@ -82,7 +82,7 @@ module AutosdeOpenapiClient
|
|
82
82
|
|
83
83
|
# @param pk [Integer]
|
84
84
|
# @param [Hash] opts the optional parameters
|
85
|
-
# @return [Array<(
|
85
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
86
86
|
def storage_hosts_mapping_pk_delete_with_http_info(pk, opts = {})
|
87
87
|
if @api_client.config.debugging
|
88
88
|
@api_client.config.logger.debug 'Calling API: StorageHostsMappingApi.storage_hosts_mapping_pk_delete ...'
|
@@ -109,7 +109,7 @@ module AutosdeOpenapiClient
|
|
109
109
|
post_body = opts[:debug_body]
|
110
110
|
|
111
111
|
# return_type
|
112
|
-
return_type = opts[:debug_return_type] || '
|
112
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
113
113
|
|
114
114
|
# auth_names
|
115
115
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -133,7 +133,7 @@ module AutosdeOpenapiClient
|
|
133
133
|
|
134
134
|
# @param pk [Integer]
|
135
135
|
# @param [Hash] opts the optional parameters
|
136
|
-
# @return [
|
136
|
+
# @return [StorageHostsMappingResponse]
|
137
137
|
def storage_hosts_mapping_pk_get(pk, opts = {})
|
138
138
|
data, _status_code, _headers = storage_hosts_mapping_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<(
|
144
|
+
# @return [Array<(StorageHostsMappingResponse, Integer, Hash)>] StorageHostsMappingResponse data, response status code and response headers
|
145
145
|
def storage_hosts_mapping_pk_get_with_http_info(pk, opts = {})
|
146
146
|
if @api_client.config.debugging
|
147
147
|
@api_client.config.logger.debug 'Calling API: StorageHostsMappingApi.storage_hosts_mapping_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] || '
|
171
|
+
return_type = opts[:debug_return_type] || 'StorageHostsMappingResponse'
|
172
172
|
|
173
173
|
# auth_names
|
174
174
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -192,7 +192,7 @@ module AutosdeOpenapiClient
|
|
192
192
|
|
193
193
|
# @param storage_hosts_mapping_create [StorageHostsMappingCreate]
|
194
194
|
# @param [Hash] opts the optional parameters
|
195
|
-
# @return [
|
195
|
+
# @return [AsyncResponse]
|
196
196
|
def storage_hosts_mapping_post(storage_hosts_mapping_create, opts = {})
|
197
197
|
data, _status_code, _headers = storage_hosts_mapping_post_with_http_info(storage_hosts_mapping_create, opts)
|
198
198
|
data
|
@@ -200,7 +200,7 @@ module AutosdeOpenapiClient
|
|
200
200
|
|
201
201
|
# @param storage_hosts_mapping_create [StorageHostsMappingCreate]
|
202
202
|
# @param [Hash] opts the optional parameters
|
203
|
-
# @return [Array<(
|
203
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
204
204
|
def storage_hosts_mapping_post_with_http_info(storage_hosts_mapping_create, opts = {})
|
205
205
|
if @api_client.config.debugging
|
206
206
|
@api_client.config.logger.debug 'Calling API: StorageHostsMappingApi.storage_hosts_mapping_post ...'
|
@@ -229,7 +229,7 @@ module AutosdeOpenapiClient
|
|
229
229
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_hosts_mapping_create)
|
230
230
|
|
231
231
|
# return_type
|
232
|
-
return_type = opts[:debug_return_type] || '
|
232
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
233
233
|
|
234
234
|
# auth_names
|
235
235
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -74,7 +74,7 @@ module AutosdeOpenapiClient
|
|
74
74
|
|
75
75
|
# @param pk [Integer]
|
76
76
|
# @param [Hash] opts the optional parameters
|
77
|
-
# @return [
|
77
|
+
# @return [AsyncResponse]
|
78
78
|
def storage_resources_pk_delete(pk, opts = {})
|
79
79
|
data, _status_code, _headers = storage_resources_pk_delete_with_http_info(pk, opts)
|
80
80
|
data
|
@@ -82,7 +82,7 @@ module AutosdeOpenapiClient
|
|
82
82
|
|
83
83
|
# @param pk [Integer]
|
84
84
|
# @param [Hash] opts the optional parameters
|
85
|
-
# @return [Array<(
|
85
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
86
86
|
def storage_resources_pk_delete_with_http_info(pk, opts = {})
|
87
87
|
if @api_client.config.debugging
|
88
88
|
@api_client.config.logger.debug 'Calling API: StorageResourceApi.storage_resources_pk_delete ...'
|
@@ -109,7 +109,7 @@ module AutosdeOpenapiClient
|
|
109
109
|
post_body = opts[:debug_body]
|
110
110
|
|
111
111
|
# return_type
|
112
|
-
return_type = opts[:debug_return_type] || '
|
112
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
113
113
|
|
114
114
|
# auth_names
|
115
115
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -133,7 +133,7 @@ module AutosdeOpenapiClient
|
|
133
133
|
|
134
134
|
# @param pk [Integer]
|
135
135
|
# @param [Hash] opts the optional parameters
|
136
|
-
# @return [
|
136
|
+
# @return [StorageResourceResponse]
|
137
137
|
def storage_resources_pk_get(pk, opts = {})
|
138
138
|
data, _status_code, _headers = storage_resources_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<(
|
144
|
+
# @return [Array<(StorageResourceResponse, Integer, Hash)>] StorageResourceResponse data, response status code and response headers
|
145
145
|
def storage_resources_pk_get_with_http_info(pk, opts = {})
|
146
146
|
if @api_client.config.debugging
|
147
147
|
@api_client.config.logger.debug 'Calling API: StorageResourceApi.storage_resources_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] || '
|
171
|
+
return_type = opts[:debug_return_type] || 'StorageResourceResponse'
|
172
172
|
|
173
173
|
# auth_names
|
174
174
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -193,7 +193,7 @@ module AutosdeOpenapiClient
|
|
193
193
|
# @param pk [Integer]
|
194
194
|
# @param storage_resource_create [StorageResourceCreate]
|
195
195
|
# @param [Hash] opts the optional parameters
|
196
|
-
# @return [
|
196
|
+
# @return [AsyncResponse]
|
197
197
|
def storage_resources_pk_put(pk, storage_resource_create, opts = {})
|
198
198
|
data, _status_code, _headers = storage_resources_pk_put_with_http_info(pk, storage_resource_create, opts)
|
199
199
|
data
|
@@ -202,7 +202,7 @@ module AutosdeOpenapiClient
|
|
202
202
|
# @param pk [Integer]
|
203
203
|
# @param storage_resource_create [StorageResourceCreate]
|
204
204
|
# @param [Hash] opts the optional parameters
|
205
|
-
# @return [Array<(
|
205
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
206
206
|
def storage_resources_pk_put_with_http_info(pk, storage_resource_create, opts = {})
|
207
207
|
if @api_client.config.debugging
|
208
208
|
@api_client.config.logger.debug 'Calling API: StorageResourceApi.storage_resources_pk_put ...'
|
@@ -235,7 +235,7 @@ module AutosdeOpenapiClient
|
|
235
235
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_resource_create)
|
236
236
|
|
237
237
|
# return_type
|
238
|
-
return_type = opts[:debug_return_type] || '
|
238
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
239
239
|
|
240
240
|
# auth_names
|
241
241
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|