cloudmersive-configuration-api-client 1.7.2 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +3 -73
- data/Gemfile +0 -7
- data/README.md +0 -121
- data/Rakefile +0 -8
- data/cloudmersive-configuration-api-client.gemspec +0 -45
- data/docs/CreateSettingRequest.md +0 -14
- data/docs/CreateSettingResponse.md +0 -11
- data/docs/HttpFormDataParameter.md +0 -11
- data/docs/HttpGetParameter.md +0 -10
- data/docs/HttpOrchestrationHeader.md +0 -10
- data/docs/HttpOrchestrationRequest.md +0 -8
- data/docs/HttpOrchestrationResponse.md +0 -11
- data/docs/HttpOrchestrationTask.md +0 -16
- data/docs/HttpRawBinaryParameter.md +0 -9
- data/docs/HttpRawTextParameter.md +0 -9
- data/docs/HttpWwwFormUrlEncodedParameter.md +0 -10
- data/docs/ListSettingsRequest.md +0 -9
- data/docs/ListSettingsResponse.md +0 -8
- data/docs/OrchestratorApi.md +0 -61
- data/docs/SettingValue.md +0 -15
- data/docs/SettingsApi.md +0 -167
- data/docs/TaskOutputReference.md +0 -9
- data/docs/UpdateSettingRequest.md +0 -10
- data/docs/UpdateSettingResponse.md +0 -9
- data/git_push.sh +0 -55
- data/lib/cloudmersive-configuration-api-client.rb +0 -58
- data/lib/cloudmersive-configuration-api-client/api/orchestrator_api.rb +0 -78
- data/lib/cloudmersive-configuration-api-client/api/settings_api.rb +0 -188
- data/lib/cloudmersive-configuration-api-client/api_client.rb +0 -389
- data/lib/cloudmersive-configuration-api-client/api_error.rb +0 -38
- data/lib/cloudmersive-configuration-api-client/configuration.rb +0 -209
- data/lib/cloudmersive-configuration-api-client/models/create_setting_request.rb +0 -249
- data/lib/cloudmersive-configuration-api-client/models/create_setting_response.rb +0 -219
- data/lib/cloudmersive-configuration-api-client/models/http_form_data_parameter.rb +0 -235
- data/lib/cloudmersive-configuration-api-client/models/http_get_parameter.rb +0 -209
- data/lib/cloudmersive-configuration-api-client/models/http_orchestration_header.rb +0 -209
- data/lib/cloudmersive-configuration-api-client/models/http_orchestration_request.rb +0 -191
- data/lib/cloudmersive-configuration-api-client/models/http_orchestration_response.rb +0 -235
- data/lib/cloudmersive-configuration-api-client/models/http_orchestration_task.rb +0 -277
- data/lib/cloudmersive-configuration-api-client/models/http_raw_binary_parameter.rb +0 -215
- data/lib/cloudmersive-configuration-api-client/models/http_raw_text_parameter.rb +0 -199
- data/lib/cloudmersive-configuration-api-client/models/http_www_form_url_encoded_parameter.rb +0 -209
- data/lib/cloudmersive-configuration-api-client/models/list_settings_request.rb +0 -199
- data/lib/cloudmersive-configuration-api-client/models/list_settings_response.rb +0 -191
- data/lib/cloudmersive-configuration-api-client/models/setting_value.rb +0 -259
- data/lib/cloudmersive-configuration-api-client/models/task_output_reference.rb +0 -199
- data/lib/cloudmersive-configuration-api-client/models/update_setting_request.rb +0 -206
- data/lib/cloudmersive-configuration-api-client/models/update_setting_response.rb +0 -197
- data/lib/cloudmersive-configuration-api-client/version.rb +0 -15
- data/spec/api/orchestrator_api_spec.rb +0 -47
- data/spec/api/settings_api_spec.rb +0 -71
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/create_setting_request_spec.rb +0 -78
- data/spec/models/create_setting_response_spec.rb +0 -60
- data/spec/models/http_form_data_parameter_spec.rb +0 -60
- data/spec/models/http_get_parameter_spec.rb +0 -54
- data/spec/models/http_orchestration_header_spec.rb +0 -54
- data/spec/models/http_orchestration_request_spec.rb +0 -42
- data/spec/models/http_orchestration_response_spec.rb +0 -60
- data/spec/models/http_orchestration_task_spec.rb +0 -90
- data/spec/models/http_raw_binary_parameter_spec.rb +0 -48
- data/spec/models/http_raw_text_parameter_spec.rb +0 -48
- data/spec/models/http_www_form_url_encoded_parameter_spec.rb +0 -54
- data/spec/models/list_settings_request_spec.rb +0 -48
- data/spec/models/list_settings_response_spec.rb +0 -42
- data/spec/models/setting_value_spec.rb +0 -84
- data/spec/models/task_output_reference_spec.rb +0 -48
- data/spec/models/update_setting_request_spec.rb +0 -54
- data/spec/models/update_setting_response_spec.rb +0 -48
- data/spec/spec_helper.rb +0 -111
data/docs/OrchestratorApi.md
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
# CloudmersiveConfigurationApiClient::OrchestratorApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://api.cloudmersive.com*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**orchestrator_http_simple**](OrchestratorApi.md#orchestrator_http_simple) | **POST** /config/orchestrator/http/simple | Orchestrate multiple HTTP API calls with a single API call in the order specified. Call other Cloudmersive APIs or third party APIs. For Cloudmersive APIs, the API Key will automatically propogate to the child calls without needing to be set explicitly. Name each task and reference the output of a previous task in the inputs to a given task.
|
8
|
-
|
9
|
-
|
10
|
-
# **orchestrator_http_simple**
|
11
|
-
> HttpOrchestrationResponse orchestrator_http_simple(request)
|
12
|
-
|
13
|
-
Orchestrate multiple HTTP API calls with a single API call in the order specified. Call other Cloudmersive APIs or third party APIs. For Cloudmersive APIs, the API Key will automatically propogate to the child calls without needing to be set explicitly. Name each task and reference the output of a previous task in the inputs to a given task.
|
14
|
-
|
15
|
-
### Example
|
16
|
-
```ruby
|
17
|
-
# load the gem
|
18
|
-
require 'cloudmersive-configuration-api-client'
|
19
|
-
# setup authorization
|
20
|
-
CloudmersiveConfigurationApiClient.configure do |config|
|
21
|
-
# Configure API key authorization: Apikey
|
22
|
-
config.api_key['Apikey'] = 'YOUR API KEY'
|
23
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
24
|
-
#config.api_key_prefix['Apikey'] = 'Bearer'
|
25
|
-
end
|
26
|
-
|
27
|
-
api_instance = CloudmersiveConfigurationApiClient::OrchestratorApi.new
|
28
|
-
|
29
|
-
request = CloudmersiveConfigurationApiClient::HttpOrchestrationRequest.new # HttpOrchestrationRequest |
|
30
|
-
|
31
|
-
|
32
|
-
begin
|
33
|
-
#Orchestrate multiple HTTP API calls with a single API call in the order specified. Call other Cloudmersive APIs or third party APIs. For Cloudmersive APIs, the API Key will automatically propogate to the child calls without needing to be set explicitly. Name each task and reference the output of a previous task in the inputs to a given task.
|
34
|
-
result = api_instance.orchestrator_http_simple(request)
|
35
|
-
p result
|
36
|
-
rescue CloudmersiveConfigurationApiClient::ApiError => e
|
37
|
-
puts "Exception when calling OrchestratorApi->orchestrator_http_simple: #{e}"
|
38
|
-
end
|
39
|
-
```
|
40
|
-
|
41
|
-
### Parameters
|
42
|
-
|
43
|
-
Name | Type | Description | Notes
|
44
|
-
------------- | ------------- | ------------- | -------------
|
45
|
-
**request** | [**HttpOrchestrationRequest**](HttpOrchestrationRequest.md)| |
|
46
|
-
|
47
|
-
### Return type
|
48
|
-
|
49
|
-
[**HttpOrchestrationResponse**](HttpOrchestrationResponse.md)
|
50
|
-
|
51
|
-
### Authorization
|
52
|
-
|
53
|
-
[Apikey](../README.md#Apikey)
|
54
|
-
|
55
|
-
### HTTP request headers
|
56
|
-
|
57
|
-
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
58
|
-
- **Accept**: application/json, text/json, application/xml, text/xml
|
59
|
-
|
60
|
-
|
61
|
-
|
data/docs/SettingValue.md
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# CloudmersiveConfigurationApiClient::SettingValue
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**config_setting_value_id** | **String** | The ID of the setting value | [optional]
|
7
|
-
**config_setting_definition_id** | **String** | The ID of the definition of the setting | [optional]
|
8
|
-
**config_setting_value** | **Object** | The value of the setting | [optional]
|
9
|
-
**config_setting_last_modified** | **DateTime** | The last modified date of the setting | [optional]
|
10
|
-
**config_setting_name** | **String** | Name of the setting | [optional]
|
11
|
-
**config_setting_description** | **String** | Description of the setting | [optional]
|
12
|
-
**config_setting_tags** | **String** | Setting tags | [optional]
|
13
|
-
**config_setting_type** | **String** | Possible values are: STRING, JSON | [optional]
|
14
|
-
|
15
|
-
|
data/docs/SettingsApi.md
DELETED
@@ -1,167 +0,0 @@
|
|
1
|
-
# CloudmersiveConfigurationApiClient::SettingsApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://api.cloudmersive.com*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**settings_create_setting**](SettingsApi.md#settings_create_setting) | **POST** /config/settings/create | Create a setting in the specified bucket
|
8
|
-
[**settings_list_settings**](SettingsApi.md#settings_list_settings) | **POST** /config/settings/list | Enumerate the settings in a bucket
|
9
|
-
[**settings_update_setting**](SettingsApi.md#settings_update_setting) | **POST** /config/settings/update | Update a setting
|
10
|
-
|
11
|
-
|
12
|
-
# **settings_create_setting**
|
13
|
-
> CreateSettingResponse settings_create_setting(request)
|
14
|
-
|
15
|
-
Create a setting in the specified bucket
|
16
|
-
|
17
|
-
### Example
|
18
|
-
```ruby
|
19
|
-
# load the gem
|
20
|
-
require 'cloudmersive-configuration-api-client'
|
21
|
-
# setup authorization
|
22
|
-
CloudmersiveConfigurationApiClient.configure do |config|
|
23
|
-
# Configure API key authorization: Apikey
|
24
|
-
config.api_key['Apikey'] = 'YOUR API KEY'
|
25
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
26
|
-
#config.api_key_prefix['Apikey'] = 'Bearer'
|
27
|
-
end
|
28
|
-
|
29
|
-
api_instance = CloudmersiveConfigurationApiClient::SettingsApi.new
|
30
|
-
|
31
|
-
request = CloudmersiveConfigurationApiClient::CreateSettingRequest.new # CreateSettingRequest | Request to perform the operation on
|
32
|
-
|
33
|
-
|
34
|
-
begin
|
35
|
-
#Create a setting in the specified bucket
|
36
|
-
result = api_instance.settings_create_setting(request)
|
37
|
-
p result
|
38
|
-
rescue CloudmersiveConfigurationApiClient::ApiError => e
|
39
|
-
puts "Exception when calling SettingsApi->settings_create_setting: #{e}"
|
40
|
-
end
|
41
|
-
```
|
42
|
-
|
43
|
-
### Parameters
|
44
|
-
|
45
|
-
Name | Type | Description | Notes
|
46
|
-
------------- | ------------- | ------------- | -------------
|
47
|
-
**request** | [**CreateSettingRequest**](CreateSettingRequest.md)| Request to perform the operation on |
|
48
|
-
|
49
|
-
### Return type
|
50
|
-
|
51
|
-
[**CreateSettingResponse**](CreateSettingResponse.md)
|
52
|
-
|
53
|
-
### Authorization
|
54
|
-
|
55
|
-
[Apikey](../README.md#Apikey)
|
56
|
-
|
57
|
-
### HTTP request headers
|
58
|
-
|
59
|
-
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
60
|
-
- **Accept**: application/json, text/json, application/xml, text/xml
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
# **settings_list_settings**
|
65
|
-
> ListSettingsResponse settings_list_settings(request)
|
66
|
-
|
67
|
-
Enumerate the settings in a bucket
|
68
|
-
|
69
|
-
### Example
|
70
|
-
```ruby
|
71
|
-
# load the gem
|
72
|
-
require 'cloudmersive-configuration-api-client'
|
73
|
-
# setup authorization
|
74
|
-
CloudmersiveConfigurationApiClient.configure do |config|
|
75
|
-
# Configure API key authorization: Apikey
|
76
|
-
config.api_key['Apikey'] = 'YOUR API KEY'
|
77
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
78
|
-
#config.api_key_prefix['Apikey'] = 'Bearer'
|
79
|
-
end
|
80
|
-
|
81
|
-
api_instance = CloudmersiveConfigurationApiClient::SettingsApi.new
|
82
|
-
|
83
|
-
request = CloudmersiveConfigurationApiClient::ListSettingsRequest.new # ListSettingsRequest | Request to perform the operation on
|
84
|
-
|
85
|
-
|
86
|
-
begin
|
87
|
-
#Enumerate the settings in a bucket
|
88
|
-
result = api_instance.settings_list_settings(request)
|
89
|
-
p result
|
90
|
-
rescue CloudmersiveConfigurationApiClient::ApiError => e
|
91
|
-
puts "Exception when calling SettingsApi->settings_list_settings: #{e}"
|
92
|
-
end
|
93
|
-
```
|
94
|
-
|
95
|
-
### Parameters
|
96
|
-
|
97
|
-
Name | Type | Description | Notes
|
98
|
-
------------- | ------------- | ------------- | -------------
|
99
|
-
**request** | [**ListSettingsRequest**](ListSettingsRequest.md)| Request to perform the operation on |
|
100
|
-
|
101
|
-
### Return type
|
102
|
-
|
103
|
-
[**ListSettingsResponse**](ListSettingsResponse.md)
|
104
|
-
|
105
|
-
### Authorization
|
106
|
-
|
107
|
-
[Apikey](../README.md#Apikey)
|
108
|
-
|
109
|
-
### HTTP request headers
|
110
|
-
|
111
|
-
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
112
|
-
- **Accept**: application/json, text/json, application/xml, text/xml
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
# **settings_update_setting**
|
117
|
-
> UpdateSettingResponse settings_update_setting(request)
|
118
|
-
|
119
|
-
Update a setting
|
120
|
-
|
121
|
-
### Example
|
122
|
-
```ruby
|
123
|
-
# load the gem
|
124
|
-
require 'cloudmersive-configuration-api-client'
|
125
|
-
# setup authorization
|
126
|
-
CloudmersiveConfigurationApiClient.configure do |config|
|
127
|
-
# Configure API key authorization: Apikey
|
128
|
-
config.api_key['Apikey'] = 'YOUR API KEY'
|
129
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
130
|
-
#config.api_key_prefix['Apikey'] = 'Bearer'
|
131
|
-
end
|
132
|
-
|
133
|
-
api_instance = CloudmersiveConfigurationApiClient::SettingsApi.new
|
134
|
-
|
135
|
-
request = CloudmersiveConfigurationApiClient::UpdateSettingRequest.new # UpdateSettingRequest | Request to perform the operation on
|
136
|
-
|
137
|
-
|
138
|
-
begin
|
139
|
-
#Update a setting
|
140
|
-
result = api_instance.settings_update_setting(request)
|
141
|
-
p result
|
142
|
-
rescue CloudmersiveConfigurationApiClient::ApiError => e
|
143
|
-
puts "Exception when calling SettingsApi->settings_update_setting: #{e}"
|
144
|
-
end
|
145
|
-
```
|
146
|
-
|
147
|
-
### Parameters
|
148
|
-
|
149
|
-
Name | Type | Description | Notes
|
150
|
-
------------- | ------------- | ------------- | -------------
|
151
|
-
**request** | [**UpdateSettingRequest**](UpdateSettingRequest.md)| Request to perform the operation on |
|
152
|
-
|
153
|
-
### Return type
|
154
|
-
|
155
|
-
[**UpdateSettingResponse**](UpdateSettingResponse.md)
|
156
|
-
|
157
|
-
### Authorization
|
158
|
-
|
159
|
-
[Apikey](../README.md#Apikey)
|
160
|
-
|
161
|
-
### HTTP request headers
|
162
|
-
|
163
|
-
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
164
|
-
- **Accept**: application/json, text/json, application/xml, text/xml
|
165
|
-
|
166
|
-
|
167
|
-
|
data/docs/TaskOutputReference.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# CloudmersiveConfigurationApiClient::TaskOutputReference
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**task_name** | **String** | Name of the task to use the output from | [optional]
|
7
|
-
**target_type** | **String** | Type to convert the output from the referenced task to; possible values are string, binary | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# CloudmersiveConfigurationApiClient::UpdateSettingRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**bucket_id** | **String** | | [optional]
|
7
|
-
**bucket_secret_key** | **String** | | [optional]
|
8
|
-
**setting_to_update** | [**SettingValue**](SettingValue.md) | | [optional]
|
9
|
-
|
10
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# CloudmersiveConfigurationApiClient::UpdateSettingResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**successful** | **BOOLEAN** | | [optional]
|
7
|
-
**error_message** | **String** | | [optional]
|
8
|
-
|
9
|
-
|
data/git_push.sh
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
#
|
3
|
-
# Generated by: https://github.com/swagger-api/swagger-codegen.git
|
4
|
-
#
|
5
|
-
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
6
|
-
#
|
7
|
-
# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
|
8
|
-
|
9
|
-
git_user_id=$1
|
10
|
-
git_repo_id=$2
|
11
|
-
release_note=$3
|
12
|
-
|
13
|
-
if [ "$git_user_id" = "" ]; then
|
14
|
-
git_user_id="GIT_USER_ID"
|
15
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
16
|
-
fi
|
17
|
-
|
18
|
-
if [ "$git_repo_id" = "" ]; then
|
19
|
-
git_repo_id="GIT_REPO_ID"
|
20
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
21
|
-
fi
|
22
|
-
|
23
|
-
if [ "$release_note" = "" ]; then
|
24
|
-
release_note="Minor update"
|
25
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
26
|
-
fi
|
27
|
-
|
28
|
-
# Initialize the local directory as a Git repository
|
29
|
-
git init
|
30
|
-
|
31
|
-
# Adds the files in the local repository and stages them for commit.
|
32
|
-
git add .
|
33
|
-
|
34
|
-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
35
|
-
git commit -m "$release_note"
|
36
|
-
|
37
|
-
# Sets the new remote
|
38
|
-
git_remote=`git remote`
|
39
|
-
if [ "$git_remote" = "" ]; then # git remote not defined
|
40
|
-
|
41
|
-
if [ "$GIT_TOKEN" = "" ]; then
|
42
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
43
|
-
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
|
44
|
-
else
|
45
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
|
46
|
-
fi
|
47
|
-
|
48
|
-
fi
|
49
|
-
|
50
|
-
git pull origin master
|
51
|
-
|
52
|
-
# Pushes (Forces) the changes in the local repository up to the remote repository
|
53
|
-
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
|
54
|
-
git push origin master 2>&1 | grep -v 'To https'
|
55
|
-
|
@@ -1,58 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#configapi
|
3
|
-
|
4
|
-
#Config API lets you easily manage configuration at scale.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
# Common files
|
14
|
-
require 'cloudmersive-configuration-api-client/api_client'
|
15
|
-
require 'cloudmersive-configuration-api-client/api_error'
|
16
|
-
require 'cloudmersive-configuration-api-client/version'
|
17
|
-
require 'cloudmersive-configuration-api-client/configuration'
|
18
|
-
|
19
|
-
# Models
|
20
|
-
require 'cloudmersive-configuration-api-client/models/create_setting_request'
|
21
|
-
require 'cloudmersive-configuration-api-client/models/create_setting_response'
|
22
|
-
require 'cloudmersive-configuration-api-client/models/http_form_data_parameter'
|
23
|
-
require 'cloudmersive-configuration-api-client/models/http_get_parameter'
|
24
|
-
require 'cloudmersive-configuration-api-client/models/http_orchestration_header'
|
25
|
-
require 'cloudmersive-configuration-api-client/models/http_orchestration_request'
|
26
|
-
require 'cloudmersive-configuration-api-client/models/http_orchestration_response'
|
27
|
-
require 'cloudmersive-configuration-api-client/models/http_orchestration_task'
|
28
|
-
require 'cloudmersive-configuration-api-client/models/http_raw_binary_parameter'
|
29
|
-
require 'cloudmersive-configuration-api-client/models/http_raw_text_parameter'
|
30
|
-
require 'cloudmersive-configuration-api-client/models/http_www_form_url_encoded_parameter'
|
31
|
-
require 'cloudmersive-configuration-api-client/models/list_settings_request'
|
32
|
-
require 'cloudmersive-configuration-api-client/models/list_settings_response'
|
33
|
-
require 'cloudmersive-configuration-api-client/models/setting_value'
|
34
|
-
require 'cloudmersive-configuration-api-client/models/task_output_reference'
|
35
|
-
require 'cloudmersive-configuration-api-client/models/update_setting_request'
|
36
|
-
require 'cloudmersive-configuration-api-client/models/update_setting_response'
|
37
|
-
|
38
|
-
# APIs
|
39
|
-
require 'cloudmersive-configuration-api-client/api/orchestrator_api'
|
40
|
-
require 'cloudmersive-configuration-api-client/api/settings_api'
|
41
|
-
|
42
|
-
module CloudmersiveConfigurationApiClient
|
43
|
-
class << self
|
44
|
-
# Customize default settings for the SDK using block.
|
45
|
-
# CloudmersiveConfigurationApiClient.configure do |config|
|
46
|
-
# config.username = "xxx"
|
47
|
-
# config.password = "xxx"
|
48
|
-
# end
|
49
|
-
# If no block given, return the default Configuration object.
|
50
|
-
def configure
|
51
|
-
if block_given?
|
52
|
-
yield(Configuration.default)
|
53
|
-
else
|
54
|
-
Configuration.default
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
@@ -1,78 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#configapi
|
3
|
-
|
4
|
-
#Config API lets you easily manage configuration at scale.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require "uri"
|
14
|
-
|
15
|
-
module CloudmersiveConfigurationApiClient
|
16
|
-
class OrchestratorApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
|
23
|
-
# Orchestrate multiple HTTP API calls with a single API call in the order specified. Call other Cloudmersive APIs or third party APIs. For Cloudmersive APIs, the API Key will automatically propogate to the child calls without needing to be set explicitly. Name each task and reference the output of a previous task in the inputs to a given task.
|
24
|
-
#
|
25
|
-
# @param request
|
26
|
-
# @param [Hash] opts the optional parameters
|
27
|
-
# @return [HttpOrchestrationResponse]
|
28
|
-
def orchestrator_http_simple(request, opts = {})
|
29
|
-
data, _status_code, _headers = orchestrator_http_simple_with_http_info(request, opts)
|
30
|
-
return data
|
31
|
-
end
|
32
|
-
|
33
|
-
# Orchestrate multiple HTTP API calls with a single API call in the order specified. Call other Cloudmersive APIs or third party APIs. For Cloudmersive APIs, the API Key will automatically propogate to the child calls without needing to be set explicitly. Name each task and reference the output of a previous task in the inputs to a given task.
|
34
|
-
#
|
35
|
-
# @param request
|
36
|
-
# @param [Hash] opts the optional parameters
|
37
|
-
# @return [Array<(HttpOrchestrationResponse, Fixnum, Hash)>] HttpOrchestrationResponse data, response status code and response headers
|
38
|
-
def orchestrator_http_simple_with_http_info(request, opts = {})
|
39
|
-
if @api_client.config.debugging
|
40
|
-
@api_client.config.logger.debug "Calling API: OrchestratorApi.orchestrator_http_simple ..."
|
41
|
-
end
|
42
|
-
# verify the required parameter 'request' is set
|
43
|
-
if @api_client.config.client_side_validation && request.nil?
|
44
|
-
fail ArgumentError, "Missing the required parameter 'request' when calling OrchestratorApi.orchestrator_http_simple"
|
45
|
-
end
|
46
|
-
# resource path
|
47
|
-
local_var_path = "/config/orchestrator/http/simple"
|
48
|
-
|
49
|
-
# query parameters
|
50
|
-
query_params = {}
|
51
|
-
|
52
|
-
# header parameters
|
53
|
-
header_params = {}
|
54
|
-
# HTTP header 'Accept' (if needed)
|
55
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
56
|
-
# HTTP header 'Content-Type'
|
57
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
58
|
-
|
59
|
-
# form parameters
|
60
|
-
form_params = {}
|
61
|
-
|
62
|
-
# http body (model)
|
63
|
-
post_body = @api_client.object_to_http_body(request)
|
64
|
-
auth_names = ['Apikey']
|
65
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
66
|
-
:header_params => header_params,
|
67
|
-
:query_params => query_params,
|
68
|
-
:form_params => form_params,
|
69
|
-
:body => post_body,
|
70
|
-
:auth_names => auth_names,
|
71
|
-
:return_type => 'HttpOrchestrationResponse')
|
72
|
-
if @api_client.config.debugging
|
73
|
-
@api_client.config.logger.debug "API called: OrchestratorApi#orchestrator_http_simple\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
74
|
-
end
|
75
|
-
return data, status_code, headers
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|