pulp_2to3_migration_client 0.3.0b1.dev01596137957 → 0.3.0b1.dev01596224671

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: 6df3407eac37960a02c597aeee6865a079131c3169f39f4f0f9ae638eb57c1e5
4
- data.tar.gz: 9f46b98324e45f485c1c7dd452b10c22737c7b927c0cb4ef310e136662666ce4
3
+ metadata.gz: 1d2ebe2e2ee0117b65bcedfe4a03df191e760424c0d0329de40d472c31000e00
4
+ data.tar.gz: 693d1b55eb3dc362dd905869d3e124e5df4b701bbe30de78141cdd3139af129f
5
5
  SHA512:
6
- metadata.gz: 9c3f62a1ba50b9ed9498facf5099c21ebc0a9956fd13b95684a050c44a831f3697714bc6954833f2583c224a6067913cad5fca39968f641252da5e238e182149
7
- data.tar.gz: '08ea587c09f5f002a31495d3d4c2afa3baf4204aa88f1ccd0c8b36cc2662bba21f025098aaff37089b0f7a814ea312b11ce79fb4622500bc690517cfa0de3d0b'
6
+ metadata.gz: 440392bebd41459bb0ee62e14fb83b7bfce21b3285246bee71d4833ceb113fc309001a07f0a6b1583045dcdc8ba0220a095c47ed67b2c6f502bd8939657fd709
7
+ data.tar.gz: 917335e832c9a777a5a283b02d9a6c66dd8b547877cb335726dd9b8ac567a81c6a4bc7a2fe7e5c0ff3f40c306306c4262a28f68f4123d0a9282ada8c44906e0b
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.3.0b1.dev01596137957
10
+ - Package version: 0.3.0b1.dev01596224671
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.3.0b1.dev01596137957.gem
27
+ gem install ./pulp_2to3_migration_client-0.3.0b1.dev01596224671.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_2to3_migration_client-0.3.0b1.dev01596137957.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_2to3_migration_client-0.3.0b1.dev01596224671.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.3.0b1.dev01596137957'
36
+ gem 'pulp_2to3_migration_client', '~> 0.3.0b1.dev01596224671'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -84,14 +84,14 @@ All URIs are relative to *http://pulp*
84
84
  Class | Method | HTTP request | Description
85
85
  ------------ | ------------- | ------------- | -------------
