autosde_openapi_client 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +146 -146
  3. data/autosde_openapi_client.gemspec +2 -2
  4. data/docs/AbstractCapability.md +11 -10
  5. data/docs/AbstractCapabilityApi.md +121 -49
  6. data/docs/Account.md +13 -12
  7. data/docs/AccountApi.md +153 -63
  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 +121 -49
  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 +121 -49
  18. data/docs/AutoSDERole.md +11 -10
  19. data/docs/AutoSDERoleApi.md +121 -49
  20. data/docs/CapabilityTranslation.md +27 -26
  21. data/docs/CapabilityTranslationApi.md +121 -49
  22. data/docs/CapabilityTranslationCreate.md +23 -22
  23. data/docs/Host.md +21 -20
  24. data/docs/HostApi.md +121 -49
  25. data/docs/HostCreate.md +31 -30
  26. data/docs/HostVolumeConnection.md +15 -14
  27. data/docs/HostVolumeConnectionApi.md +121 -49
  28. data/docs/HostVolumeConnectionCreate.md +13 -12
  29. data/docs/Job.md +21 -20
  30. data/docs/JobApi.md +61 -25
  31. data/docs/JobCreate.md +11 -10
  32. data/docs/NativeCapability.md +15 -14
  33. data/docs/NativeCapabilityApi.md +121 -49
  34. data/docs/Profile.md +17 -16
  35. data/docs/ProfileApi.md +121 -49
  36. data/docs/ProvisioningStrategy.md +11 -10
  37. data/docs/ProvisioningStrategyApi.md +121 -49
  38. data/docs/Service.md +27 -26
  39. data/docs/ServiceAbstractCapabilityValue.md +13 -12
  40. data/docs/ServiceApi.md +153 -63
  41. data/docs/ServiceCreate.md +25 -24
  42. data/docs/ServiceResourceAttachment.md +15 -14
  43. data/docs/ServiceResourceAttachmentApi.md +121 -49
  44. data/docs/Snapshot.md +17 -16
  45. data/docs/SnapshotApi.md +121 -49
  46. data/docs/SnapshotCreate.md +15 -14
  47. data/docs/StorageHost.md +21 -20
  48. data/docs/StorageHostApi.md +153 -63
  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 +121 -49
  54. data/docs/StorageHostVolumeMappingCreate.md +15 -14
  55. data/docs/StorageResource.md +25 -24
  56. data/docs/StorageResourceApi.md +153 -63
  57. data/docs/StorageResourceCreate.md +23 -22
  58. data/docs/StorageResourceResponse.md +25 -24
  59. data/docs/StorageSystem.md +21 -20
  60. data/docs/StorageSystemApi.md +121 -49
  61. data/docs/StorageSystemCreate.md +41 -40
  62. data/docs/SystemType.md +17 -16
  63. data/docs/SystemTypeApi.md +121 -49
  64. data/docs/SystemTypeCreate.md +19 -18
  65. data/docs/Volume.md +25 -24
  66. data/docs/VolumeApi.md +153 -63
  67. data/docs/VolumeCreate.md +21 -20
  68. data/docs/VolumeResponse.md +25 -24
  69. data/docs/VolumeSafeDelete.md +13 -12
  70. data/docs/VolumeSafeDeleteApi.md +121 -49
  71. data/docs/VolumeSafeDeleteCreate.md +9 -8
  72. data/docs/VolumeUpdate.md +11 -10
  73. data/lib/autosde_openapi_client.rb +3 -3
  74. data/lib/autosde_openapi_client/api/abstract_capability_api.rb +2 -2
  75. data/lib/autosde_openapi_client/api/account_api.rb +2 -2
  76. data/lib/autosde_openapi_client/api/address_api.rb +2 -2
  77. data/lib/autosde_openapi_client/api/authentication_api.rb +2 -2
  78. data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +2 -2
  79. data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +2 -2
  80. data/lib/autosde_openapi_client/api/capability_translation_api.rb +2 -2
  81. data/lib/autosde_openapi_client/api/host_api.rb +2 -2
  82. data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +2 -2
  83. data/lib/autosde_openapi_client/api/job_api.rb +2 -2
  84. data/lib/autosde_openapi_client/api/native_capability_api.rb +2 -2
  85. data/lib/autosde_openapi_client/api/profile_api.rb +2 -2
  86. data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +2 -2
  87. data/lib/autosde_openapi_client/api/service_api.rb +2 -2
  88. data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +2 -2
  89. data/lib/autosde_openapi_client/api/snapshot_api.rb +2 -2
  90. data/lib/autosde_openapi_client/api/storage_host_api.rb +2 -2
  91. data/lib/autosde_openapi_client/api/storage_host_volume_mapping_api.rb +2 -2
  92. data/lib/autosde_openapi_client/api/storage_resource_api.rb +2 -2
  93. data/lib/autosde_openapi_client/api/storage_system_api.rb +2 -2
  94. data/lib/autosde_openapi_client/api/system_type_api.rb +2 -2
  95. data/lib/autosde_openapi_client/api/volume_api.rb +2 -2
  96. data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +2 -2
  97. data/lib/autosde_openapi_client/api_client.rb +6 -5
  98. data/lib/autosde_openapi_client/api_error.rb +2 -2
  99. data/lib/autosde_openapi_client/configuration.rb +7 -5
  100. data/lib/autosde_openapi_client/models/abstract_capability.rb +14 -6
  101. data/lib/autosde_openapi_client/models/account.rb +14 -6
  102. data/lib/autosde_openapi_client/models/account_post_request.rb +14 -6
  103. data/lib/autosde_openapi_client/models/account_post_response.rb +14 -6
  104. data/lib/autosde_openapi_client/models/address.rb +14 -6
  105. data/lib/autosde_openapi_client/models/address_create.rb +14 -6
  106. data/lib/autosde_openapi_client/models/auth_response.rb +14 -6
  107. data/lib/autosde_openapi_client/models/authentication.rb +14 -6
  108. data/lib/autosde_openapi_client/models/auto_sde_project.rb +14 -6
  109. data/lib/autosde_openapi_client/models/auto_sde_role.rb +14 -6
  110. data/lib/autosde_openapi_client/models/capability_translation.rb +14 -6
  111. data/lib/autosde_openapi_client/models/capability_translation_create.rb +14 -6
  112. data/lib/autosde_openapi_client/models/host.rb +14 -6
  113. data/lib/autosde_openapi_client/models/host_create.rb +14 -6
  114. data/lib/autosde_openapi_client/models/host_volume_connection.rb +14 -6
  115. data/lib/autosde_openapi_client/models/host_volume_connection_create.rb +14 -6
  116. data/lib/autosde_openapi_client/models/job.rb +14 -6
  117. data/lib/autosde_openapi_client/models/job_create.rb +14 -6
  118. data/lib/autosde_openapi_client/models/native_capability.rb +14 -6
  119. data/lib/autosde_openapi_client/models/profile.rb +14 -6
  120. data/lib/autosde_openapi_client/models/provisioning_strategy.rb +14 -6
  121. data/lib/autosde_openapi_client/models/service.rb +14 -6
  122. data/lib/autosde_openapi_client/models/service_abstract_capability_value.rb +14 -6
  123. data/lib/autosde_openapi_client/models/service_create.rb +14 -6
  124. data/lib/autosde_openapi_client/models/service_resource_attachment.rb +14 -6
  125. data/lib/autosde_openapi_client/models/snapshot.rb +14 -6
  126. data/lib/autosde_openapi_client/models/snapshot_create.rb +14 -6
  127. data/lib/autosde_openapi_client/models/storage_host.rb +14 -6
  128. data/lib/autosde_openapi_client/models/storage_host_create.rb +14 -6
  129. data/lib/autosde_openapi_client/models/storage_host_response.rb +14 -6
  130. data/lib/autosde_openapi_client/models/storage_host_update.rb +14 -6
  131. data/lib/autosde_openapi_client/models/storage_host_volume_mapping.rb +14 -6
  132. data/lib/autosde_openapi_client/models/storage_host_volume_mapping_create.rb +14 -6
  133. data/lib/autosde_openapi_client/models/storage_resource.rb +14 -6
  134. data/lib/autosde_openapi_client/models/storage_resource_create.rb +14 -6
  135. data/lib/autosde_openapi_client/models/storage_resource_response.rb +14 -6
  136. data/lib/autosde_openapi_client/models/storage_system.rb +14 -6
  137. data/lib/autosde_openapi_client/models/storage_system_create.rb +14 -6
  138. data/lib/autosde_openapi_client/models/system_type.rb +14 -6
  139. data/lib/autosde_openapi_client/models/system_type_create.rb +14 -6
  140. data/lib/autosde_openapi_client/models/volume.rb +14 -6
  141. data/lib/autosde_openapi_client/models/volume_create.rb +14 -6
  142. data/lib/autosde_openapi_client/models/volume_response.rb +14 -6
  143. data/lib/autosde_openapi_client/models/volume_safe_delete.rb +14 -6
  144. data/lib/autosde_openapi_client/models/volume_safe_delete_create.rb +14 -6
  145. data/lib/autosde_openapi_client/models/volume_update.rb +14 -6
  146. data/lib/autosde_openapi_client/version.rb +4 -4
  147. data/spec/api/abstract_capability_api_spec.rb +1 -1
  148. data/spec/api/account_api_spec.rb +1 -1
  149. data/spec/api/address_api_spec.rb +1 -1
  150. data/spec/api/authentication_api_spec.rb +1 -1
  151. data/spec/api/auto_sde_project_api_spec.rb +1 -1
  152. data/spec/api/auto_sde_role_api_spec.rb +1 -1
  153. data/spec/api/capability_translation_api_spec.rb +1 -1
  154. data/spec/api/host_api_spec.rb +1 -1
  155. data/spec/api/host_volume_connection_api_spec.rb +1 -1
  156. data/spec/api/job_api_spec.rb +1 -1
  157. data/spec/api/native_capability_api_spec.rb +1 -1
  158. data/spec/api/profile_api_spec.rb +1 -1
  159. data/spec/api/provisioning_strategy_api_spec.rb +1 -1
  160. data/spec/api/service_api_spec.rb +1 -1
  161. data/spec/api/service_resource_attachment_api_spec.rb +1 -1
  162. data/spec/api/snapshot_api_spec.rb +1 -1
  163. data/spec/api/storage_host_api_spec.rb +1 -1
  164. data/spec/api/storage_host_volume_mapping_api_spec.rb +1 -1
  165. data/spec/api/storage_resource_api_spec.rb +1 -1
  166. data/spec/api/storage_system_api_spec.rb +1 -1
  167. data/spec/api/system_type_api_spec.rb +1 -1
  168. data/spec/api/volume_api_spec.rb +1 -1
  169. data/spec/api/volume_safe_delete_api_spec.rb +1 -1
  170. data/spec/api_client_spec.rb +30 -30
  171. data/spec/configuration_spec.rb +4 -4
  172. data/spec/models/abstract_capability_spec.rb +4 -11
  173. data/spec/models/account_post_request_spec.rb +4 -11
  174. data/spec/models/account_post_response_spec.rb +4 -11
  175. data/spec/models/account_spec.rb +4 -11
  176. data/spec/models/address_create_spec.rb +6 -13
  177. data/spec/models/address_spec.rb +6 -13
  178. data/spec/models/auth_response_spec.rb +4 -11
  179. data/spec/models/authentication_spec.rb +4 -11
  180. data/spec/models/auto_sde_project_spec.rb +4 -11
  181. data/spec/models/auto_sde_role_spec.rb +4 -11
  182. data/spec/models/capability_translation_create_spec.rb +4 -11
  183. data/spec/models/capability_translation_spec.rb +4 -11
  184. data/spec/models/host_create_spec.rb +7 -14
  185. data/spec/models/host_spec.rb +6 -13
  186. data/spec/models/host_volume_connection_create_spec.rb +5 -12
  187. data/spec/models/host_volume_connection_spec.rb +5 -12
  188. data/spec/models/job_create_spec.rb +4 -11
  189. data/spec/models/job_spec.rb +4 -11
  190. data/spec/models/native_capability_spec.rb +4 -11
  191. data/spec/models/profile_spec.rb +5 -12
  192. data/spec/models/provisioning_strategy_spec.rb +5 -12
  193. data/spec/models/service_abstract_capability_value_spec.rb +4 -11
  194. data/spec/models/service_create_spec.rb +5 -12
  195. data/spec/models/service_resource_attachment_spec.rb +4 -11
  196. data/spec/models/service_spec.rb +5 -12
  197. data/spec/models/snapshot_create_spec.rb +5 -12
  198. data/spec/models/snapshot_spec.rb +5 -12
  199. data/spec/models/storage_host_create_spec.rb +6 -13
  200. data/spec/models/storage_host_response_spec.rb +5 -12
  201. data/spec/models/storage_host_spec.rb +5 -12
  202. data/spec/models/storage_host_update_spec.rb +6 -13
  203. data/spec/models/storage_host_volume_mapping_create_spec.rb +5 -12
  204. data/spec/models/storage_host_volume_mapping_spec.rb +5 -12
  205. data/spec/models/storage_resource_create_spec.rb +6 -13
  206. data/spec/models/storage_resource_response_spec.rb +6 -13
  207. data/spec/models/storage_resource_spec.rb +6 -13
  208. data/spec/models/storage_system_create_spec.rb +7 -14
  209. data/spec/models/storage_system_spec.rb +6 -13
  210. data/spec/models/system_type_create_spec.rb +6 -13
  211. data/spec/models/system_type_spec.rb +6 -13
  212. data/spec/models/volume_create_spec.rb +5 -12
  213. data/spec/models/volume_response_spec.rb +5 -12
  214. data/spec/models/volume_safe_delete_create_spec.rb +4 -11
  215. data/spec/models/volume_safe_delete_spec.rb +4 -11
  216. data/spec/models/volume_spec.rb +5 -12
  217. data/spec/models/volume_update_spec.rb +4 -11
  218. data/spec/spec_helper.rb +1 -1
  219. metadata +55 -55
