pulp_2to3_migration_client 0.8.0.dev01612582268 → 0.8.0.dev01612668694

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8631e64ceb44905686875bba51da3cf123950014b51adbcf01da9c75386ef0cf
4
- data.tar.gz: c402db651cc10dea0f8d33884e046f7bde94792c592c5b672a95dfd5446253d9
3
+ metadata.gz: 6d193689941bdafd5771f3ff2f04b0204ebf0b033cccffcf4237061a30bcebd2
4
+ data.tar.gz: 6d8d8700898041441092dff706a2c1bf7af09961d29c1cd332fb7c3e40069f55
5
5
  SHA512:
6
- metadata.gz: 1d1fed525c638301a887849d7ea854c0fecfe7b3641f58f21d0080c1db27607c72b6d1370b79b833a23e7f947651451f6ed54d9478ffdc72aa0bb72c8022e464
7
- data.tar.gz: ea8fe930978b2d5f351cb771a9a1cdbfe9606af6ac8c63ce0b4e5f67eea0cdbb4bbae4dbbe2c9213be4c2fc2b04fb94bdef6c0bd9bc8233a6d9597334523dc57
6
+ metadata.gz: a3a65353a878b8264444e76d004afcf561039311ae7f3100ea42f585e62937124205aed63de78a7a175ba318ec590967d007dc109686147f51aa308864baabec
7
+ data.tar.gz: 2bb43dcb1c45eada201c0110a59c52b1a177b79ec959d6db37c3d0bd8efd02696bd9b1c6b692e7d9222968c77e97317ae87cf397f35778b4057a29165caa0c64
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: 0.8.0.dev01612582268
10
+ - Package version: 0.8.0.dev01612668694
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 pulp_2to3_migration_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_2to3_migration_client-0.8.0.dev01612582268.gem
27
+ gem install ./pulp_2to3_migration_client-0.8.0.dev01612668694.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_2to3_migration_client-0.8.0.dev01612582268.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_2to3_migration_client-0.8.0.dev01612668694.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 'pulp_2to3_migration_client', '~> 0.8.0.dev01612582268'
36
+ gem 'pulp_2to3_migration_client', '~> 0.8.0.dev01612668694'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -242,7 +242,7 @@ Name | Type | Description | Notes
242
242
 
243
243
  ## reset
244
244
 
245
- > AsyncOperationResponse reset(pulp_2to3_migration_migration_plan_href, pulp2to3_migration_migration_plan)
245
+ > AsyncOperationResponse reset(pulp_2to3_migration_migration_plan_href)
246
246
 
247
247
  Reset Pulp 3 data for plugins specified in the migration plan
248
248
 
@@ -262,11 +262,10 @@ end
262
262
 
263
263
  api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
264
264
  pulp_2to3_migration_migration_plan_href = 'pulp_2to3_migration_migration_plan_href_example' # String |
265
- pulp2to3_migration_migration_plan = Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan.new # Pulp2to3MigrationMigrationPlan |
266
265
 
267
266
  begin
268
267
  #Reset Pulp 3 data for plugins specified in the migration plan
269
- result = api_instance.reset(pulp_2to3_migration_migration_plan_href, pulp2to3_migration_migration_plan)
268
+ result = api_instance.reset(pulp_2to3_migration_migration_plan_href)
270
269
  p result
271
270
  rescue Pulp2to3MigrationClient::ApiError => e
272
271
  puts "Exception when calling MigrationPlansApi->reset: #{e}"
@@ -279,7 +278,6 @@ end
279
278
  Name | Type | Description | Notes
280
279
  ------------- | ------------- | ------------- | -------------
281
280
  **pulp_2to3_migration_migration_plan_href** | **String**| |
282
- **pulp2to3_migration_migration_plan** | [**Pulp2to3MigrationMigrationPlan**](Pulp2to3MigrationMigrationPlan.md)| |
283
281
 
284
282
  ### Return type
285
283
 
@@ -291,7 +289,7 @@ Name | Type | Description | Notes
291
289
 
292
290
  ### HTTP request headers
293
291
 
294
- - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
292
+ - **Content-Type**: Not defined
295
293
  - **Accept**: application/json
296
294
 
297
295
 
@@ -285,21 +285,19 @@ module Pulp2to3MigrationClient
285
285
  # Reset Pulp 3 data for plugins specified in the migration plan