86
86
  *Pulp2to3MigrationClient::MigrationPlansApi* | [**create**](docs/MigrationPlansApi.md#create) | **POST** /pulp/api/v3/migration-plans/ | Create a migration plan
87
- *Pulp2to3MigrationClient::MigrationPlansApi* | [**delete**](docs/MigrationPlansApi.md#delete) | **DELETE** {migration_plan_href} | Delete a migration plan
87
+ *Pulp2to3MigrationClient::MigrationPlansApi* | [**delete**](docs/MigrationPlansApi.md#delete) | **DELETE** {pulp_2to3_migration_migration_plan_href} | Delete a migration plan
88
88
  *Pulp2to3MigrationClient::MigrationPlansApi* | [**list**](docs/MigrationPlansApi.md#list) | **GET** /pulp/api/v3/migration-plans/ | List migration plans
89
- *Pulp2to3MigrationClient::MigrationPlansApi* | [**read**](docs/MigrationPlansApi.md#read) | **GET** {migration_plan_href} | Inspect a migration plan
90
- *Pulp2to3MigrationClient::MigrationPlansApi* | [**run**](docs/MigrationPlansApi.md#run) | **POST** {migration_plan_href}run/ | Run migration plan
89
+ *Pulp2to3MigrationClient::MigrationPlansApi* | [**read**](docs/MigrationPlansApi.md#read) | **GET** {pulp_2to3_migration_migration_plan_href} | Inspect a migration plan
90
+ *Pulp2to3MigrationClient::MigrationPlansApi* | [**run**](docs/MigrationPlansApi.md#run) | **POST** {pulp_2to3_migration_migration_plan_href}run/ | Run migration plan
91
91
  *Pulp2to3MigrationClient::Pulp2ContentApi* | [**list**](docs/Pulp2ContentApi.md#list) | **GET** /pulp/api/v3/pulp2content/ | List pulp2 contents
92
- *Pulp2to3MigrationClient::Pulp2ContentApi* | [**read**](docs/Pulp2ContentApi.md#read) | **GET** {pulp2_content_href} | Inspect a pulp2 content
92
+ *Pulp2to3MigrationClient::Pulp2ContentApi* | [**read**](docs/Pulp2ContentApi.md#read) | **GET** {pulp_2to3_migration_pulp2_content_href} | Inspect a pulp2 content
93
93
  *Pulp2to3MigrationClient::Pulp2RepositoriesApi* | [**list**](docs/Pulp2RepositoriesApi.md#list) | **GET** /pulp/api/v3/pulp2repositories/ | List pulp2 repositorys
94
- *Pulp2to3MigrationClient::Pulp2RepositoriesApi* | [**read**](docs/Pulp2RepositoriesApi.md#read) | **GET** {pulp2_repository_href} | Inspect a pulp2 repository
94
+ *Pulp2to3MigrationClient::Pulp2RepositoriesApi* | [**read**](docs/Pulp2RepositoriesApi.md#read) | **GET** {pulp_2to3_migration_pulp2_repository_href} | Inspect a pulp2 repository
95
95
 
96
96
 
97
97
  ## Documentation for Models
@@ -5,10 +5,10 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
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
8
+ [**delete**](MigrationPlansApi.md#delete) | **DELETE** {pulp_2to3_migration_migration_plan_href} | Delete a migration plan
9
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
11
- [**run**](MigrationPlansApi.md#run) | **POST** {migration_plan_href}run/ | Run migration plan
10
+ [**read**](MigrationPlansApi.md#read) | **GET** {pulp_2to3_migration_migration_plan_href} | Inspect a migration plan
11
+ [**run**](MigrationPlansApi.md#run) | **POST** {pulp_2to3_migration_migration_plan_href}run/ | Run migration plan
12
12
 
13
13
 
14
14
 
@@ -67,7 +67,7 @@ Name | Type | Description | Notes
67
67
 
68
68
  ## delete
69
69
 
70
- > delete(migration_plan_href)
70
+ > delete(pulp_2to3_migration_migration_plan_href)
71
71
 
72
72
  Delete a migration plan
73
73
 
@@ -86,11 +86,11 @@ Pulp2to3MigrationClient.configure do |config|
86
86
  end
87
87
 
88
88
  api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
89
- migration_plan_href = 'migration_plan_href_example' # String |
89
+ pulp_2to3_migration_migration_plan_href = 'pulp_2to3_migration_migration_plan_href_example' # String |
90
90
 
91
91
  begin
92
92
  #Delete a migration plan
93
- api_instance.delete(migration_plan_href)
93
+ api_instance.delete(pulp_2to3_migration_migration_plan_href)
94
94
  rescue Pulp2to3MigrationClient::ApiError => e
95
95
  puts "Exception when calling MigrationPlansApi->delete: #{e}"
96
96
  end
@@ -101,7 +101,7 @@ end
101
101
 
102
102
  Name | Type | Description | Notes
103
103
  ------------- | ------------- | ------------- | -------------
104
- **migration_plan_href** | **String**| |
104
+ **pulp_2to3_migration_migration_plan_href** | **String**| |
105
105
 
106
106
  ### Return type
107
107
 
@@ -182,7 +182,7 @@ Name | Type | Description | Notes
182
182
 
183
183
  ## read
184
184
 
185
- > Pulp2to3MigrationMigrationPlanResponse read(migration_plan_href, opts)
185
+ > Pulp2to3MigrationMigrationPlanResponse read(pulp_2to3_migration_migration_plan_href, opts)
186
186
 
187
187
  Inspect a migration plan
188
188
 
@@ -201,7 +201,7 @@ Pulp2to3MigrationClient.configure do |config|
201
201
  end
202
202
 
203
203
  api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
204
- migration_plan_href = 'migration_plan_href_example' # String |
204
+ pulp_2to3_migration_migration_plan_href = 'pulp_2to3_migration_migration_plan_href_example' # String |
205
205
  opts = {
206
206
  fields: 'fields_example', # String | A list of fields to include in the response.
207
207
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -209,7 +209,7 @@ opts = {
209
209
 
210
210
  begin
211
211
  #Inspect a migration plan
212
- result = api_instance.read(migration_plan_href, opts)
212
+ result = api_instance.read(pulp_2to3_migration_migration_plan_href, opts)
213
213
  p result
214
214
  rescue Pulp2to3MigrationClient::ApiError => e
215
215
  puts "Exception when calling MigrationPlansApi->read: #{e}"
@@ -221,7 +221,7 @@ end
221
221
 
222
222
  Name | Type | Description | Notes
223
223
  ------------- | ------------- | ------------- | -------------
224
- **migration_plan_href** | **String**| |
224
+ **pulp_2to3_migration_migration_plan_href** | **String**| |
225
225
  **fields** | **String**| A list of fields to include in the response. | [optional]
226
226
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
227
227
 
@@ -241,7 +241,7 @@ Name | Type | Description | Notes
241
241
 
242
242
  ## run
243
243
 
244
- > AsyncOperationResponse run(migration_plan_href, migration_plan_run)
244
+ > AsyncOperationResponse run(pulp_2to3_migration_migration_plan_href, migration_plan_run)
245
245
 
246
246
  Run migration plan
247
247
 
@@ -260,12 +260,12 @@ Pulp2to3MigrationClient.configure do |config|
260
260
  end
261
261
 
262
262
  api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
263
- migration_plan_href = 'migration_plan_href_example' # String |
263
+ pulp_2to3_migration_migration_plan_href = 'pulp_2to3_migration_migration_plan_href_example' # String |
264
264
  migration_plan_run = Pulp2to3MigrationClient::MigrationPlanRun.new # MigrationPlanRun |
265
265
 
266
266
  begin
267
267
  #Run migration plan
268
- result = api_instance.run(migration_plan_href, migration_plan_run)
268
+ result = api_instance.run(pulp_2to3_migration_migration_plan_href, migration_plan_run)
269
269
  p result
270
270
  rescue Pulp2to3MigrationClient::ApiError => e
271
271
  puts "Exception when calling MigrationPlansApi->run: #{e}"
@@ -277,7 +277,7 @@ end
277
277
 
278
278
  Name | Type | Description | Notes
279
279
  ------------- | ------------- | ------------- | -------------
280
- **migration_plan_href** | **String**| |
280
+ **pulp_2to3_migration_migration_plan_href** | **String**| |
281
281
  **migration_plan_run** | [**MigrationPlanRun**](MigrationPlanRun.md)| |
282
282
 
283
283
  ### Return type
@@ -5,7 +5,7 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**list**](Pulp2ContentApi.md#list) | **GET** /pulp/api/v3/pulp2content/ | List pulp2 contents
8
- [**read**](Pulp2ContentApi.md#read) | **GET** {pulp2_content_href} | Inspect a pulp2 content
8
+ [**read**](Pulp2ContentApi.md#read) | **GET** {pulp_2to3_migration_pulp2_content_href} | Inspect a pulp2 content
9
9
 
10
10
 
11
11
 
@@ -96,7 +96,7 @@ Name | Type | Description | Notes
96
96
 
97
97
  ## read
98
98
 
99
- > Pulp2to3MigrationPulp2ContentResponse read(pulp2_content_href, opts)
99
+ > Pulp2to3MigrationPulp2ContentResponse read(pulp_2to3_migration_pulp2_content_href, opts)
100
100
 
101
101
  Inspect a pulp2 content
102
102
 
@@ -115,7 +115,7 @@ Pulp2to3MigrationClient.configure do |config|
115
115
  end
116
116
 
117
117
  api_instance = Pulp2to3MigrationClient::Pulp2ContentApi.new
118
- pulp2_content_href = 'pulp2_content_href_example' # String |
118
+ pulp_2to3_migration_pulp2_content_href = 'pulp_2to3_migration_pulp2_content_href_example' # String |
119
119
  opts = {
120
120
  fields: 'fields_example', # String | A list of fields to include in the response.
121
121
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -123,7 +123,7 @@ opts = {
123
123
 
124
124
  begin
125
125
  #Inspect a pulp2 content
126
- result = api_instance.read(pulp2_content_href, opts)
126
+ result = api_instance.read(pulp_2to3_migration_pulp2_content_href, opts)
127
127
  p result
128
128
  rescue Pulp2to3MigrationClient::ApiError => e
129
129
  puts "Exception when calling Pulp2ContentApi->read: #{e}"
@@ -135,7 +135,7 @@ end
135
135
 
136
136
  Name | Type | Description | Notes
137
137
  ------------- | ------------- | ------------- | -------------
138
- **pulp2_content_href** | **String**| |
138
+ **pulp_2to3_migration_pulp2_content_href** | **String**| |
139
139
  **fields** | **String**| A list of fields to include in the response. | [optional]
140
140
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
141
141
 
@@ -5,7 +5,7 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**list**](Pulp2RepositoriesApi.md#list) | **GET** /pulp/api/v3/pulp2repositories/ | List pulp2 repositorys
8
- [**read**](Pulp2RepositoriesApi.md#read) | **GET** {pulp2_repository_href} | Inspect a pulp2 repository
8
+ [**read**](Pulp2RepositoriesApi.md#read) | **GET** {pulp_2to3_migration_pulp2_repository_href} | Inspect a pulp2 repository
9
9
 
10
10
 
11
11
 
@@ -82,7 +82,7 @@ Name | Type | Description | Notes
82
82
 
83
83
  ## read
84
84
 
85
- > Pulp2to3MigrationPulp2RepositoryResponse read(pulp2_repository_href, opts)
85
+ > Pulp2to3MigrationPulp2RepositoryResponse read(pulp_2to3_migration_pulp2_repository_href, opts)
86
86
 
87
87
  Inspect a pulp2 repository
88
88
 
@@ -101,7 +101,7 @@ Pulp2to3MigrationClient.configure do |config|
101
101
  end
102
102
 
103
103
  api_instance = Pulp2to3MigrationClient::Pulp2RepositoriesApi.new
104
- pulp2_repository_href = 'pulp2_repository_href_example' # String |
104
+ pulp_2to3_migration_pulp2_repository_href = 'pulp_2to3_migration_pulp2_repository_href_example' # String |
105
105
  opts = {
106
106
  fields: 'fields_example', # String | A list of fields to include in the response.
107
107
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -109,7 +109,7 @@ opts = {
109
109
 
110
110
  begin
111
111
  #Inspect a pulp2 repository
112
- result = api_instance.read(pulp2_repository_href, opts)
112
+ result = api_instance.read(pulp_2to3_migration_pulp2_repository_href, opts)
113
113
  p result
114
114
  rescue Pulp2to3MigrationClient::ApiError => e
115
115
  puts "Exception when calling Pulp2RepositoriesApi->read: #{e}"
@@ -121,7 +121,7 @@ end
121
121
 
122
122
  Name | Type | Description | Notes
123
123
  ------------- | ------------- | ------------- | -------------
124
- **pulp2_repository_href** | **String**| |
124
+ **pulp_2to3_migration_pulp2_repository_href** | **String**| |
125
125
  **fields** | **String**| A list of fields to include in the response. | [optional]
126
126
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
127
127
 
@@ -85,29 +85,29 @@ module Pulp2to3MigrationClient
85
85
 
86
86
  # Delete a migration plan
87
87
  # MigrationPlan ViewSet.
88
- # @param migration_plan_href [String]
88
+ # @param pulp_2to3_migration_migration_plan_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [nil]
91
- def delete(migration_plan_href, opts = {})
92
- delete_with_http_info(migration_plan_href, opts)
91
+ def delete(pulp_2to3_migration_migration_plan_href, opts = {})
92
+ delete_with_http_info(pulp_2to3_migration_migration_plan_href, opts)
93
93
  nil
94
94
  end
95
95
 
96
96
  # Delete a migration plan
97
97
  # MigrationPlan ViewSet.
98
- # @param migration_plan_href [String]
98
+ # @param pulp_2to3_migration_migration_plan_href [String]
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
- def delete_with_http_info(migration_plan_href, opts = {})
101
+ def delete_with_http_info(pulp_2to3_migration_migration_plan_href, opts = {})
102
102
  if @api_client.config.debugging
103
103
  @api_client.config.logger.debug 'Calling API: MigrationPlansApi.delete ...'
104
104
  end
105
- # verify the required parameter 'migration_plan_href' is set
106
- if @api_client.config.client_side_validation && migration_plan_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'migration_plan_href' when calling MigrationPlansApi.delete"
105
+ # verify the required parameter 'pulp_2to3_migration_migration_plan_href' is set
106
+ if @api_client.config.client_side_validation && pulp_2to3_migration_migration_plan_href.nil?
107
+ fail ArgumentError, "Missing the required parameter 'pulp_2to3_migration_migration_plan_href' when calling MigrationPlansApi.delete"
108
108
  end
109
109
  # resource path
110
- local_var_path = '{migration_plan_href}'.sub('{' + 'migration_plan_href' + '}', CGI.escape(migration_plan_href.to_s).gsub('%2F', '/'))
110
+ local_var_path = '{pulp_2to3_migration_migration_plan_href}'.sub('{' + 'pulp_2to3_migration_migration_plan_href' + '}', CGI.escape(pulp_2to3_migration_migration_plan_href.to_s).gsub('%2F', '/'))
111
111
 
112
112
  # query parameters
113
113
  query_params = opts[:query_params] || {}
@@ -216,33 +216,33 @@ module Pulp2to3MigrationClient
216
216
 
217
217
  # Inspect a migration plan
218
218
  # MigrationPlan ViewSet.
219
- # @param migration_plan_href [String]
219
+ # @param pulp_2to3_migration_migration_plan_href [String]
220
220
  # @param [Hash] opts the optional parameters
221
221
  # @option opts [String] :fields A list of fields to include in the response.
222
222
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
223
223
  # @return [Pulp2to3MigrationMigrationPlanResponse]
224
- def read(migration_plan_href, opts = {})
225
- data, _status_code, _headers = read_with_http_info(migration_plan_href, opts)
224
+ def read(pulp_2to3_migration_migration_plan_href, opts = {})
225
+ data, _status_code, _headers = read_with_http_info(pulp_2to3_migration_migration_plan_href, opts)
226
226
  data
227
227
  end
228
228
 
229
229
  # Inspect a migration plan
230
230
  # MigrationPlan ViewSet.
231
- # @param migration_plan_href [String]
231
+ # @param pulp_2to3_migration_migration_plan_href [String]
232
232
  # @param [Hash] opts the optional parameters
233
233
  # @option opts [String] :fields A list of fields to include in the response.
234
234
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
235
235
  # @return [Array<(Pulp2to3MigrationMigrationPlanResponse, Integer, Hash)>] Pulp2to3MigrationMigrationPlanResponse data, response status code and response headers
236
- def read_with_http_info(migration_plan_href, opts = {})
236
+ def read_with_http_info(pulp_2to3_migration_migration_plan_href, opts = {})
237
237
  if @api_client.config.debugging
238
238
  @api_client.config.logger.debug 'Calling API: MigrationPlansApi.read ...'
239
239
  end
240
- # verify the required parameter 'migration_plan_href' is set
241
- if @api_client.config.client_side_validation && migration_plan_href.nil?
242
- fail ArgumentError, "Missing the required parameter 'migration_plan_href' when calling MigrationPlansApi.read"
240
+ # verify the required parameter 'pulp_2to3_migration_migration_plan_href' is set
241
+ if @api_client.config.client_side_validation && pulp_2to3_migration_migration_plan_href.nil?
242
+ fail ArgumentError, "Missing the required parameter 'pulp_2to3_migration_migration_plan_href' when calling MigrationPlansApi.read"
243
243
  end
244
244
  # resource path
245
- local_var_path = '{migration_plan_href}'.sub('{' + 'migration_plan_href' + '}', CGI.escape(migration_plan_href.to_s).gsub('%2F', '/'))
245
+ local_var_path = '{pulp_2to3_migration_migration_plan_href}'.sub('{' + 'pulp_2to3_migration_migration_plan_href' + '}', CGI.escape(pulp_2to3_migration_migration_plan_href.to_s).gsub('%2F', '/'))
246
246
 
247
247
  # query parameters
248
248
  query_params = opts[:query_params] || {}
@@ -284,35 +284,35 @@ module Pulp2to3MigrationClient
284
284
 
285
285
  # Run migration plan
286
286
  # Trigger an asynchronous task to run a migration from Pulp 2.
287
- # @param migration_plan_href [String]
287
+ # @param pulp_2to3_migration_migration_plan_href [String]
288
288
  # @param migration_plan_run [MigrationPlanRun]
289
289
  # @param [Hash] opts the optional parameters
290
290
  # @return [AsyncOperationResponse]
291
- def run(migration_plan_href, migration_plan_run, opts = {})
292
- data, _status_code, _headers = run_with_http_info(migration_plan_href, migration_plan_run, opts)
291
+ def run(pulp_2to3_migration_migration_plan_href, migration_plan_run, opts = {})
292
+ data, _status_code, _headers = run_with_http_info(pulp_2to3_migration_migration_plan_href, migration_plan_run, opts)
293
293
  data
294
294
  end
295
295
 
296
296
  # Run migration plan
297
297
  # Trigger an asynchronous task to run a migration from Pulp 2.
298
- # @param migration_plan_href [String]
298
+ # @param pulp_2to3_migration_migration_plan_href [String]
299
299
  # @param migration_plan_run [MigrationPlanRun]
300
300
  # @param [Hash] opts the optional parameters
301
301
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
302
- def run_with_http_info(migration_plan_href, migration_plan_run, opts = {})
302
+ def run_with_http_info(pulp_2to3_migration_migration_plan_href, migration_plan_run, opts = {})
303
303
  if @api_client.config.debugging
304
304
  @api_client.config.logger.debug 'Calling API: MigrationPlansApi.run ...'
305
305
  end
306
- # verify the required parameter 'migration_plan_href' is set
307
- if @api_client.config.client_side_validation && migration_plan_href.nil?
308
- fail ArgumentError, "Missing the required parameter 'migration_plan_href' when calling MigrationPlansApi.run"
306
+ # verify the required parameter 'pulp_2to3_migration_migration_plan_href' is set
307
+ if @api_client.config.client_side_validation && pulp_2to3_migration_migration_plan_href.nil?
308
+ fail ArgumentError, "Missing the required parameter 'pulp_2to3_migration_migration_plan_href' when calling MigrationPlansApi.run"
309
309
  end
310
310
  # verify the required parameter 'migration_plan_run' is set
311
311
  if @api_client.config.client_side_validation && migration_plan_run.nil?
312
312
  fail ArgumentError, "Missing the required parameter 'migration_plan_run' when calling MigrationPlansApi.run"
313
313
  end
314
314
  # resource path
315
- local_var_path = '{migration_plan_href}run/'.sub('{' + 'migration_plan_href' + '}', CGI.escape(migration_plan_href.to_s).gsub('%2F', '/'))
315
+ local_var_path = '{pulp_2to3_migration_migration_plan_href}run/'.sub('{' + 'pulp_2to3_migration_migration_plan_href' + '}', CGI.escape(pulp_2to3_migration_migration_plan_href.to_s).gsub('%2F', '/'))
316
316
 
317
317
  # query parameters
318
318
  query_params = opts[:query_params] || {}
@@ -125,33 +125,33 @@ module Pulp2to3MigrationClient
125
125
 
126
126
  # Inspect a pulp2 content
127
127
  # ViewSet for Pulp2Content model.
128
- # @param pulp2_content_href [String]
128
+ # @param pulp_2to3_migration_pulp2_content_href [String]
129
129
  # @param [Hash] opts the optional parameters
130
130
  # @option opts [String] :fields A list of fields to include in the response.
131
131
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
132
132
  # @return [Pulp2to3MigrationPulp2ContentResponse]
133
- def read(pulp2_content_href, opts = {})
134
- data, _status_code, _headers = read_with_http_info(pulp2_content_href, opts)
133
+ def read(pulp_2to3_migration_pulp2_content_href, opts = {})
134
+ data, _status_code, _headers = read_with_http_info(pulp_2to3_migration_pulp2_content_href, opts)
135
135
  data
136
136
  end
137
137
 
138
138
  # Inspect a pulp2 content
139
139
  # ViewSet for Pulp2Content model.
140
- # @param pulp2_content_href [String]
140
+ # @param pulp_2to3_migration_pulp2_content_href [String]
141
141
  # @param [Hash] opts the optional parameters
142
142
  # @option opts [String] :fields A list of fields to include in the response.
143
143
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
144
144
  # @return [Array<(Pulp2to3MigrationPulp2ContentResponse, Integer, Hash)>] Pulp2to3MigrationPulp2ContentResponse data, response status code and response headers
145
- def read_with_http_info(pulp2_content_href, opts = {})
145
+ def read_with_http_info(pulp_2to3_migration_pulp2_content_href, opts = {})
146
146
  if @api_client.config.debugging
147
147
  @api_client.config.logger.debug 'Calling API: Pulp2ContentApi.read ...'
148
148
  end
149
- # verify the required parameter 'pulp2_content_href' is set
150
- if @api_client.config.client_side_validation && pulp2_content_href.nil?
151
- fail ArgumentError, "Missing the required parameter 'pulp2_content_href' when calling Pulp2ContentApi.read"
149
+ # verify the required parameter 'pulp_2to3_migration_pulp2_content_href' is set
150
+ if @api_client.config.client_side_validation && pulp_2to3_migration_pulp2_content_href.nil?
151
+ fail ArgumentError, "Missing the required parameter 'pulp_2to3_migration_pulp2_content_href' when calling Pulp2ContentApi.read"
152
152
  end
153
153
  # resource path
154
- local_var_path = '{pulp2_content_href}'.sub('{' + 'pulp2_content_href' + '}', CGI.escape(pulp2_content_href.to_s).gsub('%2F', '/'))
154
+ local_var_path = '{pulp_2to3_migration_pulp2_content_href}'.sub('{' + 'pulp_2to3_migration_pulp2_content_href' + '}', CGI.escape(pulp_2to3_migration_pulp2_content_href.to_s).gsub('%2F', '/'))
155
155
 
156
156
  # query parameters
157
157
  query_params = opts[:query_params] || {}
@@ -104,33 +104,33 @@ module Pulp2to3MigrationClient
104
104
 
105
105
  # Inspect a pulp2 repository
106
106
  # ViewSet for Pulp2Repositories model.
107
- # @param pulp2_repository_href [String]
107
+ # @param pulp_2to3_migration_pulp2_repository_href [String]
108
108
  # @param [Hash] opts the optional parameters
109
109
  # @option opts [String] :fields A list of fields to include in the response.
110
110
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
111
111
  # @return [Pulp2to3MigrationPulp2RepositoryResponse]
112
- def read(pulp2_repository_href, opts = {})
113
- data, _status_code, _headers = read_with_http_info(pulp2_repository_href, opts)
112
+ def read(pulp_2to3_migration_pulp2_repository_href, opts = {})
113
+ data, _status_code, _headers = read_with_http_info(pulp_2to3_migration_pulp2_repository_href, opts)
114
114
  data
115
115
  end
116
116
 
117
117
  # Inspect a pulp2 repository
118
118
  # ViewSet for Pulp2Repositories model.
119
- # @param pulp2_repository_href [String]
119
+ # @param pulp_2to3_migration_pulp2_repository_href [String]
120
120
  # @param [Hash] opts the optional parameters
121
121
  # @option opts [String] :fields A list of fields to include in the response.
122
122
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
123
123
  # @return [Array<(Pulp2to3MigrationPulp2RepositoryResponse, Integer, Hash)>] Pulp2to3MigrationPulp2RepositoryResponse data, response status code and response headers
124
- def read_with_http_info(pulp2_repository_href, opts = {})
124
+ def read_with_http_info(pulp_2to3_migration_pulp2_repository_href, opts = {})
125
125
  if @api_client.config.debugging
126
126
  @api_client.config.logger.debug 'Calling API: Pulp2RepositoriesApi.read ...'
127
127
  end
128
- # verify the required parameter 'pulp2_repository_href' is set
129
- if @api_client.config.client_side_validation && pulp2_repository_href.nil?
130
- fail ArgumentError, "Missing the required parameter 'pulp2_repository_href' when calling Pulp2RepositoriesApi.read"
128
+ # verify the required parameter 'pulp_2to3_migration_pulp2_repository_href' is set
129
+ if @api_client.config.client_side_validation && pulp_2to3_migration_pulp2_repository_href.nil?
130
+ fail ArgumentError, "Missing the required parameter 'pulp_2to3_migration_pulp2_repository_href' when calling Pulp2RepositoriesApi.read"
131
131
  end
132
132
  # resource path
133
- local_var_path = '{pulp2_repository_href}'.sub('{' + 'pulp2_repository_href' + '}', CGI.escape(pulp2_repository_href.to_s).gsub('%2F', '/'))
133
+ local_var_path = '{pulp_2to3_migration_pulp2_repository_href}'.sub('{' + 'pulp_2to3_migration_pulp2_repository_href' + '}', CGI.escape(pulp_2to3_migration_pulp2_repository_href.to_s).gsub('%2F', '/'))
134
134
 
135
135
  # query parameters
136
136
  query_params = opts[:query_params] || {}
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module Pulp2to3MigrationClient
14
- VERSION = '0.3.0b1.dev01596137957'
14
+ VERSION = '0.3.0b1.dev01596224671'
15
15
  end
@@ -47,7 +47,7 @@ describe 'MigrationPlansApi' do
47
47
  # unit tests for delete
48
48
  # Delete a migration plan
49
49
  # MigrationPlan ViewSet.
50
- # @param migration_plan_href
50
+ # @param pulp_2to3_migration_migration_plan_href
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [nil]
53
53
  describe 'delete test' do
@@ -75,7 +75,7 @@ describe 'MigrationPlansApi' do
75
75
  # unit tests for read
76
76
  # Inspect a migration plan
77
77
  # MigrationPlan ViewSet.
78
- # @param migration_plan_href
78
+ # @param pulp_2to3_migration_migration_plan_href
79
79
  # @param [Hash] opts the optional parameters
80
80
  # @option opts [String] :fields A list of fields to include in the response.
81
81
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -89,7 +89,7 @@ describe 'MigrationPlansApi' do
89
89
  # unit tests for run
90
90
  # Run migration plan
91
91
  # Trigger an asynchronous task to run a migration from Pulp 2.
92
- # @param migration_plan_href
92
+ # @param pulp_2to3_migration_migration_plan_href
93
93
  # @param migration_plan_run
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @return [AsyncOperationResponse]
@@ -62,7 +62,7 @@ describe 'Pulp2ContentApi' do
62
62
  # unit tests for read
63
63
  # Inspect a pulp2 content
64
64
  # ViewSet for Pulp2Content model.
65
- # @param pulp2_content_href
65
+ # @param pulp_2to3_migration_pulp2_content_href
66
66
  # @param [Hash] opts the optional parameters
67
67
  # @option opts [String] :fields A list of fields to include in the response.
68
68
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -55,7 +55,7 @@ describe 'Pulp2RepositoriesApi' do
55
55
  # unit tests for read
56
56
  # Inspect a pulp2 repository
57
57
  # ViewSet for Pulp2Repositories model.
58
- # @param pulp2_repository_href
58
+ # @param pulp_2to3_migration_pulp2_repository_href
59
59
  # @param [Hash] opts the optional parameters
60
60
  # @option opts [String] :fields A list of fields to include in the response.
61
61
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.3.0b1.dev01596137957
4
+ version: 0.3.0b1.dev01596224671
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-07-30 00:00:00.000000000 Z
11
+ date: 2020-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday