autosde_openapi_client 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +32 -7
- data/docs/AbstractCapabilityApi.md +6 -6
- data/docs/AccountApi.md +9 -9
- data/docs/AddressApi.md +6 -6
- data/docs/AuthenticationApi.md +1 -1
- data/docs/AutoSDEProjectApi.md +6 -6
- data/docs/AutoSDERoleApi.md +6 -6
- data/docs/CapabilityTranslationApi.md +6 -6
- data/docs/HostApi.md +6 -6
- data/docs/HostVolumeConnectionApi.md +6 -6
- data/docs/Job.md +29 -0
- data/docs/JobApi.md +104 -0
- data/docs/JobCreate.md +19 -0
- data/docs/NativeCapabilityApi.md +6 -6
- data/docs/ProfileApi.md +6 -6
- data/docs/ProvisioningStrategyApi.md +6 -6
- data/docs/ServiceApi.md +9 -9
- data/docs/ServiceResourceAttachmentApi.md +6 -6
- data/docs/Snapshot.md +25 -0
- data/docs/SnapshotApi.md +204 -0
- data/docs/SnapshotCreate.md +23 -0
- data/docs/StorageHost.md +29 -0
- data/docs/StorageHostApi.md +256 -0
- data/docs/StorageHostCreate.md +37 -0
- data/docs/StorageHostResponse.md +31 -0
- data/docs/StorageHostUpdate.md +21 -0
- data/docs/StorageHostVolumeMapping.md +25 -0
- data/docs/StorageHostVolumeMappingApi.md +204 -0
- data/docs/StorageHostVolumeMappingCreate.md +23 -0
- data/docs/StorageResourceApi.md +9 -9
- data/docs/StorageSystemApi.md +6 -6
- data/docs/SystemTypeApi.md +6 -6
- data/docs/Volume.md +2 -0
- data/docs/VolumeApi.md +9 -9
- data/docs/VolumeCreate.md +2 -0
- data/docs/VolumeResponse.md +2 -0
- data/docs/VolumeSafeDeleteApi.md +6 -6
- data/docs/VolumeUpdate.md +3 -1
- data/lib/openapi_client.rb +108 -0
- data/lib/{autosde_openapi_client → openapi_client}/api/abstract_capability_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/account_api.rb +25 -20
- data/lib/{autosde_openapi_client → openapi_client}/api/address_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/authentication_api.rb +5 -4
- data/lib/{autosde_openapi_client → openapi_client}/api/auto_sde_project_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/auto_sde_role_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/capability_translation_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/host_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/host_volume_connection_api.rb +19 -15
- data/lib/openapi_client/api/job_api.rb +136 -0
- data/lib/{autosde_openapi_client → openapi_client}/api/native_capability_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/profile_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/provisioning_strategy_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/service_api.rb +25 -20
- data/lib/{autosde_openapi_client → openapi_client}/api/service_resource_attachment_api.rb +19 -15
- data/lib/openapi_client/api/snapshot_api.rb +254 -0
- data/lib/openapi_client/api/storage_host_api.rb +321 -0
- data/lib/openapi_client/api/storage_host_volume_mapping_api.rb +254 -0
- data/lib/{autosde_openapi_client → openapi_client}/api/storage_resource_api.rb +25 -20
- data/lib/{autosde_openapi_client → openapi_client}/api/storage_system_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/system_type_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/volume_api.rb +25 -20
- data/lib/{autosde_openapi_client → openapi_client}/api/volume_safe_delete_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api_client.rb +46 -45
- data/lib/{autosde_openapi_client → openapi_client}/api_error.rb +1 -1
- data/lib/{autosde_openapi_client → openapi_client}/configuration.rb +34 -7
- data/lib/{autosde_openapi_client → openapi_client}/models/abstract_capability.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/account.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/account_post_request.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/account_post_response.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/address.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/address_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/auth_response.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/authentication.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/auto_sde_project.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/auto_sde_role.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/capability_translation.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/capability_translation_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/host.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/host_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/host_volume_connection.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/host_volume_connection_create.rb +9 -5
- data/lib/openapi_client/models/job.rb +272 -0
- data/lib/openapi_client/models/job_create.rb +222 -0
- data/lib/{autosde_openapi_client → openapi_client}/models/native_capability.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/profile.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/provisioning_strategy.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/service.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/service_abstract_capability_value.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/service_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/service_resource_attachment.rb +9 -5
- data/lib/openapi_client/models/snapshot.rb +290 -0
- data/lib/openapi_client/models/snapshot_create.rb +280 -0
- data/lib/openapi_client/models/storage_host.rb +309 -0
- data/lib/openapi_client/models/storage_host_create.rb +360 -0
- data/lib/openapi_client/models/storage_host_response.rb +325 -0
- data/lib/openapi_client/models/storage_host_update.rb +293 -0
- data/lib/openapi_client/models/storage_host_volume_mapping.rb +291 -0
- data/lib/openapi_client/models/storage_host_volume_mapping_create.rb +283 -0
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource_response.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_system.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_system_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/system_type.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/system_type_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/volume.rb +20 -6
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_create.rb +20 -6
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_response.rb +20 -6
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_safe_delete.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_safe_delete_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_update.rb +22 -6
- data/lib/{autosde_openapi_client → openapi_client}/version.rb +2 -2
- data/{autosde_openapi_client.gemspec → openapi_client.gemspec} +3 -4
- data/spec/api/abstract_capability_api_spec.rb +1 -1
- data/spec/api/account_api_spec.rb +1 -1
- data/spec/api/address_api_spec.rb +1 -1
- data/spec/api/authentication_api_spec.rb +1 -1
- data/spec/api/auto_sde_project_api_spec.rb +1 -1
- data/spec/api/auto_sde_role_api_spec.rb +1 -1
- data/spec/api/capability_translation_api_spec.rb +1 -1
- data/spec/api/host_api_spec.rb +1 -1
- data/spec/api/host_volume_connection_api_spec.rb +1 -1
- data/spec/api/job_api_spec.rb +54 -0
- data/spec/api/native_capability_api_spec.rb +1 -1
- data/spec/api/profile_api_spec.rb +1 -1
- data/spec/api/provisioning_strategy_api_spec.rb +1 -1
- data/spec/api/service_api_spec.rb +1 -1
- data/spec/api/service_resource_attachment_api_spec.rb +1 -1
- data/spec/api/snapshot_api_spec.rb +74 -0
- data/spec/api/storage_host_api_spec.rb +74 -0
- data/spec/api/storage_host_volume_mapping_api_spec.rb +74 -0
- data/spec/api/storage_resource_api_spec.rb +1 -1
- data/spec/api/storage_system_api_spec.rb +1 -1
- data/spec/api/system_type_api_spec.rb +1 -1
- data/spec/api/volume_api_spec.rb +1 -1
- data/spec/api/volume_safe_delete_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/abstract_capability_spec.rb +1 -1
- data/spec/models/account_post_request_spec.rb +1 -1
- data/spec/models/account_post_response_spec.rb +1 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/address_create_spec.rb +1 -1
- data/spec/models/address_spec.rb +1 -1
- data/spec/models/auth_response_spec.rb +1 -1
- data/spec/models/authentication_spec.rb +1 -1
- data/spec/models/auto_sde_project_spec.rb +1 -1
- data/spec/models/auto_sde_role_spec.rb +1 -1
- data/spec/models/capability_translation_create_spec.rb +1 -1
- data/spec/models/capability_translation_spec.rb +1 -1
- data/spec/models/host_create_spec.rb +1 -1
- data/spec/models/host_spec.rb +1 -1
- data/spec/models/host_volume_connection_create_spec.rb +1 -1
- data/spec/models/host_volume_connection_spec.rb +1 -1
- data/spec/models/job_create_spec.rb +47 -0
- data/spec/models/job_spec.rb +77 -0
- data/spec/models/native_capability_spec.rb +1 -1
- data/spec/models/profile_spec.rb +1 -1
- data/spec/models/provisioning_strategy_spec.rb +1 -1
- data/spec/models/service_abstract_capability_value_spec.rb +1 -1
- data/spec/models/service_create_spec.rb +1 -1
- data/spec/models/service_resource_attachment_spec.rb +1 -1
- data/spec/models/service_spec.rb +1 -1
- data/spec/models/snapshot_create_spec.rb +63 -0
- data/spec/models/snapshot_spec.rb +69 -0
- data/spec/models/storage_host_create_spec.rb +109 -0
- data/spec/models/storage_host_response_spec.rb +87 -0
- data/spec/models/storage_host_spec.rb +81 -0
- data/spec/models/storage_host_update_spec.rb +61 -0
- data/spec/models/storage_host_volume_mapping_create_spec.rb +63 -0
- data/spec/models/storage_host_volume_mapping_spec.rb +69 -0
- data/spec/models/storage_resource_create_spec.rb +1 -1
- data/spec/models/storage_resource_response_spec.rb +1 -1
- data/spec/models/storage_resource_spec.rb +1 -1
- data/spec/models/storage_system_create_spec.rb +1 -1
- data/spec/models/storage_system_spec.rb +1 -1
- data/spec/models/system_type_create_spec.rb +1 -1
- data/spec/models/system_type_spec.rb +1 -1
- data/spec/models/volume_create_spec.rb +1 -1
- data/spec/models/volume_response_spec.rb +1 -1
- data/spec/models/volume_safe_delete_create_spec.rb +1 -1
- data/spec/models/volume_safe_delete_spec.rb +1 -1
- data/spec/models/volume_spec.rb +1 -1
- data/spec/models/volume_update_spec.rb +7 -1
- data/spec/spec_helper.rb +2 -2
- metadata +142 -106
- data/lib/autosde_openapi_client.rb +0 -94
- data/site_manager_oas.json +0 -3992
data/docs/SystemTypeApi.md
CHANGED
@@ -21,7 +21,7 @@ Method | HTTP request | Description
|
|
21
21
|
|
22
22
|
```ruby
|
23
23
|
# load the gem
|
24
|
-
require '
|
24
|
+
require 'openapi_client'
|
25
25
|
# setup authorization
|
26
26
|
OpenapiClient.configure do |config|
|
27
27
|
# Configure Bearer authorization: bearerAuth
|
@@ -66,7 +66,7 @@ This endpoint does not need any parameter.
|
|
66
66
|
|
67
67
|
```ruby
|
68
68
|
# load the gem
|
69
|
-
require '
|
69
|
+
require 'openapi_client'
|
70
70
|
# setup authorization
|
71
71
|
OpenapiClient.configure do |config|
|
72
72
|
# Configure Bearer authorization: bearerAuth
|
@@ -115,7 +115,7 @@ Name | Type | Description | Notes
|
|
115
115
|
|
116
116
|
```ruby
|
117
117
|
# load the gem
|
118
|
-
require '
|
118
|
+
require 'openapi_client'
|
119
119
|
# setup authorization
|
120
120
|
OpenapiClient.configure do |config|
|
121
121
|
# Configure Bearer authorization: bearerAuth
|
@@ -156,7 +156,7 @@ Name | Type | Description | Notes
|
|
156
156
|
|
157
157
|
## system_types_post
|
158
158
|
|
159
|
-
>
|
159
|
+
> SystemType system_types_post(system_type_create)
|
160
160
|
|
161
161
|
|
162
162
|
|
@@ -164,7 +164,7 @@ Name | Type | Description | Notes
|
|
164
164
|
|
165
165
|
```ruby
|
166
166
|
# load the gem
|
167
|
-
require '
|
167
|
+
require 'openapi_client'
|
168
168
|
# setup authorization
|
169
169
|
OpenapiClient.configure do |config|
|
170
170
|
# Configure Bearer authorization: bearerAuth
|
@@ -191,7 +191,7 @@ Name | Type | Description | Notes
|
|
191
191
|
|
192
192
|
### Return type
|
193
193
|
|
194
|
-
[**
|
194
|
+
[**SystemType**](SystemType.md)
|
195
195
|
|
196
196
|
### Authorization
|
197
197
|
|
data/docs/Volume.md
CHANGED
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**service** | [**Service**](Service.md) | | [optional]
|
12
12
|
**size** | **Integer** | size | [optional]
|
13
13
|
**storage_resource** | [**StorageResource**](StorageResource.md) | | [optional]
|
14
|
+
**unmapped_since** | **Time** | unmapped_since | [optional]
|
14
15
|
**uuid** | **String** | uuid | [optional]
|
15
16
|
|
16
17
|
## Code Sample
|
@@ -25,6 +26,7 @@ instance = OpenapiClient::Volume.new(compliant: null,
|
|
25
26
|
service: null,
|
26
27
|
size: null,
|
27
28
|
storage_resource: null,
|
29
|
+
unmapped_since: null,
|
28
30
|
uuid: null)
|
29
31
|
```
|
30
32
|
|
data/docs/VolumeApi.md
CHANGED
@@ -22,7 +22,7 @@ Method | HTTP request | Description
|
|
22
22
|
|
23
23
|
```ruby
|
24
24
|
# load the gem
|
25
|
-
require '
|
25
|
+
require 'openapi_client'
|
26
26
|
# setup authorization
|
27
27
|
OpenapiClient.configure do |config|
|
28
28
|
# Configure Bearer authorization: bearerAuth
|
@@ -67,7 +67,7 @@ This endpoint does not need any parameter.
|
|
67
67
|
|
68
68
|
```ruby
|
69
69
|
# load the gem
|
70
|
-
require '
|
70
|
+
require 'openapi_client'
|
71
71
|
# setup authorization
|
72
72
|
OpenapiClient.configure do |config|
|
73
73
|
# Configure Bearer authorization: bearerAuth
|
@@ -116,7 +116,7 @@ Name | Type | Description | Notes
|
|
116
116
|
|
117
117
|
```ruby
|
118
118
|
# load the gem
|
119
|
-
require '
|
119
|
+
require 'openapi_client'
|
120
120
|
# setup authorization
|
121
121
|
OpenapiClient.configure do |config|
|
122
122
|
# Configure Bearer authorization: bearerAuth
|
@@ -157,7 +157,7 @@ Name | Type | Description | Notes
|
|
157
157
|
|
158
158
|
## volumes_pk_put
|
159
159
|
|
160
|
-
>
|
160
|
+
> VolumeResponse volumes_pk_put(pk, volume_update)
|
161
161
|
|
162
162
|
|
163
163
|
|
@@ -165,7 +165,7 @@ Name | Type | Description | Notes
|
|
165
165
|
|
166
166
|
```ruby
|
167
167
|
# load the gem
|
168
|
-
require '
|
168
|
+
require 'openapi_client'
|
169
169
|
# setup authorization
|
170
170
|
OpenapiClient.configure do |config|
|
171
171
|
# Configure Bearer authorization: bearerAuth
|
@@ -194,7 +194,7 @@ Name | Type | Description | Notes
|
|
194
194
|
|
195
195
|
### Return type
|
196
196
|
|
197
|
-
[**
|
197
|
+
[**VolumeResponse**](VolumeResponse.md)
|
198
198
|
|
199
199
|
### Authorization
|
200
200
|
|
@@ -208,7 +208,7 @@ Name | Type | Description | Notes
|
|
208
208
|
|
209
209
|
## volumes_post
|
210
210
|
|
211
|
-
>
|
211
|
+
> VolumeResponse volumes_post(volume_create)
|
212
212
|
|
213
213
|
|
214
214
|
|
@@ -216,7 +216,7 @@ Name | Type | Description | Notes
|
|
216
216
|
|
217
217
|
```ruby
|
218
218
|
# load the gem
|
219
|
-
require '
|
219
|
+
require 'openapi_client'
|
220
220
|
# setup authorization
|
221
221
|
OpenapiClient.configure do |config|
|
222
222
|
# Configure Bearer authorization: bearerAuth
|
@@ -243,7 +243,7 @@ Name | Type | Description | Notes
|
|
243
243
|
|
244
244
|
### Return type
|
245
245
|
|
246
|
-
[**
|
246
|
+
[**VolumeResponse**](VolumeResponse.md)
|
247
247
|
|
248
248
|
### Authorization
|
249
249
|
|
data/docs/VolumeCreate.md
CHANGED
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**name** | **String** | name | [optional]
|
10
10
|
**service** | **String** | !!uuid of service | [optional]
|
11
11
|
**size** | **Integer** | size | [optional]
|
12
|
+
**unmapped_since** | **Time** | unmapped_since | [optional]
|
12
13
|
**uuid** | **String** | uuid | [optional]
|
13
14
|
|
14
15
|
## Code Sample
|
@@ -21,6 +22,7 @@ instance = OpenapiClient::VolumeCreate.new(compliant: null,
|
|
21
22
|
name: null,
|
22
23
|
service: null,
|
23
24
|
size: null,
|
25
|
+
unmapped_since: null,
|
24
26
|
uuid: null)
|
25
27
|
```
|
26
28
|
|
data/docs/VolumeResponse.md
CHANGED
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**service** | **String** | !!uuid of service | [optional]
|
12
12
|
**size** | **Integer** | size | [optional]
|
13
13
|
**storage_resource** | **String** | !!uuid of storage_resource | [optional]
|
14
|
+
**unmapped_since** | **Time** | unmapped_since | [optional]
|
14
15
|
**uuid** | **String** | uuid | [optional]
|
15
16
|
|
16
17
|
## Code Sample
|
@@ -25,6 +26,7 @@ instance = OpenapiClient::VolumeResponse.new(compliant: null,
|
|
25
26
|
service: null,
|
26
27
|
size: null,
|
27
28
|
storage_resource: null,
|
29
|
+
unmapped_since: null,
|
28
30
|
uuid: null)
|
29
31
|
```
|
30
32
|
|
data/docs/VolumeSafeDeleteApi.md
CHANGED
@@ -21,7 +21,7 @@ Method | HTTP request | Description
|
|
21
21
|
|
22
22
|
```ruby
|
23
23
|
# load the gem
|
24
|
-
require '
|
24
|
+
require 'openapi_client'
|
25
25
|
# setup authorization
|
26
26
|
OpenapiClient.configure do |config|
|
27
27
|
# Configure Bearer authorization: bearerAuth
|
@@ -66,7 +66,7 @@ This endpoint does not need any parameter.
|
|
66
66
|
|
67
67
|
```ruby
|
68
68
|
# load the gem
|
69
|
-
require '
|
69
|
+
require 'openapi_client'
|
70
70
|
# setup authorization
|
71
71
|
OpenapiClient.configure do |config|
|
72
72
|
# Configure Bearer authorization: bearerAuth
|
@@ -115,7 +115,7 @@ Name | Type | Description | Notes
|
|
115
115
|
|
116
116
|
```ruby
|
117
117
|
# load the gem
|
118
|
-
require '
|
118
|
+
require 'openapi_client'
|
119
119
|
# setup authorization
|
120
120
|
OpenapiClient.configure do |config|
|
121
121
|
# Configure Bearer authorization: bearerAuth
|
@@ -156,7 +156,7 @@ Name | Type | Description | Notes
|
|
156
156
|
|
157
157
|
## safe_deletes_post
|
158
158
|
|
159
|
-
>
|
159
|
+
> VolumeSafeDelete safe_deletes_post(volume_safe_delete_create)
|
160
160
|
|
161
161
|
|
162
162
|
|
@@ -164,7 +164,7 @@ Name | Type | Description | Notes
|
|
164
164
|
|
165
165
|
```ruby
|
166
166
|
# load the gem
|
167
|
-
require '
|
167
|
+
require 'openapi_client'
|
168
168
|
# setup authorization
|
169
169
|
OpenapiClient.configure do |config|
|
170
170
|
# Configure Bearer authorization: bearerAuth
|
@@ -191,7 +191,7 @@ Name | Type | Description | Notes
|
|
191
191
|
|
192
192
|
### Return type
|
193
193
|
|
194
|
-
[**
|
194
|
+
[**VolumeSafeDelete**](VolumeSafeDelete.md)
|
195
195
|
|
196
196
|
### Authorization
|
197
197
|
|
data/docs/VolumeUpdate.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | name | [optional] [default to 'null']
|
7
8
|
**size** | **Integer** | size | [optional]
|
8
9
|
|
9
10
|
## Code Sample
|
@@ -11,7 +12,8 @@ Name | Type | Description | Notes
|
|
11
12
|
```ruby
|
12
13
|
require 'OpenapiClient'
|
13
14
|
|
14
|
-
instance = OpenapiClient::VolumeUpdate.new(
|
15
|
+
instance = OpenapiClient::VolumeUpdate.new(name: null,
|
16
|
+
size: null)
|
15
17
|
```
|
16
18
|
|
17
19
|
|
@@ -0,0 +1,108 @@
|
|
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-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
# Common files
|
14
|
+
require 'openapi_client/api_client'
|
15
|
+
require 'openapi_client/api_error'
|
16
|
+
require 'openapi_client/version'
|
17
|
+
require 'openapi_client/configuration'
|
18
|
+
|
19
|
+
# Models
|
20
|
+
require 'openapi_client/models/abstract_capability'
|
21
|
+
require 'openapi_client/models/account'
|
22
|
+
require 'openapi_client/models/account_post_request'
|
23
|
+
require 'openapi_client/models/account_post_response'
|
24
|
+
require 'openapi_client/models/address'
|
25
|
+
require 'openapi_client/models/address_create'
|
26
|
+
require 'openapi_client/models/auth_response'
|
27
|
+
require 'openapi_client/models/authentication'
|
28
|
+
require 'openapi_client/models/auto_sde_project'
|
29
|
+
require 'openapi_client/models/auto_sde_role'
|
30
|
+
require 'openapi_client/models/capability_translation'
|
31
|
+
require 'openapi_client/models/capability_translation_create'
|
32
|
+
require 'openapi_client/models/host'
|
33
|
+
require 'openapi_client/models/host_create'
|
34
|
+
require 'openapi_client/models/host_volume_connection'
|
35
|
+
require 'openapi_client/models/host_volume_connection_create'
|
36
|
+
require 'openapi_client/models/job'
|
37
|
+
require 'openapi_client/models/job_create'
|
38
|
+
require 'openapi_client/models/native_capability'
|
39
|
+
require 'openapi_client/models/profile'
|
40
|
+
require 'openapi_client/models/provisioning_strategy'
|
41
|
+
require 'openapi_client/models/service'
|
42
|
+
require 'openapi_client/models/service_abstract_capability_value'
|
43
|
+
require 'openapi_client/models/service_create'
|
44
|
+
require 'openapi_client/models/service_resource_attachment'
|
45
|
+
require 'openapi_client/models/snapshot'
|
46
|
+
require 'openapi_client/models/snapshot_create'
|
47
|
+
require 'openapi_client/models/storage_host'
|
48
|
+
require 'openapi_client/models/storage_host_create'
|
49
|
+
require 'openapi_client/models/storage_host_response'
|
50
|
+
require 'openapi_client/models/storage_host_update'
|
51
|
+
require 'openapi_client/models/storage_host_volume_mapping'
|
52
|
+
require 'openapi_client/models/storage_host_volume_mapping_create'
|
53
|
+
require 'openapi_client/models/storage_resource'
|
54
|
+
require 'openapi_client/models/storage_resource_create'
|
55
|
+
require 'openapi_client/models/storage_resource_response'
|
56
|
+
require 'openapi_client/models/storage_system'
|
57
|
+
require 'openapi_client/models/storage_system_create'
|
58
|
+
require 'openapi_client/models/system_type'
|
59
|
+
require 'openapi_client/models/system_type_create'
|
60
|
+
require 'openapi_client/models/volume'
|
61
|
+
require 'openapi_client/models/volume_create'
|
62
|
+
require 'openapi_client/models/volume_response'
|
63
|
+
require 'openapi_client/models/volume_safe_delete'
|
64
|
+
require 'openapi_client/models/volume_safe_delete_create'
|
65
|
+
require 'openapi_client/models/volume_update'
|
66
|
+
|
67
|
+
# APIs
|
68
|
+
require 'openapi_client/api/abstract_capability_api'
|
69
|
+
require 'openapi_client/api/account_api'
|
70
|
+
require 'openapi_client/api/address_api'
|
71
|
+
require 'openapi_client/api/authentication_api'
|
72
|
+
require 'openapi_client/api/auto_sde_project_api'
|
73
|
+
require 'openapi_client/api/auto_sde_role_api'
|
74
|
+
require 'openapi_client/api/capability_translation_api'
|
75
|
+
require 'openapi_client/api/host_api'
|
76
|
+
require 'openapi_client/api/host_volume_connection_api'
|
77
|
+
require 'openapi_client/api/job_api'
|
78
|
+
require 'openapi_client/api/native_capability_api'
|
79
|
+
require 'openapi_client/api/profile_api'
|
80
|
+
require 'openapi_client/api/provisioning_strategy_api'
|
81
|
+
require 'openapi_client/api/service_api'
|
82
|
+
require 'openapi_client/api/service_resource_attachment_api'
|
83
|
+
require 'openapi_client/api/snapshot_api'
|
84
|
+
require 'openapi_client/api/storage_host_api'
|
85
|
+
require 'openapi_client/api/storage_host_volume_mapping_api'
|
86
|
+
require 'openapi_client/api/storage_resource_api'
|
87
|
+
require 'openapi_client/api/storage_system_api'
|
88
|
+
require 'openapi_client/api/system_type_api'
|
89
|
+
require 'openapi_client/api/volume_api'
|
90
|
+
require 'openapi_client/api/volume_safe_delete_api'
|
91
|
+
|
92
|
+
module OpenapiClient
|
93
|
+
class << self
|
94
|
+
# Customize default settings for the SDK using block.
|
95
|
+
# OpenapiClient.configure do |config|
|
96
|
+
# config.username = "xxx"
|
97
|
+
# config.password = "xxx"
|
98
|
+
# end
|
99
|
+
# If no block given, return the default Configuration object.
|
100
|
+
def configure
|
101
|
+
if block_given?
|
102
|
+
yield(Configuration.default)
|
103
|
+
else
|
104
|
+
Configuration.default
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
@@ -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:
|
9
|
+
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -47,15 +47,16 @@ module OpenapiClient
|
|
47
47
|
form_params = opts[:form_params] || {}
|
48
48
|
|
49
49
|
# http body (model)
|
50
|
-
post_body = opts[:
|
50
|
+
post_body = opts[:debug_body]
|
51
51
|
|
52
52
|
# return_type
|
53
|
-
return_type = opts[:
|
53
|
+
return_type = opts[:debug_return_type] || 'Array<AbstractCapability>'
|
54
54
|
|
55
55
|
# auth_names
|
56
|
-
auth_names = opts[:
|
56
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
57
57
|
|
58
58
|
new_options = opts.merge(
|
59
|
+
:operation => :"AbstractCapabilityApi.abstract_capabilities_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[:
|
109
|
+
post_body = opts[:debug_body]
|
109
110
|
|
110
111
|
# return_type
|
111
|
-
return_type = opts[:
|
112
|
+
return_type = opts[:debug_return_type] || 'Array<AbstractCapability>'
|
112
113
|
|
113
114
|
# auth_names
|
114
|
-
auth_names = opts[:
|
115
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
115
116
|
|
116
117
|
new_options = opts.merge(
|
118
|
+
:operation => :"AbstractCapabilityApi.abstract_capabilities_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[:
|
168
|
+
post_body = opts[:debug_body]
|
167
169
|
|
168
170
|
# return_type
|
169
|
-
return_type = opts[:
|
171
|
+
return_type = opts[:debug_return_type] || 'Array<AbstractCapability>'
|
170
172
|
|
171
173
|
# auth_names
|
172
|
-
auth_names = opts[:
|
174
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
173
175
|
|
174
176
|
new_options = opts.merge(
|
177
|
+
:operation => :"AbstractCapabilityApi.abstract_capabilities_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 abstract_capability [AbstractCapability]
|
191
194
|
# @param [Hash] opts the optional parameters
|
192
|
-
# @return [
|
195
|
+
# @return [AbstractCapability]
|
193
196
|
def abstract_capabilities_post(abstract_capability, opts = {})
|
194
197
|
data, _status_code, _headers = abstract_capabilities_post_with_http_info(abstract_capability, opts)
|
195
198
|
data
|
@@ -197,7 +200,7 @@ module OpenapiClient
|
|
197
200
|
|
198
201
|
# @param abstract_capability [AbstractCapability]
|
199
202
|
# @param [Hash] opts the optional parameters
|
200
|
-
# @return [Array<(
|
203
|
+
# @return [Array<(AbstractCapability, Integer, Hash)>] AbstractCapability data, response status code and response headers
|
201
204
|
def abstract_capabilities_post_with_http_info(abstract_capability, opts = {})
|
202
205
|
if @api_client.config.debugging
|
203
206
|
@api_client.config.logger.debug 'Calling API: AbstractCapabilityApi.abstract_capabilities_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[:
|
229
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(abstract_capability)
|
227
230
|
|
228
231
|
# return_type
|
229
|
-
return_type = opts[:
|
232
|
+
return_type = opts[:debug_return_type] || 'AbstractCapability'
|
230
233
|
|
231
234
|
# auth_names
|
232
|
-
auth_names = opts[:
|
235
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
233
236
|
|
234
237
|
new_options = opts.merge(
|
238
|
+
:operation => :"AbstractCapabilityApi.abstract_capabilities_post",
|
235
239
|
:header_params => header_params,
|
236
240
|
:query_params => query_params,
|
237
241
|
:form_params => form_params,
|