autosde_openapi_client 1.0.1 → 1.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +150 -149
  3. data/{openapi_client.gemspec → autosde_openapi_client.gemspec} +4 -4
  4. data/docs/AbstractCapability.md +11 -10
  5. data/docs/AbstractCapabilityApi.md +125 -53
  6. data/docs/Account.md +13 -12
  7. data/docs/AccountApi.md +158 -68
  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 +125 -53
  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 +34 -17
  16. data/docs/AutoSDEProject.md +47 -46
  17. data/docs/AutoSDEProjectApi.md +125 -53
  18. data/docs/AutoSDERole.md +11 -10
  19. data/docs/AutoSDERoleApi.md +125 -53
  20. data/docs/CapabilityTranslation.md +27 -26
  21. data/docs/CapabilityTranslationApi.md +125 -53
  22. data/docs/CapabilityTranslationCreate.md +23 -22
  23. data/docs/Host.md +21 -20
  24. data/docs/HostApi.md +125 -53
  25. data/docs/HostCreate.md +31 -30
  26. data/docs/HostVolumeConnection.md +15 -14
  27. data/docs/HostVolumeConnectionApi.md +125 -53
  28. data/docs/HostVolumeConnectionCreate.md +13 -12
  29. data/docs/Job.md +21 -20
  30. data/docs/JobApi.md +63 -27
  31. data/docs/JobCreate.md +11 -10
  32. data/docs/NativeCapability.md +15 -14
  33. data/docs/NativeCapabilityApi.md +125 -53
  34. data/docs/Profile.md +17 -16
  35. data/docs/ProfileApi.md +125 -53
  36. data/docs/ProvisioningStrategy.md +11 -10
  37. data/docs/ProvisioningStrategyApi.md +125 -53
  38. data/docs/Service.md +27 -26
  39. data/docs/ServiceAbstractCapabilityValue.md +13 -12
  40. data/docs/ServiceApi.md +158 -68
  41. data/docs/ServiceCreate.md +25 -24
  42. data/docs/ServiceResourceAttachment.md +15 -14
  43. data/docs/ServiceResourceAttachmentApi.md +125 -53
  44. data/docs/Snapshot.md +17 -16
  45. data/docs/SnapshotApi.md +125 -53
  46. data/docs/SnapshotCreate.md +15 -14
  47. data/docs/StorageHost.md +21 -20
  48. data/docs/StorageHostApi.md +158 -68
  49. data/docs/StorageHostCreate.md +29 -28
  50. data/docs/StorageHostResponse.md +23 -22
  51. data/docs/StorageHostUpdate.md +13 -12
  52. data/docs/StorageHostVolumeMapping.md +17 -16
  53. data/docs/StorageHostVolumeMappingApi.md +129 -57
  54. data/docs/StorageHostVolumeMappingCreate.md +15 -14
  55. data/docs/StorageHostVolumeMappingResponse.md +26 -0
  56. data/docs/StorageResource.md +25 -24
  57. data/docs/StorageResourceApi.md +158 -68
  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 +125 -53
  62. data/docs/StorageSystemCreate.md +41 -40
  63. data/docs/SystemType.md +17 -16
  64. data/docs/SystemTypeApi.md +125 -53
  65. data/docs/SystemTypeCreate.md +19 -18
  66. data/docs/Volume.md +25 -24
  67. data/docs/VolumeApi.md +158 -68
  68. data/docs/VolumeCreate.md +21 -20
  69. data/docs/VolumeResponse.md +25 -24
  70. data/docs/VolumeSafeDelete.md +13 -12
  71. data/docs/VolumeSafeDeleteApi.md +125 -53
  72. data/docs/VolumeSafeDeleteCreate.md +9 -8
  73. data/docs/VolumeUpdate.md +11 -10
  74. data/lib/autosde_openapi_client.rb +109 -0
  75. data/lib/{openapi_client → autosde_openapi_client}/api/abstract_capability_api.rb +2 -2
  76. data/lib/{openapi_client → autosde_openapi_client}/api/account_api.rb +2 -2
  77. data/lib/{openapi_client → autosde_openapi_client}/api/address_api.rb +2 -2
  78. data/lib/{openapi_client → autosde_openapi_client}/api/authentication_api.rb +2 -2
  79. data/lib/{openapi_client → autosde_openapi_client}/api/auto_sde_project_api.rb +2 -2
  80. data/lib/{openapi_client → autosde_openapi_client}/api/auto_sde_role_api.rb +2 -2
  81. data/lib/{openapi_client → autosde_openapi_client}/api/capability_translation_api.rb +2 -2
  82. data/lib/{openapi_client → autosde_openapi_client}/api/host_api.rb +2 -2
  83. data/lib/{openapi_client → autosde_openapi_client}/api/host_volume_connection_api.rb +2 -2
  84. data/lib/{openapi_client → autosde_openapi_client}/api/job_api.rb +2 -2
  85. data/lib/{openapi_client → autosde_openapi_client}/api/native_capability_api.rb +2 -2
  86. data/lib/{openapi_client → autosde_openapi_client}/api/profile_api.rb +2 -2
  87. data/lib/{openapi_client → autosde_openapi_client}/api/provisioning_strategy_api.rb +2 -2
  88. data/lib/{openapi_client → autosde_openapi_client}/api/service_api.rb +2 -2
  89. data/lib/{openapi_client → autosde_openapi_client}/api/service_resource_attachment_api.rb +2 -2
  90. data/lib/{openapi_client → autosde_openapi_client}/api/snapshot_api.rb +2 -2
  91. data/lib/{openapi_client → autosde_openapi_client}/api/storage_host_api.rb +2 -2
  92. data/lib/{openapi_client → autosde_openapi_client}/api/storage_host_volume_mapping_api.rb +14 -14
  93. data/lib/{openapi_client → autosde_openapi_client}/api/storage_resource_api.rb +2 -2
  94. data/lib/{openapi_client → autosde_openapi_client}/api/storage_system_api.rb +2 -2
  95. data/lib/{openapi_client → autosde_openapi_client}/api/system_type_api.rb +2 -2
  96. data/lib/{openapi_client → autosde_openapi_client}/api/volume_api.rb +2 -2
  97. data/lib/{openapi_client → autosde_openapi_client}/api/volume_safe_delete_api.rb +2 -2
  98. data/lib/{openapi_client → autosde_openapi_client}/api_client.rb +5 -4
  99. data/lib/{openapi_client → autosde_openapi_client}/api_error.rb +2 -2
  100. data/lib/{openapi_client → autosde_openapi_client}/configuration.rb +2 -2
  101. data/lib/{openapi_client/models/auto_sde_role.rb → autosde_openapi_client/models/abstract_capability.rb} +16 -8
  102. data/lib/{openapi_client → autosde_openapi_client}/models/account.rb +14 -6
  103. data/lib/{openapi_client → autosde_openapi_client}/models/account_post_request.rb +14 -6
  104. data/lib/{openapi_client → autosde_openapi_client}/models/account_post_response.rb +14 -6
  105. data/lib/{openapi_client → autosde_openapi_client}/models/address.rb +14 -6
  106. data/lib/{openapi_client → autosde_openapi_client}/models/address_create.rb +14 -6
  107. data/lib/{openapi_client → autosde_openapi_client}/models/auth_response.rb +14 -6
  108. data/lib/{openapi_client → autosde_openapi_client}/models/authentication.rb +14 -6
  109. data/lib/{openapi_client → autosde_openapi_client}/models/auto_sde_project.rb +14 -6
  110. data/lib/{openapi_client/models/abstract_capability.rb → autosde_openapi_client/models/auto_sde_role.rb} +16 -8
  111. data/lib/{openapi_client → autosde_openapi_client}/models/capability_translation.rb +14 -6
  112. data/lib/{openapi_client → autosde_openapi_client}/models/capability_translation_create.rb +14 -6
  113. data/lib/{openapi_client → autosde_openapi_client}/models/host.rb +14 -6
  114. data/lib/{openapi_client → autosde_openapi_client}/models/host_create.rb +14 -6
  115. data/lib/{openapi_client → autosde_openapi_client}/models/host_volume_connection.rb +14 -6
  116. data/lib/{openapi_client → autosde_openapi_client}/models/host_volume_connection_create.rb +14 -6
  117. data/lib/{openapi_client → autosde_openapi_client}/models/job.rb +14 -6
  118. data/lib/{openapi_client → autosde_openapi_client}/models/job_create.rb +14 -6
  119. data/lib/{openapi_client → autosde_openapi_client}/models/native_capability.rb +14 -6
  120. data/lib/{openapi_client → autosde_openapi_client}/models/profile.rb +14 -6
  121. data/lib/{openapi_client → autosde_openapi_client}/models/provisioning_strategy.rb +14 -6
  122. data/lib/{openapi_client → autosde_openapi_client}/models/service.rb +14 -6
  123. data/lib/{openapi_client → autosde_openapi_client}/models/service_abstract_capability_value.rb +14 -6
  124. data/lib/{openapi_client → autosde_openapi_client}/models/service_create.rb +14 -6
  125. data/lib/{openapi_client → autosde_openapi_client}/models/service_resource_attachment.rb +14 -6
  126. data/lib/{openapi_client → autosde_openapi_client}/models/snapshot.rb +14 -6
  127. data/lib/{openapi_client → autosde_openapi_client}/models/snapshot_create.rb +14 -6
  128. data/lib/{openapi_client → autosde_openapi_client}/models/storage_host.rb +14 -6
  129. data/lib/{openapi_client → autosde_openapi_client}/models/storage_host_create.rb +14 -6
  130. data/lib/{openapi_client → autosde_openapi_client}/models/storage_host_response.rb +14 -6
  131. data/lib/{openapi_client → autosde_openapi_client}/models/storage_host_update.rb +14 -6
  132. data/lib/{openapi_client → autosde_openapi_client}/models/storage_host_volume_mapping.rb +14 -6
  133. data/lib/{openapi_client → autosde_openapi_client}/models/storage_host_volume_mapping_create.rb +14 -6
  134. data/lib/autosde_openapi_client/models/storage_host_volume_mapping_response.rb +301 -0
  135. data/lib/{openapi_client → autosde_openapi_client}/models/storage_resource.rb +14 -6
  136. data/lib/{openapi_client → autosde_openapi_client}/models/storage_resource_create.rb +14 -6
  137. data/lib/{openapi_client → autosde_openapi_client}/models/storage_resource_response.rb +14 -6
  138. data/lib/{openapi_client → autosde_openapi_client}/models/storage_system.rb +14 -6
  139. data/lib/{openapi_client → autosde_openapi_client}/models/storage_system_create.rb +14 -6
  140. data/lib/{openapi_client → autosde_openapi_client}/models/system_type.rb +14 -6
  141. data/lib/{openapi_client → autosde_openapi_client}/models/system_type_create.rb +14 -6
  142. data/lib/{openapi_client → autosde_openapi_client}/models/volume.rb +14 -6
  143. data/lib/{openapi_client → autosde_openapi_client}/models/volume_create.rb +14 -6
  144. data/lib/{openapi_client → autosde_openapi_client}/models/volume_response.rb +14 -6
  145. data/lib/{openapi_client → autosde_openapi_client}/models/volume_safe_delete.rb +14 -6
  146. data/lib/{openapi_client → autosde_openapi_client}/models/volume_safe_delete_create.rb +14 -6
  147. data/lib/{openapi_client → autosde_openapi_client}/models/volume_update.rb +14 -6
  148. data/lib/{openapi_client → 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 +2 -2
  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 +2 -2
  165. data/spec/api/storage_host_api_spec.rb +13 -2
  166. data/spec/api/storage_host_volume_mapping_api_spec.rb +2 -2
  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 +4 -11
  191. data/spec/models/job_spec.rb +4 -11
  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 +5 -12
  200. data/spec/models/snapshot_spec.rb +5 -12
  201. data/spec/models/storage_host_create_spec.rb +6 -13
  202. data/spec/models/storage_host_response_spec.rb +5 -12
  203. data/spec/models/storage_host_spec.rb +5 -12
  204. data/spec/models/storage_host_update_spec.rb +6 -13
  205. data/spec/models/storage_host_volume_mapping_create_spec.rb +5 -12
  206. data/spec/models/storage_host_volume_mapping_response_spec.rb +62 -0
  207. data/spec/models/storage_host_volume_mapping_spec.rb +5 -12
  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 +4 -11
  221. data/spec/spec_helper.rb +2 -2
  222. metadata +136 -133
  223. data/lib/openapi_client.rb +0 -108
@@ -1,19 +1,20 @@
1
- # OpenapiClient::ProvisioningStrategy
1
+ # AutosdeOpenapiClient::ProvisioningStrategy
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | name | [optional]
8
- **uuid** | **String** | uuid | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | name | [optional] |
8
+ | **uuid** | **String** | uuid | [optional] |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'OpenapiClient'
13
+ require 'autosde_openapi_client'
14
14
 
15
- instance = OpenapiClient::ProvisioningStrategy.new(name: null,
16
- uuid: null)
15
+ instance = AutosdeOpenapiClient::ProvisioningStrategy.new(
16
+ name: null,
17
+ uuid: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -1,40 +1,58 @@
1
- # OpenapiClient::ProvisioningStrategyApi
1
+ # AutosdeOpenapiClient::ProvisioningStrategyApi
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
- [**provisioning_strategy_get**](ProvisioningStrategyApi.md#provisioning_strategy_get) | **GET** /provisioning-strategy/ |
8
- [**provisioning_strategy_pk_delete**](ProvisioningStrategyApi.md#provisioning_strategy_pk_delete) | **DELETE** /provisioning-strategy/{pk} |
9
- [**provisioning_strategy_pk_get**](ProvisioningStrategyApi.md#provisioning_strategy_pk_get) | **GET** /provisioning-strategy/{pk} |
10
- [**provisioning_strategy_post**](ProvisioningStrategyApi.md#provisioning_strategy_post) | **POST** /provisioning-strategy/ |
11
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**provisioning_strategy_get**](ProvisioningStrategyApi.md#provisioning_strategy_get) | **GET** /provisioning-strategy/ | |
8
+ | [**provisioning_strategy_pk_delete**](ProvisioningStrategyApi.md#provisioning_strategy_pk_delete) | **DELETE** /provisioning-strategy/{pk} | |
9
+ | [**provisioning_strategy_pk_get**](ProvisioningStrategyApi.md#provisioning_strategy_pk_get) | **GET** /provisioning-strategy/{pk} | |
10
+ | [**provisioning_strategy_post**](ProvisioningStrategyApi.md#provisioning_strategy_post) | **POST** /provisioning-strategy/ | |
12
11
 
13
12
 
14
13
  ## provisioning_strategy_get
15
14
 
16
- > Array<ProvisioningStrategy> provisioning_strategy_get
15
+ > <Array<ProvisioningStrategy>> provisioning_strategy_get
17
16
 
18
17
 
19
18
 
20
- ### Example
19
+ ### Examples
21
20
 
22
21
  ```ruby
23
- # load the gem
24
- require 'openapi_client'
22
+ require 'time'
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::ProvisioningStrategyApi.new
30
+ api_instance = AutosdeOpenapiClient::ProvisioningStrategyApi.new
32
31
 
33
32
  begin
33
+
34
34
  result = api_instance.provisioning_strategy_get
35
35
  p result
36
- rescue OpenapiClient::ApiError => e
37
- puts "Exception when calling ProvisioningStrategyApi->provisioning_strategy_get: #{e}"
36
+ rescue AutosdeOpenapiClient::ApiError => e
37
+ puts "Error when calling ProvisioningStrategyApi->provisioning_strategy_get: #{e}"
38
+ end
39
+ ```
40
+
41
+ #### Using the provisioning_strategy_get_with_http_info variant
42
+
43
+ This returns an Array which contains the response data, status code and headers.
44
+
45
+ > <Array(<Array<ProvisioningStrategy>>, Integer, Hash)> provisioning_strategy_get_with_http_info
46
+
47
+ ```ruby
48
+ begin
49
+
50
+ data, status_code, headers = api_instance.provisioning_strategy_get_with_http_info
51
+ p status_code # => 2xx
52
+ p headers # => { ... }
53
+ p data # => <Array<ProvisioningStrategy>>
54
+ rescue AutosdeOpenapiClient::ApiError => e
55
+ puts "Error when calling ProvisioningStrategyApi->provisioning_strategy_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
  ## provisioning_strategy_pk_delete
60
78
 
61
- > Array&lt;ProvisioningStrategy&gt; provisioning_strategy_pk_delete(pk)
79
+ > <Array<ProvisioningStrategy>> provisioning_strategy_pk_delete(pk)
62
80
 
63
81
 
64
82
 
65
- ### Example
83
+ ### Examples
66
84
 
67
85
  ```ruby
68
- # load the gem
69
- require 'openapi_client'
86
+ require 'time'
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::ProvisioningStrategyApi.new
94
+ api_instance = AutosdeOpenapiClient::ProvisioningStrategyApi.new
77
95
  pk = 56 # Integer |
78
96
 
79
97
  begin
98
+
80
99
  result = api_instance.provisioning_strategy_pk_delete(pk)
81
100
  p result
82
- rescue OpenapiClient::ApiError => e
83
- puts "Exception when calling ProvisioningStrategyApi->provisioning_strategy_pk_delete: #{e}"
101
+ rescue AutosdeOpenapiClient::ApiError => e
102
+ puts "Error when calling ProvisioningStrategyApi->provisioning_strategy_pk_delete: #{e}"
84
103
  end
85
104
  ```
86
105
 
87
- ### Parameters
106
+ #### Using the provisioning_strategy_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<ProvisioningStrategy>>, Integer, Hash)> provisioning_strategy_pk_delete_with_http_info(pk)
88
111
 
112
+ ```ruby
113
+ begin
114
+
115
+ data, status_code, headers = api_instance.provisioning_strategy_pk_delete_with_http_info(pk)
116
+ p status_code # => 2xx
117
+ p headers # => { ... }
118
+ p data # => <Array<ProvisioningStrategy>>
119
+ rescue AutosdeOpenapiClient::ApiError => e
120
+ puts "Error when calling ProvisioningStrategyApi->provisioning_strategy_pk_delete_with_http_info: #{e}"
121
+ end
122
+ ```
123
+
124
+ ### Parameters
89
125
 
90
- Name | Type | Description | Notes
91
- ------------- | ------------- | ------------- | -------------
92
- **pk** | **Integer**| |
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
  ## provisioning_strategy_pk_get
109
145
 
110
- > Array&lt;ProvisioningStrategy&gt; provisioning_strategy_pk_get(pk)
146
+ > <Array<ProvisioningStrategy>> provisioning_strategy_pk_get(pk)
111
147
 
112
148
 
113
149
 
114
- ### Example
150
+ ### Examples
115
151
 
116
152
  ```ruby
117
- # load the gem
118
- require 'openapi_client'
153
+ require 'time'
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::ProvisioningStrategyApi.new
161
+ api_instance = AutosdeOpenapiClient::ProvisioningStrategyApi.new
126
162
  pk = 56 # Integer |
127
163
 
128
164
  begin
165
+
129
166
  result = api_instance.provisioning_strategy_pk_get(pk)
130
167
  p result
131
- rescue OpenapiClient::ApiError => e
132
- puts "Exception when calling ProvisioningStrategyApi->provisioning_strategy_pk_get: #{e}"
168
+ rescue AutosdeOpenapiClient::ApiError => e
169
+ puts "Error when calling ProvisioningStrategyApi->provisioning_strategy_pk_get: #{e}"
133
170
  end
134
171
  ```
135
172
 
136
- ### Parameters
173
+ #### Using the provisioning_strategy_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<ProvisioningStrategy>>, Integer, Hash)> provisioning_strategy_pk_get_with_http_info(pk)
137
178
 
179
+ ```ruby
180
+ begin
181
+
182
+ data, status_code, headers = api_instance.provisioning_strategy_pk_get_with_http_info(pk)
183
+ p status_code # => 2xx
184
+ p headers # => { ... }
185
+ p data # => <Array<ProvisioningStrategy>>
186
+ rescue AutosdeOpenapiClient::ApiError => e
187
+ puts "Error when calling ProvisioningStrategyApi->provisioning_strategy_pk_get_with_http_info: #{e}"
188
+ end
189
+ ```
190
+
191
+ ### Parameters
138
192
 
139
- Name | Type | Description | Notes
140
- ------------- | ------------- | ------------- | -------------
141
- **pk** | **Integer**| |
193
+ | Name | Type | Description | Notes |
194
+ | ---- | ---- | ----------- | ----- |
195
+ | **pk** | **Integer** | | |
142
196
 
143
197
  ### Return type
144
198
 
@@ -156,38 +210,56 @@ Name | Type | Description | Notes
156
210
 
157
211
  ## provisioning_strategy_post
158
212
 
159
- > ProvisioningStrategy provisioning_strategy_post(provisioning_strategy)
213
+ > <ProvisioningStrategy> provisioning_strategy_post(provisioning_strategy)
160
214
 
161
215
 
162
216
 
163
- ### Example
217
+ ### Examples
164
218
 
165
219
  ```ruby
166
- # load the gem
167
- require 'openapi_client'
220
+ require 'time'
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::ProvisioningStrategyApi.new
175
- provisioning_strategy = OpenapiClient::ProvisioningStrategy.new # ProvisioningStrategy |
228
+ api_instance = AutosdeOpenapiClient::ProvisioningStrategyApi.new
229
+ provisioning_strategy = AutosdeOpenapiClient::ProvisioningStrategy.new # ProvisioningStrategy |
176
230
 
177
231
  begin
232
+
178
233
  result = api_instance.provisioning_strategy_post(provisioning_strategy)
179
234
  p result
180
- rescue OpenapiClient::ApiError => e
181
- puts "Exception when calling ProvisioningStrategyApi->provisioning_strategy_post: #{e}"
235
+ rescue AutosdeOpenapiClient::ApiError => e
236
+ puts "Error when calling ProvisioningStrategyApi->provisioning_strategy_post: #{e}"
182
237
  end
183
238
  ```
184
239
 
185
- ### Parameters
240
+ #### Using the provisioning_strategy_post_with_http_info variant
241
+
242
+ This returns an Array which contains the response data, status code and headers.
243
+
244
+ > <Array(<ProvisioningStrategy>, Integer, Hash)> provisioning_strategy_post_with_http_info(provisioning_strategy)
186
245
 
246
+ ```ruby
247
+ begin
248
+
249
+ data, status_code, headers = api_instance.provisioning_strategy_post_with_http_info(provisioning_strategy)
250
+ p status_code # => 2xx
251
+ p headers # => { ... }
252
+ p data # => <ProvisioningStrategy>
253
+ rescue AutosdeOpenapiClient::ApiError => e
254
+ puts "Error when calling ProvisioningStrategyApi->provisioning_strategy_post_with_http_info: #{e}"
255
+ end
256
+ ```
257
+
258
+ ### Parameters
187
259
 
188
- Name | Type | Description | Notes
189
- ------------- | ------------- | ------------- | -------------
190
- **provisioning_strategy** | [**ProvisioningStrategy**](ProvisioningStrategy.md)| |
260
+ | Name | Type | Description | Notes |
261
+ | ---- | ---- | ----------- | ----- |
262
+ | **provisioning_strategy** | [**ProvisioningStrategy**](ProvisioningStrategy.md) | | |
191
263
 
192
264
  ### Return type
193
265
 
data/docs/Service.md CHANGED
@@ -1,35 +1,36 @@
1
- # OpenapiClient::Service
1
+ # AutosdeOpenapiClient::Service
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 &#39;&#39;]
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
- **resource_service** | **Boolean** | resource_service | [optional] [default to false]
15
- **uuid** | **String** | uuid | [optional]
16
- **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 &#39;&#39;] |
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
+ | **resource_service** | **Boolean** | resource_service | [optional][default to false] |
15
+ | **uuid** | **String** | uuid | [optional] |
16
+ | **version** | **Integer** | The version of the service | [optional][default to 1] |
17
17
 
18
- ## Code Sample
18
+ ## Example
19
19
 
20
20
  ```ruby
21
- require 'OpenapiClient'
21
+ require 'autosde_openapi_client'
22
22
 
23
- instance = OpenapiClient::Service.new(capability_values: null,
24
- component_state: null,
25
- description: null,
26
- name: null,
27
- profile: null,
28
- project: null,
29
- provisioning_strategy: null,
30
- resource_service: null,
31
- uuid: null,
32
- version: null)
23
+ instance = AutosdeOpenapiClient::Service.new(
24
+ capability_values: null,
25
+ component_state: null,
26
+ description: null,
27
+ name: null,
28
+ profile: null,
29
+ project: null,
30
+ provisioning_strategy: null,
31
+ resource_service: null,
32
+ uuid: null,
33
+ version: null
34
+ )
33
35
  ```
34
36
 
35
-
@@ -1,21 +1,22 @@
1
- # OpenapiClient::ServiceAbstractCapabilityValue
1
+ # AutosdeOpenapiClient::ServiceAbstractCapabilityValue
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **abstract_capability** | [**AbstractCapability**](AbstractCapability.md) | | [optional]
8
- **uuid** | **String** | uuid | [optional]
9
- **value** | **String** | value | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **abstract_capability** | [**AbstractCapability**](AbstractCapability.md) | | [optional] |
8
+ | **uuid** | **String** | uuid | [optional] |
9
+ | **value** | **String** | value | [optional] |
10
10
 
11
- ## Code Sample
11
+ ## Example
12
12
 
13
13
  ```ruby
14
- require 'OpenapiClient'
14
+ require 'autosde_openapi_client'
15
15
 
16
- instance = OpenapiClient::ServiceAbstractCapabilityValue.new(abstract_capability: null,
17
- uuid: null,
18
- value: null)
16
+ instance = AutosdeOpenapiClient::ServiceAbstractCapabilityValue.new(
17
+ abstract_capability: null,
18
+ uuid: null,
19
+ value: null
20
+ )
19
21
  ```
20
22
 
21
-
data/docs/ServiceApi.md CHANGED
@@ -1,41 +1,59 @@
1
- # OpenapiClient::ServiceApi
1
+ # AutosdeOpenapiClient::ServiceApi
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
- [**services_get**](ServiceApi.md#services_get) | **GET** /services/ |
8
- [**services_pk_delete**](ServiceApi.md#services_pk_delete) | **DELETE** /services/{pk} |
9
- [**services_pk_get**](ServiceApi.md#services_pk_get) | **GET** /services/{pk} |
10
- [**services_pk_put**](ServiceApi.md#services_pk_put) | **PUT** /services/{pk} |
11
- [**services_post**](ServiceApi.md#services_post) | **POST** /services/ |
12
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**services_get**](ServiceApi.md#services_get) | **GET** /services/ | |
8
+ | [**services_pk_delete**](ServiceApi.md#services_pk_delete) | **DELETE** /services/{pk} | |
9
+ | [**services_pk_get**](ServiceApi.md#services_pk_get) | **GET** /services/{pk} | |
10
+ | [**services_pk_put**](ServiceApi.md#services_pk_put) | **PUT** /services/{pk} | |
11
+ | [**services_post**](ServiceApi.md#services_post) | **POST** /services/ | |
13
12
 
14
13
 
15
14
  ## services_get
16
15
 
17
- > Array&lt;Service&gt; services_get
16
+ > <Array<Service>> services_get
18
17
 
19
18
 
20
19
 
21
- ### Example
20
+ ### Examples
22
21
 
23
22
  ```ruby
24
- # load the gem
25
- require 'openapi_client'
23
+ require 'time'
24
+ require 'autosde_openapi_client'
26
25
  # setup authorization
27
- OpenapiClient.configure do |config|
26
+ AutosdeOpenapiClient.configure do |config|
28
27
  # Configure Bearer authorization: bearerAuth
29
28
  config.access_token = 'YOUR_BEARER_TOKEN'
30
29
  end
31
30
 
32
- api_instance = OpenapiClient::ServiceApi.new
31
+ api_instance = AutosdeOpenapiClient::ServiceApi.new
33
32
 
34
33
  begin
34
+
35
35
  result = api_instance.services_get
36
36
  p result
37
- rescue OpenapiClient::ApiError => e
38
- puts "Exception when calling ServiceApi->services_get: #{e}"
37
+ rescue AutosdeOpenapiClient::ApiError => e
38
+ puts "Error when calling ServiceApi->services_get: #{e}"
39
+ end
40
+ ```
41
+
42
+ #### Using the services_get_with_http_info variant
43
+
44
+ This returns an Array which contains the response data, status code and headers.
45
+
46
+ > <Array(<Array<Service>>, Integer, Hash)> services_get_with_http_info
47
+
48
+ ```ruby
49
+ begin
50
+
51
+ data, status_code, headers = api_instance.services_get_with_http_info
52
+ p status_code # => 2xx
53
+ p headers # => { ... }
54
+ p data # => <Array<Service>>
55
+ rescue AutosdeOpenapiClient::ApiError => e
56
+ puts "Error when calling ServiceApi->services_get_with_http_info: #{e}"
39
57
  end
40
58
  ```
41
59
 
@@ -59,38 +77,56 @@ This endpoint does not need any parameter.
59
77
 
60
78
  ## services_pk_delete
61
79
 
62
- > Array&lt;Service&gt; services_pk_delete(pk)
80
+ > <Array<Service>> services_pk_delete(pk)
63
81
 
64
82
 
65
83
 
66
- ### Example
84
+ ### Examples
67
85
 
68
86
  ```ruby
69
- # load the gem
70
- require 'openapi_client'
87
+ require 'time'
88
+ require 'autosde_openapi_client'
71
89
  # setup authorization
72
- OpenapiClient.configure do |config|
90
+ AutosdeOpenapiClient.configure do |config|
73
91
  # Configure Bearer authorization: bearerAuth
74
92
  config.access_token = 'YOUR_BEARER_TOKEN'
75
93
  end
76
94
 
77
- api_instance = OpenapiClient::ServiceApi.new
95
+ api_instance = AutosdeOpenapiClient::ServiceApi.new
78
96
  pk = 56 # Integer |
79
97
 
80
98
  begin
99
+
81
100
  result = api_instance.services_pk_delete(pk)
82
101
  p result
83
- rescue OpenapiClient::ApiError => e
84
- puts "Exception when calling ServiceApi->services_pk_delete: #{e}"
102
+ rescue AutosdeOpenapiClient::ApiError => e
103
+ puts "Error when calling ServiceApi->services_pk_delete: #{e}"
85
104
  end
86
105
  ```
87
106
 
88
- ### Parameters
107
+ #### Using the services_pk_delete_with_http_info variant
89
108
 
109
+ This returns an Array which contains the response data, status code and headers.
90
110
 
91
- Name | Type | Description | Notes
92
- ------------- | ------------- | ------------- | -------------
93
- **pk** | **Integer**| |
111
+ > <Array(<Array<Service>>, Integer, Hash)> services_pk_delete_with_http_info(pk)
112
+
113
+ ```ruby
114
+ begin
115
+
116
+ data, status_code, headers = api_instance.services_pk_delete_with_http_info(pk)
117
+ p status_code # => 2xx
118
+ p headers # => { ... }
119
+ p data # => <Array<Service>>
120
+ rescue AutosdeOpenapiClient::ApiError => e
121
+ puts "Error when calling ServiceApi->services_pk_delete_with_http_info: #{e}"
122
+ end
123
+ ```
124
+
125
+ ### Parameters
126
+
127
+ | Name | Type | Description | Notes |
128
+ | ---- | ---- | ----------- | ----- |
129
+ | **pk** | **Integer** | | |
94
130
 
95
131
  ### Return type
96
132
 
@@ -108,38 +144,56 @@ Name | Type | Description | Notes
108
144
 
109
145
  ## services_pk_get
110
146
 
111
- > Array&lt;Service&gt; services_pk_get(pk)
147
+ > <Array<Service>> services_pk_get(pk)
112
148
 
113
149
 
114
150
 
115
- ### Example
151
+ ### Examples
116
152
 
117
153
  ```ruby
118
- # load the gem
119
- require 'openapi_client'
154
+ require 'time'
155
+ require 'autosde_openapi_client'
120
156
  # setup authorization
121
- OpenapiClient.configure do |config|
157
+ AutosdeOpenapiClient.configure do |config|
122
158
  # Configure Bearer authorization: bearerAuth
123
159
  config.access_token = 'YOUR_BEARER_TOKEN'
124
160
  end
125
161
 
126
- api_instance = OpenapiClient::ServiceApi.new
162
+ api_instance = AutosdeOpenapiClient::ServiceApi.new
127
163
  pk = 56 # Integer |
128
164
 
129
165
  begin
166
+
130
167
  result = api_instance.services_pk_get(pk)
131
168
  p result
132
- rescue OpenapiClient::ApiError => e
133
- puts "Exception when calling ServiceApi->services_pk_get: #{e}"
169
+ rescue AutosdeOpenapiClient::ApiError => e
170
+ puts "Error when calling ServiceApi->services_pk_get: #{e}"
134
171
  end
135
172
  ```
136
173
 
137
- ### Parameters
174
+ #### Using the services_pk_get_with_http_info variant
138
175
 
176
+ This returns an Array which contains the response data, status code and headers.
139
177
 
140
- Name | Type | Description | Notes
141
- ------------- | ------------- | ------------- | -------------
142
- **pk** | **Integer**| |
178
+ > <Array(<Array<Service>>, Integer, Hash)> services_pk_get_with_http_info(pk)
179
+
180
+ ```ruby
181
+ begin
182
+
183
+ data, status_code, headers = api_instance.services_pk_get_with_http_info(pk)
184
+ p status_code # => 2xx
185
+ p headers # => { ... }
186
+ p data # => <Array<Service>>
187
+ rescue AutosdeOpenapiClient::ApiError => e
188
+ puts "Error when calling ServiceApi->services_pk_get_with_http_info: #{e}"
189
+ end
190
+ ```
191
+
192
+ ### Parameters
193
+
194
+ | Name | Type | Description | Notes |
195
+ | ---- | ---- | ----------- | ----- |
196
+ | **pk** | **Integer** | | |
143
197
 
144
198
  ### Return type
145
199
 
@@ -157,40 +211,58 @@ Name | Type | Description | Notes
157
211
 
158
212
  ## services_pk_put
159
213
 
160
- > Service services_pk_put(pk, service)
214
+ > <Service> services_pk_put(pk, service)
161
215
 
162
216
 
163
217
 
164
- ### Example
218
+ ### Examples
165
219
 
166
220
  ```ruby
167
- # load the gem
168
- require 'openapi_client'
221
+ require 'time'
222
+ require 'autosde_openapi_client'
169
223
  # setup authorization
170
- OpenapiClient.configure do |config|
224
+ AutosdeOpenapiClient.configure do |config|
171
225
  # Configure Bearer authorization: bearerAuth
172
226
  config.access_token = 'YOUR_BEARER_TOKEN'
173
227
  end
174
228
 
175
- api_instance = OpenapiClient::ServiceApi.new
229
+ api_instance = AutosdeOpenapiClient::ServiceApi.new
176
230
  pk = 56 # Integer |
177
- service = OpenapiClient::Service.new # Service |
231
+ service = AutosdeOpenapiClient::Service.new # Service |
178
232
 
179
233
  begin
234
+
180
235
  result = api_instance.services_pk_put(pk, service)
181
236
  p result
182
- rescue OpenapiClient::ApiError => e
183
- puts "Exception when calling ServiceApi->services_pk_put: #{e}"
237
+ rescue AutosdeOpenapiClient::ApiError => e
238
+ puts "Error when calling ServiceApi->services_pk_put: #{e}"
184
239
  end
185
240
  ```
186
241
 
187
- ### Parameters
242
+ #### Using the services_pk_put_with_http_info variant
243
+
244
+ This returns an Array which contains the response data, status code and headers.
245
+
246
+ > <Array(<Service>, Integer, Hash)> services_pk_put_with_http_info(pk, service)
247
+
248
+ ```ruby
249
+ begin
250
+
251
+ data, status_code, headers = api_instance.services_pk_put_with_http_info(pk, service)
252
+ p status_code # => 2xx
253
+ p headers # => { ... }
254
+ p data # => <Service>
255
+ rescue AutosdeOpenapiClient::ApiError => e
256
+ puts "Error when calling ServiceApi->services_pk_put_with_http_info: #{e}"
257
+ end
258
+ ```
188
259
 
260
+ ### Parameters
189
261
 
190
- Name | Type | Description | Notes
191
- ------------- | ------------- | ------------- | -------------
192
- **pk** | **Integer**| |
193
- **service** | [**Service**](Service.md)| |
262
+ | Name | Type | Description | Notes |
263
+ | ---- | ---- | ----------- | ----- |
264
+ | **pk** | **Integer** | | |
265
+ | **service** | [**Service**](Service.md) | | |
194
266
 
195
267
  ### Return type
196
268
 
@@ -208,38 +280,56 @@ Name | Type | Description | Notes
208
280
 
209
281
  ## services_post
210
282
 
211
- > Service services_post(service_create)
283
+ > <Service> services_post(service_create)
212
284
 
213
285
 
214
286
 
215
- ### Example
287
+ ### Examples
216
288
 
217
289
  ```ruby
218
- # load the gem
219
- require 'openapi_client'
290
+ require 'time'
291
+ require 'autosde_openapi_client'
220
292
  # setup authorization
221
- OpenapiClient.configure do |config|
293
+ AutosdeOpenapiClient.configure do |config|
222
294
  # Configure Bearer authorization: bearerAuth
223
295
  config.access_token = 'YOUR_BEARER_TOKEN'
224
296
  end
225
297
 
226
- api_instance = OpenapiClient::ServiceApi.new
227
- service_create = OpenapiClient::ServiceCreate.new # ServiceCreate |
298
+ api_instance = AutosdeOpenapiClient::ServiceApi.new
299
+ service_create = AutosdeOpenapiClient::ServiceCreate.new # ServiceCreate |
228
300
 
229
301
  begin
302
+
230
303
  result = api_instance.services_post(service_create)
231
304
  p result
232
- rescue OpenapiClient::ApiError => e
233
- puts "Exception when calling ServiceApi->services_post: #{e}"
305
+ rescue AutosdeOpenapiClient::ApiError => e
306
+ puts "Error when calling ServiceApi->services_post: #{e}"
234
307
  end
235
308
  ```
236
309
 
237
- ### Parameters
310
+ #### Using the services_post_with_http_info variant
238
311
 
312
+ This returns an Array which contains the response data, status code and headers.
313
+
314
+ > <Array(<Service>, Integer, Hash)> services_post_with_http_info(service_create)
315
+
316
+ ```ruby
317
+ begin
318
+
319
+ data, status_code, headers = api_instance.services_post_with_http_info(service_create)
320
+ p status_code # => 2xx
321
+ p headers # => { ... }
322
+ p data # => <Service>
323
+ rescue AutosdeOpenapiClient::ApiError => e
324
+ puts "Error when calling ServiceApi->services_post_with_http_info: #{e}"
325
+ end
326
+ ```
327
+
328
+ ### Parameters
239
329
 
240
- Name | Type | Description | Notes
241
- ------------- | ------------- | ------------- | -------------
242
- **service_create** | [**ServiceCreate**](ServiceCreate.md)| |
330
+ | Name | Type | Description | Notes |
331
+ | ---- | ---- | ----------- | ----- |
332
+ | **service_create** | [**ServiceCreate**](ServiceCreate.md) | | |
243
333
 
244
334
  ### Return type
245
335