@@ -1,55 +1,56 @@
1
- # OpenapiClient::AutoSDEProject
1
+ # AutosdeOpenapiClient::AutoSDEProject
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **cores** | **Integer** | The number of instance cores that are allowed per project. doc-todo: what is a CORE? | [optional]
8
- **description** | **String** | Project description. | [optional]
9
- **fixed_ips** | **Integer** | The number of fixed IP addresses that are allowed per project. This number must be equal to or greater than the number of allowed instances. | [optional]
10
- **floating_ips** | **Integer** | The number of floating IP addresses that are allowed per project. | [optional]
11
- **groups** | **Integer** | The maximum number of groups. | [optional]
12
- **injected_file_content_bytes** | **Float** | The number of bytes of content that are allowed for each injected file. | [optional]
13
- **injected_file_path_bytes** | **Integer** | The number of bytes that are allowed for each injected file path. | [optional]
14
- **instances** | **Integer** | The number of instances that are allowed per project. doc-todo: what is an instance? does it mean how many projects can exist at once? | [optional]
15
- **key_pairs** | **Integer** | The number of key pairs that are allowed per user. doc-todo: what is a key pair? | [optional]
16
- **max_total_backup_gigabytes** | **Float** | Maximum capacity (GB) allocated to backups. | [optional]
17
- **max_total_backups** | **Integer** | Maximum number of backups. A backup is a full copy of a volume stored in an external service. The service can be configured. The only supported service is Object Storage. doc-todo:WHAT IS OBJECT STORAGE? A backup can subsequently be restored from the external service to either the same volume that the backup was originally taken from or to a new volume. Backup and restore operations can only be carried out on volumes that are in an unattached and available state. | [optional]
18
- **max_total_snapshots** | **Integer** | Maximum number of snapshots allowed per project. | [optional]
19
- **max_total_volume_gigabytes** | **Float** | Maximum number of gigabytes allocated to volumes per project. | [optional]
20
- **max_total_volumes** | **Integer** | Maximum number of provisioned volumes in the project. | [optional]
21
- **metadata_items** | **Integer** | The number of metadata items that are allowed for each instance. | [optional]
22
- **name** | **String** | Project name. | [optional]
23
- **per_volume_gigabytes** | **Float** | The size (GB) of volumes in request that are allowed per volume. | [optional]
24
- **ram** | **Float** | The amount of instance RAM (MB) that are allowed per project. doc-todo: RAM per project, per specific project....? | [optional]
25
- **security_groups** | **Integer** | The number of security groups that are allowed per project. | [optional]
26
- **uuid** | **String** | UUID | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cores** | **Integer** | The number of instance cores that are allowed per project. doc-todo: what is a CORE? | [optional] |
8
+ | **description** | **String** | Project description. | [optional] |
9
+ | **fixed_ips** | **Integer** | The number of fixed IP addresses that are allowed per project. This number must be equal to or greater than the number of allowed instances. | [optional] |
10
+ | **floating_ips** | **Integer** | The number of floating IP addresses that are allowed per project. | [optional] |
11
+ | **groups** | **Integer** | The maximum number of groups. | [optional] |
12
+ | **injected_file_content_bytes** | **Float** | The number of bytes of content that are allowed for each injected file. | [optional] |
13
+ | **injected_file_path_bytes** | **Integer** | The number of bytes that are allowed for each injected file path. | [optional] |
14
+ | **instances** | **Integer** | The number of instances that are allowed per project. doc-todo: what is an instance? does it mean how many projects can exist at once? | [optional] |
15
+ | **key_pairs** | **Integer** | The number of key pairs that are allowed per user. doc-todo: what is a key pair? | [optional] |
16
+ | **max_total_backup_gigabytes** | **Float** | Maximum capacity (GB) allocated to backups. | [optional] |
17
+ | **max_total_backups** | **Integer** | Maximum number of backups. A backup is a full copy of a volume stored in an external service. The service can be configured. The only supported service is Object Storage. doc-todo:WHAT IS OBJECT STORAGE? A backup can subsequently be restored from the external service to either the same volume that the backup was originally taken from or to a new volume. Backup and restore operations can only be carried out on volumes that are in an unattached and available state. | [optional] |
18
+ | **max_total_snapshots** | **Integer** | Maximum number of snapshots allowed per project. | [optional] |
19
+ | **max_total_volume_gigabytes** | **Float** | Maximum number of gigabytes allocated to volumes per project. | [optional] |
20
+ | **max_total_volumes** | **Integer** | Maximum number of provisioned volumes in the project. | [optional] |
21
+ | **metadata_items** | **Integer** | The number of metadata items that are allowed for each instance. | [optional] |
22
+ | **name** | **String** | Project name. | [optional] |
23
+ | **per_volume_gigabytes** | **Float** | The size (GB) of volumes in request that are allowed per volume. | [optional] |
24
+ | **ram** | **Float** | The amount of instance RAM (MB) that are allowed per project. doc-todo: RAM per project, per specific project....? | [optional] |
25
+ | **security_groups** | **Integer** | The number of security groups that are allowed per project. | [optional] |
26
+ | **uuid** | **String** | UUID | [optional] |
27
27
 
