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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9439c644fcf85d226bd7ab6ed285804ca41ad708aaa14e301ed00385f502e74
4
- data.tar.gz: 1dcae98805cb5f14589404fac211e18cbf7c06ea3d1fee69ffa3c7a1b67d222f
3
+ metadata.gz: 734b8f3d5b4e7b125ea8efd8d043f84e6a4ef3bd632288c03c4082fd44c09098
4
+ data.tar.gz: bbb901a3ed55d3aa259605f26b05981ede59de13f0d2321f8554a0fc84ea46c5
5
5
  SHA512:
6
- metadata.gz: 1fcfa383ee2e16f06115a5e1f774851e2141b5c82c6e9f052e8cbce338bededbc1ed066314c913a99b3ff3daa69743bf8f135ea6e6f0d5f2b66bebcdd44810ab
7
- data.tar.gz: 281751fdc69a277cf0161db17800a434ff09d172b92d4cbff500e1db67a102d00e181503df22813d99899a6c5d86cc2d90d0ac77d7d52184ac01b917508a8019
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.dev1616734685
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.dev1616734685.gem
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.dev1616734685.gem` to install the development dependencies)
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.dev1616734685'
36
+ gem 'pulpcore_client', '~> 3.12.0.dev1617250665'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -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
- ViewSet for viewing PulpExporters.
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
- nil (empty response body)
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**: Not defined
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
- > PulpExporterResponse partial_update(pulp_exporter_href, patched_pulp_exporter)
197
+ > AsyncOperationResponse partial_update(pulp_exporter_href, patched_pulp_exporter)
197
198
 
198
199
  Update a pulp exporter
199
200
 
200
- ViewSet for viewing PulpExporters.
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
- [**PulpExporterResponse**](PulpExporterResponse.md)
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
- > PulpExporterResponse update(pulp_exporter_href, pulp_exporter)
311
+ > AsyncOperationResponse update(pulp_exporter_href, pulp_exporter)
311
312
 
312
313
  Update a pulp exporter
313
314
 
314
- ViewSet for viewing PulpExporters.
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
- [**PulpExporterResponse**](PulpExporterResponse.md)
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
- # ViewSet for viewing PulpExporters.
87
+ # Trigger an asynchronous delete task
88
88
  # @param pulp_exporter_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
- # @return [nil]
90
+ # @return [AsyncOperationResponse]
91
91
  def delete(pulp_exporter_href, opts = {})
92
- delete_with_http_info(pulp_exporter_href, opts)
93
- nil
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
- # ViewSet for viewing PulpExporters.
97
+ # Trigger an asynchronous delete task
98
98
  # @param pulp_exporter_href [String]
99
99
  # @param [Hash] opts the optional parameters
100
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
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
- # ViewSet for viewing PulpExporters.
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 [PulpExporterResponse]
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
- # ViewSet for viewing PulpExporters.
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<(PulpExporterResponse, Integer, Hash)>] PulpExporterResponse data, response status code and response headers
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] || 'PulpExporterResponse'
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
- # ViewSet for viewing PulpExporters.
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 [PulpExporterResponse]
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
- # ViewSet for viewing PulpExporters.
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<(PulpExporterResponse, Integer, Hash)>] PulpExporterResponse data, response status code and response headers
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] || 'PulpExporterResponse'
421
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
420
422
 
421
423
  # auth_names
422
424
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.12.0.dev1616734685'
14
+ VERSION = '3.12.0.dev1617250665'
15
15
  end
@@ -46,10 +46,10 @@ describe 'ExportersPulpApi' do
46
46
 
47
47
  # unit tests for delete
48
48
  # Delete a pulp exporter
49
- # ViewSet for viewing PulpExporters.
49
+ # Trigger an asynchronous delete task
50
50
  # @param pulp_exporter_href
51
51
  # @param [Hash] opts the optional parameters
52
- # @return [nil]
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
- # ViewSet for viewing PulpExporters.
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 [PulpExporterResponse]
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
- # ViewSet for viewing PulpExporters.
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 [PulpExporterResponse]
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.dev1616734685
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-03-26 00:00:00.000000000 Z
11
+ date: 2021-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday