autosde_openapi_client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +207 -0
- data/Rakefile +10 -0
- data/autosde_openapi_client.gemspec +39 -0
- data/docs/AbstractCapability.md +19 -0
- data/docs/AbstractCapabilityApi.md +204 -0
- data/docs/Account.md +21 -0
- data/docs/AccountApi.md +256 -0
- data/docs/AccountPostRequest.md +19 -0
- data/docs/AccountPostResponse.md +23 -0
- data/docs/Address.md +31 -0
- data/docs/AddressApi.md +204 -0
- data/docs/AddressCreate.md +31 -0
- data/docs/AuthResponse.md +17 -0
- data/docs/Authentication.md +19 -0
- data/docs/AuthenticationApi.md +53 -0
- data/docs/AutoSDEProject.md +55 -0
- data/docs/AutoSDEProjectApi.md +204 -0
- data/docs/AutoSDERole.md +19 -0
- data/docs/AutoSDERoleApi.md +204 -0
- data/docs/CapabilityTranslation.md +35 -0
- data/docs/CapabilityTranslationApi.md +204 -0
- data/docs/CapabilityTranslationCreate.md +31 -0
- data/docs/Host.md +29 -0
- data/docs/HostApi.md +204 -0
- data/docs/HostCreate.md +39 -0
- data/docs/HostVolumeConnection.md +23 -0
- data/docs/HostVolumeConnectionApi.md +204 -0
- data/docs/HostVolumeConnectionCreate.md +21 -0
- data/docs/NativeCapability.md +23 -0
- data/docs/NativeCapabilityApi.md +204 -0
- data/docs/Profile.md +25 -0
- data/docs/ProfileApi.md +204 -0
- data/docs/ProvisioningStrategy.md +19 -0
- data/docs/ProvisioningStrategyApi.md +204 -0
- data/docs/Service.md +35 -0
- data/docs/ServiceAbstractCapabilityValue.md +21 -0
- data/docs/ServiceApi.md +256 -0
- data/docs/ServiceCreate.md +33 -0
- data/docs/ServiceResourceAttachment.md +23 -0
- data/docs/ServiceResourceAttachmentApi.md +204 -0
- data/docs/StorageResource.md +33 -0
- data/docs/StorageResourceApi.md +256 -0
- data/docs/StorageResourceCreate.md +31 -0
- data/docs/StorageResourceResponse.md +33 -0
- data/docs/StorageSystem.md +29 -0
- data/docs/StorageSystemApi.md +204 -0
- data/docs/StorageSystemCreate.md +49 -0
- data/docs/SystemType.md +25 -0
- data/docs/SystemTypeApi.md +204 -0
- data/docs/SystemTypeCreate.md +27 -0
- data/docs/Volume.md +31 -0
- data/docs/VolumeApi.md +256 -0
- data/docs/VolumeCreate.md +27 -0
- data/docs/VolumeResponse.md +31 -0
- data/docs/VolumeSafeDelete.md +21 -0
- data/docs/VolumeSafeDeleteApi.md +204 -0
- data/docs/VolumeSafeDeleteCreate.md +17 -0
- data/docs/VolumeUpdate.md +17 -0
- data/git_push.sh +58 -0
- data/lib/autosde_openapi_client.rb +94 -0
- data/lib/autosde_openapi_client/api/abstract_capability_api.rb +250 -0
- data/lib/autosde_openapi_client/api/account_api.rb +316 -0
- data/lib/autosde_openapi_client/api/address_api.rb +250 -0
- data/lib/autosde_openapi_client/api/authentication_api.rb +82 -0
- data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +250 -0
- data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +250 -0
- data/lib/autosde_openapi_client/api/capability_translation_api.rb +250 -0
- data/lib/autosde_openapi_client/api/host_api.rb +250 -0
- data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +250 -0
- data/lib/autosde_openapi_client/api/native_capability_api.rb +250 -0
- data/lib/autosde_openapi_client/api/profile_api.rb +250 -0
- data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +250 -0
- data/lib/autosde_openapi_client/api/service_api.rb +316 -0
- data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +250 -0
- data/lib/autosde_openapi_client/api/storage_resource_api.rb +316 -0
- data/lib/autosde_openapi_client/api/storage_system_api.rb +250 -0
- data/lib/autosde_openapi_client/api/system_type_api.rb +250 -0
- data/lib/autosde_openapi_client/api/volume_api.rb +316 -0
- data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +250 -0
- data/lib/autosde_openapi_client/api_client.rb +388 -0
- data/lib/autosde_openapi_client/api_error.rb +57 -0
- data/lib/autosde_openapi_client/configuration.rb +266 -0
- data/lib/autosde_openapi_client/models/abstract_capability.rb +218 -0
- data/lib/autosde_openapi_client/models/account.rb +228 -0
- data/lib/autosde_openapi_client/models/account_post_request.rb +218 -0
- data/lib/autosde_openapi_client/models/account_post_response.rb +238 -0
- data/lib/autosde_openapi_client/models/address.rb +328 -0
- data/lib/autosde_openapi_client/models/address_create.rb +330 -0
- data/lib/autosde_openapi_client/models/auth_response.rb +208 -0
- data/lib/autosde_openapi_client/models/authentication.rb +218 -0
- data/lib/autosde_openapi_client/models/auto_sde_project.rb +398 -0
- data/lib/autosde_openapi_client/models/auto_sde_role.rb +218 -0
- data/lib/autosde_openapi_client/models/capability_translation.rb +328 -0
- data/lib/autosde_openapi_client/models/capability_translation_create.rb +310 -0
- data/lib/autosde_openapi_client/models/host.rb +321 -0
- data/lib/autosde_openapi_client/models/host_create.rb +382 -0
- data/lib/autosde_openapi_client/models/host_volume_connection.rb +275 -0
- data/lib/autosde_openapi_client/models/host_volume_connection_create.rb +265 -0
- data/lib/autosde_openapi_client/models/native_capability.rb +239 -0
- data/lib/autosde_openapi_client/models/profile.rb +283 -0
- data/lib/autosde_openapi_client/models/provisioning_strategy.rb +257 -0
- data/lib/autosde_openapi_client/models/service.rb +339 -0
- data/lib/autosde_openapi_client/models/service_abstract_capability_value.rb +227 -0
- data/lib/autosde_openapi_client/models/service_create.rb +327 -0
- data/lib/autosde_openapi_client/models/service_resource_attachment.rb +238 -0
- data/lib/autosde_openapi_client/models/storage_resource.rb +342 -0
- data/lib/autosde_openapi_client/models/storage_resource_create.rb +333 -0
- data/lib/autosde_openapi_client/models/storage_resource_response.rb +343 -0
- data/lib/autosde_openapi_client/models/storage_system.rb +333 -0
- data/lib/autosde_openapi_client/models/storage_system_create.rb +448 -0
- data/lib/autosde_openapi_client/models/system_type.rb +321 -0
- data/lib/autosde_openapi_client/models/system_type_create.rb +333 -0
- data/lib/autosde_openapi_client/models/volume.rb +316 -0
- data/lib/autosde_openapi_client/models/volume_create.rb +299 -0
- data/lib/autosde_openapi_client/models/volume_response.rb +318 -0
- data/lib/autosde_openapi_client/models/volume_safe_delete.rb +227 -0
- data/lib/autosde_openapi_client/models/volume_safe_delete_create.rb +207 -0
- data/lib/autosde_openapi_client/models/volume_update.rb +208 -0
- data/lib/autosde_openapi_client/version.rb +15 -0
- data/site_manager_oas.json +3992 -0
- data/spec/api/abstract_capability_api_spec.rb +74 -0
- data/spec/api/account_api_spec.rb +85 -0
- data/spec/api/address_api_spec.rb +74 -0
- data/spec/api/authentication_api_spec.rb +45 -0
- data/spec/api/auto_sde_project_api_spec.rb +74 -0
- data/spec/api/auto_sde_role_api_spec.rb +74 -0
- data/spec/api/capability_translation_api_spec.rb +74 -0
- data/spec/api/host_api_spec.rb +74 -0
- data/spec/api/host_volume_connection_api_spec.rb +74 -0
- data/spec/api/native_capability_api_spec.rb +74 -0
- data/spec/api/profile_api_spec.rb +74 -0
- data/spec/api/provisioning_strategy_api_spec.rb +74 -0
- data/spec/api/service_api_spec.rb +85 -0
- data/spec/api/service_resource_attachment_api_spec.rb +74 -0
- data/spec/api/storage_resource_api_spec.rb +85 -0
- data/spec/api/storage_system_api_spec.rb +74 -0
- data/spec/api/system_type_api_spec.rb +74 -0
- data/spec/api/volume_api_spec.rb +85 -0
- data/spec/api/volume_safe_delete_api_spec.rb +74 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/abstract_capability_spec.rb +47 -0
- data/spec/models/account_post_request_spec.rb +47 -0
- data/spec/models/account_post_response_spec.rb +59 -0
- data/spec/models/account_spec.rb +53 -0
- data/spec/models/address_create_spec.rb +91 -0
- data/spec/models/address_spec.rb +91 -0
- data/spec/models/auth_response_spec.rb +41 -0
- data/spec/models/authentication_spec.rb +47 -0
- data/spec/models/auto_sde_project_spec.rb +155 -0
- data/spec/models/auto_sde_role_spec.rb +47 -0
- data/spec/models/capability_translation_create_spec.rb +83 -0
- data/spec/models/capability_translation_spec.rb +95 -0
- data/spec/models/host_create_spec.rb +119 -0
- data/spec/models/host_spec.rb +85 -0
- data/spec/models/host_volume_connection_create_spec.rb +57 -0
- data/spec/models/host_volume_connection_spec.rb +63 -0
- data/spec/models/native_capability_spec.rb +59 -0
- data/spec/models/profile_spec.rb +69 -0
- data/spec/models/provisioning_strategy_spec.rb +51 -0
- data/spec/models/service_abstract_capability_value_spec.rb +53 -0
- data/spec/models/service_create_spec.rb +93 -0
- data/spec/models/service_resource_attachment_spec.rb +59 -0
- data/spec/models/service_spec.rb +99 -0
- data/spec/models/storage_resource_create_spec.rb +91 -0
- data/spec/models/storage_resource_response_spec.rb +97 -0
- data/spec/models/storage_resource_spec.rb +97 -0
- data/spec/models/storage_system_create_spec.rb +149 -0
- data/spec/models/storage_system_spec.rb +85 -0
- data/spec/models/system_type_create_spec.rb +79 -0
- data/spec/models/system_type_spec.rb +73 -0
- data/spec/models/volume_create_spec.rb +75 -0
- data/spec/models/volume_response_spec.rb +87 -0
- data/spec/models/volume_safe_delete_create_spec.rb +41 -0
- data/spec/models/volume_safe_delete_spec.rb +53 -0
- data/spec/models/volume_spec.rb +87 -0
- data/spec/models/volume_update_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- metadata +340 -0
@@ -0,0 +1,31 @@
|
|
1
|
+
# OpenapiClient::AddressCreate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**chap_name** | **String** | chap_name | [optional]
|
8
|
+
**chap_secret** | **String** | chap_secret | [optional]
|
9
|
+
**component_state** | **String** | component_state | [optional]
|
10
|
+
**iqn** | **String** | | [optional]
|
11
|
+
**name** | **String** | name | [optional] [default to 'null']
|
12
|
+
**port_type** | **String** | port_type | [optional]
|
13
|
+
**secondary_ip** | **String** | secondary_ip | [optional]
|
14
|
+
**wwpn** | **String** | wwpn | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'OpenapiClient'
|
20
|
+
|
21
|
+
instance = OpenapiClient::AddressCreate.new(chap_name: null,
|
22
|
+
chap_secret: null,
|
23
|
+
component_state: null,
|
24
|
+
iqn: null,
|
25
|
+
name: null,
|
26
|
+
port_type: null,
|
27
|
+
secondary_ip: null,
|
28
|
+
wwpn: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# OpenapiClient::AuthResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**token** | **String** | token | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'OpenapiClient'
|
13
|
+
|
14
|
+
instance = OpenapiClient::AuthResponse.new(token: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# OpenapiClient::Authentication
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**password** | **String** | password | [optional]
|
8
|
+
**username** | **String** | username | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'OpenapiClient'
|
14
|
+
|
15
|
+
instance = OpenapiClient::Authentication.new(password: null,
|
16
|
+
username: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# OpenapiClient::AuthenticationApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**token_auth_post**](AuthenticationApi.md#token_auth_post) | **POST** /token-auth |
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## token_auth_post
|
12
|
+
|
13
|
+
> AuthResponse token_auth_post(authentication)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
### Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'autosde_openapi_client'
|
22
|
+
|
23
|
+
api_instance = OpenapiClient::AuthenticationApi.new
|
24
|
+
authentication = OpenapiClient::Authentication.new # Authentication |
|
25
|
+
|
26
|
+
begin
|
27
|
+
result = api_instance.token_auth_post(authentication)
|
28
|
+
p result
|
29
|
+
rescue OpenapiClient::ApiError => e
|
30
|
+
puts "Exception when calling AuthenticationApi->token_auth_post: #{e}"
|
31
|
+
end
|
32
|
+
```
|
33
|
+
|
34
|
+
### Parameters
|
35
|
+
|
36
|
+
|
37
|
+
Name | Type | Description | Notes
|
38
|
+
------------- | ------------- | ------------- | -------------
|
39
|
+
**authentication** | [**Authentication**](Authentication.md)| |
|
40
|
+
|
41
|
+
### Return type
|
42
|
+
|
43
|
+
[**AuthResponse**](AuthResponse.md)
|
44
|
+
|
45
|
+
### Authorization
|
46
|
+
|
47
|
+
No authorization required
|
48
|
+
|
49
|
+
### HTTP request headers
|
50
|
+
|
51
|
+
- **Content-Type**: application/json
|
52
|
+
- **Accept**: */*
|
53
|
+
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# OpenapiClient::AutoSDEProject
|
2
|
+
|
3
|
+
## Properties
|
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]
|
27
|
+
|
28
|
+
## Code Sample
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'OpenapiClient'
|
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)
|
53
|
+
```
|
54
|
+
|
55
|
+
|
@@ -0,0 +1,204 @@
|
|
1
|
+
# OpenapiClient::AutoSDEProjectApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
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
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## autosde_projects_get
|
15
|
+
|
16
|
+
> Array<AutoSDEProject> autosde_projects_get
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'autosde_openapi_client'
|
25
|
+
# setup authorization
|
26
|
+
OpenapiClient.configure do |config|
|
27
|
+
# Configure Bearer authorization: bearerAuth
|
28
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = OpenapiClient::AutoSDEProjectApi.new
|
32
|
+
|
33
|
+
begin
|
34
|
+
result = api_instance.autosde_projects_get
|
35
|
+
p result
|
36
|
+
rescue OpenapiClient::ApiError => e
|
37
|
+
puts "Exception when calling AutoSDEProjectApi->autosde_projects_get: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
### Parameters
|
42
|
+
|
43
|
+
This endpoint does not need any parameter.
|
44
|
+
|
45
|
+
### Return type
|
46
|
+
|
47
|
+
[**Array<AutoSDEProject>**](AutoSDEProject.md)
|
48
|
+
|
49
|
+
### Authorization
|
50
|
+
|
51
|
+
[bearerAuth](../README.md#bearerAuth)
|
52
|
+
|
53
|
+
### HTTP request headers
|
54
|
+
|
55
|
+
- **Content-Type**: Not defined
|
56
|
+
- **Accept**: */*
|
57
|
+
|
58
|
+
|
59
|
+
## autosde_projects_pk_delete
|
60
|
+
|
61
|
+
> Array<AutoSDEProject> autosde_projects_pk_delete(pk)
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
### Example
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
# load the gem
|
69
|
+
require 'autosde_openapi_client'
|
70
|
+
# setup authorization
|
71
|
+
OpenapiClient.configure do |config|
|
72
|
+
# Configure Bearer authorization: bearerAuth
|
73
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
74
|
+
end
|
75
|
+
|
76
|
+
api_instance = OpenapiClient::AutoSDEProjectApi.new
|
77
|
+
pk = 56 # Integer |
|
78
|
+
|
79
|
+
begin
|
80
|
+
result = api_instance.autosde_projects_pk_delete(pk)
|
81
|
+
p result
|
82
|
+
rescue OpenapiClient::ApiError => e
|
83
|
+
puts "Exception when calling AutoSDEProjectApi->autosde_projects_pk_delete: #{e}"
|
84
|
+
end
|
85
|
+
```
|
86
|
+
|
87
|
+
### Parameters
|
88
|
+
|
89
|
+
|
90
|
+
Name | Type | Description | Notes
|
91
|
+
------------- | ------------- | ------------- | -------------
|
92
|
+
**pk** | **Integer**| |
|
93
|
+
|
94
|
+
### Return type
|
95
|
+
|
96
|
+
[**Array<AutoSDEProject>**](AutoSDEProject.md)
|
97
|
+
|
98
|
+
### Authorization
|
99
|
+
|
100
|
+
[bearerAuth](../README.md#bearerAuth)
|
101
|
+
|
102
|
+
### HTTP request headers
|
103
|
+
|
104
|
+
- **Content-Type**: Not defined
|
105
|
+
- **Accept**: */*
|
106
|
+
|
107
|
+
|
108
|
+
## autosde_projects_pk_get
|
109
|
+
|
110
|
+
> Array<AutoSDEProject> autosde_projects_pk_get(pk)
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
### Example
|
115
|
+
|
116
|
+
```ruby
|
117
|
+
# load the gem
|
118
|
+
require 'autosde_openapi_client'
|
119
|
+
# setup authorization
|
120
|
+
OpenapiClient.configure do |config|
|
121
|
+
# Configure Bearer authorization: bearerAuth
|
122
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
123
|
+
end
|
124
|
+
|
125
|
+
api_instance = OpenapiClient::AutoSDEProjectApi.new
|
126
|
+
pk = 56 # Integer |
|
127
|
+
|
128
|
+
begin
|
129
|
+
result = api_instance.autosde_projects_pk_get(pk)
|
130
|
+
p result
|
131
|
+
rescue OpenapiClient::ApiError => e
|
132
|
+
puts "Exception when calling AutoSDEProjectApi->autosde_projects_pk_get: #{e}"
|
133
|
+
end
|
134
|
+
```
|
135
|
+
|
136
|
+
### Parameters
|
137
|
+
|
138
|
+
|
139
|
+
Name | Type | Description | Notes
|
140
|
+
------------- | ------------- | ------------- | -------------
|
141
|
+
**pk** | **Integer**| |
|
142
|
+
|
143
|
+
### Return type
|
144
|
+
|
145
|
+
[**Array<AutoSDEProject>**](AutoSDEProject.md)
|
146
|
+
|
147
|
+
### Authorization
|
148
|
+
|
149
|
+
[bearerAuth](../README.md#bearerAuth)
|
150
|
+
|
151
|
+
### HTTP request headers
|
152
|
+
|
153
|
+
- **Content-Type**: Not defined
|
154
|
+
- **Accept**: */*
|
155
|
+
|
156
|
+
|
157
|
+
## autosde_projects_post
|
158
|
+
|
159
|
+
> Array<AutoSDEProject> autosde_projects_post(auto_sde_project)
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
### Example
|
164
|
+
|
165
|
+
```ruby
|
166
|
+
# load the gem
|
167
|
+
require 'autosde_openapi_client'
|
168
|
+
# setup authorization
|
169
|
+
OpenapiClient.configure do |config|
|
170
|
+
# Configure Bearer authorization: bearerAuth
|
171
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
172
|
+
end
|
173
|
+
|
174
|
+
api_instance = OpenapiClient::AutoSDEProjectApi.new
|
175
|
+
auto_sde_project = OpenapiClient::AutoSDEProject.new # AutoSDEProject |
|
176
|
+
|
177
|
+
begin
|
178
|
+
result = api_instance.autosde_projects_post(auto_sde_project)
|
179
|
+
p result
|
180
|
+
rescue OpenapiClient::ApiError => e
|
181
|
+
puts "Exception when calling AutoSDEProjectApi->autosde_projects_post: #{e}"
|
182
|
+
end
|
183
|
+
```
|
184
|
+
|
185
|
+
### Parameters
|
186
|
+
|
187
|
+
|
188
|
+
Name | Type | Description | Notes
|
189
|
+
------------- | ------------- | ------------- | -------------
|
190
|
+
**auto_sde_project** | [**AutoSDEProject**](AutoSDEProject.md)| |
|
191
|
+
|
192
|
+
### Return type
|
193
|
+
|
194
|
+
[**Array<AutoSDEProject>**](AutoSDEProject.md)
|
195
|
+
|
196
|
+
### Authorization
|
197
|
+
|
198
|
+
[bearerAuth](../README.md#bearerAuth)
|
199
|
+
|
200
|
+
### HTTP request headers
|
201
|
+
|
202
|
+
- **Content-Type**: application/json
|
203
|
+
- **Accept**: */*
|
204
|
+
|
data/docs/AutoSDERole.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# OpenapiClient::AutoSDERole
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | name | [optional]
|
8
|
+
**uuid** | **String** | uuid | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'OpenapiClient'
|
14
|
+
|
15
|
+
instance = OpenapiClient::AutoSDERole.new(name: null,
|
16
|
+
uuid: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,204 @@
|
|
1
|
+
# OpenapiClient::AutoSDERoleApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
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
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## autosde_roles_get
|
15
|
+
|
16
|
+
> Array<AutoSDERole> autosde_roles_get
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'autosde_openapi_client'
|
25
|
+
# setup authorization
|
26
|
+
OpenapiClient.configure do |config|
|
27
|
+
# Configure Bearer authorization: bearerAuth
|
28
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = OpenapiClient::AutoSDERoleApi.new
|
32
|
+
|
33
|
+
begin
|
34
|
+
result = api_instance.autosde_roles_get
|
35
|
+
p result
|
36
|
+
rescue OpenapiClient::ApiError => e
|
37
|
+
puts "Exception when calling AutoSDERoleApi->autosde_roles_get: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
### Parameters
|
42
|
+
|
43
|
+
This endpoint does not need any parameter.
|
44
|
+
|
45
|
+
### Return type
|
46
|
+
|
47
|
+
[**Array<AutoSDERole>**](AutoSDERole.md)
|
48
|
+
|
49
|
+
### Authorization
|
50
|
+
|
51
|
+
[bearerAuth](../README.md#bearerAuth)
|
52
|
+
|
53
|
+
### HTTP request headers
|
54
|
+
|
55
|
+
- **Content-Type**: Not defined
|
56
|
+
- **Accept**: */*
|
57
|
+
|
58
|
+
|
59
|
+
## autosde_roles_pk_delete
|
60
|
+
|
61
|
+
> Array<AutoSDERole> autosde_roles_pk_delete(pk)
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
### Example
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
# load the gem
|
69
|
+
require 'autosde_openapi_client'
|
70
|
+
# setup authorization
|
71
|
+
OpenapiClient.configure do |config|
|
72
|
+
# Configure Bearer authorization: bearerAuth
|
73
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
74
|
+
end
|
75
|
+
|
76
|
+
api_instance = OpenapiClient::AutoSDERoleApi.new
|
77
|
+
pk = 56 # Integer |
|
78
|
+
|
79
|
+
begin
|
80
|
+
result = api_instance.autosde_roles_pk_delete(pk)
|
81
|
+
p result
|
82
|
+
rescue OpenapiClient::ApiError => e
|
83
|
+
puts "Exception when calling AutoSDERoleApi->autosde_roles_pk_delete: #{e}"
|
84
|
+
end
|
85
|
+
```
|
86
|
+
|
87
|
+
### Parameters
|
88
|
+
|
89
|
+
|
90
|
+
Name | Type | Description | Notes
|
91
|
+
------------- | ------------- | ------------- | -------------
|
92
|
+
**pk** | **Integer**| |
|
93
|
+
|
94
|
+
### Return type
|
95
|
+
|
96
|
+
[**Array<AutoSDERole>**](AutoSDERole.md)
|
97
|
+
|
98
|
+
### Authorization
|
99
|
+
|
100
|
+
[bearerAuth](../README.md#bearerAuth)
|
101
|
+
|
102
|
+
### HTTP request headers
|
103
|
+
|
104
|
+
- **Content-Type**: Not defined
|
105
|
+
- **Accept**: */*
|
106
|
+
|
107
|
+
|
108
|
+
## autosde_roles_pk_get
|
109
|
+
|
110
|
+
> Array<AutoSDERole> autosde_roles_pk_get(pk)
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
### Example
|
115
|
+
|
116
|
+
```ruby
|
117
|
+
# load the gem
|
118
|
+
require 'autosde_openapi_client'
|
119
|
+
# setup authorization
|
120
|
+
OpenapiClient.configure do |config|
|
121
|
+
# Configure Bearer authorization: bearerAuth
|
122
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
123
|
+
end
|
124
|
+
|
125
|
+
api_instance = OpenapiClient::AutoSDERoleApi.new
|
126
|
+
pk = 56 # Integer |
|
127
|
+
|
128
|
+
begin
|
129
|
+
result = api_instance.autosde_roles_pk_get(pk)
|
130
|
+
p result
|
131
|
+
rescue OpenapiClient::ApiError => e
|
132
|
+
puts "Exception when calling AutoSDERoleApi->autosde_roles_pk_get: #{e}"
|
133
|
+
end
|
134
|
+
```
|
135
|
+
|
136
|
+
### Parameters
|
137
|
+
|
138
|
+
|
139
|
+
Name | Type | Description | Notes
|
140
|
+
------------- | ------------- | ------------- | -------------
|
141
|
+
**pk** | **Integer**| |
|
142
|
+
|
143
|
+
### Return type
|
144
|
+
|
145
|
+
[**Array<AutoSDERole>**](AutoSDERole.md)
|
146
|
+
|
147
|
+
### Authorization
|
148
|
+
|
149
|
+
[bearerAuth](../README.md#bearerAuth)
|
150
|
+
|
151
|
+
### HTTP request headers
|
152
|
+
|
153
|
+
- **Content-Type**: Not defined
|
154
|
+
- **Accept**: */*
|
155
|
+
|
156
|
+
|
157
|
+
## autosde_roles_post
|
158
|
+
|
159
|
+
> Array<AutoSDERole> autosde_roles_post(auto_sde_role)
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
### Example
|
164
|
+
|
165
|
+
```ruby
|
166
|
+
# load the gem
|
167
|
+
require 'autosde_openapi_client'
|
168
|
+
# setup authorization
|
169
|
+
OpenapiClient.configure do |config|
|
170
|
+
# Configure Bearer authorization: bearerAuth
|
171
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
172
|
+
end
|
173
|
+
|
174
|
+
api_instance = OpenapiClient::AutoSDERoleApi.new
|
175
|
+
auto_sde_role = OpenapiClient::AutoSDERole.new # AutoSDERole |
|
176
|
+
|
177
|
+
begin
|
178
|
+
result = api_instance.autosde_roles_post(auto_sde_role)
|
179
|
+
p result
|
180
|
+
rescue OpenapiClient::ApiError => e
|
181
|
+
puts "Exception when calling AutoSDERoleApi->autosde_roles_post: #{e}"
|
182
|
+
end
|
183
|
+
```
|
184
|
+
|
185
|
+
### Parameters
|
186
|
+
|
187
|
+
|
188
|
+
Name | Type | Description | Notes
|
189
|
+
------------- | ------------- | ------------- | -------------
|
190
|
+
**auto_sde_role** | [**AutoSDERole**](AutoSDERole.md)| |
|
191
|
+
|
192
|
+
### Return type
|
193
|
+
|
194
|
+
[**Array<AutoSDERole>**](AutoSDERole.md)
|
195
|
+
|
196
|
+
### Authorization
|
197
|
+
|
198
|
+
[bearerAuth](../README.md#bearerAuth)
|
199
|
+
|
200
|
+
### HTTP request headers
|
201
|
+
|
202
|
+
- **Content-Type**: application/json
|
203
|
+
- **Accept**: */*
|
204
|
+
|