28
- ## Code Sample
28
+ ## Example
29
29
 
30
30
  ```ruby
31
- require 'OpenapiClient'
31
+ require 'autosde_openapi_client'
32
32
 
33
- instance = OpenapiClient::AutoSDEProject.new(cores: null,
34
- description: null,
35
- fixed_ips: null,
36
- floating_ips: null,
37
- groups: null,
38
- injected_file_content_bytes: null,
39
- injected_file_path_bytes: null,
40
- instances: null,
41
- key_pairs: null,
42
- max_total_backup_gigabytes: null,
43
- max_total_backups: null,
44
- max_total_snapshots: null,
45
- max_total_volume_gigabytes: null,
46
- max_total_volumes: null,
47
- metadata_items: null,
48
- name: null,
49
- per_volume_gigabytes: null,
50
- ram: null,
51
- security_groups: null,
52
- uuid: null)
33
+ instance = AutosdeOpenapiClient::AutoSDEProject.new(
34
+ cores: null,
35
+ description: null,
36
+ fixed_ips: null,
37
+ floating_ips: null,
38
+ groups: null,
39
+ injected_file_content_bytes: null,
40
+ injected_file_path_bytes: null,
41
+ instances: null,
42
+ key_pairs: null,
43
+ max_total_backup_gigabytes: null,
44
+ max_total_backups: null,
45
+ max_total_snapshots: null,
46
+ max_total_volume_gigabytes: null,
47
+ max_total_volumes: null,
48
+ metadata_items: null,
49
+ name: null,
50
+ per_volume_gigabytes: null,
51
+ ram: null,
52
+ security_groups: null,
53
+ uuid: null
54
+ )
53
55
  ```
