pulp_2to3_migration_client 0.3.0b1.dev01595619351 → 0.3.0b1.dev01595705725

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -20
  3. data/docs/InlineResponse200.md +3 -3
  4. data/docs/InlineResponse2001.md +3 -3
  5. data/docs/InlineResponse2002.md +3 -3
  6. data/docs/MigrationPlansApi.md +39 -43
  7. data/docs/Pulp2ContentApi.md +152 -0
  8. data/docs/{Pulp2repositoriesApi.md → Pulp2RepositoriesApi.md} +27 -29
  9. data/docs/Pulp2to3MigrationMigrationPlan.md +1 -5
  10. data/docs/Pulp2to3MigrationMigrationPlanResponse.md +21 -0
  11. data/docs/{Pulp2to3MigrationPulp2Content.md → Pulp2to3MigrationPulp2ContentResponse.md} +3 -3
  12. data/docs/{Pulp2to3MigrationPulp2Repository.md → Pulp2to3MigrationPulp2RepositoryResponse.md} +6 -6
  13. data/lib/pulp_2to3_migration_client.rb +7 -6
  14. data/lib/pulp_2to3_migration_client/api/migration_plans_api.rb +42 -50
  15. data/lib/pulp_2to3_migration_client/api/{pulp2content_api.rb → pulp2_content_api.rb} +46 -50
  16. data/lib/pulp_2to3_migration_client/api/{pulp2repositories_api.rb → pulp2_repositories_api.rb} +29 -33
  17. data/lib/pulp_2to3_migration_client/api_client.rb +2 -2
  18. data/lib/pulp_2to3_migration_client/api_error.rb +2 -2
  19. data/lib/pulp_2to3_migration_client/configuration.rb +3 -3
  20. data/lib/pulp_2to3_migration_client/models/async_operation_response.rb +3 -2
  21. data/lib/pulp_2to3_migration_client/models/inline_response200.rb +3 -13
  22. data/lib/pulp_2to3_migration_client/models/inline_response2001.rb +3 -13
  23. data/lib/pulp_2to3_migration_client/models/inline_response2002.rb +3 -13
  24. data/lib/pulp_2to3_migration_client/models/migration_plan_run.rb +3 -2
  25. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan.rb +4 -22
  26. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_response.rb +232 -0
  27. data/lib/pulp_2to3_migration_client/models/{pulp2to3_migration_pulp2_content.rb → pulp2to3_migration_pulp2_content_response.rb} +7 -59
  28. data/lib/pulp_2to3_migration_client/models/{pulp2to3_migration_pulp2_repository.rb → pulp2to3_migration_pulp2_repository_response.rb} +11 -108
  29. data/lib/pulp_2to3_migration_client/version.rb +3 -3
  30. data/pulp_2to3_migration_client.gemspec +4 -4
  31. data/spec/api/migration_plans_api_spec.rb +10 -14
  32. data/spec/api/pulp2_content_api_spec.rb +74 -0
  33. data/spec/api/{pulp2repositories_api_spec.rb → pulp2_repositories_api_spec.rb} +15 -17
  34. data/spec/api_client_spec.rb +2 -2
  35. data/spec/configuration_spec.rb +2 -2
  36. data/spec/models/async_operation_response_spec.rb +2 -2
  37. data/spec/models/inline_response2001_spec.rb +2 -2
  38. data/spec/models/inline_response2002_spec.rb +2 -2
  39. data/spec/models/inline_response200_spec.rb +2 -2
  40. data/spec/models/migration_plan_run_spec.rb +2 -2
  41. data/spec/models/pulp2to3_migration_migration_plan_response_spec.rb +53 -0
  42. data/spec/models/pulp2to3_migration_migration_plan_spec.rb +2 -14
  43. data/spec/models/{pulp2to3_migration_pulp2_content_spec.rb → pulp2to3_migration_pulp2_content_response_spec.rb} +8 -8
  44. data/spec/models/{pulp2to3_migration_pulp2_repository_spec.rb → pulp2to3_migration_pulp2_repository_response_spec.rb} +8 -8
  45. data/spec/spec_helper.rb +2 -2
  46. metadata +24 -20
  47. data/docs/Pulp2contentApi.md +0 -154
  48. data/spec/api/pulp2content_api_spec.rb +0 -76
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a5edc8bdd467df73d4c05a9c578f9b028688d2d577896937f651b66754ada52
4
- data.tar.gz: d79879d7ca6c8091eed2245124c6e6b6b007844005abe8d2adc28aa8dac1fa09
3
+ metadata.gz: df386b2cad3fa7a827b8dd7f5dad067c67266f1f8ecabcecb8dd70f925a3ae9a
4
+ data.tar.gz: 7c8e13b4fd9919f7c0e8145b0459ace070b5b1f8d8a89b782dd124f87d897522
5
5
  SHA512:
