autosde_openapi_client 1.0.0 → 1.0.21

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 (223) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +143 -117
  3. data/autosde_openapi_client.gemspec +4 -5
  4. data/docs/AbstractCapability.md +11 -10
  5. data/docs/AbstractCapabilityApi.md +122 -50
  6. data/docs/Account.md +13 -12
  7. data/docs/AccountApi.md +155 -65
  8. data/docs/AccountPostRequest.md +11 -10
  9. data/docs/AccountPostResponse.md +15 -14
  10. data/docs/Address.md +23 -22
  11. data/docs/AddressApi.md +122 -50
  12. data/docs/AddressCreate.md +23 -22
  13. data/docs/AuthResponse.md +9 -8
  14. data/docs/Authentication.md +11 -10
  15. data/docs/AuthenticationApi.md +33 -16
  16. data/docs/AutoSDEProject.md +47 -46
  17. data/docs/AutoSDEProjectApi.md +122 -50
  18. data/docs/AutoSDERole.md +11 -10
  19. data/docs/AutoSDERoleApi.md +122 -50
  20. data/docs/CapabilityTranslation.md +27 -26
  21. data/docs/CapabilityTranslationApi.md +122 -50
  22. data/docs/CapabilityTranslationCreate.md +23 -22
  23. data/docs/Host.md +21 -20
  24. data/docs/HostApi.md +122 -50
  25. data/docs/HostCreate.md +31 -30
  26. data/docs/HostVolumeConnection.md +15 -14
  27. data/docs/HostVolumeConnectionApi.md +122 -50
  28. data/docs/HostVolumeConnectionCreate.md +13 -12
  29. data/docs/Job.md +30 -0
  30. data/docs/JobApi.md +140 -0
  31. data/docs/JobCreate.md +20 -0
  32. data/docs/NativeCapability.md +15 -14
  33. data/docs/NativeCapabilityApi.md +122 -50
  34. data/docs/Profile.md +17 -16
  35. data/docs/ProfileApi.md +122 -50
  36. data/docs/ProvisioningStrategy.md +11 -10
  37. data/docs/ProvisioningStrategyApi.md +122 -50
  38. data/docs/Service.md +27 -26
  39. data/docs/ServiceAbstractCapabilityValue.md +13 -12
  40. data/docs/ServiceApi.md +155 -65
  41. data/docs/ServiceCreate.md +25 -24
  42. data/docs/ServiceResourceAttachment.md +15 -14
  43. data/docs/ServiceResourceAttachmentApi.md +122 -50
  44. data/docs/Snapshot.md +26 -0
  45. data/docs/SnapshotApi.md +276 -0
  46. data/docs/SnapshotCreate.md +24 -0
  47. data/docs/StorageHost.md +30 -0
  48. data/docs/StorageHostApi.md +346 -0
  49. data/docs/StorageHostCreate.md +38 -0
  50. data/docs/StorageHostResponse.md +32 -0
  51. data/docs/StorageHostUpdate.md +22 -0
  52. data/docs/StorageHostVolumeMapping.md +26 -0
  53. data/docs/StorageHostVolumeMappingApi.md +276 -0
  54. data/docs/StorageHostVolumeMappingCreate.md +24 -0
  55. data/docs/StorageHostVolumeMappingResponse.md +26 -0
  56. data/docs/StorageResource.md +25 -24
  57. data/docs/StorageResourceApi.md +155 -65
  58. data/docs/StorageResourceCreate.md +23 -22
  59. data/docs/StorageResourceResponse.md +25 -24
  60. data/docs/StorageSystem.md +21 -20
  61. data/docs/StorageSystemApi.md +122 -50
  62. data/docs/StorageSystemCreate.md +41 -40
  63. data/docs/SystemType.md +17 -16
  64. data/docs/SystemTypeApi.md +122 -50
  65. data/docs/SystemTypeCreate.md +19 -18
  66. data/docs/Volume.md +25 -22
  67. data/docs/VolumeApi.md +155 -65
  68. data/docs/VolumeCreate.md +21 -18
  69. data/docs/VolumeResponse.md +25 -22
  70. data/docs/VolumeSafeDelete.md +13 -12
  71. data/docs/VolumeSafeDeleteApi.md +122 -50
  72. data/docs/VolumeSafeDeleteCreate.md +9 -8
  73. data/docs/VolumeUpdate.md +11 -8
  74. data/lib/autosde_openapi_client.rb +18 -3
  75. data/lib/autosde_openapi_client/api/abstract_capability_api.rb +20 -16
  76. data/lib/autosde_openapi_client/api/account_api.rb +26 -21
  77. data/lib/autosde_openapi_client/api/address_api.rb +20 -16
  78. data/lib/autosde_openapi_client/api/authentication_api.rb +6 -5
  79. data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +20 -16
  80. data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +20 -16
  81. data/lib/autosde_openapi_client/api/capability_translation_api.rb +20 -16
  82. data/lib/autosde_openapi_client/api/host_api.rb +20 -16
  83. data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +20 -16
  84. data/lib/autosde_openapi_client/api/job_api.rb +136 -0
  85. data/lib/autosde_openapi_client/api/native_capability_api.rb +20 -16
  86. data/lib/autosde_openapi_client/api/profile_api.rb +20 -16
  87. data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +20 -16
  88. data/lib/autosde_openapi_client/api/service_api.rb +26 -21
  89. data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +20 -16
  90. data/lib/autosde_openapi_client/api/snapshot_api.rb +254 -0
  91. data/lib/autosde_openapi_client/api/storage_host_api.rb +321 -0
  92. data/lib/autosde_openapi_client/api/storage_host_volume_mapping_api.rb +254 -0
  93. data/lib/autosde_openapi_client/api/storage_resource_api.rb +26 -21
  94. data/lib/autosde_openapi_client/api/storage_system_api.rb +20 -16
  95. data/lib/autosde_openapi_client/api/system_type_api.rb +20 -16
  96. data/lib/autosde_openapi_client/api/volume_api.rb +26 -21
  97. data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +20 -16
  98. data/lib/autosde_openapi_client/api_client.rb +50 -48
  99. data/lib/autosde_openapi_client/api_error.rb +2 -2
  100. data/lib/autosde_openapi_client/configuration.rb +35 -8
  101. data/lib/autosde_openapi_client/models/abstract_capability.rb +22 -10
  102. data/lib/autosde_openapi_client/models/account.rb +22 -10
  103. data/lib/autosde_openapi_client/models/account_post_request.rb +22 -10
  104. data/lib/autosde_openapi_client/models/account_post_response.rb +22 -10
  105. data/lib/autosde_openapi_client/models/address.rb +22 -10
  106. data/lib/autosde_openapi_client/models/address_create.rb +22 -10
  107. data/lib/autosde_openapi_client/models/auth_response.rb +22 -10
  108. data/lib/autosde_openapi_client/models/authentication.rb +22 -10
  109. data/lib/autosde_openapi_client/models/auto_sde_project.rb +22 -10
  110. data/lib/autosde_openapi_client/models/auto_sde_role.rb +22 -10
  111. data/lib/autosde_openapi_client/models/capability_translation.rb +22 -10
  112. data/lib/autosde_openapi_client/models/capability_translation_create.rb +22 -10
  113. data/lib/autosde_openapi_client/models/host.rb +22 -10
  114. data/lib/autosde_openapi_client/models/host_create.rb +22 -10
  115. data/lib/autosde_openapi_client/models/host_volume_connection.rb +22 -10
  116. data/lib/autosde_openapi_client/models/host_volume_connection_create.rb +22 -10
  117. data/lib/autosde_openapi_client/models/job.rb +280 -0
  118. data/lib/autosde_openapi_client/models/job_create.rb +230 -0
  119. data/lib/autosde_openapi_client/models/native_capability.rb +22 -10
  120. data/lib/autosde_openapi_client/models/profile.rb +22 -10
  121. data/lib/autosde_openapi_client/models/provisioning_strategy.rb +22 -10
  122. data/lib/autosde_openapi_client/models/service.rb +22 -10
  123. data/lib/autosde_openapi_client/models/service_abstract_capability_value.rb +22 -10
  124. data/lib/autosde_openapi_client/models/service_create.rb +22 -10
  125. data/lib/autosde_openapi_client/models/service_resource_attachment.rb +22 -10
  126. data/lib/autosde_openapi_client/models/snapshot.rb +298 -0
  127. data/lib/autosde_openapi_client/models/snapshot_create.rb +288 -0
  128. data/lib/autosde_openapi_client/models/storage_host.rb +317 -0
  129. data/lib/autosde_openapi_client/models/storage_host_create.rb +368 -0
  130. data/lib/autosde_openapi_client/models/storage_host_response.rb +333 -0
  131. data/lib/autosde_openapi_client/models/storage_host_update.rb +301 -0
  132. data/lib/autosde_openapi_client/models/storage_host_volume_mapping.rb +299 -0
  133. data/lib/autosde_openapi_client/models/storage_host_volume_mapping_create.rb +291 -0
  134. data/lib/autosde_openapi_client/models/storage_host_volume_mapping_response.rb +301 -0
  135. data/lib/autosde_openapi_client/models/storage_resource.rb +22 -10
  136. data/lib/autosde_openapi_client/models/storage_resource_create.rb +22 -10
  137. data/lib/autosde_openapi_client/models/storage_resource_response.rb +22 -10
  138. data/lib/autosde_openapi_client/models/storage_system.rb +22 -10
  139. data/lib/autosde_openapi_client/models/storage_system_create.rb +22 -10
  140. data/lib/autosde_openapi_client/models/system_type.rb +22 -10
  141. data/lib/autosde_openapi_client/models/system_type_create.rb +22 -10
  142. data/lib/autosde_openapi_client/models/volume.rb +33 -11
  143. data/lib/autosde_openapi_client/models/volume_create.rb +33 -11
  144. data/lib/autosde_openapi_client/models/volume_response.rb +33 -11
  145. data/lib/autosde_openapi_client/models/volume_safe_delete.rb +22 -10
  146. data/lib/autosde_openapi_client/models/volume_safe_delete_create.rb +22 -10
  147. data/lib/autosde_openapi_client/models/volume_update.rb +35 -11
  148. data/lib/autosde_openapi_client/version.rb +4 -4
  149. data/spec/api/abstract_capability_api_spec.rb +2 -2
  150. data/spec/api/account_api_spec.rb +3 -3
  151. data/spec/api/address_api_spec.rb +2 -2
  152. data/spec/api/authentication_api_spec.rb +1 -1
  153. data/spec/api/auto_sde_project_api_spec.rb +2 -2
  154. data/spec/api/auto_sde_role_api_spec.rb +2 -2
  155. data/spec/api/capability_translation_api_spec.rb +2 -2
  156. data/spec/api/host_api_spec.rb +2 -2
  157. data/spec/api/host_volume_connection_api_spec.rb +2 -2
  158. data/spec/api/job_api_spec.rb +54 -0
  159. data/spec/api/native_capability_api_spec.rb +2 -2
  160. data/spec/api/profile_api_spec.rb +2 -2
  161. data/spec/api/provisioning_strategy_api_spec.rb +2 -2
  162. data/spec/api/service_api_spec.rb +3 -3
  163. data/spec/api/service_resource_attachment_api_spec.rb +2 -2
  164. data/spec/api/snapshot_api_spec.rb +74 -0
  165. data/spec/api/storage_host_api_spec.rb +85 -0
  166. data/spec/api/storage_host_volume_mapping_api_spec.rb +74 -0
  167. data/spec/api/storage_resource_api_spec.rb +3 -3
  168. data/spec/api/storage_system_api_spec.rb +2 -2
  169. data/spec/api/system_type_api_spec.rb +2 -2
  170. data/spec/api/volume_api_spec.rb +3 -3
  171. data/spec/api/volume_safe_delete_api_spec.rb +2 -2
  172. data/spec/api_client_spec.rb +30 -30
  173. data/spec/configuration_spec.rb +4 -4
  174. data/spec/models/abstract_capability_spec.rb +4 -11
  175. data/spec/models/account_post_request_spec.rb +4 -11
  176. data/spec/models/account_post_response_spec.rb +4 -11
  177. data/spec/models/account_spec.rb +4 -11
  178. data/spec/models/address_create_spec.rb +6 -13
  179. data/spec/models/address_spec.rb +6 -13
  180. data/spec/models/auth_response_spec.rb +4 -11
  181. data/spec/models/authentication_spec.rb +4 -11
  182. data/spec/models/auto_sde_project_spec.rb +4 -11
  183. data/spec/models/auto_sde_role_spec.rb +4 -11
  184. data/spec/models/capability_translation_create_spec.rb +4 -11
  185. data/spec/models/capability_translation_spec.rb +4 -11
  186. data/spec/models/host_create_spec.rb +7 -14
  187. data/spec/models/host_spec.rb +6 -13
  188. data/spec/models/host_volume_connection_create_spec.rb +5 -12
  189. data/spec/models/host_volume_connection_spec.rb +5 -12
  190. data/spec/models/job_create_spec.rb +40 -0
  191. data/spec/models/job_spec.rb +70 -0
  192. data/spec/models/native_capability_spec.rb +4 -11
  193. data/spec/models/profile_spec.rb +5 -12
  194. data/spec/models/provisioning_strategy_spec.rb +5 -12
  195. data/spec/models/service_abstract_capability_value_spec.rb +4 -11
  196. data/spec/models/service_create_spec.rb +5 -12
  197. data/spec/models/service_resource_attachment_spec.rb +4 -11
  198. data/spec/models/service_spec.rb +5 -12
  199. data/spec/models/snapshot_create_spec.rb +56 -0
  200. data/spec/models/snapshot_spec.rb +62 -0
  201. data/spec/models/storage_host_create_spec.rb +102 -0
  202. data/spec/models/storage_host_response_spec.rb +80 -0
  203. data/spec/models/storage_host_spec.rb +74 -0
  204. data/spec/models/storage_host_update_spec.rb +54 -0
  205. data/spec/models/storage_host_volume_mapping_create_spec.rb +56 -0
  206. data/spec/models/storage_host_volume_mapping_response_spec.rb +62 -0
  207. data/spec/models/storage_host_volume_mapping_spec.rb +62 -0
  208. data/spec/models/storage_resource_create_spec.rb +6 -13
  209. data/spec/models/storage_resource_response_spec.rb +6 -13
  210. data/spec/models/storage_resource_spec.rb +6 -13
  211. data/spec/models/storage_system_create_spec.rb +7 -14
  212. data/spec/models/storage_system_spec.rb +6 -13
  213. data/spec/models/system_type_create_spec.rb +6 -13
  214. data/spec/models/system_type_spec.rb +6 -13
  215. data/spec/models/volume_create_spec.rb +11 -12
  216. data/spec/models/volume_response_spec.rb +11 -12
  217. data/spec/models/volume_safe_delete_create_spec.rb +4 -11
  218. data/spec/models/volume_safe_delete_spec.rb +4 -11
  219. data/spec/models/volume_spec.rb +11 -12
  220. data/spec/models/volume_update_spec.rb +10 -11
  221. data/spec/spec_helper.rb +1 -1
  222. metadata +112 -72
  223. data/site_manager_oas.json +0 -3992
