pulpcore_client 3.6.3 → 3.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/GroupsObjectPermissionsApi.md +2 -8
- data/docs/PermissionResponse.md +2 -2
- data/docs/TasksApi.md +2 -52
- data/docs/UploadsApi.md +0 -2
- data/docs/WorkerResponse.md +3 -3
- data/lib/pulpcore_client/api/groups_object_permissions_api.rb +0 -6
- data/lib/pulpcore_client/api/tasks_api.rb +0 -72
- data/lib/pulpcore_client/api/uploads_api.rb +0 -3
- data/lib/pulpcore_client/models/permission_response.rb +2 -2
- data/lib/pulpcore_client/models/worker_response.rb +10 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/groups_object_permissions_api_spec.rb +0 -2
- data/spec/api/tasks_api_spec.rb +0 -24
- data/spec/api/uploads_api_spec.rb +0 -1
- data/spec/models/worker_response_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a5c47e9ffc0e6b01215948708379e828822383338ec76c995a1a1d9d71c1e8d
|
4
|
+
data.tar.gz: 46a3883b2fe81e9bedc877543d7b129eec5de8ce08c82347eb820768617b18cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50ef987be435d90adc470a131e6739e5602e9adc2059a2331ec7a597f679ca0fca9b9340d195427342e60ae7ff22c78f4917be46f44892eb1f061e3edecfa88f
|
7
|
+
data.tar.gz: fe0f4725bc0785d09fbec6fd07a91d7ed1477ace172491030b56a60ddfb59c83a8c2302fe08ce375f49b59d00ca5cbcfd93e203c8b57a71efc458599c2cb5785
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.6.
|
10
|
+
- Package version: 3.6.4
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulpcore_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulpcore_client-3.6.
|
27
|
+
gem install ./pulpcore_client-3.6.4.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.6.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.6.4.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulpcore_client', '~> 3.6.
|
36
|
+
gem 'pulpcore_client', '~> 3.6.4'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> delete(auth_auth_groups_permission_href
|
71
|
+
> delete(auth_auth_groups_permission_href)
|
72
72
|
|
73
73
|
Delete a permission
|
74
74
|
|
@@ -88,13 +88,10 @@ end
|
|
88
88
|
|
89
89
|
api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
|
90
90
|
auth_auth_groups_permission_href = 'auth_auth_groups_permission_href_example' # String |
|
91
|
-
opts = {
|
92
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
93
|
-
}
|
94
91
|
|
95
92
|
begin
|
96
93
|
#Delete a permission
|
97
|
-
api_instance.delete(auth_auth_groups_permission_href
|
94
|
+
api_instance.delete(auth_auth_groups_permission_href)
|
98
95
|
rescue PulpcoreClient::ApiError => e
|
99
96
|
puts "Exception when calling GroupsObjectPermissionsApi->delete: #{e}"
|
100
97
|
end
|
@@ -106,7 +103,6 @@ end
|
|
106
103
|
Name | Type | Description | Notes
|
107
104
|
------------- | ------------- | ------------- | -------------
|
108
105
|
**auth_auth_groups_permission_href** | **String**| |
|
109
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
110
106
|
|
111
107
|
### Return type
|
112
108
|
|
@@ -210,7 +206,6 @@ end
|
|
210
206
|
api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
|
211
207
|
auth_auth_groups_permission_href = 'auth_auth_groups_permission_href_example' # String |
|
212
208
|
opts = {
|
213
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
214
209
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
215
210
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
216
211
|
}
|
@@ -230,7 +225,6 @@ end
|
|
230
225
|
Name | Type | Description | Notes
|
231
226
|
------------- | ------------- | ------------- | -------------
|
232
227
|
**auth_auth_groups_permission_href** | **String**| |
|
233
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
234
228
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
235
229
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
236
230
|
|
data/docs/PermissionResponse.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **
|
8
|
-
**id** | **
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**id** | **String** | | [optional] [readonly]
|
9
9
|
**permission** | **String** | | [optional] [readonly]
|
10
10
|
**obj** | **String** | Content object. | [optional] [readonly]
|
11
11
|
|
data/docs/TasksApi.md
CHANGED
@@ -233,7 +233,7 @@ Name | Type | Description | Notes
|
|
233
233
|
|
234
234
|
## tasks_cancel
|
235
235
|
|
236
|
-
> TaskResponse tasks_cancel(task_href, patched_task_cancel
|
236
|
+
> TaskResponse tasks_cancel(task_href, patched_task_cancel)
|
237
237
|
|
238
238
|
Cancel a task
|
239
239
|
|
@@ -254,36 +254,10 @@ end
|
|
254
254
|
api_instance = PulpcoreClient::TasksApi.new
|
255
255
|
task_href = 'task_href_example' # String |
|
256
256
|
patched_task_cancel = PulpcoreClient::PatchedTaskCancel.new # PatchedTaskCancel |
|
257
|
-
opts = {
|
258
|
-
child_tasks: 'child_tasks_example', # String | child_tasks
|
259
|
-
created_resources: 'created_resources_example', # String | created_resources
|
260
|
-
finished_at: 'finished_at_example', # String | finished_at
|
261
|
-
finished_at__gt: 'finished_at__gt_example', # String | finished_at__gt
|
262
|
-
finished_at__gte: 'finished_at__gte_example', # String | finished_at__gte
|
263
|
-
finished_at__lt: 'finished_at__lt_example', # String | finished_at__lt
|
264
|
-
finished_at__lte: 'finished_at__lte_example', # String | finished_at__lte
|
265
|
-
finished_at__range: 'finished_at__range_example', # String | finished_at__range
|
266
|
-
name: 'name_example', # String | name
|
267
|
-
name__contains: 'name__contains_example', # String | name__contains
|
268
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
269
|
-
parent_task: 'parent_task_example', # String | parent_task
|
270
|
-
reserved_resources_record: 'reserved_resources_record_example', # String | reserved_resources_record
|
271
|
-
started_at: 'started_at_example', # String | started_at
|
272
|
-
started_at__gt: 'started_at__gt_example', # String | started_at__gt
|
273
|
-
started_at__gte: 'started_at__gte_example', # String | started_at__gte
|
274
|
-
started_at__lt: 'started_at__lt_example', # String | started_at__lt
|
275
|
-
started_at__lte: 'started_at__lte_example', # String | started_at__lte
|
276
|
-
started_at__range: 'started_at__range_example', # String | started_at__range
|
277
|
-
state: 'state_example', # String | state
|
278
|
-
state__in: 'state__in_example', # String | state__in
|
279
|
-
task_group: 'task_group_example', # String | task_group
|
280
|
-
worker: 'worker_example', # String | worker
|
281
|
-
worker__in: 'worker__in_example' # String | worker__in
|
282
|
-
}
|
283
257
|
|
284
258
|
begin
|
285
259
|
#Cancel a task
|
286
|
-
result = api_instance.tasks_cancel(task_href, patched_task_cancel
|
260
|
+
result = api_instance.tasks_cancel(task_href, patched_task_cancel)
|
287
261
|
p result
|
288
262
|
rescue PulpcoreClient::ApiError => e
|
289
263
|
puts "Exception when calling TasksApi->tasks_cancel: #{e}"
|
@@ -297,30 +271,6 @@ Name | Type | Description | Notes
|
|
297
271
|
------------- | ------------- | ------------- | -------------
|
298
272
|
**task_href** | **String**| |
|
299
273
|
**patched_task_cancel** | [**PatchedTaskCancel**](PatchedTaskCancel.md)| |
|
300
|
-
**child_tasks** | **String**| child_tasks | [optional]
|
301
|
-
**created_resources** | **String**| created_resources | [optional]
|
302
|
-
**finished_at** | **String**| finished_at | [optional]
|
303
|
-
**finished_at__gt** | **String**| finished_at__gt | [optional]
|
304
|
-
**finished_at__gte** | **String**| finished_at__gte | [optional]
|
305
|
-
**finished_at__lt** | **String**| finished_at__lt | [optional]
|
306
|
-
**finished_at__lte** | **String**| finished_at__lte | [optional]
|
307
|
-
**finished_at__range** | **String**| finished_at__range | [optional]
|
308
|
-
**name** | **String**| name | [optional]
|
309
|
-
**name__contains** | **String**| name__contains | [optional]
|
310
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
311
|
-
**parent_task** | **String**| parent_task | [optional]
|
312
|
-
**reserved_resources_record** | **String**| reserved_resources_record | [optional]
|
313
|
-
**started_at** | **String**| started_at | [optional]
|
314
|
-
**started_at__gt** | **String**| started_at__gt | [optional]
|
315
|
-
**started_at__gte** | **String**| started_at__gte | [optional]
|
316
|
-
**started_at__lt** | **String**| started_at__lt | [optional]
|
317
|
-
**started_at__lte** | **String**| started_at__lte | [optional]
|
318
|
-
**started_at__range** | **String**| started_at__range | [optional]
|
319
|
-
**state** | **String**| state | [optional]
|
320
|
-
**state__in** | **String**| state__in | [optional]
|
321
|
-
**task_group** | **String**| task_group | [optional]
|
322
|
-
**worker** | **String**| worker | [optional]
|
323
|
-
**worker__in** | **String**| worker__in | [optional]
|
324
274
|
|
325
275
|
### Return type
|
326
276
|
|
data/docs/UploadsApi.md
CHANGED
@@ -320,7 +320,6 @@ content_range = 'content_range_example' # String | The Content-Range header spec
|
|
320
320
|
upload_href = 'upload_href_example' # String |
|
321
321
|
file = File.new('/path/to/file') # File | A chunk of the uploaded file.
|
322
322
|
opts = {
|
323
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
324
323
|
sha256: 'sha256_example' # String | The SHA-256 checksum of the chunk if available.
|
325
324
|
}
|
326
325
|
|
@@ -341,7 +340,6 @@ Name | Type | Description | Notes
|
|
341
340
|
**content_range** | **String**| The Content-Range header specifies the location of the file chunk within the file. |
|
342
341
|
**upload_href** | **String**| |
|
343
342
|
**file** | **File**| A chunk of the uploaded file. |
|
344
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
345
343
|
**sha256** | **String**| The SHA-256 checksum of the chunk if available. | [optional]
|
346
344
|
|
347
345
|
### Return type
|
data/docs/WorkerResponse.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**name** | **String** | The name of the worker. | [optional] [readonly]
|
10
10
|
**last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional] [readonly]
|
11
11
|
|
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpcoreClient'
|
16
16
|
|
17
|
-
instance = PulpcoreClient::WorkerResponse.new(
|
18
|
-
|
17
|
+
instance = PulpcoreClient::WorkerResponse.new(pulp_href: null,
|
18
|
+
pulp_created: null,
|
19
19
|
name: null,
|
20
20
|
last_heartbeat: null)
|
21
21
|
```
|
@@ -93,7 +93,6 @@ module PulpcoreClient
|
|
93
93
|
# Remove an object permission from a group.
|
94
94
|
# @param auth_auth_groups_permission_href [String]
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
97
96
|
# @return [nil]
|
98
97
|
def delete(auth_auth_groups_permission_href, opts = {})
|
99
98
|
delete_with_http_info(auth_auth_groups_permission_href, opts)
|
@@ -104,7 +103,6 @@ module PulpcoreClient
|
|
104
103
|
# Remove an object permission from a group.
|
105
104
|
# @param auth_auth_groups_permission_href [String]
|
106
105
|
# @param [Hash] opts the optional parameters
|
107
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
108
106
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
109
107
|
def delete_with_http_info(auth_auth_groups_permission_href, opts = {})
|
110
108
|
if @api_client.config.debugging
|
@@ -119,7 +117,6 @@ module PulpcoreClient
|
|
119
117
|
|
120
118
|
# query parameters
|
121
119
|
query_params = opts[:query_params] || {}
|
122
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
123
120
|
|
124
121
|
# header parameters
|
125
122
|
header_params = opts[:header_params] || {}
|
@@ -233,7 +230,6 @@ module PulpcoreClient
|
|
233
230
|
# Retrieve a model permission from a group.
|
234
231
|
# @param auth_auth_groups_permission_href [String]
|
235
232
|
# @param [Hash] opts the optional parameters
|
236
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
237
233
|
# @option opts [String] :fields A list of fields to include in the response.
|
238
234
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
239
235
|
# @return [PermissionResponse]
|
@@ -246,7 +242,6 @@ module PulpcoreClient
|
|
246
242
|
# Retrieve a model permission from a group.
|
247
243
|
# @param auth_auth_groups_permission_href [String]
|
248
244
|
# @param [Hash] opts the optional parameters
|
249
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
250
245
|
# @option opts [String] :fields A list of fields to include in the response.
|
251
246
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
252
247
|
# @return [Array<(PermissionResponse, Integer, Hash)>] PermissionResponse data, response status code and response headers
|
@@ -263,7 +258,6 @@ module PulpcoreClient
|
|
263
258
|
|
264
259
|
# query parameters
|
265
260
|
query_params = opts[:query_params] || {}
|
266
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
267
261
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
268
262
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
269
263
|
|
@@ -292,30 +292,6 @@ module PulpcoreClient
|
|
292
292
|
# @param task_href [String]
|
293
293
|
# @param patched_task_cancel [PatchedTaskCancel]
|
294
294
|
# @param [Hash] opts the optional parameters
|
295
|
-
# @option opts [String] :child_tasks child_tasks
|
296
|
-
# @option opts [String] :created_resources created_resources
|
297
|
-
# @option opts [String] :finished_at finished_at
|
298
|
-
# @option opts [String] :finished_at__gt finished_at__gt
|
299
|
-
# @option opts [String] :finished_at__gte finished_at__gte
|
300
|
-
# @option opts [String] :finished_at__lt finished_at__lt
|
301
|
-
# @option opts [String] :finished_at__lte finished_at__lte
|
302
|
-
# @option opts [String] :finished_at__range finished_at__range
|
303
|
-
# @option opts [String] :name name
|
304
|
-
# @option opts [String] :name__contains name__contains
|
305
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
306
|
-
# @option opts [String] :parent_task parent_task
|
307
|
-
# @option opts [String] :reserved_resources_record reserved_resources_record
|
308
|
-
# @option opts [String] :started_at started_at
|
309
|
-
# @option opts [String] :started_at__gt started_at__gt
|
310
|
-
# @option opts [String] :started_at__gte started_at__gte
|
311
|
-
# @option opts [String] :started_at__lt started_at__lt
|
312
|
-
# @option opts [String] :started_at__lte started_at__lte
|
313
|
-
# @option opts [String] :started_at__range started_at__range
|
314
|
-
# @option opts [String] :state state
|
315
|
-
# @option opts [String] :state__in state__in
|
316
|
-
# @option opts [String] :task_group task_group
|
317
|
-
# @option opts [String] :worker worker
|
318
|
-
# @option opts [String] :worker__in worker__in
|
319
295
|
# @return [TaskResponse]
|
320
296
|
def tasks_cancel(task_href, patched_task_cancel, opts = {})
|
321
297
|
data, _status_code, _headers = tasks_cancel_with_http_info(task_href, patched_task_cancel, opts)
|
@@ -327,30 +303,6 @@ module PulpcoreClient
|
|
327
303
|
# @param task_href [String]
|
328
304
|
# @param patched_task_cancel [PatchedTaskCancel]
|
329
305
|
# @param [Hash] opts the optional parameters
|
330
|
-
# @option opts [String] :child_tasks child_tasks
|
331
|
-
# @option opts [String] :created_resources created_resources
|
332
|
-
# @option opts [String] :finished_at finished_at
|
333
|
-
# @option opts [String] :finished_at__gt finished_at__gt
|
334
|
-
# @option opts [String] :finished_at__gte finished_at__gte
|
335
|
-
# @option opts [String] :finished_at__lt finished_at__lt
|
336
|
-
# @option opts [String] :finished_at__lte finished_at__lte
|
337
|
-
# @option opts [String] :finished_at__range finished_at__range
|
338
|
-
# @option opts [String] :name name
|
339
|
-
# @option opts [String] :name__contains name__contains
|
340
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
341
|
-
# @option opts [String] :parent_task parent_task
|
342
|
-
# @option opts [String] :reserved_resources_record reserved_resources_record
|
343
|
-
# @option opts [String] :started_at started_at
|
344
|
-
# @option opts [String] :started_at__gt started_at__gt
|
345
|
-
# @option opts [String] :started_at__gte started_at__gte
|
346
|
-
# @option opts [String] :started_at__lt started_at__lt
|
347
|
-
# @option opts [String] :started_at__lte started_at__lte
|
348
|
-
# @option opts [String] :started_at__range started_at__range
|
349
|
-
# @option opts [String] :state state
|
350
|
-
# @option opts [String] :state__in state__in
|
351
|
-
# @option opts [String] :task_group task_group
|
352
|
-
# @option opts [String] :worker worker
|
353
|
-
# @option opts [String] :worker__in worker__in
|
354
306
|
# @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
|
355
307
|
def tasks_cancel_with_http_info(task_href, patched_task_cancel, opts = {})
|
356
308
|
if @api_client.config.debugging
|
@@ -369,30 +321,6 @@ module PulpcoreClient
|
|
369
321
|
|
370
322
|
# query parameters
|
371
323
|
query_params = opts[:query_params] || {}
|
372
|
-
query_params[:'child_tasks'] = opts[:'child_tasks'] if !opts[:'child_tasks'].nil?
|
373
|
-
query_params[:'created_resources'] = opts[:'created_resources'] if !opts[:'created_resources'].nil?
|
374
|
-
query_params[:'finished_at'] = opts[:'finished_at'] if !opts[:'finished_at'].nil?
|
375
|
-
query_params[:'finished_at__gt'] = opts[:'finished_at__gt'] if !opts[:'finished_at__gt'].nil?
|
376
|
-
query_params[:'finished_at__gte'] = opts[:'finished_at__gte'] if !opts[:'finished_at__gte'].nil?
|
377
|
-
query_params[:'finished_at__lt'] = opts[:'finished_at__lt'] if !opts[:'finished_at__lt'].nil?
|
378
|
-
query_params[:'finished_at__lte'] = opts[:'finished_at__lte'] if !opts[:'finished_at__lte'].nil?
|
379
|
-
query_params[:'finished_at__range'] = opts[:'finished_at__range'] if !opts[:'finished_at__range'].nil?
|
380
|
-
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
381
|
-
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
382
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
383
|
-
query_params[:'parent_task'] = opts[:'parent_task'] if !opts[:'parent_task'].nil?
|
384
|
-
query_params[:'reserved_resources_record'] = opts[:'reserved_resources_record'] if !opts[:'reserved_resources_record'].nil?
|
385
|
-
query_params[:'started_at'] = opts[:'started_at'] if !opts[:'started_at'].nil?
|
386
|
-
query_params[:'started_at__gt'] = opts[:'started_at__gt'] if !opts[:'started_at__gt'].nil?
|
387
|
-
query_params[:'started_at__gte'] = opts[:'started_at__gte'] if !opts[:'started_at__gte'].nil?
|
388
|
-
query_params[:'started_at__lt'] = opts[:'started_at__lt'] if !opts[:'started_at__lt'].nil?
|
389
|
-
query_params[:'started_at__lte'] = opts[:'started_at__lte'] if !opts[:'started_at__lte'].nil?
|
390
|
-
query_params[:'started_at__range'] = opts[:'started_at__range'] if !opts[:'started_at__range'].nil?
|
391
|
-
query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
|
392
|
-
query_params[:'state__in'] = opts[:'state__in'] if !opts[:'state__in'].nil?
|
393
|
-
query_params[:'task_group'] = opts[:'task_group'] if !opts[:'task_group'].nil?
|
394
|
-
query_params[:'worker'] = opts[:'worker'] if !opts[:'worker'].nil?
|
395
|
-
query_params[:'worker__in'] = opts[:'worker__in'] if !opts[:'worker__in'].nil?
|
396
324
|
|
397
325
|
# header parameters
|
398
326
|
header_params = opts[:header_params] || {}
|
@@ -358,7 +358,6 @@ module PulpcoreClient
|
|
358
358
|
# @param upload_href [String]
|
359
359
|
# @param file [File] A chunk of the uploaded file.
|
360
360
|
# @param [Hash] opts the optional parameters
|
361
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
362
361
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
363
362
|
# @return [UploadResponse]
|
364
363
|
def update(content_range, upload_href, file, opts = {})
|
@@ -372,7 +371,6 @@ module PulpcoreClient
|
|
372
371
|
# @param upload_href [String]
|
373
372
|
# @param file [File] A chunk of the uploaded file.
|
374
373
|
# @param [Hash] opts the optional parameters
|
375
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
376
374
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
377
375
|
# @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
|
378
376
|
def update_with_http_info(content_range, upload_href, file, opts = {})
|
@@ -396,7 +394,6 @@ module PulpcoreClient
|
|
396
394
|
|
397
395
|
# query parameters
|
398
396
|
query_params = opts[:query_params] || {}
|
399
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
400
397
|
|
401
398
|
# header parameters
|
402
399
|
header_params = opts[:header_params] || {}
|
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
17
17
|
class WorkerResponse
|
18
|
+
attr_accessor :pulp_href
|
19
|
+
|
18
20
|
# Timestamp of creation.
|
19
21
|
attr_accessor :pulp_created
|
20
22
|
|
21
|
-
attr_accessor :pulp_href
|
22
|
-
|
23
23
|
# The name of the worker.
|
24
24
|
attr_accessor :name
|
25
25
|
|
@@ -29,8 +29,8 @@ module PulpcoreClient
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
|
-
:'pulp_created' => :'pulp_created',
|
33
32
|
:'pulp_href' => :'pulp_href',
|
33
|
+
:'pulp_created' => :'pulp_created',
|
34
34
|
:'name' => :'name',
|
35
35
|
:'last_heartbeat' => :'last_heartbeat'
|
36
36
|
}
|
@@ -39,8 +39,8 @@ module PulpcoreClient
|
|
39
39
|
# Attribute type mapping.
|
40
40
|
def self.openapi_types
|
41
41
|
{
|
42
|
-
:'pulp_created' => :'DateTime',
|
43
42
|
:'pulp_href' => :'String',
|
43
|
+
:'pulp_created' => :'DateTime',
|
44
44
|
:'name' => :'String',
|
45
45
|
:'last_heartbeat' => :'DateTime'
|
46
46
|
}
|
@@ -67,14 +67,14 @@ module PulpcoreClient
|
|
67
67
|
h[k.to_sym] = v
|
68
68
|
}
|
69
69
|
|
70
|
-
if attributes.key?(:'pulp_created')
|
71
|
-
self.pulp_created = attributes[:'pulp_created']
|
72
|
-
end
|
73
|
-
|
74
70
|
if attributes.key?(:'pulp_href')
|
75
71
|
self.pulp_href = attributes[:'pulp_href']
|
76
72
|
end
|
77
73
|
|
74
|
+
if attributes.key?(:'pulp_created')
|
75
|
+
self.pulp_created = attributes[:'pulp_created']
|
76
|
+
end
|
77
|
+
|
78
78
|
if attributes.key?(:'name')
|
79
79
|
self.name = attributes[:'name']
|
80
80
|
end
|
@@ -102,8 +102,8 @@ module PulpcoreClient
|
|
102
102
|
def ==(o)
|
103
103
|
return true if self.equal?(o)
|
104
104
|
self.class == o.class &&
|
105
|
-
pulp_created == o.pulp_created &&
|
106
105
|
pulp_href == o.pulp_href &&
|
106
|
+
pulp_created == o.pulp_created &&
|
107
107
|
name == o.name &&
|
108
108
|
last_heartbeat == o.last_heartbeat
|
109
109
|
end
|
@@ -117,7 +117,7 @@ module PulpcoreClient
|
|
117
117
|
# Calculates hash code according to all attributes.
|
118
118
|
# @return [Integer] Hash code
|
119
119
|
def hash
|
120
|
-
[
|
120
|
+
[pulp_href, pulp_created, name, last_heartbeat].hash
|
121
121
|
end
|
122
122
|
|
123
123
|
# Builds the object from hash
|
@@ -50,7 +50,6 @@ describe 'GroupsObjectPermissionsApi' do
|
|
50
50
|
# Remove an object permission from a group.
|
51
51
|
# @param auth_auth_groups_permission_href
|
52
52
|
# @param [Hash] opts the optional parameters
|
53
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
54
53
|
# @return [nil]
|
55
54
|
describe 'delete test' do
|
56
55
|
it 'should work' do
|
@@ -80,7 +79,6 @@ describe 'GroupsObjectPermissionsApi' do
|
|
80
79
|
# Retrieve a model permission from a group.
|
81
80
|
# @param auth_auth_groups_permission_href
|
82
81
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
84
82
|
# @option opts [String] :fields A list of fields to include in the response.
|
85
83
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
86
84
|
# @return [PermissionResponse]
|
data/spec/api/tasks_api_spec.rb
CHANGED
@@ -103,30 +103,6 @@ describe 'TasksApi' do
|
|
103
103
|
# @param task_href
|
104
104
|
# @param patched_task_cancel
|
105
105
|
# @param [Hash] opts the optional parameters
|
106
|
-
# @option opts [String] :child_tasks child_tasks
|
107
|
-
# @option opts [String] :created_resources created_resources
|
108
|
-
# @option opts [String] :finished_at finished_at
|
109
|
-
# @option opts [String] :finished_at__gt finished_at__gt
|
110
|
-
# @option opts [String] :finished_at__gte finished_at__gte
|
111
|
-
# @option opts [String] :finished_at__lt finished_at__lt
|
112
|
-
# @option opts [String] :finished_at__lte finished_at__lte
|
113
|
-
# @option opts [String] :finished_at__range finished_at__range
|
114
|
-
# @option opts [String] :name name
|
115
|
-
# @option opts [String] :name__contains name__contains
|
116
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
117
|
-
# @option opts [String] :parent_task parent_task
|
118
|
-
# @option opts [String] :reserved_resources_record reserved_resources_record
|
119
|
-
# @option opts [String] :started_at started_at
|
120
|
-
# @option opts [String] :started_at__gt started_at__gt
|
121
|
-
# @option opts [String] :started_at__gte started_at__gte
|
122
|
-
# @option opts [String] :started_at__lt started_at__lt
|
123
|
-
# @option opts [String] :started_at__lte started_at__lte
|
124
|
-
# @option opts [String] :started_at__range started_at__range
|
125
|
-
# @option opts [String] :state state
|
126
|
-
# @option opts [String] :state__in state__in
|
127
|
-
# @option opts [String] :task_group task_group
|
128
|
-
# @option opts [String] :worker worker
|
129
|
-
# @option opts [String] :worker__in worker__in
|
130
106
|
# @return [TaskResponse]
|
131
107
|
describe 'tasks_cancel test' do
|
132
108
|
it 'should work' do
|
@@ -106,7 +106,6 @@ describe 'UploadsApi' do
|
|
106
106
|
# @param upload_href
|
107
107
|
# @param file A chunk of the uploaded file.
|
108
108
|
# @param [Hash] opts the optional parameters
|
109
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
110
109
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
111
110
|
# @return [UploadResponse]
|
112
111
|
describe 'update test' do
|
@@ -32,13 +32,13 @@ describe 'WorkerResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::WorkerResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulpcore_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|