autosde_openapi_client 1.0.0 → 1.0.1

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 (189) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -7
  3. data/docs/AbstractCapabilityApi.md +6 -6
  4. data/docs/AccountApi.md +9 -9
  5. data/docs/AddressApi.md +6 -6
  6. data/docs/AuthenticationApi.md +1 -1
  7. data/docs/AutoSDEProjectApi.md +6 -6
  8. data/docs/AutoSDERoleApi.md +6 -6
  9. data/docs/CapabilityTranslationApi.md +6 -6
  10. data/docs/HostApi.md +6 -6
  11. data/docs/HostVolumeConnectionApi.md +6 -6
  12. data/docs/Job.md +29 -0
  13. data/docs/JobApi.md +104 -0
  14. data/docs/JobCreate.md +19 -0
  15. data/docs/NativeCapabilityApi.md +6 -6
  16. data/docs/ProfileApi.md +6 -6
  17. data/docs/ProvisioningStrategyApi.md +6 -6
  18. data/docs/ServiceApi.md +9 -9
  19. data/docs/ServiceResourceAttachmentApi.md +6 -6
  20. data/docs/Snapshot.md +25 -0
  21. data/docs/SnapshotApi.md +204 -0
  22. data/docs/SnapshotCreate.md +23 -0
  23. data/docs/StorageHost.md +29 -0
  24. data/docs/StorageHostApi.md +256 -0
  25. data/docs/StorageHostCreate.md +37 -0
  26. data/docs/StorageHostResponse.md +31 -0
  27. data/docs/StorageHostUpdate.md +21 -0
  28. data/docs/StorageHostVolumeMapping.md +25 -0
  29. data/docs/StorageHostVolumeMappingApi.md +204 -0
  30. data/docs/StorageHostVolumeMappingCreate.md +23 -0
  31. data/docs/StorageResourceApi.md +9 -9
  32. data/docs/StorageSystemApi.md +6 -6
  33. data/docs/SystemTypeApi.md +6 -6
  34. data/docs/Volume.md +2 -0
  35. data/docs/VolumeApi.md +9 -9
  36. data/docs/VolumeCreate.md +2 -0
  37. data/docs/VolumeResponse.md +2 -0
  38. data/docs/VolumeSafeDeleteApi.md +6 -6
  39. data/docs/VolumeUpdate.md +3 -1
  40. data/lib/openapi_client.rb +108 -0
  41. data/lib/{autosde_openapi_client → openapi_client}/api/abstract_capability_api.rb +19 -15
  42. data/lib/{autosde_openapi_client → openapi_client}/api/account_api.rb +25 -20
  43. data/lib/{autosde_openapi_client → openapi_client}/api/address_api.rb +19 -15
  44. data/lib/{autosde_openapi_client → openapi_client}/api/authentication_api.rb +5 -4
  45. data/lib/{autosde_openapi_client → openapi_client}/api/auto_sde_project_api.rb +19 -15
  46. data/lib/{autosde_openapi_client → openapi_client}/api/auto_sde_role_api.rb +19 -15
  47. data/lib/{autosde_openapi_client → openapi_client}/api/capability_translation_api.rb +19 -15
  48. data/lib/{autosde_openapi_client → openapi_client}/api/host_api.rb +19 -15
  49. data/lib/{autosde_openapi_client → openapi_client}/api/host_volume_connection_api.rb +19 -15
  50. data/lib/openapi_client/api/job_api.rb +136 -0
  51. data/lib/{autosde_openapi_client → openapi_client}/api/native_capability_api.rb +19 -15
  52. data/lib/{autosde_openapi_client → openapi_client}/api/profile_api.rb +19 -15
  53. data/lib/{autosde_openapi_client → openapi_client}/api/provisioning_strategy_api.rb +19 -15
  54. data/lib/{autosde_openapi_client → openapi_client}/api/service_api.rb +25 -20
  55. data/lib/{autosde_openapi_client → openapi_client}/api/service_resource_attachment_api.rb +19 -15
  56. data/lib/openapi_client/api/snapshot_api.rb +254 -0
  57. data/lib/openapi_client/api/storage_host_api.rb +321 -0
  58. data/lib/openapi_client/api/storage_host_volume_mapping_api.rb +254 -0
  59. data/lib/{autosde_openapi_client → openapi_client}/api/storage_resource_api.rb +25 -20
  60. data/lib/{autosde_openapi_client → openapi_client}/api/storage_system_api.rb +19 -15
  61. data/lib/{autosde_openapi_client → openapi_client}/api/system_type_api.rb +19 -15
  62. data/lib/{autosde_openapi_client → openapi_client}/api/volume_api.rb +25 -20
  63. data/lib/{autosde_openapi_client → openapi_client}/api/volume_safe_delete_api.rb +19 -15
  64. data/lib/{autosde_openapi_client → openapi_client}/api_client.rb +46 -45
  65. data/lib/{autosde_openapi_client → openapi_client}/api_error.rb +1 -1
  66. data/lib/{autosde_openapi_client → openapi_client}/configuration.rb +34 -7
  67. data/lib/{autosde_openapi_client → openapi_client}/models/abstract_capability.rb +9 -5
  68. data/lib/{autosde_openapi_client → openapi_client}/models/account.rb +9 -5
  69. data/lib/{autosde_openapi_client → openapi_client}/models/account_post_request.rb +9 -5
  70. data/lib/{autosde_openapi_client → openapi_client}/models/account_post_response.rb +9 -5
  71. data/lib/{autosde_openapi_client → openapi_client}/models/address.rb +9 -5
  72. data/lib/{autosde_openapi_client → openapi_client}/models/address_create.rb +9 -5
  73. data/lib/{autosde_openapi_client → openapi_client}/models/auth_response.rb +9 -5
  74. data/lib/{autosde_openapi_client → openapi_client}/models/authentication.rb +9 -5
  75. data/lib/{autosde_openapi_client → openapi_client}/models/auto_sde_project.rb +9 -5
  76. data/lib/{autosde_openapi_client → openapi_client}/models/auto_sde_role.rb +9 -5
  77. data/lib/{autosde_openapi_client → openapi_client}/models/capability_translation.rb +9 -5
  78. data/lib/{autosde_openapi_client → openapi_client}/models/capability_translation_create.rb +9 -5
  79. data/lib/{autosde_openapi_client → openapi_client}/models/host.rb +9 -5
  80. data/lib/{autosde_openapi_client → openapi_client}/models/host_create.rb +9 -5
  81. data/lib/{autosde_openapi_client → openapi_client}/models/host_volume_connection.rb +9 -5
  82. data/lib/{autosde_openapi_client → openapi_client}/models/host_volume_connection_create.rb +9 -5
  83. data/lib/openapi_client/models/job.rb +272 -0
  84. data/lib/openapi_client/models/job_create.rb +222 -0
  85. data/lib/{autosde_openapi_client → openapi_client}/models/native_capability.rb +9 -5
  86. data/lib/{autosde_openapi_client → openapi_client}/models/profile.rb +9 -5
  87. data/lib/{autosde_openapi_client → openapi_client}/models/provisioning_strategy.rb +9 -5
  88. data/lib/{autosde_openapi_client → openapi_client}/models/service.rb +9 -5
  89. data/lib/{autosde_openapi_client → openapi_client}/models/service_abstract_capability_value.rb +9 -5
  90. data/lib/{autosde_openapi_client → openapi_client}/models/service_create.rb +9 -5
  91. data/lib/{autosde_openapi_client → openapi_client}/models/service_resource_attachment.rb +9 -5
  92. data/lib/openapi_client/models/snapshot.rb +290 -0
  93. data/lib/openapi_client/models/snapshot_create.rb +280 -0
  94. data/lib/openapi_client/models/storage_host.rb +309 -0
  95. data/lib/openapi_client/models/storage_host_create.rb +360 -0
  96. data/lib/openapi_client/models/storage_host_response.rb +325 -0
  97. data/lib/openapi_client/models/storage_host_update.rb +293 -0
  98. data/lib/openapi_client/models/storage_host_volume_mapping.rb +291 -0
  99. data/lib/openapi_client/models/storage_host_volume_mapping_create.rb +283 -0
  100. data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource.rb +9 -5
  101. data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource_create.rb +9 -5
  102. data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource_response.rb +9 -5
  103. data/lib/{autosde_openapi_client → openapi_client}/models/storage_system.rb +9 -5
  104. data/lib/{autosde_openapi_client → openapi_client}/models/storage_system_create.rb +9 -5
  105. data/lib/{autosde_openapi_client → openapi_client}/models/system_type.rb +9 -5
  106. data/lib/{autosde_openapi_client → openapi_client}/models/system_type_create.rb +9 -5
  107. data/lib/{autosde_openapi_client → openapi_client}/models/volume.rb +20 -6
  108. data/lib/{autosde_openapi_client → openapi_client}/models/volume_create.rb +20 -6
  109. data/lib/{autosde_openapi_client → openapi_client}/models/volume_response.rb +20 -6
  110. data/lib/{autosde_openapi_client → openapi_client}/models/volume_safe_delete.rb +9 -5
  111. data/lib/{autosde_openapi_client → openapi_client}/models/volume_safe_delete_create.rb +9 -5
  112. data/lib/{autosde_openapi_client → openapi_client}/models/volume_update.rb +22 -6
  113. data/lib/{autosde_openapi_client → openapi_client}/version.rb +2 -2
  114. data/{autosde_openapi_client.gemspec → openapi_client.gemspec} +3 -4
  115. data/spec/api/abstract_capability_api_spec.rb +1 -1
  116. data/spec/api/account_api_spec.rb +1 -1
  117. data/spec/api/address_api_spec.rb +1 -1
  118. data/spec/api/authentication_api_spec.rb +1 -1
  119. data/spec/api/auto_sde_project_api_spec.rb +1 -1
  120. data/spec/api/auto_sde_role_api_spec.rb +1 -1
  121. data/spec/api/capability_translation_api_spec.rb +1 -1
  122. data/spec/api/host_api_spec.rb +1 -1
  123. data/spec/api/host_volume_connection_api_spec.rb +1 -1
  124. data/spec/api/job_api_spec.rb +54 -0
  125. data/spec/api/native_capability_api_spec.rb +1 -1
  126. data/spec/api/profile_api_spec.rb +1 -1
  127. data/spec/api/provisioning_strategy_api_spec.rb +1 -1
  128. data/spec/api/service_api_spec.rb +1 -1
  129. data/spec/api/service_resource_attachment_api_spec.rb +1 -1
  130. data/spec/api/snapshot_api_spec.rb +74 -0
  131. data/spec/api/storage_host_api_spec.rb +74 -0
  132. data/spec/api/storage_host_volume_mapping_api_spec.rb +74 -0
  133. data/spec/api/storage_resource_api_spec.rb +1 -1
  134. data/spec/api/storage_system_api_spec.rb +1 -1
  135. data/spec/api/system_type_api_spec.rb +1 -1
  136. data/spec/api/volume_api_spec.rb +1 -1
  137. data/spec/api/volume_safe_delete_api_spec.rb +1 -1
  138. data/spec/api_client_spec.rb +1 -1
  139. data/spec/configuration_spec.rb +1 -1
  140. data/spec/models/abstract_capability_spec.rb +1 -1
  141. data/spec/models/account_post_request_spec.rb +1 -1
  142. data/spec/models/account_post_response_spec.rb +1 -1
  143. data/spec/models/account_spec.rb +1 -1
  144. data/spec/models/address_create_spec.rb +1 -1
  145. data/spec/models/address_spec.rb +1 -1
  146. data/spec/models/auth_response_spec.rb +1 -1
  147. data/spec/models/authentication_spec.rb +1 -1
  148. data/spec/models/auto_sde_project_spec.rb +1 -1
  149. data/spec/models/auto_sde_role_spec.rb +1 -1
  150. data/spec/models/capability_translation_create_spec.rb +1 -1
  151. data/spec/models/capability_translation_spec.rb +1 -1
  152. data/spec/models/host_create_spec.rb +1 -1
  153. data/spec/models/host_spec.rb +1 -1
  154. data/spec/models/host_volume_connection_create_spec.rb +1 -1
  155. data/spec/models/host_volume_connection_spec.rb +1 -1
  156. data/spec/models/job_create_spec.rb +47 -0
  157. data/spec/models/job_spec.rb +77 -0
  158. data/spec/models/native_capability_spec.rb +1 -1
  159. data/spec/models/profile_spec.rb +1 -1
  160. data/spec/models/provisioning_strategy_spec.rb +1 -1
  161. data/spec/models/service_abstract_capability_value_spec.rb +1 -1
  162. data/spec/models/service_create_spec.rb +1 -1
  163. data/spec/models/service_resource_attachment_spec.rb +1 -1
  164. data/spec/models/service_spec.rb +1 -1
  165. data/spec/models/snapshot_create_spec.rb +63 -0
  166. data/spec/models/snapshot_spec.rb +69 -0
  167. data/spec/models/storage_host_create_spec.rb +109 -0
  168. data/spec/models/storage_host_response_spec.rb +87 -0
  169. data/spec/models/storage_host_spec.rb +81 -0
  170. data/spec/models/storage_host_update_spec.rb +61 -0
  171. data/spec/models/storage_host_volume_mapping_create_spec.rb +63 -0
  172. data/spec/models/storage_host_volume_mapping_spec.rb +69 -0
  173. data/spec/models/storage_resource_create_spec.rb +1 -1
  174. data/spec/models/storage_resource_response_spec.rb +1 -1
  175. data/spec/models/storage_resource_spec.rb +1 -1
  176. data/spec/models/storage_system_create_spec.rb +1 -1
  177. data/spec/models/storage_system_spec.rb +1 -1
  178. data/spec/models/system_type_create_spec.rb +1 -1
  179. data/spec/models/system_type_spec.rb +1 -1
  180. data/spec/models/volume_create_spec.rb +1 -1
  181. data/spec/models/volume_response_spec.rb +1 -1
  182. data/spec/models/volume_safe_delete_create_spec.rb +1 -1
  183. data/spec/models/volume_safe_delete_spec.rb +1 -1
  184. data/spec/models/volume_spec.rb +1 -1
  185. data/spec/models/volume_update_spec.rb +7 -1
  186. data/spec/spec_helper.rb +2 -2
  187. metadata +142 -106
  188. data/lib/autosde_openapi_client.rb +0 -94
  189. data/site_manager_oas.json +0 -3992
