autosde_openapi_client 1.1.27 → 1.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/docs/CeleryConfig.md +20 -0
- data/docs/CeleryConfigApi.md +140 -0
- data/docs/EventApi.md +6 -6
- data/docs/EventResponse.md +36 -0
- data/docs/RefreshSystemApi.md +6 -6
- data/lib/autosde_openapi_client/api/celery_config_api.rb +136 -0
- data/lib/autosde_openapi_client/api/event_api.rb +9 -9
- data/lib/autosde_openapi_client/api/refresh_system_api.rb +9 -9
- data/lib/autosde_openapi_client/models/celery_config.rb +230 -0
- data/lib/autosde_openapi_client/models/event.rb +1 -1
- data/lib/autosde_openapi_client/models/event_response.rb +310 -0
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/lib/autosde_openapi_client.rb +3 -0
- data/spec/api/celery_config_api_spec.rb +54 -0
- data/spec/api/event_api_spec.rb +1 -1
- data/spec/api/refresh_system_api_spec.rb +1 -1
- data/spec/models/celery_config_spec.rb +40 -0
- data/spec/models/event_response_spec.rb +88 -0
- metadata +84 -72
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdda1a478c033cf4f1cb77eefbe72666fcd477d05227da180c3ed5215f3474e7
|
4
|
+
data.tar.gz: 1e9e1704f154f50567e8ac49c82bc8c7f76782c2700a55586c9a31a4a4de9a5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 630ef2164b1e091a799a9370436dd8daca3660f6b65c38a4e061d8cb8dd3f950a379291310652324876af455bffcb04e751cab2639e1e5e45b759e2ace2fe9df
|
7
|
+
data.tar.gz: 17e9b0ff22d9b3d1c0356d1cf8e84dd2e32e1e4f7b929dde2bec37b1c29371eb171e26fe1df0c47bf02302b15351be00d307c0586832d80d7c352df5a7e29da8
|
data/README.md
CHANGED
@@ -105,6 +105,8 @@ Class | Method | HTTP request | Description
|
|
105
105
|
*AutosdeOpenapiClient::CapabilityTranslationApi* | [**capability_translations_pk_delete**](docs/CapabilityTranslationApi.md#capability_translations_pk_delete) | **DELETE** /capability-translations/{pk} |
|
106
106
|
*AutosdeOpenapiClient::CapabilityTranslationApi* | [**capability_translations_pk_get**](docs/CapabilityTranslationApi.md#capability_translations_pk_get) | **GET** /capability-translations/{pk} |
|
107
107
|
*AutosdeOpenapiClient::CapabilityTranslationApi* | [**capability_translations_post**](docs/CapabilityTranslationApi.md#capability_translations_post) | **POST** /capability-translations |
|
108
|
+
*AutosdeOpenapiClient::CeleryConfigApi* | [**celery_config_get**](docs/CeleryConfigApi.md#celery_config_get) | **GET** /celery-config |
|
109
|
+
*AutosdeOpenapiClient::CeleryConfigApi* | [**celery_config_post**](docs/CeleryConfigApi.md#celery_config_post) | **POST** /celery-config |
|
108
110
|
*AutosdeOpenapiClient::EventApi* | [**events_get**](docs/EventApi.md#events_get) | **GET** /events |
|
109
111
|
*AutosdeOpenapiClient::EventApi* | [**events_pk_delete**](docs/EventApi.md#events_pk_delete) | **DELETE** /events/{pk} |
|
110
112
|
*AutosdeOpenapiClient::EventApi* | [**events_pk_get**](docs/EventApi.md#events_pk_get) | **GET** /events/{pk} |
|
@@ -214,7 +216,9 @@ Class | Method | HTTP request | Description
|
|
214
216
|
- [AutosdeOpenapiClient::AutoSDERole](docs/AutoSDERole.md)
|
215
217
|
- [AutosdeOpenapiClient::CapabilityTranslation](docs/CapabilityTranslation.md)
|
216
218
|
- [AutosdeOpenapiClient::CapabilityTranslationCreate](docs/CapabilityTranslationCreate.md)
|
219
|
+
- [AutosdeOpenapiClient::CeleryConfig](docs/CeleryConfig.md)
|
217
220
|
- [AutosdeOpenapiClient::Event](docs/Event.md)
|
221
|
+
- [AutosdeOpenapiClient::EventResponse](docs/EventResponse.md)
|
218
222
|
- [AutosdeOpenapiClient::Host](docs/Host.md)
|
219
223
|
- [AutosdeOpenapiClient::HostCluster](docs/HostCluster.md)
|
220
224
|
- [AutosdeOpenapiClient::HostClusterCreate](docs/HostClusterCreate.md)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# AutosdeOpenapiClient::CeleryConfig
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **celery_beat_enabled** | **Boolean** | celery_beat_enabled | [optional] |
|
8
|
+
| **interval_sec** | **Integer** | interval_sec | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'autosde_openapi_client'
|
14
|
+
|
15
|
+
instance = AutosdeOpenapiClient::CeleryConfig.new(
|
16
|
+
celery_beat_enabled: null,
|
17
|
+
interval_sec: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,140 @@
|
|
1
|
+
# AutosdeOpenapiClient::CeleryConfigApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**celery_config_get**](CeleryConfigApi.md#celery_config_get) | **GET** /celery-config | |
|
8
|
+
| [**celery_config_post**](CeleryConfigApi.md#celery_config_post) | **POST** /celery-config | |
|
9
|
+
|
10
|
+
|
11
|
+
## celery_config_get
|
12
|
+
|
13
|
+
> <Array<CeleryConfig>> celery_config_get
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
### Examples
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'time'
|
21
|
+
require 'autosde_openapi_client'
|
22
|
+
# setup authorization
|
23
|
+
AutosdeOpenapiClient.configure do |config|
|
24
|
+
# Configure Bearer authorization: bearerAuth
|
25
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
26
|
+
end
|
27
|
+
|
28
|
+
api_instance = AutosdeOpenapiClient::CeleryConfigApi.new
|
29
|
+
|
30
|
+
begin
|
31
|
+
|
32
|
+
result = api_instance.celery_config_get
|
33
|
+
p result
|
34
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
35
|
+
puts "Error when calling CeleryConfigApi->celery_config_get: #{e}"
|
36
|
+
end
|
37
|
+
```
|
38
|
+
|
39
|
+
#### Using the celery_config_get_with_http_info variant
|
40
|
+
|
41
|
+
This returns an Array which contains the response data, status code and headers.
|
42
|
+
|
43
|
+
> <Array(<Array<CeleryConfig>>, Integer, Hash)> celery_config_get_with_http_info
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
begin
|
47
|
+
|
48
|
+
data, status_code, headers = api_instance.celery_config_get_with_http_info
|
49
|
+
p status_code # => 2xx
|
50
|
+
p headers # => { ... }
|
51
|
+
p data # => <Array<CeleryConfig>>
|
52
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
53
|
+
puts "Error when calling CeleryConfigApi->celery_config_get_with_http_info: #{e}"
|
54
|
+
end
|
55
|
+
```
|
56
|
+
|
57
|
+
### Parameters
|
58
|
+
|
59
|
+
This endpoint does not need any parameter.
|
60
|
+
|
61
|
+
### Return type
|
62
|
+
|
63
|
+
[**Array<CeleryConfig>**](CeleryConfig.md)
|
64
|
+
|
65
|
+
### Authorization
|
66
|
+
|
67
|
+
[bearerAuth](../README.md#bearerAuth)
|
68
|
+
|
69
|
+
### HTTP request headers
|
70
|
+
|
71
|
+
- **Content-Type**: Not defined
|
72
|
+
- **Accept**: */*
|
73
|
+
|
74
|
+
|
75
|
+
## celery_config_post
|
76
|
+
|
77
|
+
> <CeleryConfig> celery_config_post(celery_config)
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
### Examples
|
82
|
+
|
83
|
+
```ruby
|
84
|
+
require 'time'
|
85
|
+
require 'autosde_openapi_client'
|
86
|
+
# setup authorization
|
87
|
+
AutosdeOpenapiClient.configure do |config|
|
88
|
+
# Configure Bearer authorization: bearerAuth
|
89
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
90
|
+
end
|
91
|
+
|
92
|
+
api_instance = AutosdeOpenapiClient::CeleryConfigApi.new
|
93
|
+
celery_config = AutosdeOpenapiClient::CeleryConfig.new # CeleryConfig |
|
94
|
+
|
95
|
+
begin
|
96
|
+
|
97
|
+
result = api_instance.celery_config_post(celery_config)
|
98
|
+
p result
|
99
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
100
|
+
puts "Error when calling CeleryConfigApi->celery_config_post: #{e}"
|
101
|
+
end
|
102
|
+
```
|
103
|
+
|
104
|
+
#### Using the celery_config_post_with_http_info variant
|
105
|
+
|
106
|
+
This returns an Array which contains the response data, status code and headers.
|
107
|
+
|
108
|
+
> <Array(<CeleryConfig>, Integer, Hash)> celery_config_post_with_http_info(celery_config)
|
109
|
+
|
110
|
+
```ruby
|
111
|
+
begin
|
112
|
+
|
113
|
+
data, status_code, headers = api_instance.celery_config_post_with_http_info(celery_config)
|
114
|
+
p status_code # => 2xx
|
115
|
+
p headers # => { ... }
|
116
|
+
p data # => <CeleryConfig>
|
117
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
118
|
+
puts "Error when calling CeleryConfigApi->celery_config_post_with_http_info: #{e}"
|
119
|
+
end
|
120
|
+
```
|
121
|
+
|
122
|
+
### Parameters
|
123
|
+
|
124
|
+
| Name | Type | Description | Notes |
|
125
|
+
| ---- | ---- | ----------- | ----- |
|
126
|
+
| **celery_config** | [**CeleryConfig**](CeleryConfig.md) | | |
|
127
|
+
|
128
|
+
### Return type
|
129
|
+
|
130
|
+
[**CeleryConfig**](CeleryConfig.md)
|
131
|
+
|
132
|
+
### Authorization
|
133
|
+
|
134
|
+
[bearerAuth](../README.md#bearerAuth)
|
135
|
+
|
136
|
+
### HTTP request headers
|
137
|
+
|
138
|
+
- **Content-Type**: application/json
|
139
|
+
- **Accept**: */*
|
140
|
+
|
data/docs/EventApi.md
CHANGED
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## events_post
|
212
212
|
|
213
|
-
> <Event> events_post(
|
213
|
+
> <Event> events_post(event_response)
|
214
214
|
|
215
215
|
|
216
216
|
|
@@ -226,11 +226,11 @@ AutosdeOpenapiClient.configure do |config|
|
|
226
226
|
end
|
227
227
|
|
228
228
|
api_instance = AutosdeOpenapiClient::EventApi.new
|
229
|
-
|
229
|
+
event_response = AutosdeOpenapiClient::EventResponse.new # EventResponse |
|
230
230
|
|
231
231
|
begin
|
232
232
|
|
233
|
-
result = api_instance.events_post(
|
233
|
+
result = api_instance.events_post(event_response)
|
234
234
|
p result
|
235
235
|
rescue AutosdeOpenapiClient::ApiError => e
|
236
236
|
puts "Error when calling EventApi->events_post: #{e}"
|
@@ -241,12 +241,12 @@ end
|
|
241
241
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
243
243
|
|
244
|
-
> <Array(<Event>, Integer, Hash)> events_post_with_http_info(
|
244
|
+
> <Array(<Event>, Integer, Hash)> events_post_with_http_info(event_response)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
248
248
|
|
249
|
-
data, status_code, headers = api_instance.events_post_with_http_info(
|
249
|
+
data, status_code, headers = api_instance.events_post_with_http_info(event_response)
|
250
250
|
p status_code # => 2xx
|
251
251
|
p headers # => { ... }
|
252
252
|
p data # => <Event>
|
@@ -259,7 +259,7 @@ end
|
|
259
259
|
|
260
260
|
| Name | Type | Description | Notes |
|
261
261
|
| ---- | ---- | ----------- | ----- |
|
262
|
-
| **
|
262
|
+
| **event_response** | [**EventResponse**](EventResponse.md) | | |
|
263
263
|
|
264
264
|
### Return type
|
265
265
|
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# AutosdeOpenapiClient::EventResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **created_at** | **Time** | created_at | [optional] |
|
8
|
+
| **description** | **String** | description | [optional] |
|
9
|
+
| **error_code** | **String** | error_code | [optional] |
|
10
|
+
| **event_id** | **Integer** | event_id | [optional] |
|
11
|
+
| **event_type** | **String** | event_type | [optional] |
|
12
|
+
| **fixed** | **String** | fixed | [optional] |
|
13
|
+
| **last_timestamp** | **Time** | last_timestamp | [optional] |
|
14
|
+
| **refresh_interval** | **Integer** | refresh_interval | [optional] |
|
15
|
+
| **storage_system** | **String** | !!uuid of storage_system | [optional] |
|
16
|
+
| **uuid** | **String** | uuid | [optional] |
|
17
|
+
|
18
|
+
## Example
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'autosde_openapi_client'
|
22
|
+
|
23
|
+
instance = AutosdeOpenapiClient::EventResponse.new(
|
24
|
+
created_at: null,
|
25
|
+
description: null,
|
26
|
+
error_code: null,
|
27
|
+
event_id: null,
|
28
|
+
event_type: null,
|
29
|
+
fixed: null,
|
30
|
+
last_timestamp: null,
|
31
|
+
refresh_interval: null,
|
32
|
+
storage_system: null,
|
33
|
+
uuid: null
|
34
|
+
)
|
35
|
+
```
|
36
|
+
|
data/docs/RefreshSystemApi.md
CHANGED
@@ -9,7 +9,7 @@ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
|
9
9
|
|
10
10
|
## refresh_system_post
|
11
11
|
|
12
|
-
> <RefreshSystem> refresh_system_post(
|
12
|
+
> <RefreshSystem> refresh_system_post(refresh_system)
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -25,11 +25,11 @@ AutosdeOpenapiClient.configure do |config|
|
|
25
25
|
end
|
26
26
|
|
27
27
|
api_instance = AutosdeOpenapiClient::RefreshSystemApi.new
|
28
|
-
|
28
|
+
refresh_system = AutosdeOpenapiClient::RefreshSystem.new # RefreshSystem |
|
29
29
|
|
30
30
|
begin
|
31
31
|
|
32
|
-
result = api_instance.refresh_system_post(
|
32
|
+
result = api_instance.refresh_system_post(refresh_system)
|
33
33
|
p result
|
34
34
|
rescue AutosdeOpenapiClient::ApiError => e
|
35
35
|
puts "Error when calling RefreshSystemApi->refresh_system_post: #{e}"
|
@@ -40,12 +40,12 @@ end
|
|
40
40
|
|
41
41
|
This returns an Array which contains the response data, status code and headers.
|
42
42
|
|
43
|
-
> <Array(<RefreshSystem>, Integer, Hash)> refresh_system_post_with_http_info(
|
43
|
+
> <Array(<RefreshSystem>, Integer, Hash)> refresh_system_post_with_http_info(refresh_system)
|
44
44
|
|
45
45
|
```ruby
|
46
46
|
begin
|
47
47
|
|
48
|
-
data, status_code, headers = api_instance.refresh_system_post_with_http_info(
|
48
|
+
data, status_code, headers = api_instance.refresh_system_post_with_http_info(refresh_system)
|
49
49
|
p status_code # => 2xx
|
50
50
|
p headers # => { ... }
|
51
51
|
p data # => <RefreshSystem>
|
@@ -58,7 +58,7 @@ end
|
|
58
58
|
|
59
59
|
| Name | Type | Description | Notes |
|
60
60
|
| ---- | ---- | ----------- | ----- |
|
61
|
-
| **
|
61
|
+
| **refresh_system** | [**RefreshSystem**](RefreshSystem.md) | | |
|
62
62
|
|
63
63
|
### Return type
|
64
64
|
|
@@ -0,0 +1,136 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'cgi'
|
14
|
+
|
15
|
+
module AutosdeOpenapiClient
|
16
|
+
class CeleryConfigApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# @param [Hash] opts the optional parameters
|
23
|
+
# @return [Array<CeleryConfig>]
|
24
|
+
def celery_config_get(opts = {})
|
25
|
+
data, _status_code, _headers = celery_config_get_with_http_info(opts)
|
26
|
+
data
|
27
|
+
end
|
28
|
+
|
29
|
+
# @param [Hash] opts the optional parameters
|
30
|
+
# @return [Array<(Array<CeleryConfig>, Integer, Hash)>] Array<CeleryConfig> data, response status code and response headers
|
31
|
+
def celery_config_get_with_http_info(opts = {})
|
32
|
+
if @api_client.config.debugging
|
33
|
+
@api_client.config.logger.debug 'Calling API: CeleryConfigApi.celery_config_get ...'
|
34
|
+
end
|
35
|
+
# resource path
|
36
|
+
local_var_path = '/celery-config'
|
37
|
+
|
38
|
+
# query parameters
|
39
|
+
query_params = opts[:query_params] || {}
|
40
|
+
|
41
|
+
# header parameters
|
42
|
+
header_params = opts[:header_params] || {}
|
43
|
+
# HTTP header 'Accept' (if needed)
|
44
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
45
|
+
|
46
|
+
# form parameters
|
47
|
+
form_params = opts[:form_params] || {}
|
48
|
+
|
49
|
+
# http body (model)
|
50
|
+
post_body = opts[:debug_body]
|
51
|
+
|
52
|
+
# return_type
|
53
|
+
return_type = opts[:debug_return_type] || 'Array<CeleryConfig>'
|
54
|
+
|
55
|
+
# auth_names
|
56
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
57
|
+
|
58
|
+
new_options = opts.merge(
|
59
|
+
:operation => :"CeleryConfigApi.celery_config_get",
|
60
|
+
:header_params => header_params,
|
61
|
+
:query_params => query_params,
|
62
|
+
:form_params => form_params,
|
63
|
+
:body => post_body,
|
64
|
+
:auth_names => auth_names,
|
65
|
+
:return_type => return_type
|
66
|
+
)
|
67
|
+
|
68
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
69
|
+
if @api_client.config.debugging
|
70
|
+
@api_client.config.logger.debug "API called: CeleryConfigApi#celery_config_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
71
|
+
end
|
72
|
+
return data, status_code, headers
|
73
|
+
end
|
74
|
+
|
75
|
+
# @param celery_config [CeleryConfig]
|
76
|
+
# @param [Hash] opts the optional parameters
|
77
|
+
# @return [CeleryConfig]
|
78
|
+
def celery_config_post(celery_config, opts = {})
|
79
|
+
data, _status_code, _headers = celery_config_post_with_http_info(celery_config, opts)
|
80
|
+
data
|
81
|
+
end
|
82
|
+
|
83
|
+
# @param celery_config [CeleryConfig]
|
84
|
+
# @param [Hash] opts the optional parameters
|
85
|
+
# @return [Array<(CeleryConfig, Integer, Hash)>] CeleryConfig data, response status code and response headers
|
86
|
+
def celery_config_post_with_http_info(celery_config, opts = {})
|
87
|
+
if @api_client.config.debugging
|
88
|
+
@api_client.config.logger.debug 'Calling API: CeleryConfigApi.celery_config_post ...'
|
89
|
+
end
|
90
|
+
# verify the required parameter 'celery_config' is set
|
91
|
+
if @api_client.config.client_side_validation && celery_config.nil?
|
92
|
+
fail ArgumentError, "Missing the required parameter 'celery_config' when calling CeleryConfigApi.celery_config_post"
|
93
|
+
end
|
94
|
+
# resource path
|
95
|
+
local_var_path = '/celery-config'
|
96
|
+
|
97
|
+
# query parameters
|
98
|
+
query_params = opts[:query_params] || {}
|
99
|
+
|
100
|
+
# header parameters
|
101
|
+
header_params = opts[:header_params] || {}
|
102
|
+
# HTTP header 'Accept' (if needed)
|
103
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
104
|
+
# HTTP header 'Content-Type'
|
105
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
106
|
+
|
107
|
+
# form parameters
|
108
|
+
form_params = opts[:form_params] || {}
|
109
|
+
|
110
|
+
# http body (model)
|
111
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(celery_config)
|
112
|
+
|
113
|
+
# return_type
|
114
|
+
return_type = opts[:debug_return_type] || 'CeleryConfig'
|
115
|
+
|
116
|
+
# auth_names
|
117
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
118
|
+
|
119
|
+
new_options = opts.merge(
|
120
|
+
:operation => :"CeleryConfigApi.celery_config_post",
|
121
|
+
:header_params => header_params,
|
122
|
+
:query_params => query_params,
|
123
|
+
:form_params => form_params,
|
124
|
+
:body => post_body,
|
125
|
+
:auth_names => auth_names,
|
126
|
+
:return_type => return_type
|
127
|
+
)
|
128
|
+
|
129
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
130
|
+
if @api_client.config.debugging
|
131
|
+
@api_client.config.logger.debug "API called: CeleryConfigApi#celery_config_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
132
|
+
end
|
133
|
+
return data, status_code, headers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
@@ -190,24 +190,24 @@ module AutosdeOpenapiClient
|
|
190
190
|
return data, status_code, headers
|
191
191
|
end
|
192
192
|
|
193
|
-
# @param
|
193
|
+
# @param event_response [EventResponse]
|
194
194
|
# @param [Hash] opts the optional parameters
|
195
195
|
# @return [Event]
|
196
|
-
def events_post(
|
197
|
-
data, _status_code, _headers = events_post_with_http_info(
|
196
|
+
def events_post(event_response, opts = {})
|
197
|
+
data, _status_code, _headers = events_post_with_http_info(event_response, opts)
|
198
198
|
data
|
199
199
|
end
|
200
200
|
|
201
|
-
# @param
|
201
|
+
# @param event_response [EventResponse]
|
202
202
|
# @param [Hash] opts the optional parameters
|
203
203
|
# @return [Array<(Event, Integer, Hash)>] Event data, response status code and response headers
|
204
|
-
def events_post_with_http_info(
|
204
|
+
def events_post_with_http_info(event_response, opts = {})
|
205
205
|
if @api_client.config.debugging
|
206
206
|
@api_client.config.logger.debug 'Calling API: EventApi.events_post ...'
|
207
207
|
end
|
208
|
-
# verify the required parameter '
|
209
|
-
if @api_client.config.client_side_validation &&
|
210
|
-
fail ArgumentError, "Missing the required parameter '
|
208
|
+
# verify the required parameter 'event_response' is set
|
209
|
+
if @api_client.config.client_side_validation && event_response.nil?
|
210
|
+
fail ArgumentError, "Missing the required parameter 'event_response' when calling EventApi.events_post"
|
211
211
|
end
|
212
212
|
# resource path
|
213
213
|
local_var_path = '/events'
|
@@ -226,7 +226,7 @@ module AutosdeOpenapiClient
|
|
226
226
|
form_params = opts[:form_params] || {}
|
227
227
|
|
228
228
|
# http body (model)
|
229
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
229
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(event_response)
|
230
230
|
|
231
231
|
# return_type
|
232
232
|
return_type = opts[:debug_return_type] || 'Event'
|
@@ -19,24 +19,24 @@ module AutosdeOpenapiClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# @param
|
22
|
+
# @param refresh_system [RefreshSystem]
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
24
|
# @return [RefreshSystem]
|
25
|
-
def refresh_system_post(
|
26
|
-
data, _status_code, _headers = refresh_system_post_with_http_info(
|
25
|
+
def refresh_system_post(refresh_system, opts = {})
|
26
|
+
data, _status_code, _headers = refresh_system_post_with_http_info(refresh_system, opts)
|
27
27
|
data
|
28
28
|
end
|
29
29
|
|
30
|
-
# @param
|
30
|
+
# @param refresh_system [RefreshSystem]
|
31
31
|
# @param [Hash] opts the optional parameters
|
32
32
|
# @return [Array<(RefreshSystem, Integer, Hash)>] RefreshSystem data, response status code and response headers
|
33
|
-
def refresh_system_post_with_http_info(
|
33
|
+
def refresh_system_post_with_http_info(refresh_system, opts = {})
|
34
34
|
if @api_client.config.debugging
|
35
35
|
@api_client.config.logger.debug 'Calling API: RefreshSystemApi.refresh_system_post ...'
|
36
36
|
end
|
37
|
-
# verify the required parameter '
|
38
|
-
if @api_client.config.client_side_validation &&
|
39
|
-
fail ArgumentError, "Missing the required parameter '
|
37
|
+
# verify the required parameter 'refresh_system' is set
|
38
|
+
if @api_client.config.client_side_validation && refresh_system.nil?
|
39
|
+
fail ArgumentError, "Missing the required parameter 'refresh_system' when calling RefreshSystemApi.refresh_system_post"
|
40
40
|
end
|
41
41
|
# resource path
|
42
42
|
local_var_path = '/refresh-system'
|
@@ -55,7 +55,7 @@ module AutosdeOpenapiClient
|
|
55
55
|
form_params = opts[:form_params] || {}
|
56
56
|
|
57
57
|
# http body (model)
|
58
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
58
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(refresh_system)
|
59
59
|
|
60
60
|
# return_type
|
61
61
|
return_type = opts[:debug_return_type] || 'RefreshSystem'
|