@@ -1,33 +1,34 @@
1
- # OpenapiClient::ServiceCreate
1
+ # AutosdeOpenapiClient::ServiceCreate
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **capability_values** | [**ServiceAbstractCapabilityValue**](ServiceAbstractCapabilityValue.md) | | [optional]
8
- **component_state** | **String** | component_state | [optional]
9
- **description** | **String** | description | [optional] [default to '']
10
- **name** | **String** | name | [optional]
11
- **profile** | [**Profile**](Profile.md) | | [optional]
12
- **project** | [**AutoSDEProject**](AutoSDEProject.md) | | [optional]
13
- **provisioning_strategy** | [**ProvisioningStrategy**](ProvisioningStrategy.md) | | [optional]
14
- **uuid** | **String** | uuid | [optional]
15
- **version** | **Integer** | The version of the service | [optional] [default to 1]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **capability_values** | [**ServiceAbstractCapabilityValue**](ServiceAbstractCapabilityValue.md) | | [optional] |
8
+ | **component_state** | **String** | component_state | [optional] |
9
+ | **description** | **String** | description | [optional][default to ''] |
10
+ | **name** | **String** | name | [optional] |
11
+ | **profile** | [**Profile**](Profile.md) | | [optional] |
12
+ | **project** | [**AutoSDEProject**](AutoSDEProject.md) | | [optional] |
13
+ | **provisioning_strategy** | [**ProvisioningStrategy**](ProvisioningStrategy.md) | | [optional] |
14
+ | **uuid** | **String** | uuid | [optional] |
15
+ | **version** | **Integer** | The version of the service | [optional][default to 1] |
16
16
 