@@ -0,0 +1,37 @@
1
+ # OpenapiClient::StorageHostCreate
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **chap_name** | **String** | chap_name | [optional]
8
+ **chap_secret** | **String** | chap_secret | [optional]
9
+ **component_state** | **String** | component_state | [optional]
10
+ **description** | **String** | description | [optional]
11
+ **io_groups** | **String** | io_groups | [optional]
12
+ **iqn** | **String** | | [optional]
13
+ **name** | **String** | The Storage Host Name | [optional]
14
+ **port_type** | **String** | port_type | [optional]
15
+ **storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional]
16
+ **volumes** | [**Volume**](Volume.md) | | [optional]
17
+ **wwpn** | **String** | wwpn | [optional]
18
+
19
+ ## Code Sample
20
+
21
+ ```ruby
22
+ require 'OpenapiClient'
23
+
24
+ instance = OpenapiClient::StorageHostCreate.new(chap_name: null,
25
+ chap_secret: null,
26
+ component_state: null,
27
+ description: null,
28
+ io_groups: null,
29
+ iqn: null,
30
+ name: null,
31
+ port_type: null,
32
+ storage_system: null,
33
+ volumes: null,
34
+ wwpn: null)
35
+ ```
36
+
37
+
@@ -0,0 +1,31 @@
1
+ # OpenapiClient::StorageHostResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **addresses** | [**Array<Address>**](Address.md) | addresses | [optional]
8
+ **component_state** | **String** | component_state | [optional]
9
+ **description** | **String** | description | [optional]
10
+ **io_groups** | **String** | io_groups | [optional]
11
+ **name** | **String** | The Storage Host Name | [optional]
12
+ **storage_system** | **String** | !!uuid of storage_system | [optional]
13
+ **uuid** | **String** | uuid | [optional]
14
+ **volumes** | [**Array<Volume>**](Volume.md) | volumes | [optional]
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'OpenapiClient'
20
+
21
+ instance = OpenapiClient::StorageHostResponse.new(addresses: null,
22
+ component_state: null,
23
+ description: null,
24
+ io_groups: null,
25
+ name: null,
26
+ storage_system: null,
27
+ uuid: null,
28
+ volumes: null)
29
+ ```
30
+
31
+
@@ -0,0 +1,21 @@
1
+ # OpenapiClient::StorageHostUpdate
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **operation** | **String** | operation | [optional]
8
+ **port** | **String** | port | [optional]
9
+ **port_type** | **String** | port_type | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'OpenapiClient'
15
+
16
+ instance = OpenapiClient::StorageHostUpdate.new(operation: null,
17
+ port: null,
18
+ port_type: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,25 @@
1
+ # OpenapiClient::StorageHostVolumeMapping
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **component_state** | **String** | component_state | [optional]
8
+ **host** | [**StorageHost**](StorageHost.md) | | [optional]
9
+ **lun** | **Integer** | lun | [optional] [default to 0]
10
+ **uuid** | **String** | uuid | [optional]
11
+ **volume** | [**Volume**](Volume.md) | | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'OpenapiClient'
17
+
18
+ instance = OpenapiClient::StorageHostVolumeMapping.new(component_state: null,
19
+ host: null,
20
+ lun: null,
21
+ uuid: null,
22
+ volume: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,204 @@
1
+ # OpenapiClient::StorageHostVolumeMappingApi
2
+
3
+ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**storage_hosts_mapping_get**](StorageHostVolumeMappingApi.md#storage_hosts_mapping_get) | **GET** /storage-hosts-mapping |
8
+ [**storage_hosts_mapping_pk_delete**](StorageHostVolumeMappingApi.md#storage_hosts_mapping_pk_delete) | **DELETE** /storage-hosts-mapping/{pk} |
9
+ [**storage_hosts_mapping_pk_get**](StorageHostVolumeMappingApi.md#storage_hosts_mapping_pk_get) | **GET** /storage-hosts-mapping/{pk} |
10
+ [**storage_hosts_mapping_post**](StorageHostVolumeMappingApi.md#storage_hosts_mapping_post) | **POST** /storage-hosts-mapping |
11
+
12
+
13
+
14
+ ## storage_hosts_mapping_get
15
+
16
+ > Array<StorageHostVolumeMappingCreate> storage_hosts_mapping_get
17
+
18
+
19
+
20
+ ### Example
21
+
22
+ ```ruby
23
+ # load the gem
24
+ require 'openapi_client'
25
+ # setup authorization
26
+ OpenapiClient.configure do |config|
27
+ # Configure Bearer authorization: bearerAuth
28
+ config.access_token = 'YOUR_BEARER_TOKEN'
29
+ end
30
+
31
+ api_instance = OpenapiClient::StorageHostVolumeMappingApi.new
32
+
33
+ begin
34
+ result = api_instance.storage_hosts_mapping_get
35
+ p result
36
+ rescue OpenapiClient::ApiError => e
37
+ puts "Exception when calling StorageHostVolumeMappingApi->storage_hosts_mapping_get: #{e}"
38
+ end
39
+ ```
40
+
41
+ ### Parameters
42
+
43
+ This endpoint does not need any parameter.
44
+
45
+ ### Return type
46
+
47
+ [**Array<StorageHostVolumeMappingCreate>**](StorageHostVolumeMappingCreate.md)
48
+
49
+ ### Authorization
50
+
51
+ [bearerAuth](../README.md#bearerAuth)
52
+
53
+ ### HTTP request headers
54
+
55
+ - **Content-Type**: Not defined
56
+ - **Accept**: */*
57
+
58
+
59
+ ## storage_hosts_mapping_pk_delete
60
+
61
+ > Array<StorageHostVolumeMapping> storage_hosts_mapping_pk_delete(pk)
62
+
63
+
64
+
65
+ ### Example
66
+
67
+ ```ruby
68
+ # load the gem
69
+ require 'openapi_client'
70
+ # setup authorization
71
+ OpenapiClient.configure do |config|
72
+ # Configure Bearer authorization: bearerAuth
73
+ config.access_token = 'YOUR_BEARER_TOKEN'
74
+ end
75
+
76
+ api_instance = OpenapiClient::StorageHostVolumeMappingApi.new
77
+ pk = 56 # Integer |
78
+
79
+ begin
80
+ result = api_instance.storage_hosts_mapping_pk_delete(pk)
81
+ p result
82
+ rescue OpenapiClient::ApiError => e
83
+ puts "Exception when calling StorageHostVolumeMappingApi->storage_hosts_mapping_pk_delete: #{e}"
84
+ end
85
+ ```
86
+
87
+ ### Parameters
88
+
89
+
90
+ Name | Type | Description | Notes
91
+ ------------- | ------------- | ------------- | -------------
92
+ **pk** | **Integer**| |
93
+
94
+ ### Return type
95
+
96
+ [**Array<StorageHostVolumeMapping>**](StorageHostVolumeMapping.md)
97
+
98
+ ### Authorization
99
+
100
+ [bearerAuth](../README.md#bearerAuth)
101
+
102
+ ### HTTP request headers
103
+
104
+ - **Content-Type**: Not defined
105
+ - **Accept**: */*
106
+
107
+
108
+ ## storage_hosts_mapping_pk_get
109
+
110
+ > Array<StorageHostVolumeMapping> storage_hosts_mapping_pk_get(pk)
111
+
112
+
113
+
114
+ ### Example
115
+
116
+ ```ruby
117
+ # load the gem
118
+ require 'openapi_client'
119
+ # setup authorization
120
+ OpenapiClient.configure do |config|
121
+ # Configure Bearer authorization: bearerAuth
122
+ config.access_token = 'YOUR_BEARER_TOKEN'
123
+ end
124
+
125
+ api_instance = OpenapiClient::StorageHostVolumeMappingApi.new
126
+ pk = 56 # Integer |
127
+
128
+ begin
129
+ result = api_instance.storage_hosts_mapping_pk_get(pk)
130
+ p result
131
+ rescue OpenapiClient::ApiError => e
132
+ puts "Exception when calling StorageHostVolumeMappingApi->storage_hosts_mapping_pk_get: #{e}"
133
+ end
134
+ ```
135
+
136
+ ### Parameters
137
+
138
+
139
+ Name | Type | Description | Notes
140
+ ------------- | ------------- | ------------- | -------------
141
+ **pk** | **Integer**| |
142
+
143
+ ### Return type
144
+
145
+ [**Array<StorageHostVolumeMapping>**](StorageHostVolumeMapping.md)
146
+
147
+ ### Authorization
148
+
149
+ [bearerAuth](../README.md#bearerAuth)
150
+
151
+ ### HTTP request headers
152
+
153
+ - **Content-Type**: Not defined
154
+ - **Accept**: */*
155
+
156
+
157
+ ## storage_hosts_mapping_post
158
+
159
+ > StorageHostVolumeMappingCreate storage_hosts_mapping_post(storage_host_volume_mapping_create)
160
+
161
+
162
+
163
+ ### Example
164
+
165
+ ```ruby
166
+ # load the gem
167
+ require 'openapi_client'
168
+ # setup authorization
169
+ OpenapiClient.configure do |config|
170
+ # Configure Bearer authorization: bearerAuth
171
+ config.access_token = 'YOUR_BEARER_TOKEN'
172
+ end
173
+
174
+ api_instance = OpenapiClient::StorageHostVolumeMappingApi.new
175
+ storage_host_volume_mapping_create = OpenapiClient::StorageHostVolumeMappingCreate.new # StorageHostVolumeMappingCreate |
176
+
177
+ begin
178
+ result = api_instance.storage_hosts_mapping_post(storage_host_volume_mapping_create)
179
+ p result
180
+ rescue OpenapiClient::ApiError => e
181
+ puts "Exception when calling StorageHostVolumeMappingApi->storage_hosts_mapping_post: #{e}"
182
+ end
183
+ ```
184
+
185
+ ### Parameters
186
+
187
+
188
+ Name | Type | Description | Notes
189
+ ------------- | ------------- | ------------- | -------------
190
+ **storage_host_volume_mapping_create** | [**StorageHostVolumeMappingCreate**](StorageHostVolumeMappingCreate.md)| |
191
+
192
+ ### Return type
193
+
194
+ [**StorageHostVolumeMappingCreate**](StorageHostVolumeMappingCreate.md)
195
+
196
+ ### Authorization
197
+
198
+ [bearerAuth](../README.md#bearerAuth)
199
+
200
+ ### HTTP request headers
201
+
202
+ - **Content-Type**: application/json
203
+ - **Accept**: */*
204
+
@@ -0,0 +1,23 @@
1
+ # OpenapiClient::StorageHostVolumeMappingCreate
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
+ **volume** | **String** | !!uuid of volume | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'OpenapiClient'
16
+
17
+ instance = OpenapiClient::StorageHostVolumeMappingCreate.new(component_state: null,
18
+ host: null,
19
+ lun: null,
20
+ volume: null)
21
+ ```
22
+
23
+
@@ -22,7 +22,7 @@ Method | HTTP request | Description
22
22
 
