allq_client 1.0.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/allq_client-1.1.0.gem +0 -0
- data/allq_client.gemspec +0 -0
- data/deploy.sh +3 -0
- data/docs/ActionsApi.md +0 -0
- data/docs/AdminApi.md +0 -0
- data/docs/BasicPayload.md +0 -0
- data/docs/BasicResponse.md +0 -0
- data/docs/JobRef.md +0 -0
- data/docs/JobResponse.md +0 -0
- data/docs/NewJob.md +0 -0
- data/docs/NewParentJob.md +0 -0
- data/docs/StatsInfo.md +0 -0
- data/docs/StatsResults.md +0 -0
- data/docs/StatsTube.md +0 -0
- data/docs/Throttle.md +0 -0
- data/docs/TubeRef.md +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/allq_client.rb +2 -1
- data/lib/allq_client/.DS_Store +0 -0
- data/lib/allq_client/api/actions_api.rb +96 -45
- data/lib/allq_client/api/admin_api.rb +62 -9
- data/lib/allq_client/api_client.rb +9 -9
- data/lib/allq_client/api_error.rb +1 -1
- data/lib/allq_client/configuration.rb +2 -2
- data/lib/allq_client/models/basic_payload.rb +7 -12
- data/lib/allq_client/models/basic_response.rb +7 -12
- data/lib/allq_client/models/job_ref.rb +7 -11
- data/lib/allq_client/models/job_response.rb +10 -14
- data/lib/allq_client/models/multiple_job_response.rb +187 -0
- data/lib/allq_client/models/new_job.rb +14 -18
- data/lib/allq_client/models/new_parent_job.rb +14 -18
- data/lib/allq_client/models/stats_info.rb +8 -12
- data/lib/allq_client/models/stats_results.rb +9 -13
- data/lib/allq_client/models/stats_tube.rb +12 -16
- data/lib/allq_client/models/throttle.rb +9 -13
- data/lib/allq_client/models/tube_ref.rb +7 -11
- data/lib/allq_client/version.rb +2 -2
- data/spec/api/actions_api_spec.rb +414 -12
- data/spec/api/admin_api_spec.rb +0 -0
- data/spec/api_client_spec.rb +0 -0
- data/spec/configuration_spec.rb +0 -0
- data/spec/models/basic_payload_spec.rb +0 -0
- data/spec/models/basic_response_spec.rb +0 -0
- data/spec/models/job_ref_spec.rb +0 -0
- data/spec/models/job_response_spec.rb +0 -0
- data/spec/models/new_job_spec.rb +0 -0
- data/spec/models/new_parent_job_spec.rb +0 -0
- data/spec/models/stats_info_spec.rb +0 -0
- data/spec/models/stats_results_spec.rb +0 -0
- data/spec/models/stats_tube_spec.rb +0 -0
- data/spec/models/throttle_spec.rb +0 -0
- data/spec/models/tube_ref_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c4d0267ace81022dad777dfbbcfaef3fb7d790c132f57c2a921f7f3ba7bd4de
|
4
|
+
data.tar.gz: f767e120958ab497a7a74f9fe5ad8b1b9bfc1e10d8e8df0d63ffa13a4cd17fb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01ab5d7fee429f7dc4ecfa2ef810153a2487a30e5cabebe2f5adbe1649cc07a4e63d7e67456cecd17b9812d38d56ec70b04b7a0e817cb1eecf82e95be6bb7fe7
|
7
|
+
data.tar.gz: de10ca0b80c5bf20ecfde526a5c6b03975abfb3e560c7b248add77f7adca7a9f875ee9ee5348be835b0671a2a50a08fb8d01769b8c6095e0e73c6e6f465881b2
|
data/Gemfile
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
Binary file
|
data/allq_client.gemspec
CHANGED
File without changes
|
data/deploy.sh
ADDED
data/docs/ActionsApi.md
CHANGED
File without changes
|
data/docs/AdminApi.md
CHANGED
File without changes
|
data/docs/BasicPayload.md
CHANGED
File without changes
|
data/docs/BasicResponse.md
CHANGED
File without changes
|
data/docs/JobRef.md
CHANGED
File without changes
|
data/docs/JobResponse.md
CHANGED
File without changes
|
data/docs/NewJob.md
CHANGED
File without changes
|
data/docs/NewParentJob.md
CHANGED
File without changes
|
data/docs/StatsInfo.md
CHANGED
File without changes
|
data/docs/StatsResults.md
CHANGED
File without changes
|
data/docs/StatsTube.md
CHANGED
File without changes
|
data/docs/Throttle.md
CHANGED
File without changes
|
data/docs/TubeRef.md
CHANGED
File without changes
|
data/lib/.DS_Store
ADDED
Binary file
|
data/lib/allq_client.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -21,6 +21,7 @@ require 'allq_client/models/basic_payload'
|
|
21
21
|
require 'allq_client/models/basic_response'
|
22
22
|
require 'allq_client/models/job_ref'
|
23
23
|
require 'allq_client/models/job_response'
|
24
|
+
require 'allq_client/models/multiple_job_response'
|
24
25
|
require 'allq_client/models/new_job'
|
25
26
|
require 'allq_client/models/new_parent_job'
|
26
27
|
require 'allq_client/models/stats_info'
|
Binary file
|
@@ -6,11 +6,11 @@
|
|
6
6
|
OpenAPI spec version: 1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module Allq
|
16
16
|
class ActionsApi
|
@@ -19,7 +19,6 @@ module Allq
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
|
23
22
|
# Bury
|
24
23
|
# Bury Job
|
25
24
|
# @param job_id Job ID
|
@@ -27,7 +26,7 @@ module Allq
|
|
27
26
|
# @return [BasicResponse]
|
28
27
|
def bury_put(job_id, opts = {})
|
29
28
|
data, _status_code, _headers = bury_put_with_http_info(job_id, opts)
|
30
|
-
|
29
|
+
data
|
31
30
|
end
|
32
31
|
|
33
32
|
# Bury
|
@@ -37,14 +36,14 @@ module Allq
|
|
37
36
|
# @return [Array<(BasicResponse, Fixnum, Hash)>] BasicResponse data, response status code and response headers
|
38
37
|
def bury_put_with_http_info(job_id, opts = {})
|
39
38
|
if @api_client.config.debugging
|
40
|
-
@api_client.config.logger.debug
|
39
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.bury_put ...'
|
41
40
|
end
|
42
41
|
# verify the required parameter 'job_id' is set
|
43
42
|
if @api_client.config.client_side_validation && job_id.nil?
|
44
43
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling ActionsApi.bury_put"
|
45
44
|
end
|
46
45
|
# resource path
|
47
|
-
local_var_path =
|
46
|
+
local_var_path = '/bury'
|
48
47
|
|
49
48
|
# query parameters
|
50
49
|
query_params = {}
|
@@ -75,7 +74,6 @@ module Allq
|
|
75
74
|
end
|
76
75
|
return data, status_code, headers
|
77
76
|
end
|
78
|
-
|
79
77
|
# Delete
|
80
78
|
# Finished Job
|
81
79
|
# @param job_id Job ID
|
@@ -84,7 +82,7 @@ module Allq
|
|
84
82
|
# @return [BasicResponse]
|
85
83
|
def job_delete(job_id, opts = {})
|
86
84
|
data, _status_code, _headers = job_delete_with_http_info(job_id, opts)
|
87
|
-
|
85
|
+
data
|
88
86
|
end
|
89
87
|
|
90
88
|
# Delete
|
@@ -95,14 +93,14 @@ module Allq
|
|
95
93
|
# @return [Array<(BasicResponse, Fixnum, Hash)>] BasicResponse data, response status code and response headers
|
96
94
|
def job_delete_with_http_info(job_id, opts = {})
|
97
95
|
if @api_client.config.debugging
|
98
|
-
@api_client.config.logger.debug
|
96
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.job_delete ...'
|
99
97
|
end
|
100
98
|
# verify the required parameter 'job_id' is set
|
101
99
|
if @api_client.config.client_side_validation && job_id.nil?
|
102
100
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling ActionsApi.job_delete"
|
103
101
|
end
|
104
102
|
# resource path
|
105
|
-
local_var_path =
|
103
|
+
local_var_path = '/job'
|
106
104
|
|
107
105
|
# query parameters
|
108
106
|
query_params = {}
|
@@ -134,7 +132,6 @@ module Allq
|
|
134
132
|
end
|
135
133
|
return data, status_code, headers
|
136
134
|
end
|
137
|
-
|
138
135
|
# Job
|
139
136
|
# Get job from queue
|
140
137
|
# @param tube Name of tube
|
@@ -142,7 +139,7 @@ module Allq
|
|
142
139
|
# @return [JobResponse]
|
143
140
|
def job_get(tube, opts = {})
|
144
141
|
data, _status_code, _headers = job_get_with_http_info(tube, opts)
|
145
|
-
|
142
|
+
data
|
146
143
|
end
|
147
144
|
|
148
145
|
# Job
|
@@ -152,14 +149,14 @@ module Allq
|
|
152
149
|
# @return [Array<(JobResponse, Fixnum, Hash)>] JobResponse data, response status code and response headers
|
153
150
|
def job_get_with_http_info(tube, opts = {})
|
154
151
|
if @api_client.config.debugging
|
155
|
-
@api_client.config.logger.debug
|
152
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.job_get ...'
|
156
153
|
end
|
157
154
|
# verify the required parameter 'tube' is set
|
158
155
|
if @api_client.config.client_side_validation && tube.nil?
|
159
156
|
fail ArgumentError, "Missing the required parameter 'tube' when calling ActionsApi.job_get"
|
160
157
|
end
|
161
158
|
# resource path
|
162
|
-
local_var_path =
|
159
|
+
local_var_path = '/job'
|
163
160
|
|
164
161
|
# query parameters
|
165
162
|
query_params = {}
|
@@ -190,7 +187,6 @@ module Allq
|
|
190
187
|
end
|
191
188
|
return data, status_code, headers
|
192
189
|
end
|
193
|
-
|
194
190
|
# Job
|
195
191
|
# Put job into queue
|
196
192
|
# @param new_job New Job Object
|
@@ -198,7 +194,7 @@ module Allq
|
|
198
194
|
# @return [JobRef]
|
199
195
|
def job_post(new_job, opts = {})
|
200
196
|
data, _status_code, _headers = job_post_with_http_info(new_job, opts)
|
201
|
-
|
197
|
+
data
|
202
198
|
end
|
203
199
|
|
204
200
|
# Job
|
@@ -208,14 +204,14 @@ module Allq
|
|
208
204
|
# @return [Array<(JobRef, Fixnum, Hash)>] JobRef data, response status code and response headers
|
209
205
|
def job_post_with_http_info(new_job, opts = {})
|
210
206
|
if @api_client.config.debugging
|
211
|
-
@api_client.config.logger.debug
|
207
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.job_post ...'
|
212
208
|
end
|
213
209
|
# verify the required parameter 'new_job' is set
|
214
210
|
if @api_client.config.client_side_validation && new_job.nil?
|
215
211
|
fail ArgumentError, "Missing the required parameter 'new_job' when calling ActionsApi.job_post"
|
216
212
|
end
|
217
213
|
# resource path
|
218
|
-
local_var_path =
|
214
|
+
local_var_path = '/job'
|
219
215
|
|
220
216
|
# query parameters
|
221
217
|
query_params = {}
|
@@ -245,7 +241,68 @@ module Allq
|
|
245
241
|
end
|
246
242
|
return data, status_code, headers
|
247
243
|
end
|
244
|
+
# Multiple Job
|
245
|
+
# Get multiple jobs from queue
|
246
|
+
# @param tube Name of tube
|
247
|
+
# @param count Max number of reults
|
248
|
+
# @param [Hash] opts the optional parameters
|
249
|
+
# @return [MultipleJobResponse]
|
250
|
+
def multiple_job_get(tube, count, opts = {})
|
251
|
+
data, _status_code, _headers = multiple_job_get_with_http_info(tube, count, opts)
|
252
|
+
data
|
253
|
+
end
|
254
|
+
|
255
|
+
# Multiple Job
|
256
|
+
# Get multiple jobs from queue
|
257
|
+
# @param tube Name of tube
|
258
|
+
# @param count Max number of reults
|
259
|
+
# @param [Hash] opts the optional parameters
|
260
|
+
# @return [Array<(MultipleJobResponse, Fixnum, Hash)>] MultipleJobResponse data, response status code and response headers
|
261
|
+
def multiple_job_get_with_http_info(tube, count, opts = {})
|
262
|
+
if @api_client.config.debugging
|
263
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.multiple_job_get ...'
|
264
|
+
end
|
265
|
+
# verify the required parameter 'tube' is set
|
266
|
+
if @api_client.config.client_side_validation && tube.nil?
|
267
|
+
fail ArgumentError, "Missing the required parameter 'tube' when calling ActionsApi.multiple_job_get"
|
268
|
+
end
|
269
|
+
# verify the required parameter 'count' is set
|
270
|
+
if @api_client.config.client_side_validation && count.nil?
|
271
|
+
fail ArgumentError, "Missing the required parameter 'count' when calling ActionsApi.multiple_job_get"
|
272
|
+
end
|
273
|
+
# resource path
|
274
|
+
local_var_path = '/multiple_job'
|
275
|
+
|
276
|
+
# query parameters
|
277
|
+
query_params = {}
|
278
|
+
query_params[:'tube'] = tube
|
279
|
+
query_params[:'count'] = count
|
280
|
+
|
281
|
+
# header parameters
|
282
|
+
header_params = {}
|
283
|
+
# HTTP header 'Accept' (if needed)
|
284
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
285
|
+
# HTTP header 'Content-Type'
|
286
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
248
287
|
|
288
|
+
# form parameters
|
289
|
+
form_params = {}
|
290
|
+
|
291
|
+
# http body (model)
|
292
|
+
post_body = nil
|
293
|
+
auth_names = []
|
294
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
295
|
+
:header_params => header_params,
|
296
|
+
:query_params => query_params,
|
297
|
+
:form_params => form_params,
|
298
|
+
:body => post_body,
|
299
|
+
:auth_names => auth_names,
|
300
|
+
:return_type => 'MultipleJobResponse')
|
301
|
+
if @api_client.config.debugging
|
302
|
+
@api_client.config.logger.debug "API called: ActionsApi#multiple_job_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
303
|
+
end
|
304
|
+
return data, status_code, headers
|
305
|
+
end
|
249
306
|
# Parent Job
|
250
307
|
# Create a parent job
|
251
308
|
# @param new_parent_job New Parent Job Data
|
@@ -253,7 +310,7 @@ module Allq
|
|
253
310
|
# @return [JobRef]
|
254
311
|
def parent_job_post(new_parent_job, opts = {})
|
255
312
|
data, _status_code, _headers = parent_job_post_with_http_info(new_parent_job, opts)
|
256
|
-
|
313
|
+
data
|
257
314
|
end
|
258
315
|
|
259
316
|
# Parent Job
|
@@ -263,14 +320,14 @@ module Allq
|
|
263
320
|
# @return [Array<(JobRef, Fixnum, Hash)>] JobRef data, response status code and response headers
|
264
321
|
def parent_job_post_with_http_info(new_parent_job, opts = {})
|
265
322
|
if @api_client.config.debugging
|
266
|
-
@api_client.config.logger.debug
|
323
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.parent_job_post ...'
|
267
324
|
end
|
268
325
|
# verify the required parameter 'new_parent_job' is set
|
269
326
|
if @api_client.config.client_side_validation && new_parent_job.nil?
|
270
327
|
fail ArgumentError, "Missing the required parameter 'new_parent_job' when calling ActionsApi.parent_job_post"
|
271
328
|
end
|
272
329
|
# resource path
|
273
|
-
local_var_path =
|
330
|
+
local_var_path = '/parent_job'
|
274
331
|
|
275
332
|
# query parameters
|
276
333
|
query_params = {}
|
@@ -300,7 +357,6 @@ module Allq
|
|
300
357
|
end
|
301
358
|
return data, status_code, headers
|
302
359
|
end
|
303
|
-
|
304
360
|
# Peek
|
305
361
|
# Peek at next job
|
306
362
|
# @param tube Tube name
|
@@ -309,7 +365,7 @@ module Allq
|
|
309
365
|
# @return [JobResponse]
|
310
366
|
def peek_get(tube, opts = {})
|
311
367
|
data, _status_code, _headers = peek_get_with_http_info(tube, opts)
|
312
|
-
|
368
|
+
data
|
313
369
|
end
|
314
370
|
|
315
371
|
# Peek
|
@@ -320,14 +376,14 @@ module Allq
|
|
320
376
|
# @return [Array<(JobResponse, Fixnum, Hash)>] JobResponse data, response status code and response headers
|
321
377
|
def peek_get_with_http_info(tube, opts = {})
|
322
378
|
if @api_client.config.debugging
|
323
|
-
@api_client.config.logger.debug
|
379
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.peek_get ...'
|
324
380
|
end
|
325
381
|
# verify the required parameter 'tube' is set
|
326
382
|
if @api_client.config.client_side_validation && tube.nil?
|
327
383
|
fail ArgumentError, "Missing the required parameter 'tube' when calling ActionsApi.peek_get"
|
328
384
|
end
|
329
385
|
# resource path
|
330
|
-
local_var_path =
|
386
|
+
local_var_path = '/peek'
|
331
387
|
|
332
388
|
# query parameters
|
333
389
|
query_params = {}
|
@@ -359,7 +415,6 @@ module Allq
|
|
359
415
|
end
|
360
416
|
return data, status_code, headers
|
361
417
|
end
|
362
|
-
|
363
418
|
# Release
|
364
419
|
# Releases job back into queue
|
365
420
|
# @param job_id Job ID
|
@@ -367,7 +422,7 @@ module Allq
|
|
367
422
|
# @return [BasicResponse]
|
368
423
|
def release_put(job_id, opts = {})
|
369
424
|
data, _status_code, _headers = release_put_with_http_info(job_id, opts)
|
370
|
-
|
425
|
+
data
|
371
426
|
end
|
372
427
|
|
373
428
|
# Release
|
@@ -377,14 +432,14 @@ module Allq
|
|
377
432
|
# @return [Array<(BasicResponse, Fixnum, Hash)>] BasicResponse data, response status code and response headers
|
378
433
|
def release_put_with_http_info(job_id, opts = {})
|
379
434
|
if @api_client.config.debugging
|
380
|
-
@api_client.config.logger.debug
|
435
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.release_put ...'
|
381
436
|
end
|
382
437
|
# verify the required parameter 'job_id' is set
|
383
438
|
if @api_client.config.client_side_validation && job_id.nil?
|
384
439
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling ActionsApi.release_put"
|
385
440
|
end
|
386
441
|
# resource path
|
387
|
-
local_var_path =
|
442
|
+
local_var_path = '/release'
|
388
443
|
|
389
444
|
# query parameters
|
390
445
|
query_params = {}
|
@@ -415,7 +470,6 @@ module Allq
|
|
415
470
|
end
|
416
471
|
return data, status_code, headers
|
417
472
|
end
|
418
|
-
|
419
473
|
# Set Children Started
|
420
474
|
# When a parent job doesn't know how many children are going to be added, this is the event that sets the final children count on the parent_job, allowing it to run when the children are done.
|
421
475
|
# @param job_id Job ID
|
@@ -423,7 +477,7 @@ module Allq
|
|
423
477
|
# @return [BasicResponse]
|
424
478
|
def set_children_started_put(job_id, opts = {})
|
425
479
|
data, _status_code, _headers = set_children_started_put_with_http_info(job_id, opts)
|
426
|
-
|
480
|
+
data
|
427
481
|
end
|
428
482
|
|
429
483
|
# Set Children Started
|
@@ -433,14 +487,14 @@ module Allq
|
|
433
487
|
# @return [Array<(BasicResponse, Fixnum, Hash)>] BasicResponse data, response status code and response headers
|
434
488
|
def set_children_started_put_with_http_info(job_id, opts = {})
|
435
489
|
if @api_client.config.debugging
|
436
|
-
@api_client.config.logger.debug
|
490
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.set_children_started_put ...'
|
437
491
|
end
|
438
492
|
# verify the required parameter 'job_id' is set
|
439
493
|
if @api_client.config.client_side_validation && job_id.nil?
|
440
494
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling ActionsApi.set_children_started_put"
|
441
495
|
end
|
442
496
|
# resource path
|
443
|
-
local_var_path =
|
497
|
+
local_var_path = '/set_children_started'
|
444
498
|
|
445
499
|
# query parameters
|
446
500
|
query_params = {}
|
@@ -471,7 +525,6 @@ module Allq
|
|
471
525
|
end
|
472
526
|
return data, status_code, headers
|
473
527
|
end
|
474
|
-
|
475
528
|
# Throttle
|
476
529
|
# Creates a throttle on a tube
|
477
530
|
# @param throttle Throttle info
|
@@ -479,7 +532,7 @@ module Allq
|
|
479
532
|
# @return [TubeRef]
|
480
533
|
def throttle_post(throttle, opts = {})
|
481
534
|
data, _status_code, _headers = throttle_post_with_http_info(throttle, opts)
|
482
|
-
|
535
|
+
data
|
483
536
|
end
|
484
537
|
|
485
538
|
# Throttle
|
@@ -489,14 +542,14 @@ module Allq
|
|
489
542
|
# @return [Array<(TubeRef, Fixnum, Hash)>] TubeRef data, response status code and response headers
|
490
543
|
def throttle_post_with_http_info(throttle, opts = {})
|
491
544
|
if @api_client.config.debugging
|
492
|
-
@api_client.config.logger.debug
|
545
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.throttle_post ...'
|
493
546
|
end
|
494
547
|
# verify the required parameter 'throttle' is set
|
495
548
|
if @api_client.config.client_side_validation && throttle.nil?
|
496
549
|
fail ArgumentError, "Missing the required parameter 'throttle' when calling ActionsApi.throttle_post"
|
497
550
|
end
|
498
551
|
# resource path
|
499
|
-
local_var_path =
|
552
|
+
local_var_path = '/throttle'
|
500
553
|
|
501
554
|
# query parameters
|
502
555
|
query_params = {}
|
@@ -526,7 +579,6 @@ module Allq
|
|
526
579
|
end
|
527
580
|
return data, status_code, headers
|
528
581
|
end
|
529
|
-
|
530
582
|
# Touch
|
531
583
|
# Touch job
|
532
584
|
# @param job_id Job ID
|
@@ -534,7 +586,7 @@ module Allq
|
|
534
586
|
# @return [BasicResponse]
|
535
587
|
def touch_put(job_id, opts = {})
|
536
588
|
data, _status_code, _headers = touch_put_with_http_info(job_id, opts)
|
537
|
-
|
589
|
+
data
|
538
590
|
end
|
539
591
|
|
540
592
|
# Touch
|
@@ -544,14 +596,14 @@ module Allq
|
|
544
596
|
# @return [Array<(BasicResponse, Fixnum, Hash)>] BasicResponse data, response status code and response headers
|
545
597
|
def touch_put_with_http_info(job_id, opts = {})
|
546
598
|
if @api_client.config.debugging
|
547
|
-
@api_client.config.logger.debug
|
599
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.touch_put ...'
|
548
600
|
end
|
549
601
|
# verify the required parameter 'job_id' is set
|
550
602
|
if @api_client.config.client_side_validation && job_id.nil?
|
551
603
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling ActionsApi.touch_put"
|
552
604
|
end
|
553
605
|
# resource path
|
554
|
-
local_var_path =
|
606
|
+
local_var_path = '/touch'
|
555
607
|
|
556
608
|
# query parameters
|
557
609
|
query_params = {}
|
@@ -582,7 +634,6 @@ module Allq
|
|
582
634
|
end
|
583
635
|
return data, status_code, headers
|
584
636
|
end
|
585
|
-
|
586
637
|
# Clear Tube
|
587
638
|
# Delete all contents of tube
|
588
639
|
# @param tube Tube Name
|
@@ -590,7 +641,7 @@ module Allq
|
|
590
641
|
# @return [BasicResponse]
|
591
642
|
def tube_delete(tube, opts = {})
|
592
643
|
data, _status_code, _headers = tube_delete_with_http_info(tube, opts)
|
593
|
-
|
644
|
+
data
|
594
645
|
end
|
595
646
|
|
596
647
|
# Clear Tube
|
@@ -600,14 +651,14 @@ module Allq
|
|
600
651
|
# @return [Array<(BasicResponse, Fixnum, Hash)>] BasicResponse data, response status code and response headers
|
601
652
|
def tube_delete_with_http_info(tube, opts = {})
|
602
653
|
if @api_client.config.debugging
|
603
|
-
@api_client.config.logger.debug
|
654
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.tube_delete ...'
|
604
655
|
end
|
605
656
|
# verify the required parameter 'tube' is set
|
606
657
|
if @api_client.config.client_side_validation && tube.nil?
|
607
658
|
fail ArgumentError, "Missing the required parameter 'tube' when calling ActionsApi.tube_delete"
|
608
659
|
end
|
609
660
|
# resource path
|
610
|
-
local_var_path =
|
661
|
+
local_var_path = '/tube'
|
611
662
|
|
612
663
|
# query parameters
|
613
664
|
query_params = {}
|