54
56
 
55
-
@@ -1,40 +1,58 @@
1
- # OpenapiClient::AutoSDEProjectApi
1
+ # AutosdeOpenapiClient::AutoSDEProjectApi
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
- [**autosde_projects_get**](AutoSDEProjectApi.md#autosde_projects_get) | **GET** /autosde-projects/ |
8
- [**autosde_projects_pk_delete**](AutoSDEProjectApi.md#autosde_projects_pk_delete) | **DELETE** /autosde-projects/{pk}/ |
9
- [**autosde_projects_pk_get**](AutoSDEProjectApi.md#autosde_projects_pk_get) | **GET** /autosde-projects/{pk}/ |
10
- [**autosde_projects_post**](AutoSDEProjectApi.md#autosde_projects_post) | **POST** /autosde-projects/ |
11
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**autosde_projects_get**](AutoSDEProjectApi.md#autosde_projects_get) | **GET** /autosde-projects/ | |
8
+ | [**autosde_projects_pk_delete**](AutoSDEProjectApi.md#autosde_projects_pk_delete) | **DELETE** /autosde-projects/{pk}/ | |
9
+ | [**autosde_projects_pk_get**](AutoSDEProjectApi.md#autosde_projects_pk_get) | **GET** /autosde-projects/{pk}/ | |
10
+ | [**autosde_projects_post**](AutoSDEProjectApi.md#autosde_projects_post) | **POST** /autosde-projects/ | |
12
11
 
13
12
 
14
13
  ## autosde_projects_get
15
14
 
16
- > Array<AutoSDEProject> autosde_projects_get
15
+ > <Array<AutoSDEProject>> autosde_projects_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::AutoSDEProjectApi.new
30
+ api_instance = AutosdeOpenapiClient::AutoSDEProjectApi.new
32
31
 
33
32
  begin
33
+
34
34
  result = api_instance.autosde_projects_get
35
35
  p result
36
- rescue OpenapiClient::ApiError => e
37
- puts "Exception when calling AutoSDEProjectApi->autosde_projects_get: #{e}"
36
+ rescue AutosdeOpenapiClient::ApiError => e
37
+ puts "Error when calling AutoSDEProjectApi->autosde_projects_get: #{e}"
38
+ end
39
+ ```
40
+
41
+ #### Using the autosde_projects_get_with_http_info variant
42
+
43
+ This returns an Array which contains the response data, status code and headers.
44
+
45
+ > <Array(<Array<AutoSDEProject>>, Integer, Hash)> autosde_projects_get_with_http_info
46
+
47
+ ```ruby
48
+ begin
49
+
50
+ data, status_code, headers = api_instance.autosde_projects_get_with_http_info
51
+ p status_code # => 2xx
52
+ p headers # => { ... }
53
+ p data # => <Array<AutoSDEProject>>
54
+ rescue AutosdeOpenapiClient::ApiError => e
55
+ puts "Error when calling AutoSDEProjectApi->autosde_projects_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
  ## autosde_projects_pk_delete
60
78
 
61
- > Array&lt;AutoSDEProject&gt; autosde_projects_pk_delete(pk)
79
+ > <Array<AutoSDEProject>> autosde_projects_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::AutoSDEProjectApi.new
94
+ api_instance = AutosdeOpenapiClient::AutoSDEProjectApi.new
77
95
  pk = 56 # Integer |
78
96
 
79
97
  begin
98
+
80
99
  result = api_instance.autosde_projects_pk_delete(pk)
81
100
  p result
82
- rescue OpenapiClient::ApiError => e
83
- puts "Exception when calling AutoSDEProjectApi->autosde_projects_pk_delete: #{e}"
101
+ rescue AutosdeOpenapiClient::ApiError => e
102
+ puts "Error when calling AutoSDEProjectApi->autosde_projects_pk_delete: #{e}"
84
103
  end
85
104
  ```
86
105
 
87
- ### Parameters
106
+ #### Using the autosde_projects_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<AutoSDEProject>>, Integer, Hash)> autosde_projects_pk_delete_with_http_info(pk)
88
111
 
112
+ ```ruby
113
+ begin
114
+
115
+ data, status_code, headers = api_instance.autosde_projects_pk_delete_with_http_info(pk)
116
+ p status_code # => 2xx
117
+ p headers # => { ... }
118
+ p data # => <Array<AutoSDEProject>>
119
+ rescue AutosdeOpenapiClient::ApiError => e
120
+ puts "Error when calling AutoSDEProjectApi->autosde_projects_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
  ## autosde_projects_pk_get
109
145
 
110
- > Array&lt;AutoSDEProject&gt; autosde_projects_pk_get(pk)
146
+ > <Array<AutoSDEProject>> autosde_projects_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::AutoSDEProjectApi.new
161
+ api_instance = AutosdeOpenapiClient::AutoSDEProjectApi.new
126
162
  pk = 56 # Integer |
127
163
 
128
164
  begin
165
+
129
166
  result = api_instance.autosde_projects_pk_get(pk)
130
167
  p result
131
- rescue OpenapiClient::ApiError => e
132
- puts "Exception when calling AutoSDEProjectApi->autosde_projects_pk_get: #{e}"
168
+ rescue AutosdeOpenapiClient::ApiError => e
169
+ puts "Error when calling AutoSDEProjectApi->autosde_projects_pk_get: #{e}"
133
170
  end
134
171
  ```
135
172
 
136
- ### Parameters
173
+ #### Using the autosde_projects_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<AutoSDEProject>>, Integer, Hash)> autosde_projects_pk_get_with_http_info(pk)
137
178
 
179
+ ```ruby
180
+ begin
181
+
182
+ data, status_code, headers = api_instance.autosde_projects_pk_get_with_http_info(pk)
183
+ p status_code # => 2xx
184
+ p headers # => { ... }
185
+ p data # => <Array<AutoSDEProject>>
186
+ rescue AutosdeOpenapiClient::ApiError => e
187
+ puts "Error when calling AutoSDEProjectApi->autosde_projects_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
  ## autosde_projects_post
158
212
 
159
- > AutoSDEProject autosde_projects_post(auto_sde_project)
213
+ > <AutoSDEProject> autosde_projects_post(auto_sde_project)
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::AutoSDEProjectApi.new
175
- auto_sde_project = OpenapiClient::AutoSDEProject.new # AutoSDEProject |
228
+ api_instance = AutosdeOpenapiClient::AutoSDEProjectApi.new
229
+ auto_sde_project = AutosdeOpenapiClient::AutoSDEProject.new # AutoSDEProject |
176
230
 
177
231
  begin
232
+
178
233
  result = api_instance.autosde_projects_post(auto_sde_project)
179
234
  p result
180
- rescue OpenapiClient::ApiError => e
181
- puts "Exception when calling AutoSDEProjectApi->autosde_projects_post: #{e}"
235
+ rescue AutosdeOpenapiClient::ApiError => e
236
+ puts "Error when calling AutoSDEProjectApi->autosde_projects_post: #{e}"
182
237
  end
183
238
  ```
184
239
 
185
- ### Parameters
240
+ #### Using the autosde_projects_post_with_http_info variant
241
+
242
+ This returns an Array which contains the response data, status code and headers.
243
+
244
+ > <Array(<AutoSDEProject>, Integer, Hash)> autosde_projects_post_with_http_info(auto_sde_project)
186
245
 
246
+ ```ruby
247
+ begin
248
+
249
+ data, status_code, headers = api_instance.autosde_projects_post_with_http_info(auto_sde_project)
250
+ p status_code # => 2xx
251
+ p headers # => { ... }
252
+ p data # => <AutoSDEProject>
253
+ rescue AutosdeOpenapiClient::ApiError => e
254
+ puts "Error when calling AutoSDEProjectApi->autosde_projects_post_with_http_info: #{e}"
255
+ end
256
+ ```
257
+
258
+ ### Parameters
187
259
 
188
- Name | Type | Description | Notes
189
- ------------- | ------------- | ------------- | -------------
190
- **auto_sde_project** | [**AutoSDEProject**](AutoSDEProject.md)| |
260
+ | Name | Type | Description | Notes |
261
+ | ---- | ---- | ----------- | ----- |
262
+ | **auto_sde_project** | [**AutoSDEProject**](AutoSDEProject.md) | | |
191
263
 
192
264
  ### Return type
193
265
 
@@ -1,19 +1,20 @@
1
- # OpenapiClient::AutoSDERole
1
+ # AutosdeOpenapiClient::AutoSDERole
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::AutoSDERole.new(name: null,
16
- uuid: null)
15
+ instance = AutosdeOpenapiClient::AutoSDERole.new(
16
+ name: null,
17
+ uuid: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -1,40 +1,58 @@
1
- # OpenapiClient::AutoSDERoleApi
1
+ # AutosdeOpenapiClient::AutoSDERoleApi
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
- [**autosde_roles_get**](AutoSDERoleApi.md#autosde_roles_get) | **GET** /autosde-roles/ |
8
- [**autosde_roles_pk_delete**](AutoSDERoleApi.md#autosde_roles_pk_delete) | **DELETE** /autosde-roles/{pk}/ |
9
- [**autosde_roles_pk_get**](AutoSDERoleApi.md#autosde_roles_pk_get) | **GET** /autosde-roles/{pk}/ |
10
- [**autosde_roles_post**](AutoSDERoleApi.md#autosde_roles_post) | **POST** /autosde-roles/ |
11
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**autosde_roles_get**](AutoSDERoleApi.md#autosde_roles_get) | **GET** /autosde-roles/ | |
8
+ | [**autosde_roles_pk_delete**](AutoSDERoleApi.md#autosde_roles_pk_delete) | **DELETE** /autosde-roles/{pk}/ | |
9
+ | [**autosde_roles_pk_get**](AutoSDERoleApi.md#autosde_roles_pk_get) | **GET** /autosde-roles/{pk}/ | |
10
+ | [**autosde_roles_post**](AutoSDERoleApi.md#autosde_roles_post) | **POST** /autosde-roles/ | |
12
11
 
13
12
 
14
13
  ## autosde_roles_get
15
14
 
16
- > Array&lt;AutoSDERole&gt; autosde_roles_get
15
+ > <Array<AutoSDERole>> autosde_roles_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::AutoSDERoleApi.new
30
+ api_instance = AutosdeOpenapiClient::AutoSDERoleApi.new
32
31
 
33
32
  begin
33
+
34
34
  result = api_instance.autosde_roles_get
35
35
  p result
36
- rescue OpenapiClient::ApiError => e
37
- puts "Exception when calling AutoSDERoleApi->autosde_roles_get: #{e}"
36
+ rescue AutosdeOpenapiClient::ApiError => e
37
+ puts "Error when calling AutoSDERoleApi->autosde_roles_get: #{e}"
38
+ end
39
+ ```
40
+
41
+ #### Using the autosde_roles_get_with_http_info variant
42
+
43
+ This returns an Array which contains the response data, status code and headers.
44
+
45
+ > <Array(<Array<AutoSDERole>>, Integer, Hash)> autosde_roles_get_with_http_info
46
+
47
+ ```ruby
48
+ begin
49
+
50
+ data, status_code, headers = api_instance.autosde_roles_get_with_http_info
51
+ p status_code # => 2xx
52
+ p headers # => { ... }
53
+ p data # => <Array<AutoSDERole>>
54
+ rescue AutosdeOpenapiClient::ApiError => e
55
+ puts "Error when calling AutoSDERoleApi->autosde_roles_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
  ## autosde_roles_pk_delete
60
78
 
61
- > Array&lt;AutoSDERole&gt; autosde_roles_pk_delete(pk)
79
+ > <Array<AutoSDERole>> autosde_roles_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::AutoSDERoleApi.new
94
+ api_instance = AutosdeOpenapiClient::AutoSDERoleApi.new
77
95
  pk = 56 # Integer |
78
96
 
79
97
  begin
98
+
80
99
  result = api_instance.autosde_roles_pk_delete(pk)
81
100
  p result
82
- rescue OpenapiClient::ApiError => e
83
- puts "Exception when calling AutoSDERoleApi->autosde_roles_pk_delete: #{e}"
101
+ rescue AutosdeOpenapiClient::ApiError => e
102
+ puts "Error when calling AutoSDERoleApi->autosde_roles_pk_delete: #{e}"
84
103
  end
85
104
  ```
86
105
 
87
- ### Parameters
106
+ #### Using the autosde_roles_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<AutoSDERole>>, Integer, Hash)> autosde_roles_pk_delete_with_http_info(pk)
88
111
 
112
+ ```ruby
113
+ begin
114
+
115
+ data, status_code, headers = api_instance.autosde_roles_pk_delete_with_http_info(pk)
116
+ p status_code # => 2xx
117
+ p headers # => { ... }
118
+ p data # => <Array<AutoSDERole>>
119
+ rescue AutosdeOpenapiClient::ApiError => e
120
+ puts "Error when calling AutoSDERoleApi->autosde_roles_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
  ## autosde_roles_pk_get
109
145
 
110
- > Array&lt;AutoSDERole&gt; autosde_roles_pk_get(pk)
146
+ > <Array<AutoSDERole>> autosde_roles_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::AutoSDERoleApi.new
161
+ api_instance = AutosdeOpenapiClient::AutoSDERoleApi.new
126
162
  pk = 56 # Integer |
127
163
 
128
164
  begin
165
+
129
166
  result = api_instance.autosde_roles_pk_get(pk)
130
167
  p result
131
- rescue OpenapiClient::ApiError => e
132
- puts "Exception when calling AutoSDERoleApi->autosde_roles_pk_get: #{e}"
168
+ rescue AutosdeOpenapiClient::ApiError => e
169
+ puts "Error when calling AutoSDERoleApi->autosde_roles_pk_get: #{e}"
133
170
  end
134
171
  ```
135
172
 
136
- ### Parameters
173
+ #### Using the autosde_roles_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<AutoSDERole>>, Integer, Hash)> autosde_roles_pk_get_with_http_info(pk)
137
178
 
179
+ ```ruby
180
+ begin
181
+
182
+ data, status_code, headers = api_instance.autosde_roles_pk_get_with_http_info(pk)
183
+ p status_code # => 2xx
184
+ p headers # => { ... }
185
+ p data # => <Array<AutoSDERole>>
186
+ rescue AutosdeOpenapiClient::ApiError => e
187
+ puts "Error when calling AutoSDERoleApi->autosde_roles_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
  ## autosde_roles_post
158
212
 
159
- > AutoSDERole autosde_roles_post(auto_sde_role)
213
+ > <AutoSDERole> autosde_roles_post(auto_sde_role)
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::AutoSDERoleApi.new
175
- auto_sde_role = OpenapiClient::AutoSDERole.new # AutoSDERole |
228
+ api_instance = AutosdeOpenapiClient::AutoSDERoleApi.new
229
+ auto_sde_role = AutosdeOpenapiClient::AutoSDERole.new # AutoSDERole |
176
230
 
177
231
  begin
232
+
178
233
  result = api_instance.autosde_roles_post(auto_sde_role)
179
234
  p result
180
- rescue OpenapiClient::ApiError => e
181
- puts "Exception when calling AutoSDERoleApi->autosde_roles_post: #{e}"
235
+ rescue AutosdeOpenapiClient::ApiError => e
236
+ puts "Error when calling AutoSDERoleApi->autosde_roles_post: #{e}"
182
237
  end
183
238
  ```
184
239
 
185
- ### Parameters
240
+ #### Using the autosde_roles_post_with_http_info variant
241
+
242
+ This returns an Array which contains the response data, status code and headers.
243
+
244
+ > <Array(<AutoSDERole>, Integer, Hash)> autosde_roles_post_with_http_info(auto_sde_role)
186
245
 
246
+ ```ruby
247
+ begin
248
+
249
+ data, status_code, headers = api_instance.autosde_roles_post_with_http_info(auto_sde_role)
250
+ p status_code # => 2xx
251
+ p headers # => { ... }
252
+ p data # => <AutoSDERole>
253
+ rescue AutosdeOpenapiClient::ApiError => e
254
+ puts "Error when calling AutoSDERoleApi->autosde_roles_post_with_http_info: #{e}"
255
+ end
256
+ ```
257
+
258
+ ### Parameters
187
259
 
188
- Name | Type | Description | Notes
189
- ------------- | ------------- | ------------- | -------------
190
- **auto_sde_role** | [**AutoSDERole**](AutoSDERole.md)| |
260
+ | Name | Type | Description | Notes |
261
+ | ---- | ---- | ----------- | ----- |
262
+ | **auto_sde_role** | [**AutoSDERole**](AutoSDERole.md) | | |
191
263
 
192
264
  ### Return type
193
265