17
- ## Code Sample
17
+ ## Example
18
18
 
19
19
  ```ruby
20
- require 'OpenapiClient'
20
+ require 'autosde_openapi_client'
21
21
 
22
- instance = OpenapiClient::ServiceCreate.new(capability_values: null,
23
- component_state: null,
24
- description: null,
25
- name: null,
26
- profile: null,
27
- project: null,
28
- provisioning_strategy: null,
29
- uuid: null,
30
- version: null)
22
+ instance = AutosdeOpenapiClient::ServiceCreate.new(
23
+ capability_values: null,
24
+ component_state: null,
25
+ description: null,
26
+ name: null,
27
+ profile: null,
28
+ project: null,
29
+ provisioning_strategy: null,
30
+ uuid: null,
31
+ version: null
32
+ )
31
33
  ```
32
34
 
33
-
@@ -1,23 +1,24 @@
1
- # OpenapiClient::ServiceResourceAttachment
1
+ # AutosdeOpenapiClient::ServiceResourceAttachment
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **compliant** | **Boolean** | compliant | [optional] [default to false]
8
- **service** | [**Service**](Service.md) | | [optional]
9
- **storage_resource** | [**StorageResource**](StorageResource.md) | | [optional]
10
- **uuid** | **String** | uuid | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **compliant** | **Boolean** | compliant | [optional][default to false] |
8
+ | **service** | [**Service**](Service.md) | | [optional] |
9
+ | **storage_resource** | [**StorageResource**](StorageResource.md) | | [optional] |
10
+ | **uuid** | **String** | uuid | [optional] |
11
11
 