286
286
  # Trigger an asynchronous task to remove data from Pulp 3 related to the plugins specified in the migration plan.
287
287
  # @param pulp_2to3_migration_migration_plan_href [String]
288
- # @param pulp2to3_migration_migration_plan [Pulp2to3MigrationMigrationPlan]
289
288
  # @param [Hash] opts the optional parameters
290
289
  # @return [AsyncOperationResponse]
291
- def reset(pulp_2to3_migration_migration_plan_href, pulp2to3_migration_migration_plan, opts = {})
292
- data, _status_code, _headers = reset_with_http_info(pulp_2to3_migration_migration_plan_href, pulp2to3_migration_migration_plan, opts)
290
+ def reset(pulp_2to3_migration_migration_plan_href, opts = {})
291
+ data, _status_code, _headers = reset_with_http_info(pulp_2to3_migration_migration_plan_href, opts)
293
292
  data
294
293
  end
295
294
 
296
295
  # Reset Pulp 3 data for plugins specified in the migration plan
297
296
  # Trigger an asynchronous task to remove data from Pulp 3 related to the plugins specified in the migration plan.
298
297
  # @param pulp_2to3_migration_migration_plan_href [String]
299
- # @param pulp2to3_migration_migration_plan [Pulp2to3MigrationMigrationPlan]
300
298
  # @param [Hash] opts the optional parameters
301
299
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
302
- def reset_with_http_info(pulp_2to3_migration_migration_plan_href, pulp2to3_migration_migration_plan, opts = {})
300
+ def reset_with_http_info(pulp_2to3_migration_migration_plan_href, opts = {})
303
301
  if @api_client.config.debugging
304
302
  @api_client.config.logger.debug 'Calling API: MigrationPlansApi.reset ...'
305
303
  end
@@ -307,10 +305,6 @@ module Pulp2to3MigrationClient
307
305
  if @api_client.config.client_side_validation && pulp_2to3_migration_migration_plan_href.nil?
308
306
  fail ArgumentError, "Missing the required parameter 'pulp_2to3_migration_migration_plan_href' when calling MigrationPlansApi.reset"
309
307
  end
310
- # verify the required parameter 'pulp2to3_migration_migration_plan' is set
311
- if @api_client.config.client_side_validation && pulp2to3_migration_migration_plan.nil?
312
- fail ArgumentError, "Missing the required parameter 'pulp2to3_migration_migration_plan' when calling MigrationPlansApi.reset"
313
- end
314
308
  # resource path
315
309
  local_var_path = '{pulp_2to3_migration_migration_plan_href}reset/'.sub('{' + 'pulp_2to3_migration_migration_plan_href' + '}', CGI.escape(pulp_2to3_migration_migration_plan_href.to_s).gsub('%2F', '/'))
316
310
 
@@ -321,14 +315,12 @@ module Pulp2to3MigrationClient
321
315
  header_params = opts[:header_params] || {}
322
316
  # HTTP header 'Accept' (if needed)
323
317
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
324
- # HTTP header 'Content-Type'
325
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
326
318
 
327
319
  # form parameters
328
320
  form_params = opts[:form_params] || {}
329
321
 
330
322
  # http body (model)
331
- post_body = opts[:body] || @api_client.object_to_http_body(pulp2to3_migration_migration_plan)
323
+ post_body = opts[:body]
332
324
 
333
325
  # return_type
334
326
  return_type = opts[:return_type] || 'AsyncOperationResponse'
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module Pulp2to3MigrationClient
14
- VERSION = '0.8.0.dev01612582268'
14
+ VERSION = '0.8.0.dev01612668694'
15
15
  end
@@ -90,7 +90,6 @@ describe 'MigrationPlansApi' do
90
90
  # Reset Pulp 3 data for plugins specified in the migration plan
91
91
  # Trigger an asynchronous task to remove data from Pulp 3 related to the plugins specified in the migration plan.
92
92
  # @param pulp_2to3_migration_migration_plan_href
93
- # @param pulp2to3_migration_migration_plan
94
93
  # @param [Hash] opts the optional parameters
95
94
  # @return [AsyncOperationResponse]
96
95
  describe 'reset test' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_2to3_migration_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0.dev01612582268
4
+ version: 0.8.0.dev01612668694
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-02-06 00:00:00.000000000 Z
11
+ date: 2021-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday