autosde_openapi_client 1.0.3 → 1.0.20
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.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/autosde_openapi_client.gemspec +1 -1
- data/docs/StorageHostVolumeMappingApi.md +16 -16
- data/docs/StorageHostVolumeMappingResponse.md +26 -0
- data/lib/autosde_openapi_client.rb +2 -1
- data/lib/autosde_openapi_client/api/abstract_capability_api.rb +1 -1
- data/lib/autosde_openapi_client/api/account_api.rb +1 -1
- data/lib/autosde_openapi_client/api/address_api.rb +1 -1
- data/lib/autosde_openapi_client/api/authentication_api.rb +1 -1
- data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +1 -1
- data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +1 -1
- data/lib/autosde_openapi_client/api/capability_translation_api.rb +1 -1
- data/lib/autosde_openapi_client/api/host_api.rb +1 -1
- data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +1 -1
- data/lib/autosde_openapi_client/api/job_api.rb +1 -1
- data/lib/autosde_openapi_client/api/native_capability_api.rb +1 -1
- data/lib/autosde_openapi_client/api/profile_api.rb +1 -1
- data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +1 -1
- data/lib/autosde_openapi_client/api/service_api.rb +1 -1
- data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +1 -1
- data/lib/autosde_openapi_client/api/snapshot_api.rb +1 -1
- data/lib/autosde_openapi_client/api/storage_host_api.rb +1 -1
- data/lib/autosde_openapi_client/api/storage_host_volume_mapping_api.rb +13 -13
- data/lib/autosde_openapi_client/api/storage_resource_api.rb +1 -1
- data/lib/autosde_openapi_client/api/storage_system_api.rb +1 -1
- data/lib/autosde_openapi_client/api/system_type_api.rb +1 -1
- data/lib/autosde_openapi_client/api/volume_api.rb +1 -1
- data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +1 -1
- data/lib/autosde_openapi_client/api_client.rb +2 -2
- data/lib/autosde_openapi_client/api_error.rb +1 -1
- data/lib/autosde_openapi_client/configuration.rb +4 -6
- data/lib/autosde_openapi_client/models/abstract_capability.rb +1 -1
- data/lib/autosde_openapi_client/models/account.rb +1 -1
- data/lib/autosde_openapi_client/models/account_post_request.rb +1 -1
- data/lib/autosde_openapi_client/models/account_post_response.rb +1 -1
- data/lib/autosde_openapi_client/models/address.rb +1 -1
- data/lib/autosde_openapi_client/models/address_create.rb +1 -1
- data/lib/autosde_openapi_client/models/auth_response.rb +1 -1
- data/lib/autosde_openapi_client/models/authentication.rb +1 -1
- data/lib/autosde_openapi_client/models/auto_sde_project.rb +1 -1
- data/lib/autosde_openapi_client/models/auto_sde_role.rb +1 -1
- data/lib/autosde_openapi_client/models/capability_translation.rb +1 -1
- data/lib/autosde_openapi_client/models/capability_translation_create.rb +1 -1
- data/lib/autosde_openapi_client/models/host.rb +1 -1
- data/lib/autosde_openapi_client/models/host_create.rb +1 -1
- data/lib/autosde_openapi_client/models/host_volume_connection.rb +1 -1
- data/lib/autosde_openapi_client/models/host_volume_connection_create.rb +1 -1
- data/lib/autosde_openapi_client/models/job.rb +1 -1
- data/lib/autosde_openapi_client/models/job_create.rb +1 -1
- data/lib/autosde_openapi_client/models/native_capability.rb +1 -1
- data/lib/autosde_openapi_client/models/profile.rb +1 -1
- data/lib/autosde_openapi_client/models/provisioning_strategy.rb +1 -1
- data/lib/autosde_openapi_client/models/service.rb +1 -1
- data/lib/autosde_openapi_client/models/service_abstract_capability_value.rb +1 -1
- data/lib/autosde_openapi_client/models/service_create.rb +1 -1
- data/lib/autosde_openapi_client/models/service_resource_attachment.rb +1 -1
- data/lib/autosde_openapi_client/models/snapshot.rb +1 -1
- data/lib/autosde_openapi_client/models/snapshot_create.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host_create.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host_response.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host_update.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping_create.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping_response.rb +301 -0
- data/lib/autosde_openapi_client/models/storage_resource.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_resource_create.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_resource_response.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_system.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_system_create.rb +1 -1
- data/lib/autosde_openapi_client/models/system_type.rb +1 -1
- data/lib/autosde_openapi_client/models/system_type_create.rb +1 -1
- data/lib/autosde_openapi_client/models/volume.rb +1 -1
- data/lib/autosde_openapi_client/models/volume_create.rb +1 -1
- data/lib/autosde_openapi_client/models/volume_response.rb +1 -1
- data/lib/autosde_openapi_client/models/volume_safe_delete.rb +1 -1
- data/lib/autosde_openapi_client/models/volume_safe_delete_create.rb +1 -1
- data/lib/autosde_openapi_client/models/volume_update.rb +1 -1
- data/lib/autosde_openapi_client/version.rb +3 -3
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/storage_host_volume_mapping_response_spec.rb +62 -0
- data/spec/spec_helper.rb +1 -1
- metadata +62 -57
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f4d500f1208df8c25d0df4e8878b4908eb12079a8c6718e651ca25f7e53e49f
|
|
4
|
+
data.tar.gz: 2aa23c4a73451cba14f46449efe83ec1e92e8e49e92b60e41ce6b56dc16d21bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 85db47ef67ec4de140fd3f512282010ac1860aff8ec79a27e3c877568bb36585d8bc656a0f967bb43a4c3ebe276bc2dc97db610360fe513cb55c0ce54a192f6e
|
|
7
|
+
data.tar.gz: fdf1e87ff1404486bf65fcec407c63662afd8a2e378d35e1741bfad96194cb11fb51f82b5e8a150db9de7a98a722816eedf6427ea094a0edb2d1af46104b5685
|
data/README.md
CHANGED
|
@@ -208,6 +208,7 @@ Class | Method | HTTP request | Description
|
|
|
208
208
|
- [AutosdeOpenapiClient::StorageHostUpdate](docs/StorageHostUpdate.md)
|
|
209
209
|
- [AutosdeOpenapiClient::StorageHostVolumeMapping](docs/StorageHostVolumeMapping.md)
|
|
210
210
|
- [AutosdeOpenapiClient::StorageHostVolumeMappingCreate](docs/StorageHostVolumeMappingCreate.md)
|
|
211
|
+
- [AutosdeOpenapiClient::StorageHostVolumeMappingResponse](docs/StorageHostVolumeMappingResponse.md)
|
|
211
212
|
- [AutosdeOpenapiClient::StorageResource](docs/StorageResource.md)
|
|
212
213
|
- [AutosdeOpenapiClient::StorageResourceCreate](docs/StorageResourceCreate.md)
|
|
213
214
|
- [AutosdeOpenapiClient::StorageResourceResponse](docs/StorageResourceResponse.md)
|
|
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
|
|
12
12
|
|
|
13
13
|
## storage_hosts_mapping_get
|
|
14
14
|
|
|
15
|
-
> <Array<
|
|
15
|
+
> <Array<StorageHostVolumeMappingResponse>> storage_hosts_mapping_get
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -42,7 +42,7 @@ end
|
|
|
42
42
|
|
|
43
43
|
This returns an Array which contains the response data, status code and headers.
|
|
44
44
|
|
|
45
|
-
> <Array(<Array<
|
|
45
|
+
> <Array(<Array<StorageHostVolumeMappingResponse>>, Integer, Hash)> storage_hosts_mapping_get_with_http_info
|
|
46
46
|
|
|
47
47
|
```ruby
|
|
48
48
|
begin
|
|
@@ -50,7 +50,7 @@ begin
|
|
|
50
50
|
data, status_code, headers = api_instance.storage_hosts_mapping_get_with_http_info
|
|
51
51
|
p status_code # => 2xx
|
|
52
52
|
p headers # => { ... }
|
|
53
|
-
p data # => <Array<
|
|
53
|
+
p data # => <Array<StorageHostVolumeMappingResponse>>
|
|
54
54
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
55
55
|
puts "Error when calling StorageHostVolumeMappingApi->storage_hosts_mapping_get_with_http_info: #{e}"
|
|
56
56
|
end
|
|
@@ -62,7 +62,7 @@ This endpoint does not need any parameter.
|
|
|
62
62
|
|
|
63
63
|
### Return type
|
|
64
64
|
|
|
65
|
-
[**Array<
|
|
65
|
+
[**Array<StorageHostVolumeMappingResponse>**](StorageHostVolumeMappingResponse.md)
|
|
66
66
|
|
|
67
67
|
### Authorization
|
|
68
68
|
|
|
@@ -76,7 +76,7 @@ This endpoint does not need any parameter.
|
|
|
76
76
|
|
|
77
77
|
## storage_hosts_mapping_pk_delete
|
|
78
78
|
|
|
79
|
-
> <Array<
|
|
79
|
+
> <Array<StorageHostVolumeMappingResponse>> storage_hosts_mapping_pk_delete(pk)
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
@@ -107,7 +107,7 @@ end
|
|
|
107
107
|
|
|
108
108
|
This returns an Array which contains the response data, status code and headers.
|
|
109
109
|
|
|
110
|
-
> <Array(<Array<
|
|
110
|
+
> <Array(<Array<StorageHostVolumeMappingResponse>>, Integer, Hash)> storage_hosts_mapping_pk_delete_with_http_info(pk)
|
|
111
111
|
|
|
112
112
|
```ruby
|
|
113
113
|
begin
|
|
@@ -115,7 +115,7 @@ begin
|
|
|
115
115
|
data, status_code, headers = api_instance.storage_hosts_mapping_pk_delete_with_http_info(pk)
|
|
116
116
|
p status_code # => 2xx
|
|
117
117
|
p headers # => { ... }
|
|
118
|
-
p data # => <Array<
|
|
118
|
+
p data # => <Array<StorageHostVolumeMappingResponse>>
|
|
119
119
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
120
120
|
puts "Error when calling StorageHostVolumeMappingApi->storage_hosts_mapping_pk_delete_with_http_info: #{e}"
|
|
121
121
|
end
|
|
@@ -129,7 +129,7 @@ end
|
|
|
129
129
|
|
|
130
130
|
### Return type
|
|
131
131
|
|
|
132
|
-
[**Array<
|
|
132
|
+
[**Array<StorageHostVolumeMappingResponse>**](StorageHostVolumeMappingResponse.md)
|
|
133
133
|
|
|
134
134
|
### Authorization
|
|
135
135
|
|
|
@@ -143,7 +143,7 @@ end
|
|
|
143
143
|
|
|
144
144
|
## storage_hosts_mapping_pk_get
|
|
145
145
|
|
|
146
|
-
> <Array<
|
|
146
|
+
> <Array<StorageHostVolumeMappingResponse>> storage_hosts_mapping_pk_get(pk)
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
|
|
@@ -174,7 +174,7 @@ end
|
|
|
174
174
|
|
|
175
175
|
This returns an Array which contains the response data, status code and headers.
|
|
176
176
|
|
|
177
|
-
> <Array(<Array<
|
|
177
|
+
> <Array(<Array<StorageHostVolumeMappingResponse>>, Integer, Hash)> storage_hosts_mapping_pk_get_with_http_info(pk)
|
|
178
178
|
|
|
179
179
|
```ruby
|
|
180
180
|
begin
|
|
@@ -182,7 +182,7 @@ begin
|
|
|
182
182
|
data, status_code, headers = api_instance.storage_hosts_mapping_pk_get_with_http_info(pk)
|
|
183
183
|
p status_code # => 2xx
|
|
184
184
|
p headers # => { ... }
|
|
185
|
-
p data # => <Array<
|
|
185
|
+
p data # => <Array<StorageHostVolumeMappingResponse>>
|
|
186
186
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
187
187
|
puts "Error when calling StorageHostVolumeMappingApi->storage_hosts_mapping_pk_get_with_http_info: #{e}"
|
|
188
188
|
end
|
|
@@ -196,7 +196,7 @@ end
|
|
|
196
196
|
|
|
197
197
|
### Return type
|
|
198
198
|
|
|
199
|
-
[**Array<
|
|
199
|
+
[**Array<StorageHostVolumeMappingResponse>**](StorageHostVolumeMappingResponse.md)
|
|
200
200
|
|
|
201
201
|
### Authorization
|
|
202
202
|
|
|
@@ -210,7 +210,7 @@ end
|
|
|
210
210
|
|
|
211
211
|
## storage_hosts_mapping_post
|
|
212
212
|
|
|
213
|
-
> <
|
|
213
|
+
> <StorageHostVolumeMapping> storage_hosts_mapping_post(storage_host_volume_mapping_create)
|
|
214
214
|
|
|
215
215
|
|
|
216
216
|
|
|
@@ -241,7 +241,7 @@ end
|
|
|
241
241
|
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
|
243
243
|
|
|
244
|
-
> <Array(<
|
|
244
|
+
> <Array(<StorageHostVolumeMapping>, Integer, Hash)> storage_hosts_mapping_post_with_http_info(storage_host_volume_mapping_create)
|
|
245
245
|
|
|
246
246
|
```ruby
|
|
247
247
|
begin
|
|
@@ -249,7 +249,7 @@ begin
|
|
|
249
249
|
data, status_code, headers = api_instance.storage_hosts_mapping_post_with_http_info(storage_host_volume_mapping_create)
|
|
250
250
|
p status_code # => 2xx
|
|
251
251
|
p headers # => { ... }
|
|
252
|
-
p data # => <
|
|
252
|
+
p data # => <StorageHostVolumeMapping>
|
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
254
254
|
puts "Error when calling StorageHostVolumeMappingApi->storage_hosts_mapping_post_with_http_info: #{e}"
|
|
255
255
|
end
|
|
@@ -263,7 +263,7 @@ end
|
|
|
263
263
|
|
|
264
264
|
### Return type
|
|
265
265
|
|
|
266
|
-
[**
|
|
266
|
+
[**StorageHostVolumeMapping**](StorageHostVolumeMapping.md)
|
|
267
267
|
|
|
268
268
|
### Authorization
|
|
269
269
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# AutosdeOpenapiClient::StorageHostVolumeMappingResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **component_state** | **String** | component_state | [optional] |
|
|
8
|
+
| **host** | **String** | !!uuid of host | [optional] |
|
|
9
|
+
| **lun** | **Integer** | lun | [optional][default to 0] |
|
|
10
|
+
| **uuid** | **String** | uuid | [optional] |
|
|
11
|
+
| **volume** | **String** | !!uuid of volume | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'autosde_openapi_client'
|
|
17
|
+
|
|
18
|
+
instance = AutosdeOpenapiClient::StorageHostVolumeMappingResponse.new(
|
|
19
|
+
component_state: null,
|
|
20
|
+
host: null,
|
|
21
|
+
lun: null,
|
|
22
|
+
uuid: null,
|
|
23
|
+
volume: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -6,7 +6,7 @@
|
|
|
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: 5.0.
|
|
9
|
+
OpenAPI Generator version: 5.0.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -50,6 +50,7 @@ require 'autosde_openapi_client/models/storage_host_response'
|
|
|
50
50
|
require 'autosde_openapi_client/models/storage_host_update'
|
|
51
51
|
require 'autosde_openapi_client/models/storage_host_volume_mapping'
|
|
52
52
|
require 'autosde_openapi_client/models/storage_host_volume_mapping_create'
|
|
53
|
+
require 'autosde_openapi_client/models/storage_host_volume_mapping_response'
|
|
53
54
|
require 'autosde_openapi_client/models/storage_resource'
|
|
54
55
|
require 'autosde_openapi_client/models/storage_resource_create'
|
|
55
56
|
require 'autosde_openapi_client/models/storage_resource_response'
|
|
@@ -6,7 +6,7 @@
|
|
|
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: 5.0.
|
|
9
|
+
OpenAPI Generator version: 5.0.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -20,14 +20,14 @@ module AutosdeOpenapiClient
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# @param [Hash] opts the optional parameters
|
|
23
|
-
# @return [Array<
|
|
23
|
+
# @return [Array<StorageHostVolumeMappingResponse>]
|
|
24
24
|
def storage_hosts_mapping_get(opts = {})
|
|
25
25
|
data, _status_code, _headers = storage_hosts_mapping_get_with_http_info(opts)
|
|
26
26
|
data
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
# @param [Hash] opts the optional parameters
|
|
30
|
-
# @return [Array<(Array<
|
|
30
|
+
# @return [Array<(Array<StorageHostVolumeMappingResponse>, Integer, Hash)>] Array<StorageHostVolumeMappingResponse> data, response status code and response headers
|
|
31
31
|
def storage_hosts_mapping_get_with_http_info(opts = {})
|
|
32
32
|
if @api_client.config.debugging
|
|
33
33
|
@api_client.config.logger.debug 'Calling API: StorageHostVolumeMappingApi.storage_hosts_mapping_get ...'
|
|
@@ -50,7 +50,7 @@ module AutosdeOpenapiClient
|
|
|
50
50
|
post_body = opts[:debug_body]
|
|
51
51
|
|
|
52
52
|
# return_type
|
|
53
|
-
return_type = opts[:debug_return_type] || 'Array<
|
|
53
|
+
return_type = opts[:debug_return_type] || 'Array<StorageHostVolumeMappingResponse>'
|
|
54
54
|
|
|
55
55
|
# auth_names
|
|
56
56
|
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 [Array<
|
|
77
|
+
# @return [Array<StorageHostVolumeMappingResponse>]
|
|
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<(Array<
|
|
85
|
+
# @return [Array<(Array<StorageHostVolumeMappingResponse>, Integer, Hash)>] Array<StorageHostVolumeMappingResponse> 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: StorageHostVolumeMappingApi.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] || 'Array<
|
|
112
|
+
return_type = opts[:debug_return_type] || 'Array<StorageHostVolumeMappingResponse>'
|
|
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 [Array<
|
|
136
|
+
# @return [Array<StorageHostVolumeMappingResponse>]
|
|
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<(Array<
|
|
144
|
+
# @return [Array<(Array<StorageHostVolumeMappingResponse>, Integer, Hash)>] Array<StorageHostVolumeMappingResponse> 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: StorageHostVolumeMappingApi.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] || 'Array<
|
|
171
|
+
return_type = opts[:debug_return_type] || 'Array<StorageHostVolumeMappingResponse>'
|
|
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_host_volume_mapping_create [StorageHostVolumeMappingCreate]
|
|
194
194
|
# @param [Hash] opts the optional parameters
|
|
195
|
-
# @return [
|
|
195
|
+
# @return [StorageHostVolumeMapping]
|
|
196
196
|
def storage_hosts_mapping_post(storage_host_volume_mapping_create, opts = {})
|
|
197
197
|
data, _status_code, _headers = storage_hosts_mapping_post_with_http_info(storage_host_volume_mapping_create, opts)
|
|
198
198
|
data
|
|
@@ -200,7 +200,7 @@ module AutosdeOpenapiClient
|
|
|
200
200
|
|
|
201
201
|
# @param storage_host_volume_mapping_create [StorageHostVolumeMappingCreate]
|
|
202
202
|
# @param [Hash] opts the optional parameters
|
|
203
|
-
# @return [Array<(
|
|
203
|
+
# @return [Array<(StorageHostVolumeMapping, Integer, Hash)>] StorageHostVolumeMapping data, response status code and response headers
|
|
204
204
|
def storage_hosts_mapping_post_with_http_info(storage_host_volume_mapping_create, opts = {})
|
|
205
205
|
if @api_client.config.debugging
|
|
206
206
|
@api_client.config.logger.debug 'Calling API: StorageHostVolumeMappingApi.storage_hosts_mapping_post ...'
|
|
@@ -229,7 +229,7 @@ module AutosdeOpenapiClient
|
|
|
229
229
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_host_volume_mapping_create)
|
|
230
230
|
|
|
231
231
|
# return_type
|
|
232
|
-
return_type = opts[:debug_return_type] || '
|
|
232
|
+
return_type = opts[:debug_return_type] || 'StorageHostVolumeMapping'
|
|
233
233
|
|
|
234
234
|
# auth_names
|
|
235
235
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|