12
- ## Code Sample
12
+ ## Example
13
13
 
14
14
  ```ruby
15
- require 'OpenapiClient'
15
+ require 'autosde_openapi_client'
16
16
 
17
- instance = OpenapiClient::ServiceResourceAttachment.new(compliant: null,
18
- service: null,
19
- storage_resource: null,
20
- uuid: null)
17
+ instance = AutosdeOpenapiClient::ServiceResourceAttachment.new(
18
+ compliant: null,
19
+ service: null,
20
+ storage_resource: null,
21
+ uuid: null
22
+ )
21
23
  ```
22
24
 
23
-
@@ -1,40 +1,58 @@
1
- # OpenapiClient::ServiceResourceAttachmentApi
1
+ # AutosdeOpenapiClient::ServiceResourceAttachmentApi
2
2
 
3
3
  All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**service_resource_attchment_get**](ServiceResourceAttachmentApi.md#service_resource_attchment_get) | **GET** /service-resource-attchment/ |
8
- [**service_resource_attchment_pk_delete**](ServiceResourceAttachmentApi.md#service_resource_attchment_pk_delete) | **DELETE** /service-resource-attchment/{pk} |
9
- [**service_resource_attchment_pk_get**](ServiceResourceAttachmentApi.md#service_resource_attchment_pk_get) | **GET** /service-resource-attchment/{pk} |
10
- [**service_resource_attchment_post**](ServiceResourceAttachmentApi.md#service_resource_attchment_post) | **POST** /service-resource-attchment/ |
11
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**service_resource_attchment_get**](ServiceResourceAttachmentApi.md#service_resource_attchment_get) | **GET** /service-resource-attchment/ | |
8
+ | [**service_resource_attchment_pk_delete**](ServiceResourceAttachmentApi.md#service_resource_attchment_pk_delete) | **DELETE** /service-resource-attchment/{pk} | |
9
+ | [**service_resource_attchment_pk_get**](ServiceResourceAttachmentApi.md#service_resource_attchment_pk_get) | **GET** /service-resource-attchment/{pk} | |
10
+ | [**service_resource_attchment_post**](ServiceResourceAttachmentApi.md#service_resource_attchment_post) | **POST** /service-resource-attchment/ | |
12
11
 
13
12
 
14
13
  ## service_resource_attchment_get
15
14
 
16
- > Array<ServiceResourceAttachment> service_resource_attchment_get
15
+ > <Array<ServiceResourceAttachment>> service_resource_attchment_get
17
16
 
18
17
 
19
18
 
20
- ### Example
19
+ ### Examples
21
20
 
22
21
  ```ruby
23
- # load the gem
22
+ require 'time'
24
23
  require 'autosde_openapi_client'
25
24
  # setup authorization
26
- OpenapiClient.configure do |config|
25
+ AutosdeOpenapiClient.configure do |config|
27
26
  # Configure Bearer authorization: bearerAuth
28
27
  config.access_token = 'YOUR_BEARER_TOKEN'
29
28
  end
30
29
 
31
- api_instance = OpenapiClient::ServiceResourceAttachmentApi.new
30
+ api_instance = AutosdeOpenapiClient::ServiceResourceAttachmentApi.new
32
31
 
33
32
  begin
33
+
34
34
  result = api_instance.service_resource_attchment_get
35
35
  p result
36
- rescue OpenapiClient::ApiError => e
37
- puts "Exception when calling ServiceResourceAttachmentApi->service_resource_attchment_get: #{e}"
36
+ rescue AutosdeOpenapiClient::ApiError => e
37
+ puts "Error when calling ServiceResourceAttachmentApi->service_resource_attchment_get: #{e}"
38
+ end
39
+ ```
40
+
41
+ #### Using the service_resource_attchment_get_with_http_info variant
42
+
43
+ This returns an Array which contains the response data, status code and headers.
44
+
45
+ > <Array(<Array<ServiceResourceAttachment>>, Integer, Hash)> service_resource_attchment_get_with_http_info
46
+
47
+ ```ruby
48
+ begin
49
+
50
+ data, status_code, headers = api_instance.service_resource_attchment_get_with_http_info
51
+ p status_code # => 2xx
52
+ p headers # => { ... }
53
+ p data # => <Array<ServiceResourceAttachment>>
54
+ rescue AutosdeOpenapiClient::ApiError => e
55
+ puts "Error when calling ServiceResourceAttachmentApi->service_resource_attchment_get_with_http_info: #{e}"
38
56
  end
39
57
  ```
40
58
 
@@ -58,38 +76,56 @@ This endpoint does not need any parameter.
58
76
 
59
77
  ## service_resource_attchment_pk_delete
60
78
 
61
- > Array&lt;ServiceResourceAttachment&gt; service_resource_attchment_pk_delete(pk)
79
+ > <Array<ServiceResourceAttachment>> service_resource_attchment_pk_delete(pk)
62
80
 
63
81
 
64
82
 
65
- ### Example
83
+ ### Examples
66
84
 
67
85
  ```ruby
68
- # load the gem
86
+ require 'time'
69
87
  require 'autosde_openapi_client'
70
88
  # setup authorization
71
- OpenapiClient.configure do |config|
89
+ AutosdeOpenapiClient.configure do |config|
72
90
  # Configure Bearer authorization: bearerAuth
73
91
  config.access_token = 'YOUR_BEARER_TOKEN'
74
92
  end
75
93
 
76
- api_instance = OpenapiClient::ServiceResourceAttachmentApi.new
94
+ api_instance = AutosdeOpenapiClient::ServiceResourceAttachmentApi.new
77
95
  pk = 56 # Integer |
78
96
 
79
97
  begin
98
+
80
99
  result = api_instance.service_resource_attchment_pk_delete(pk)
81
100
  p result
82
- rescue OpenapiClient::ApiError => e
83
- puts "Exception when calling ServiceResourceAttachmentApi->service_resource_attchment_pk_delete: #{e}"
101
+ rescue AutosdeOpenapiClient::ApiError => e
102
+ puts "Error when calling ServiceResourceAttachmentApi->service_resource_attchment_pk_delete: #{e}"
84
103
  end
85
104
  ```
86
105
 
87
- ### Parameters
106
+ #### Using the service_resource_attchment_pk_delete_with_http_info variant
88
107
 
108
+ This returns an Array which contains the response data, status code and headers.
89
109
 
90
- Name | Type | Description | Notes
91
- ------------- | ------------- | ------------- | -------------
92
- **pk** | **Integer**| |
110
+ > <Array(<Array<ServiceResourceAttachment>>, Integer, Hash)> service_resource_attchment_pk_delete_with_http_info(pk)
111
+
112
+ ```ruby
113
+ begin
114
+
115
+ data, status_code, headers = api_instance.service_resource_attchment_pk_delete_with_http_info(pk)
116
+ p status_code # => 2xx
117
+ p headers # => { ... }
118
+ p data # => <Array<ServiceResourceAttachment>>
119
+ rescue AutosdeOpenapiClient::ApiError => e
120
+ puts "Error when calling ServiceResourceAttachmentApi->service_resource_attchment_pk_delete_with_http_info: #{e}"
121
+ end
122
+ ```
123
+
124
+ ### Parameters
125
+
126
+ | Name | Type | Description | Notes |
127
+ | ---- | ---- | ----------- | ----- |
128
+ | **pk** | **Integer** | | |
93
129
 
94
130
  ### Return type
95
131
 
@@ -107,38 +143,56 @@ Name | Type | Description | Notes
107
143
 
108
144
  ## service_resource_attchment_pk_get
109
145
 
110
- > Array&lt;ServiceResourceAttachment&gt; service_resource_attchment_pk_get(pk)
146
+ > <Array<ServiceResourceAttachment>> service_resource_attchment_pk_get(pk)
111
147
 
112
148
 
113
149
 
114
- ### Example
150
+ ### Examples
115
151
 
116
152
  ```ruby
117
- # load the gem
153
+ require 'time'
118
154
  require 'autosde_openapi_client'
119
155
  # setup authorization
120
- OpenapiClient.configure do |config|
156
+ AutosdeOpenapiClient.configure do |config|
121
157
  # Configure Bearer authorization: bearerAuth
122
158
  config.access_token = 'YOUR_BEARER_TOKEN'
123
159
  end
124
160
 
125
- api_instance = OpenapiClient::ServiceResourceAttachmentApi.new
161
+ api_instance = AutosdeOpenapiClient::ServiceResourceAttachmentApi.new
126
162
  pk = 56 # Integer |
127
163
 
128
164
  begin
165
+
129
166
  result = api_instance.service_resource_attchment_pk_get(pk)
130
167
  p result
131
- rescue OpenapiClient::ApiError => e
132
- puts "Exception when calling ServiceResourceAttachmentApi->service_resource_attchment_pk_get: #{e}"
168
+ rescue AutosdeOpenapiClient::ApiError => e
169
+ puts "Error when calling ServiceResourceAttachmentApi->service_resource_attchment_pk_get: #{e}"
133
170
  end
134
171
  ```
135
172
 
136
- ### Parameters
173
+ #### Using the service_resource_attchment_pk_get_with_http_info variant
137
174
 
175
+ This returns an Array which contains the response data, status code and headers.
138
176
 
139
- Name | Type | Description | Notes
140
- ------------- | ------------- | ------------- | -------------
141
- **pk** | **Integer**| |
177
+ > <Array(<Array<ServiceResourceAttachment>>, Integer, Hash)> service_resource_attchment_pk_get_with_http_info(pk)
178
+
179
+ ```ruby
180
+ begin
181
+
182
+ data, status_code, headers = api_instance.service_resource_attchment_pk_get_with_http_info(pk)
183
+ p status_code # => 2xx
184
+ p headers # => { ... }
185
+ p data # => <Array<ServiceResourceAttachment>>
186
+ rescue AutosdeOpenapiClient::ApiError => e
187
+ puts "Error when calling ServiceResourceAttachmentApi->service_resource_attchment_pk_get_with_http_info: #{e}"
188
+ end
189
+ ```
190
+
191
+ ### Parameters
192
+
193
+ | Name | Type | Description | Notes |
194
+ | ---- | ---- | ----------- | ----- |
195
+ | **pk** | **Integer** | | |
142
196
 
143
197
  ### Return type
144
198
 
@@ -156,42 +210,60 @@ Name | Type | Description | Notes
156
210
 
157
211
  ## service_resource_attchment_post
158
212
 
159
- > Array&lt;ServiceResourceAttachment&gt; service_resource_attchment_post(service_resource_attachment)
213
+ > <ServiceResourceAttachment> service_resource_attchment_post(service_resource_attachment)
160
214
 
161
215
 
162
216
 
163
- ### Example
217
+ ### Examples
164
218
 
165
219
  ```ruby
166
- # load the gem
220
+ require 'time'
167
221
  require 'autosde_openapi_client'
168
222
  # setup authorization
169
- OpenapiClient.configure do |config|
223
+ AutosdeOpenapiClient.configure do |config|
170
224
  # Configure Bearer authorization: bearerAuth
171
225
  config.access_token = 'YOUR_BEARER_TOKEN'
172
226
  end
173
227
 
174
- api_instance = OpenapiClient::ServiceResourceAttachmentApi.new
175
- service_resource_attachment = OpenapiClient::ServiceResourceAttachment.new # ServiceResourceAttachment |
228
+ api_instance = AutosdeOpenapiClient::ServiceResourceAttachmentApi.new
229
+ service_resource_attachment = AutosdeOpenapiClient::ServiceResourceAttachment.new # ServiceResourceAttachment |
176
230
 
177
231
  begin
232
+
178
233
  result = api_instance.service_resource_attchment_post(service_resource_attachment)
179
234
  p result
180
- rescue OpenapiClient::ApiError => e
181
- puts "Exception when calling ServiceResourceAttachmentApi->service_resource_attchment_post: #{e}"
235
+ rescue AutosdeOpenapiClient::ApiError => e
236
+ puts "Error when calling ServiceResourceAttachmentApi->service_resource_attchment_post: #{e}"
182
237
  end
183
238
  ```
184
239
 
185
- ### Parameters
240
+ #### Using the service_resource_attchment_post_with_http_info variant
186
241
 
242
+ This returns an Array which contains the response data, status code and headers.
187
243
 
188
- Name | Type | Description | Notes
189
- ------------- | ------------- | ------------- | -------------
190
- **service_resource_attachment** | [**ServiceResourceAttachment**](ServiceResourceAttachment.md)| |
244
+ > <Array(<ServiceResourceAttachment>, Integer, Hash)> service_resource_attchment_post_with_http_info(service_resource_attachment)
245
+
246
+ ```ruby
247
+ begin
248
+
249
+ data, status_code, headers = api_instance.service_resource_attchment_post_with_http_info(service_resource_attachment)
250
+ p status_code # => 2xx
251
+ p headers # => { ... }
252
+ p data # => <ServiceResourceAttachment>
253
+ rescue AutosdeOpenapiClient::ApiError => e
254
+ puts "Error when calling ServiceResourceAttachmentApi->service_resource_attchment_post_with_http_info: #{e}"
255
+ end
256
+ ```
257
+
258
+ ### Parameters
259
+
260
+ | Name | Type | Description | Notes |
261
+ | ---- | ---- | ----------- | ----- |
262
+ | **service_resource_attachment** | [**ServiceResourceAttachment**](ServiceResourceAttachment.md) | | |
191
263
 
192
264
  ### Return type
193
265
 
194
- [**Array&lt;ServiceResourceAttachment&gt;**](ServiceResourceAttachment.md)
266
+ [**ServiceResourceAttachment**](ServiceResourceAttachment.md)
195
267
 
196
268
  ### Authorization
197
269
 
data/docs/Snapshot.md ADDED
@@ -0,0 +1,26 @@
1
+ # AutosdeOpenapiClient::Snapshot
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **component_state** | **String** | component_state | [optional] |
8
+ | **description** | **String** | description | [optional] |
9
+ | **name** | **String** | name | [optional] |
10
+ | **uuid** | **String** | uuid | [optional] |
11
+ | **volume** | [**Volume**](Volume.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'autosde_openapi_client'
17
+
18
+ instance = AutosdeOpenapiClient::Snapshot.new(
19
+ component_state: null,
20
+ description: null,
21
+ name: null,
22
+ uuid: null,
23
+ volume: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,276 @@
1
+ # AutosdeOpenapiClient::SnapshotApi
2
+
3
+ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**snapshots_get**](SnapshotApi.md#snapshots_get) | **GET** /snapshots/ | |
8
+ | [**snapshots_pk_delete**](SnapshotApi.md#snapshots_pk_delete) | **DELETE** /snapshots/{pk} | |
9
+ | [**snapshots_pk_get**](SnapshotApi.md#snapshots_pk_get) | **GET** /snapshots/{pk} | |
10
+ | [**snapshots_post**](SnapshotApi.md#snapshots_post) | **POST** /snapshots/ | |
11
+
12
+
13
+ ## snapshots_get
14
+
15
+ > <Array<Snapshot>> snapshots_get
16
+
17
+
18
+
19
+ ### Examples
20
+
21
+ ```ruby
22
+ require 'time'
23
+ require 'autosde_openapi_client'
24
+ # setup authorization
25
+ AutosdeOpenapiClient.configure do |config|
26
+ # Configure Bearer authorization: bearerAuth
27
+ config.access_token = 'YOUR_BEARER_TOKEN'
28
+ end
29
+
30
+ api_instance = AutosdeOpenapiClient::SnapshotApi.new
31
+
32
+ begin
33
+
34
+ result = api_instance.snapshots_get
35
+ p result
36
+ rescue AutosdeOpenapiClient::ApiError => e
37
+ puts "Error when calling SnapshotApi->snapshots_get: #{e}"
38
+ end
39
+ ```
40
+
41
+ #### Using the snapshots_get_with_http_info variant
42
+
43
+ This returns an Array which contains the response data, status code and headers.
44
+
45
+ > <Array(<Array<Snapshot>>, Integer, Hash)> snapshots_get_with_http_info
46
+
47
+ ```ruby
48
+ begin
49
+
50
+ data, status_code, headers = api_instance.snapshots_get_with_http_info
51
+ p status_code # => 2xx
52
+ p headers # => { ... }
53
+ p data # => <Array<Snapshot>>
54
+ rescue AutosdeOpenapiClient::ApiError => e
55
+ puts "Error when calling SnapshotApi->snapshots_get_with_http_info: #{e}"
56
+ end
57
+ ```
58
+
59
+ ### Parameters
60
+
61
+ This endpoint does not need any parameter.
62
+
63
+ ### Return type
64
+
65
+ [**Array&lt;Snapshot&gt;**](Snapshot.md)
66
+
67
+ ### Authorization
68
+
69
+ [bearerAuth](../README.md#bearerAuth)
70
+
71
+ ### HTTP request headers
72
+
73
+ - **Content-Type**: Not defined
74
+ - **Accept**: */*
75
+
76
+
77
+ ## snapshots_pk_delete
78
+
79
+ > <Array<Snapshot>> snapshots_pk_delete(pk)
80
+
81
+
82
+
83
+ ### Examples
84
+
85
+ ```ruby
86
+ require 'time'
87
+ require 'autosde_openapi_client'
88
+ # setup authorization
89
+ AutosdeOpenapiClient.configure do |config|
90
+ # Configure Bearer authorization: bearerAuth
91
+ config.access_token = 'YOUR_BEARER_TOKEN'
92
+ end
93
+
94
+ api_instance = AutosdeOpenapiClient::SnapshotApi.new
95
+ pk = 56 # Integer |
96
+
97
+ begin
98
+
99
+ result = api_instance.snapshots_pk_delete(pk)
100
+ p result
101
+ rescue AutosdeOpenapiClient::ApiError => e
102
+ puts "Error when calling SnapshotApi->snapshots_pk_delete: #{e}"
103
+ end
104
+ ```
105
+
106
+ #### Using the snapshots_pk_delete_with_http_info variant
107
+
108
+ This returns an Array which contains the response data, status code and headers.
109
+
110
+ > <Array(<Array<Snapshot>>, Integer, Hash)> snapshots_pk_delete_with_http_info(pk)
111
+
112
+ ```ruby
113
+ begin
114
+
115
+ data, status_code, headers = api_instance.snapshots_pk_delete_with_http_info(pk)
116
+ p status_code # => 2xx
117
+ p headers # => { ... }
118
+ p data # => <Array<Snapshot>>
119
+ rescue AutosdeOpenapiClient::ApiError => e
120
+ puts "Error when calling SnapshotApi->snapshots_pk_delete_with_http_info: #{e}"
121
+ end
122
+ ```
123
+
124
+ ### Parameters
125
+
126
+ | Name | Type | Description | Notes |
127
+ | ---- | ---- | ----------- | ----- |
128
+ | **pk** | **Integer** | | |
129
+
130
+ ### Return type
131
+
132
+ [**Array&lt;Snapshot&gt;**](Snapshot.md)
133
+
134
+ ### Authorization
135
+
136
+ [bearerAuth](../README.md#bearerAuth)
137
+
138
+ ### HTTP request headers
139
+
140
+ - **Content-Type**: Not defined
141
+ - **Accept**: */*
142
+
143
+
144
+ ## snapshots_pk_get
145
+
146
+ > <Array<Snapshot>> snapshots_pk_get(pk)
147
+
148
+
149
+
150
+ ### Examples
151
+
152
+ ```ruby
153
+ require 'time'
154
+ require 'autosde_openapi_client'
155
+ # setup authorization
156
+ AutosdeOpenapiClient.configure do |config|
157
+ # Configure Bearer authorization: bearerAuth
158
+ config.access_token = 'YOUR_BEARER_TOKEN'
159
+ end
160
+
161
+ api_instance = AutosdeOpenapiClient::SnapshotApi.new
162
+ pk = 56 # Integer |
163
+
164
+ begin
165
+
166
+ result = api_instance.snapshots_pk_get(pk)
167
+ p result
168
+ rescue AutosdeOpenapiClient::ApiError => e
169
+ puts "Error when calling SnapshotApi->snapshots_pk_get: #{e}"
170
+ end
171
+ ```
172
+
173
+ #### Using the snapshots_pk_get_with_http_info variant
174
+
175
+ This returns an Array which contains the response data, status code and headers.
176
+
177
+ > <Array(<Array<Snapshot>>, Integer, Hash)> snapshots_pk_get_with_http_info(pk)
178
+
179
+ ```ruby
180
+ begin
181
+
182
+ data, status_code, headers = api_instance.snapshots_pk_get_with_http_info(pk)
183
+ p status_code # => 2xx
184
+ p headers # => { ... }
185
+ p data # => <Array<Snapshot>>
186
+ rescue AutosdeOpenapiClient::ApiError => e
187
+ puts "Error when calling SnapshotApi->snapshots_pk_get_with_http_info: #{e}"
188
+ end
189
+ ```
190
+
191
+ ### Parameters
192
+
193
+ | Name | Type | Description | Notes |
194
+ | ---- | ---- | ----------- | ----- |
195
+ | **pk** | **Integer** | | |
196
+
197
+ ### Return type
198
+
199
+ [**Array&lt;Snapshot&gt;**](Snapshot.md)
200
+
201
+ ### Authorization
202
+
203
+ [bearerAuth](../README.md#bearerAuth)
204
+
205
+ ### HTTP request headers
206
+
207
+ - **Content-Type**: Not defined
208
+ - **Accept**: */*
209
+
210
+
211
+ ## snapshots_post
212
+
213
+ > <Snapshot> snapshots_post(snapshot_create)
214
+
215
+
216
+
217
+ ### Examples
218
+
219
+ ```ruby
220
+ require 'time'
221
+ require 'autosde_openapi_client'
222
+ # setup authorization
223
+ AutosdeOpenapiClient.configure do |config|
224
+ # Configure Bearer authorization: bearerAuth
225
+ config.access_token = 'YOUR_BEARER_TOKEN'
226
+ end
227
+
228
+ api_instance = AutosdeOpenapiClient::SnapshotApi.new
229
+ snapshot_create = AutosdeOpenapiClient::SnapshotCreate.new # SnapshotCreate |
230
+
231
+ begin
232
+
233
+ result = api_instance.snapshots_post(snapshot_create)
234
+ p result
235
+ rescue AutosdeOpenapiClient::ApiError => e
236
+ puts "Error when calling SnapshotApi->snapshots_post: #{e}"
237
+ end
238
+ ```
239
+
240
+ #### Using the snapshots_post_with_http_info variant
241
+
242
+ This returns an Array which contains the response data, status code and headers.
243
+
244
+ > <Array(<Snapshot>, Integer, Hash)> snapshots_post_with_http_info(snapshot_create)
245
+
246
+ ```ruby
247
+ begin
248
+
249
+ data, status_code, headers = api_instance.snapshots_post_with_http_info(snapshot_create)
250
+ p status_code # => 2xx
251
+ p headers # => { ... }
252
+ p data # => <Snapshot>
253
+ rescue AutosdeOpenapiClient::ApiError => e
254
+ puts "Error when calling SnapshotApi->snapshots_post_with_http_info: #{e}"
255
+ end
256
+ ```
257
+
258
+ ### Parameters
259
+
260
+ | Name | Type | Description | Notes |
261
+ | ---- | ---- | ----------- | ----- |
262
+ | **snapshot_create** | [**SnapshotCreate**](SnapshotCreate.md) | | |
263
+
264
+ ### Return type
265
+
266
+ [**Snapshot**](Snapshot.md)
267
+
268
+ ### Authorization
269
+
270
+ [bearerAuth](../README.md#bearerAuth)
271
+
272
+ ### HTTP request headers
273
+
274
+ - **Content-Type**: application/json
275
+ - **Accept**: */*
276
+