23
23
  ```ruby
24
24
  # load the gem
25
- require 'autosde_openapi_client'
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 'autosde_openapi_client'
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 'autosde_openapi_client'
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
  ## storage_resources_pk_put
159
159
 
160
- > Array<StorageResourceResponse> storage_resources_pk_put(pk, storage_resource_create)
160
+ > StorageResourceResponse storage_resources_pk_put(pk, storage_resource_create)
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 'autosde_openapi_client'
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
- [**Array<StorageResourceResponse>**](StorageResourceResponse.md)
197
+ [**StorageResourceResponse**](StorageResourceResponse.md)
198
198
 
199
199
  ### Authorization
200
200
 
@@ -208,7 +208,7 @@ Name | Type | Description | Notes
208
208
 
209
209
  ## storage_resources_post
210
210
 
211
- > Array<StorageResourceResponse> storage_resources_post(storage_resource_create)
211
+ > StorageResourceResponse storage_resources_post(storage_resource_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 'autosde_openapi_client'
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
- [**Array<StorageResourceResponse>**](StorageResourceResponse.md)
246
+ [**StorageResourceResponse**](StorageResourceResponse.md)
247
247
 
248
248
  ### Authorization
249
249
 
@@ -21,7 +21,7 @@ Method | HTTP request | Description
21
21
 
22
22
  ```ruby
23
23
  # load the gem
24
- require 'autosde_openapi_client'
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 'autosde_openapi_client'
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 'autosde_openapi_client'
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
  ## storage_systems_post
158
158
 
159
- > Array<StorageSystem> storage_systems_post(storage_system_create)
159
+ > StorageSystem storage_systems_post(storage_system_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 'autosde_openapi_client'
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
- [**Array<StorageSystem>**](StorageSystem.md)
194
+ [**StorageSystem**](StorageSystem.md)
195
195
 
196
196
  ### Authorization
197
197