pulpcore_client 3.12.0.dev1616734685 → 3.12.0.dev1617250665
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulpcore_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ExportersPulpApi.md +12 -11
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +19 -17
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/exporters_pulp_api_spec.rb +6 -6
- 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: 734b8f3d5b4e7b125ea8efd8d043f84e6a4ef3bd632288c03c4082fd44c09098
|
4
|
+
data.tar.gz: bbb901a3ed55d3aa259605f26b05981ede59de13f0d2321f8554a0fc84ea46c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 116f58bfc18bf2f9801877dfb512014b2102872e144d42f785540d71448c8ccd21a81cea146d6568d35609a7e5595c445ba13af9256e7a64317a4a1810328872
|
7
|
+
data.tar.gz: 4c4c67f08a749814d05de66c75b01f3567d899aa74b9e8d2bc8e6e501e7357008b1fe5a6a344df2d7aacbbacc32bfbc3419dd6a4f13ebe1e1881271729cb7889
|
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.12.0.
|
10
|
+
- Package version: 3.12.0.dev1617250665
|
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.12.0.
|
27
|
+
gem install ./pulpcore_client-3.12.0.dev1617250665.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.12.0.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.12.0.dev1617250665.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.12.0.
|
36
|
+
gem 'pulpcore_client', '~> 3.12.0.dev1617250665'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/ExportersPulpApi.md
CHANGED
@@ -68,11 +68,11 @@ Name | Type | Description | Notes
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> delete(pulp_exporter_href)
|
71
|
+
> AsyncOperationResponse delete(pulp_exporter_href)
|
72
72
|
|
73
73
|
Delete a pulp exporter
|
74
74
|
|
75
|
-
|
75
|
+
Trigger an asynchronous delete task
|
76
76
|
|
77
77
|
### Example
|
78
78
|
|
@@ -91,7 +91,8 @@ pulp_exporter_href = 'pulp_exporter_href_example' # String |
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a pulp exporter
|
94
|
-
api_instance.delete(pulp_exporter_href)
|
94
|
+
result = api_instance.delete(pulp_exporter_href)
|
95
|
+
p result
|
95
96
|
rescue PulpcoreClient::ApiError => e
|
96
97
|
puts "Exception when calling ExportersPulpApi->delete: #{e}"
|
97
98
|
end
|
@@ -106,7 +107,7 @@ Name | Type | Description | Notes
|
|
106
107
|
|
107
108
|
### Return type
|
108
109
|
|
109
|
-
|
110
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
110
111
|
|
111
112
|
### Authorization
|
112
113
|
|
@@ -115,7 +116,7 @@ nil (empty response body)
|
|
115
116
|
### HTTP request headers
|
116
117
|
|
117
118
|
- **Content-Type**: Not defined
|
118
|
-
- **Accept**:
|
119
|
+
- **Accept**: application/json
|
119
120
|
|
120
121
|
|
121
122
|
## list
|
@@ -193,11 +194,11 @@ Name | Type | Description | Notes
|
|
193
194
|
|
194
195
|
## partial_update
|
195
196
|
|
196
|
-
>
|
197
|
+
> AsyncOperationResponse partial_update(pulp_exporter_href, patched_pulp_exporter)
|
197
198
|
|
198
199
|
Update a pulp exporter
|
199
200
|
|
200
|
-
|
201
|
+
Trigger an asynchronous partial update task
|
201
202
|
|
202
203
|
### Example
|
203
204
|
|
@@ -234,7 +235,7 @@ Name | Type | Description | Notes
|
|
234
235
|
|
235
236
|
### Return type
|
236
237
|
|
237
|
-
[**
|
238
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
238
239
|
|
239
240
|
### Authorization
|
240
241
|
|
@@ -307,11 +308,11 @@ Name | Type | Description | Notes
|
|
307
308
|
|
308
309
|
## update
|
309
310
|
|
310
|
-
>
|
311
|
+
> AsyncOperationResponse update(pulp_exporter_href, pulp_exporter)
|
311
312
|
|
312
313
|
Update a pulp exporter
|
313
314
|
|
314
|
-
|
315
|
+
Trigger an asynchronous update task
|
315
316
|
|
316
317
|
### Example
|
317
318
|
|
@@ -348,7 +349,7 @@ Name | Type | Description | Notes
|
|
348
349
|
|
349
350
|
### Return type
|
350
351
|
|
351
|
-
[**
|
352
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
352
353
|
|
353
354
|
### Authorization
|
354
355
|
|
@@ -84,20 +84,20 @@ module PulpcoreClient
|
|
84
84
|
end
|
85
85
|
|
86
86
|
# Delete a pulp exporter
|
87
|
-
#
|
87
|
+
# Trigger an asynchronous delete task
|
88
88
|
# @param pulp_exporter_href [String]
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @return [
|
90
|
+
# @return [AsyncOperationResponse]
|
91
91
|
def delete(pulp_exporter_href, opts = {})
|
92
|
-
delete_with_http_info(pulp_exporter_href, opts)
|
93
|
-
|
92
|
+
data, _status_code, _headers = delete_with_http_info(pulp_exporter_href, opts)
|
93
|
+
data
|
94
94
|
end
|
95
95
|
|
96
96
|
# Delete a pulp exporter
|
97
|
-
#
|
97
|
+
# Trigger an asynchronous delete task
|
98
98
|
# @param pulp_exporter_href [String]
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
|
-
# @return [Array<(
|
100
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
101
101
|
def delete_with_http_info(pulp_exporter_href, opts = {})
|
102
102
|
if @api_client.config.debugging
|
103
103
|
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.delete ...'
|
@@ -114,6 +114,8 @@ module PulpcoreClient
|
|
114
114
|
|
115
115
|
# header parameters
|
116
116
|
header_params = opts[:header_params] || {}
|
117
|
+
# HTTP header 'Accept' (if needed)
|
118
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
117
119
|
|
118
120
|
# form parameters
|
119
121
|
form_params = opts[:form_params] || {}
|
@@ -122,7 +124,7 @@ module PulpcoreClient
|
|
122
124
|
post_body = opts[:body]
|
123
125
|
|
124
126
|
# return_type
|
125
|
-
return_type = opts[:return_type]
|
127
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
126
128
|
|
127
129
|
# auth_names
|
128
130
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -230,22 +232,22 @@ module PulpcoreClient
|
|
230
232
|
end
|
231
233
|
|
232
234
|
# Update a pulp exporter
|
233
|
-
#
|
235
|
+
# Trigger an asynchronous partial update task
|
234
236
|
# @param pulp_exporter_href [String]
|
235
237
|
# @param patched_pulp_exporter [PatchedPulpExporter]
|
236
238
|
# @param [Hash] opts the optional parameters
|
237
|
-
# @return [
|
239
|
+
# @return [AsyncOperationResponse]
|
238
240
|
def partial_update(pulp_exporter_href, patched_pulp_exporter, opts = {})
|
239
241
|
data, _status_code, _headers = partial_update_with_http_info(pulp_exporter_href, patched_pulp_exporter, opts)
|
240
242
|
data
|
241
243
|
end
|
242
244
|
|
243
245
|
# Update a pulp exporter
|
244
|
-
#
|
246
|
+
# Trigger an asynchronous partial update task
|
245
247
|
# @param pulp_exporter_href [String]
|
246
248
|
# @param patched_pulp_exporter [PatchedPulpExporter]
|
247
249
|
# @param [Hash] opts the optional parameters
|
248
|
-
# @return [Array<(
|
250
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
249
251
|
def partial_update_with_http_info(pulp_exporter_href, patched_pulp_exporter, opts = {})
|
250
252
|
if @api_client.config.debugging
|
251
253
|
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.partial_update ...'
|
@@ -278,7 +280,7 @@ module PulpcoreClient
|
|
278
280
|
post_body = opts[:body] || @api_client.object_to_http_body(patched_pulp_exporter)
|
279
281
|
|
280
282
|
# return_type
|
281
|
-
return_type = opts[:return_type] || '
|
283
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
282
284
|
|
283
285
|
# auth_names
|
284
286
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -368,22 +370,22 @@ module PulpcoreClient
|
|
368
370
|
end
|
369
371
|
|
370
372
|
# Update a pulp exporter
|
371
|
-
#
|
373
|
+
# Trigger an asynchronous update task
|
372
374
|
# @param pulp_exporter_href [String]
|
373
375
|
# @param pulp_exporter [PulpExporter]
|
374
376
|
# @param [Hash] opts the optional parameters
|
375
|
-
# @return [
|
377
|
+
# @return [AsyncOperationResponse]
|
376
378
|
def update(pulp_exporter_href, pulp_exporter, opts = {})
|
377
379
|
data, _status_code, _headers = update_with_http_info(pulp_exporter_href, pulp_exporter, opts)
|
378
380
|
data
|
379
381
|
end
|
380
382
|
|
381
383
|
# Update a pulp exporter
|
382
|
-
#
|
384
|
+
# Trigger an asynchronous update task
|
383
385
|
# @param pulp_exporter_href [String]
|
384
386
|
# @param pulp_exporter [PulpExporter]
|
385
387
|
# @param [Hash] opts the optional parameters
|
386
|
-
# @return [Array<(
|
388
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
387
389
|
def update_with_http_info(pulp_exporter_href, pulp_exporter, opts = {})
|
388
390
|
if @api_client.config.debugging
|
389
391
|
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.update ...'
|
@@ -416,7 +418,7 @@ module PulpcoreClient
|
|
416
418
|
post_body = opts[:body] || @api_client.object_to_http_body(pulp_exporter)
|
417
419
|
|
418
420
|
# return_type
|
419
|
-
return_type = opts[:return_type] || '
|
421
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
420
422
|
|
421
423
|
# auth_names
|
422
424
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -46,10 +46,10 @@ describe 'ExportersPulpApi' do
|
|
46
46
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete a pulp exporter
|
49
|
-
#
|
49
|
+
# Trigger an asynchronous delete task
|
50
50
|
# @param pulp_exporter_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @return [
|
52
|
+
# @return [AsyncOperationResponse]
|
53
53
|
describe 'delete test' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -79,11 +79,11 @@ describe 'ExportersPulpApi' do
|
|
79
79
|
|
80
80
|
# unit tests for partial_update
|
81
81
|
# Update a pulp exporter
|
82
|
-
#
|
82
|
+
# Trigger an asynchronous partial update task
|
83
83
|
# @param pulp_exporter_href
|
84
84
|
# @param patched_pulp_exporter
|
85
85
|
# @param [Hash] opts the optional parameters
|
86
|
-
# @return [
|
86
|
+
# @return [AsyncOperationResponse]
|
87
87
|
describe 'partial_update test' do
|
88
88
|
it 'should work' do
|
89
89
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -106,11 +106,11 @@ describe 'ExportersPulpApi' do
|
|
106
106
|
|
107
107
|
# unit tests for update
|
108
108
|
# Update a pulp exporter
|
109
|
-
#
|
109
|
+
# Trigger an asynchronous update task
|
110
110
|
# @param pulp_exporter_href
|
111
111
|
# @param pulp_exporter
|
112
112
|
# @param [Hash] opts the optional parameters
|
113
|
-
# @return [
|
113
|
+
# @return [AsyncOperationResponse]
|
114
114
|
describe 'update test' do
|
115
115
|
it 'should work' do
|
116
116
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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.12.0.
|
4
|
+
version: 3.12.0.dev1617250665
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|