6
- metadata.gz: b3c920a3942595f295e18b480ff6d230dcf9aafc349fa10b5e5bb5eade6a09f508fb5072d6fc47ee03e40c2249c081a95c5652cdca4994dd5347c9f7bada309f
7
- data.tar.gz: f28cdeacef90541610528798849ba06d502a10a0959d023361c743bbd392563770fde9dd83d4648b52eaa021dc0c3bb3c6fc24a59f9440c4b335b7aa3e17081f
6
+ metadata.gz: 3baad54fb91db222b2812a39e8246528a3cdf492b7fc0a5a3d37c16a887f08bcd5d0b1f966f7a34713dab61a55646ddfaa7bf1e1fe1b93912e7b47fe9ebb3442
7
+ data.tar.gz: a541f8e58e538368195a729c99097960aec6f41e310d81fe27f9adbe03a3676716c0bf9ab0350e088ee31eb80f28d508cb28910bd0b70b9d3e5641264a4a09cf
data/README.md CHANGED
@@ -2,13 +2,14 @@
2
2
 
3
3
  Pulp2to3MigrationClient - the Ruby gem for the Pulp 3 API
4
4
 
5
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ Fetch, Upload, Organize, and Distribute Software Packages
6
6
 
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.3.0b1.dev01595619351
10
+ - Package version: 0.3.0b1.dev01595705725
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
+ For more information, please visit [https://pulpproject.org](https://pulpproject.org)
12
13
 
13
14
  ## Installation
14
15
 
@@ -23,16 +24,16 @@ gem build pulp_2to3_migration_client.gemspec
23
24
  Then either install the gem locally:
24
25
 
25
26
  ```shell
26
- gem install ./pulp_2to3_migration_client-0.3.0b1.dev01595619351.gem
27
+ gem install ./pulp_2to3_migration_client-0.3.0b1.dev01595705725.gem
27
28
  ```
28
29
 
29
- (for development, run `gem install --dev ./pulp_2to3_migration_client-0.3.0b1.dev01595619351.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_2to3_migration_client-0.3.0b1.dev01595705725.gem` to install the development dependencies)
30
31
 
31
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
33
 
33
34
  Finally add this to the Gemfile:
34
35
 
35
- gem 'pulp_2to3_migration_client', '~> 0.3.0b1.dev01595619351'
36
+ gem 'pulp_2to3_migration_client', '~> 0.3.0b1.dev01595705725'
36
37
 
37
38
  ### Install from Git
38
39
 
@@ -58,17 +59,16 @@ require 'pulp_2to3_migration_client'
58
59
 
59
60
  # Setup authorization
60
61
  Pulp2to3MigrationClient.configure do |config|
61
- # Configure HTTP basic authorization: Basic
62
+ # Configure HTTP basic authorization: basicAuth
62
63
  config.username = 'YOUR_USERNAME'
63
64
  config.password = 'YOUR_PASSWORD'
64
65
  end
65
66
 
66
67
  api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
67
- data = Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan.new # Pulp2to3MigrationMigrationPlan |
68
+ pulp2to3_migration_migration_plan = Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan.new # Pulp2to3MigrationMigrationPlan |
68
69
 
69
70
  begin
70
- #Create a migration plan
71
- result = api_instance.create(data)
71
+ result = api_instance.create(pulp2to3_migration_migration_plan)
72
72
  p result
73
73
  rescue Pulp2to3MigrationClient::ApiError => e
74
74
  puts "Exception when calling MigrationPlansApi->create: #{e}"
@@ -82,15 +82,15 @@ All URIs are relative to *http://pulp*
82
82
 
83
83
  Class | Method | HTTP request | Description
84
84
  ------------ | ------------- | ------------- | -------------
85
- *Pulp2to3MigrationClient::MigrationPlansApi* | [**create**](docs/MigrationPlansApi.md#create) | **POST** /pulp/api/v3/migration-plans/ | Create a migration plan
86
- *Pulp2to3MigrationClient::MigrationPlansApi* | [**delete**](docs/MigrationPlansApi.md#delete) | **DELETE** {migration_plan_href} | Delete a migration plan
87
- *Pulp2to3MigrationClient::MigrationPlansApi* | [**list**](docs/MigrationPlansApi.md#list) | **GET** /pulp/api/v3/migration-plans/ | List migration plans
88
- *Pulp2to3MigrationClient::MigrationPlansApi* | [**read**](docs/MigrationPlansApi.md#read) | **GET** {migration_plan_href} | Inspect a migration plan
85
+ *Pulp2to3MigrationClient::MigrationPlansApi* | [**create**](docs/MigrationPlansApi.md#create) | **POST** /pulp/api/v3/migration-plans/ |
86
+ *Pulp2to3MigrationClient::MigrationPlansApi* | [**delete**](docs/MigrationPlansApi.md#delete) | **DELETE** {migration_plan_href} |
87
+ *Pulp2to3MigrationClient::MigrationPlansApi* | [**list**](docs/MigrationPlansApi.md#list) | **GET** /pulp/api/v3/migration-plans/ |
88
+ *Pulp2to3MigrationClient::MigrationPlansApi* | [**read**](docs/MigrationPlansApi.md#read) | **GET** {migration_plan_href} |
89
89
  *Pulp2to3MigrationClient::MigrationPlansApi* | [**run**](docs/MigrationPlansApi.md#run) | **POST** {migration_plan_href}run/ | Run migration plan
90
- *Pulp2to3MigrationClient::Pulp2contentApi* | [**list**](docs/Pulp2contentApi.md#list) | **GET** /pulp/api/v3/pulp2content/ | List pulp2 contents
91
- *Pulp2to3MigrationClient::Pulp2contentApi* | [**read**](docs/Pulp2contentApi.md#read) | **GET** {pulp2_content_href} | Inspect a pulp2 content
92
- *Pulp2to3MigrationClient::Pulp2repositoriesApi* | [**list**](docs/Pulp2repositoriesApi.md#list) | **GET** /pulp/api/v3/pulp2repositories/ | List pulp2 repositorys
93
- *Pulp2to3MigrationClient::Pulp2repositoriesApi* | [**read**](docs/Pulp2repositoriesApi.md#read) | **GET** {pulp2_repository_href} | Inspect a pulp2 repository
90
+ *Pulp2to3MigrationClient::Pulp2ContentApi* | [**list**](docs/Pulp2ContentApi.md#list) | **GET** /pulp/api/v3/pulp2content/ |
91
+ *Pulp2to3MigrationClient::Pulp2ContentApi* | [**read**](docs/Pulp2ContentApi.md#read) | **GET** {pulp2_content_href} |
92
+ *Pulp2to3MigrationClient::Pulp2RepositoriesApi* | [**list**](docs/Pulp2RepositoriesApi.md#list) | **GET** /pulp/api/v3/pulp2repositories/ |
93
+ *Pulp2to3MigrationClient::Pulp2RepositoriesApi* | [**read**](docs/Pulp2RepositoriesApi.md#read) | **GET** {pulp2_repository_href} |
94
94
 
95
95
 
96
96
  ## Documentation for Models
@@ -101,14 +101,15 @@ Class | Method | HTTP request | Description
101
101
  - [Pulp2to3MigrationClient::InlineResponse2002](docs/InlineResponse2002.md)
102
102
  - [Pulp2to3MigrationClient::MigrationPlanRun](docs/MigrationPlanRun.md)
103
103
  - [Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan](docs/Pulp2to3MigrationMigrationPlan.md)
104
- - [Pulp2to3MigrationClient::Pulp2to3MigrationPulp2Content](docs/Pulp2to3MigrationPulp2Content.md)
105
- - [Pulp2to3MigrationClient::Pulp2to3MigrationPulp2Repository](docs/Pulp2to3MigrationPulp2Repository.md)
104
+ - [Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlanResponse](docs/Pulp2to3MigrationMigrationPlanResponse.md)
105
+ - [Pulp2to3MigrationClient::Pulp2to3MigrationPulp2ContentResponse](docs/Pulp2to3MigrationPulp2ContentResponse.md)
106
+ - [Pulp2to3MigrationClient::Pulp2to3MigrationPulp2RepositoryResponse](docs/Pulp2to3MigrationPulp2RepositoryResponse.md)
106
107
 
107
108
 
108
109
  ## Documentation for Authorization
109
110
 
110
111
 
111
- ### Basic
112
+ ### basicAuth
112
113
 
113
114
  - **Type**: HTTP basic authentication
114
115
 
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<Pulp2to3MigrationMigrationPlan>**](Pulp2to3MigrationMigrationPlan.md) | |
10
+ **results** | [**Array<Pulp2to3MigrationMigrationPlanResponse>**](Pulp2to3MigrationMigrationPlanResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'Pulp2to3MigrationClient'
16
16
 
17
- instance = Pulp2to3MigrationClient::InlineResponse200.new(count: null,
17
+ instance = Pulp2to3MigrationClient::InlineResponse200.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<Pulp2to3MigrationPulp2Content>**](Pulp2to3MigrationPulp2Content.md) | |
10
+ **results** | [**Array<Pulp2to3MigrationPulp2ContentResponse>**](Pulp2to3MigrationPulp2ContentResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'Pulp2to3MigrationClient'
16
16
 
17
- instance = Pulp2to3MigrationClient::InlineResponse2001.new(count: null,
17
+ instance = Pulp2to3MigrationClient::InlineResponse2001.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<Pulp2to3MigrationPulp2Repository>**](Pulp2to3MigrationPulp2Repository.md) | |
10
+ **results** | [**Array<Pulp2to3MigrationPulp2RepositoryResponse>**](Pulp2to3MigrationPulp2RepositoryResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'Pulp2to3MigrationClient'
16
16
 
17
- instance = Pulp2to3MigrationClient::InlineResponse2002.new(count: null,
17
+ instance = Pulp2to3MigrationClient::InlineResponse2002.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -4,19 +4,19 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](MigrationPlansApi.md#create) | **POST** /pulp/api/v3/migration-plans/ | Create a migration plan
8
- [**delete**](MigrationPlansApi.md#delete) | **DELETE** {migration_plan_href} | Delete a migration plan
9
- [**list**](MigrationPlansApi.md#list) | **GET** /pulp/api/v3/migration-plans/ | List migration plans
10
- [**read**](MigrationPlansApi.md#read) | **GET** {migration_plan_href} | Inspect a migration plan
7
+ [**create**](MigrationPlansApi.md#create) | **POST** /pulp/api/v3/migration-plans/ |
8
+ [**delete**](MigrationPlansApi.md#delete) | **DELETE** {migration_plan_href} |
9
+ [**list**](MigrationPlansApi.md#list) | **GET** /pulp/api/v3/migration-plans/ |
10
+ [**read**](MigrationPlansApi.md#read) | **GET** {migration_plan_href} |
11
11
  [**run**](MigrationPlansApi.md#run) | **POST** {migration_plan_href}run/ | Run migration plan
12
12
 
13
13
 
14
14
 
15
15
  ## create
16
16
 
17
- > Pulp2to3MigrationMigrationPlan create(data)
17
+ > Pulp2to3MigrationMigrationPlanResponse create(pulp2to3_migration_migration_plan)
18
+
18
19
 
19
- Create a migration plan
20
20
 
21
21
  MigrationPlan ViewSet.
22
22
 
@@ -27,17 +27,16 @@ MigrationPlan ViewSet.
27
27
  require 'pulp_2to3_migration_client'
28
28
  # setup authorization
29
29
  Pulp2to3MigrationClient.configure do |config|
30
- # Configure HTTP basic authorization: Basic
30
+ # Configure HTTP basic authorization: basicAuth
31
31
  config.username = 'YOUR USERNAME'
32
32
  config.password = 'YOUR PASSWORD'
33
33
  end
34
34
 
35
35
  api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
36
- data = Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan.new # Pulp2to3MigrationMigrationPlan |
36
+ pulp2to3_migration_migration_plan = Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan.new # Pulp2to3MigrationMigrationPlan |
37
37
 
38
38
  begin
39
- #Create a migration plan
40
- result = api_instance.create(data)
39
+ result = api_instance.create(pulp2to3_migration_migration_plan)
41
40
  p result
42
41
  rescue Pulp2to3MigrationClient::ApiError => e
43
42
  puts "Exception when calling MigrationPlansApi->create: #{e}"
@@ -49,19 +48,19 @@ end
49
48
 
50
49
  Name | Type | Description | Notes
51
50
  ------------- | ------------- | ------------- | -------------
52
- **data** | [**Pulp2to3MigrationMigrationPlan**](Pulp2to3MigrationMigrationPlan.md)| |
51
+ **pulp2to3_migration_migration_plan** | [**Pulp2to3MigrationMigrationPlan**](Pulp2to3MigrationMigrationPlan.md)| |
53
52
 
54
53
  ### Return type
55
54
 
56
- [**Pulp2to3MigrationMigrationPlan**](Pulp2to3MigrationMigrationPlan.md)
55
+ [**Pulp2to3MigrationMigrationPlanResponse**](Pulp2to3MigrationMigrationPlanResponse.md)
57
56
 
58
57
  ### Authorization
59
58
 
60
- [Basic](../README.md#Basic)
59
+ [basicAuth](../README.md#basicAuth)
61
60
 
62
61
  ### HTTP request headers
63
62
 
64
- - **Content-Type**: application/json
63
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
65
64
  - **Accept**: application/json
66
65
 
67
66
 
@@ -69,7 +68,7 @@ Name | Type | Description | Notes
69
68
 
70
69
  > delete(migration_plan_href)
71
70
 
72
- Delete a migration plan
71
+
73
72
 
74
73
  MigrationPlan ViewSet.
75
74
 
@@ -80,16 +79,15 @@ MigrationPlan ViewSet.
80
79
  require 'pulp_2to3_migration_client'
81
80
  # setup authorization
82
81
  Pulp2to3MigrationClient.configure do |config|
83
- # Configure HTTP basic authorization: Basic
82
+ # Configure HTTP basic authorization: basicAuth
84
83
  config.username = 'YOUR USERNAME'
85
84
  config.password = 'YOUR PASSWORD'
86
85
  end
87
86
 
88
87
  api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
89
- migration_plan_href = 'migration_plan_href_example' # String | URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/
88
+ migration_plan_href = 'migration_plan_href_example' # String |
90
89
 
91
90
  begin
92
- #Delete a migration plan
93
91
  api_instance.delete(migration_plan_href)
94
92
  rescue Pulp2to3MigrationClient::ApiError => e
95
93
  puts "Exception when calling MigrationPlansApi->delete: #{e}"
@@ -101,7 +99,7 @@ end
101
99
 
102
100
  Name | Type | Description | Notes
103
101
  ------------- | ------------- | ------------- | -------------
104
- **migration_plan_href** | **String**| URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/ |
102
+ **migration_plan_href** | **String**| |
105
103
 
106
104
  ### Return type
107
105
 
@@ -109,7 +107,7 @@ nil (empty response body)
109
107
 
110
108
  ### Authorization
111
109
 
112
- [Basic](../README.md#Basic)
110
+ [basicAuth](../README.md#basicAuth)
113
111
 
114
112
  ### HTTP request headers
115
113
 
@@ -121,7 +119,7 @@ nil (empty response body)
121
119
 
122
120
  > InlineResponse200 list(opts)
123
121
 
124
- List migration plans
122
+
125
123
 
126
124
  MigrationPlan ViewSet.
127
125
 
@@ -132,22 +130,21 @@ MigrationPlan ViewSet.
132
130
  require 'pulp_2to3_migration_client'
133
131
  # setup authorization
134
132
  Pulp2to3MigrationClient.configure do |config|
135
- # Configure HTTP basic authorization: Basic
133
+ # Configure HTTP basic authorization: basicAuth
136
134
  config.username = 'YOUR USERNAME'
137
135
  config.password = 'YOUR PASSWORD'
138
136
  end
139
137
 
140
138
  api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
141
139
  opts = {
142
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
143
140
  limit: 56, # Integer | Number of results to return per page.
144
141
  offset: 56, # Integer | The initial index from which to return the results.
142
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
145
143
  fields: 'fields_example', # String | A list of fields to include in the response.
146
144
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
147
145
  }
148
146
 
149
147
  begin
150
- #List migration plans
151
148
  result = api_instance.list(opts)
152
149
  p result
153
150
  rescue Pulp2to3MigrationClient::ApiError => e
@@ -160,9 +157,9 @@ end
160
157
 
161
158
  Name | Type | Description | Notes
162
159
  ------------- | ------------- | ------------- | -------------
163
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
164
160
  **limit** | **Integer**| Number of results to return per page. | [optional]
165
161
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
162
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
166
163
  **fields** | **String**| A list of fields to include in the response. | [optional]
167
164
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
168
165
 
@@ -172,7 +169,7 @@ Name | Type | Description | Notes
172
169
 
173
170
  ### Authorization
174
171
 
175
- [Basic](../README.md#Basic)
172
+ [basicAuth](../README.md#basicAuth)
176
173
 
177
174
  ### HTTP request headers
178
175
 
@@ -182,9 +179,9 @@ Name | Type | Description | Notes
182
179
 
183
180
  ## read
184
181
 
185
- > Pulp2to3MigrationMigrationPlan read(migration_plan_href, opts)
182
+ > Pulp2to3MigrationMigrationPlanResponse read(migration_plan_href, opts)
183
+
186
184
 
187
- Inspect a migration plan
188
185
 
189
186
  MigrationPlan ViewSet.
190
187
 
@@ -195,20 +192,19 @@ MigrationPlan ViewSet.
195
192
  require 'pulp_2to3_migration_client'
196
193
  # setup authorization
197
194
  Pulp2to3MigrationClient.configure do |config|
198
- # Configure HTTP basic authorization: Basic
195
+ # Configure HTTP basic authorization: basicAuth
199
196
  config.username = 'YOUR USERNAME'
200
197
  config.password = 'YOUR PASSWORD'
201
198
  end
202
199
 
203
200
  api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
204
- migration_plan_href = 'migration_plan_href_example' # String | URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/
201
+ migration_plan_href = 'migration_plan_href_example' # String |
205
202
  opts = {
206
203
  fields: 'fields_example', # String | A list of fields to include in the response.
207
204
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
208
205
  }
209
206
 
210
207
  begin
211
- #Inspect a migration plan
212
208
  result = api_instance.read(migration_plan_href, opts)
213
209
  p result
214
210
  rescue Pulp2to3MigrationClient::ApiError => e
@@ -221,17 +217,17 @@ end
221
217
 
222
218
  Name | Type | Description | Notes
223
219
  ------------- | ------------- | ------------- | -------------
224
- **migration_plan_href** | **String**| URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/ |
220
+ **migration_plan_href** | **String**| |
225
221
  **fields** | **String**| A list of fields to include in the response. | [optional]
226
222
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
227
223
 
228
224
  ### Return type
229
225
 
230
- [**Pulp2to3MigrationMigrationPlan**](Pulp2to3MigrationMigrationPlan.md)
226
+ [**Pulp2to3MigrationMigrationPlanResponse**](Pulp2to3MigrationMigrationPlanResponse.md)
231
227
 
232
228
  ### Authorization
233
229
 
234
- [Basic](../README.md#Basic)
230
+ [basicAuth](../README.md#basicAuth)
235
231
 
236
232
  ### HTTP request headers
237
233
 
@@ -241,7 +237,7 @@ Name | Type | Description | Notes
241
237
 
242
238
  ## run
243
239
 
244
- > AsyncOperationResponse run(migration_plan_href, data)
240
+ > AsyncOperationResponse run(migration_plan_href, migration_plan_run)
245
241
 
246
242
  Run migration plan
247
243
 
@@ -254,18 +250,18 @@ Trigger an asynchronous task to run a migration from Pulp 2.
254
250
  require 'pulp_2to3_migration_client'
255
251
  # setup authorization
256
252
  Pulp2to3MigrationClient.configure do |config|
257
- # Configure HTTP basic authorization: Basic
253
+ # Configure HTTP basic authorization: basicAuth
258
254
  config.username = 'YOUR USERNAME'
259
255
  config.password = 'YOUR PASSWORD'
260
256
  end
261
257
 
262
258
  api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
263
- migration_plan_href = 'migration_plan_href_example' # String | URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/
264
- data = Pulp2to3MigrationClient::MigrationPlanRun.new # MigrationPlanRun |
259
+ migration_plan_href = 'migration_plan_href_example' # String |
260
+ migration_plan_run = Pulp2to3MigrationClient::MigrationPlanRun.new # MigrationPlanRun |
265
261
 
266
262
  begin
267
263
  #Run migration plan
268
- result = api_instance.run(migration_plan_href, data)
264
+ result = api_instance.run(migration_plan_href, migration_plan_run)
269
265
  p result
270
266
  rescue Pulp2to3MigrationClient::ApiError => e
271
267
  puts "Exception when calling MigrationPlansApi->run: #{e}"
@@ -277,8 +273,8 @@ end
277
273
 
278
274
  Name | Type | Description | Notes
279
275
  ------------- | ------------- | ------------- | -------------
280
- **migration_plan_href** | **String**| URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/ |
281
- **data** | [**MigrationPlanRun**](MigrationPlanRun.md)| |
276
+ **migration_plan_href** | **String**| |
277
+ **migration_plan_run** | [**MigrationPlanRun**](MigrationPlanRun.md)| |
282
278
 
283
279
  ### Return type
284
280
 
@@ -286,10 +282,10 @@ Name | Type | Description | Notes
286
282
 
287
283
  ### Authorization
288
284
 
289
- [Basic](../README.md#Basic)
285
+ [basicAuth](../README.md#basicAuth)
290
286
 
291
287
  ### HTTP request headers
292
288
 
293
- - **Content-Type**: application/json
289
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
294
290
  - **Accept**: application/json
295
291