pulp_2to3_migration_client 0.3.0b1.dev01595619351 → 0.3.0b1.dev01596051478

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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -15
  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 +31 -31
  7. data/docs/Pulp2ContentApi.md +154 -0
  8. data/docs/{Pulp2repositoriesApi.md → Pulp2RepositoriesApi.md} +25 -25
  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 -42
  15. data/lib/pulp_2to3_migration_client/api/{pulp2content_api.rb → pulp2_content_api.rb} +46 -46
  16. data/lib/pulp_2to3_migration_client/api/{pulp2repositories_api.rb → pulp2_repositories_api.rb} +29 -29
  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 -10
  32. data/spec/api/{pulp2content_api_spec.rb → pulp2_content_api_spec.rb} +22 -22
  33. data/spec/api/{pulp2repositories_api_spec.rb → pulp2_repositories_api_spec.rb} +15 -15
  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
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -13,7 +13,8 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module Pulp2to3MigrationClient
16
- class Pulp2to3MigrationPulp2Repository
16
+ # A serializer for the Pulp2Repositories
17
+ class Pulp2to3MigrationPulp2RepositoryResponse
17
18
  attr_accessor :pulp_href
18
19
 
19
20
  # Timestamp of creation.
@@ -32,16 +33,12 @@ module Pulp2to3MigrationClient
32
33
  # RepositoryVersion to be served
33
34
  attr_accessor :pulp3_repository_version
34
35
 
35
- # Get pulp3_remote_href from pulp2repo
36
36
  attr_accessor :pulp3_remote_href
37
37
 
38
- # Get pulp3_publication_href from pulp3_repository_version
39
38
  attr_accessor :pulp3_publication_href
40
39
 
41
- # Get pulp3_distribution_hrefs from pulp3_repository_version
42
40
  attr_accessor :pulp3_distribution_hrefs
43
41
 
44
- # Get pulp3_repository_href from pulp2repo
45
42
  attr_accessor :pulp3_repository_href
46
43
 
47
44
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -73,10 +70,10 @@ module Pulp2to3MigrationClient
73
70
  :'is_migrated' => :'Boolean',
74
71
  :'not_in_plan' => :'Boolean',
75
72
  :'pulp3_repository_version' => :'String',
76
- :'pulp3_remote_href' => :'String',
77
- :'pulp3_publication_href' => :'String',
78
- :'pulp3_distribution_hrefs' => :'Array<String>',
79
- :'pulp3_repository_href' => :'String'
73
+ :'pulp3_remote_href' => :'Object',
74
+ :'pulp3_publication_href' => :'Object',
75
+ :'pulp3_distribution_hrefs' => :'Object',
76
+ :'pulp3_repository_href' => :'Object'
80
77
  }
81
78
  end
82
79
 
@@ -91,13 +88,13 @@ module Pulp2to3MigrationClient
91
88
  # @param [Hash] attributes Model attributes in the form of hash
92
89
  def initialize(attributes = {})
93
90
  if (!attributes.is_a?(Hash))
94
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::Pulp2to3MigrationPulp2Repository` initialize method"
91
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::Pulp2to3MigrationPulp2RepositoryResponse` initialize method"
95
92
  end
96
93
 
97
94
  # check to see if the attribute exists and convert string to symbol for hash key
98
95
  attributes = attributes.each_with_object({}) { |(k, v), h|
99
96
  if (!self.class.attribute_map.key?(k.to_sym))
100
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::Pulp2to3MigrationPulp2Repository`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
97
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::Pulp2to3MigrationPulp2RepositoryResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
101
98
  end
102
99
  h[k.to_sym] = v
103
100
  }
@@ -147,9 +144,7 @@ module Pulp2to3MigrationClient
147
144
  end
148
145
 
149
146
  if attributes.key?(:'pulp3_distribution_hrefs')
150
- if (value = attributes[:'pulp3_distribution_hrefs']).is_a?(Array)
151
- self.pulp3_distribution_hrefs = value
152
- end
147
+ self.pulp3_distribution_hrefs = attributes[:'pulp3_distribution_hrefs']
153
148
  end
154
149
 
155
150
  if attributes.key?(:'pulp3_repository_href')
@@ -169,38 +164,14 @@ module Pulp2to3MigrationClient
169
164
  invalid_properties.push('invalid value for "pulp2_object_id", the character length must be smaller than or equal to 255.')
170
165
  end
171
166
 
172
- if @pulp2_object_id.to_s.length < 1
173
- invalid_properties.push('invalid value for "pulp2_object_id", the character length must be great than or equal to 1.')
174
- end
175
-
176
167
  if @pulp2_repo_id.nil?
177
168
  invalid_properties.push('invalid value for "pulp2_repo_id", pulp2_repo_id cannot be nil.')
178
169
  end
179
170
 
180
- if @pulp2_repo_id.to_s.length < 1
181
- invalid_properties.push('invalid value for "pulp2_repo_id", the character length must be great than or equal to 1.')
182
- end
183
-
184
171
  if @pulp2_repo_type.nil?
185
172
  invalid_properties.push('invalid value for "pulp2_repo_type", pulp2_repo_type cannot be nil.')
186
173
  end
187
174
 
188
- if @pulp2_repo_type.to_s.length < 1
189
- invalid_properties.push('invalid value for "pulp2_repo_type", the character length must be great than or equal to 1.')
190
- end
191
-
192
- if !@pulp3_remote_href.nil? && @pulp3_remote_href.to_s.length < 1
193
- invalid_properties.push('invalid value for "pulp3_remote_href", the character length must be great than or equal to 1.')
194
- end
195
-
196
- if !@pulp3_publication_href.nil? && @pulp3_publication_href.to_s.length < 1
197
- invalid_properties.push('invalid value for "pulp3_publication_href", the character length must be great than or equal to 1.')
198
- end
199
-
200
- if !@pulp3_repository_href.nil? && @pulp3_repository_href.to_s.length < 1
201
- invalid_properties.push('invalid value for "pulp3_repository_href", the character length must be great than or equal to 1.')
202
- end
203
-
204
175
  invalid_properties
205
176
  end
206
177
 
@@ -209,14 +180,8 @@ module Pulp2to3MigrationClient
209
180
  def valid?
210
181
  return false if @pulp2_object_id.nil?
211
182
  return false if @pulp2_object_id.to_s.length > 255
212
- return false if @pulp2_object_id.to_s.length < 1
213
183
  return false if @pulp2_repo_id.nil?
214
- return false if @pulp2_repo_id.to_s.length < 1
215
184
  return false if @pulp2_repo_type.nil?
216
- return false if @pulp2_repo_type.to_s.length < 1
217
- return false if !@pulp3_remote_href.nil? && @pulp3_remote_href.to_s.length < 1
218
- return false if !@pulp3_publication_href.nil? && @pulp3_publication_href.to_s.length < 1
219
- return false if !@pulp3_repository_href.nil? && @pulp3_repository_href.to_s.length < 1
220
185
  true
221
186
  end
222
187
 
@@ -231,71 +196,9 @@ module Pulp2to3MigrationClient
231
196
  fail ArgumentError, 'invalid value for "pulp2_object_id", the character length must be smaller than or equal to 255.'
232
197
  end
233
198
 
234
- if pulp2_object_id.to_s.length < 1
235
- fail ArgumentError, 'invalid value for "pulp2_object_id", the character length must be great than or equal to 1.'
236
- end
237
-
238
199
  @pulp2_object_id = pulp2_object_id
239
200
  end
240
201
 
241
- # Custom attribute writer method with validation
242
- # @param [Object] pulp2_repo_id Value to be assigned
243
- def pulp2_repo_id=(pulp2_repo_id)
244
- if pulp2_repo_id.nil?
245
- fail ArgumentError, 'pulp2_repo_id cannot be nil'
246
- end
247
-
248
- if pulp2_repo_id.to_s.length < 1
249
- fail ArgumentError, 'invalid value for "pulp2_repo_id", the character length must be great than or equal to 1.'
250
- end
251
-
252
- @pulp2_repo_id = pulp2_repo_id
253
- end
254
-
255
- # Custom attribute writer method with validation
256
- # @param [Object] pulp2_repo_type Value to be assigned
257
- def pulp2_repo_type=(pulp2_repo_type)
258
- if pulp2_repo_type.nil?
259
- fail ArgumentError, 'pulp2_repo_type cannot be nil'
260
- end
261
-
262
- if pulp2_repo_type.to_s.length < 1
263
- fail ArgumentError, 'invalid value for "pulp2_repo_type", the character length must be great than or equal to 1.'
264
- end
265
-
266
- @pulp2_repo_type = pulp2_repo_type
267
- end
268
-
269
- # Custom attribute writer method with validation
270
- # @param [Object] pulp3_remote_href Value to be assigned
271
- def pulp3_remote_href=(pulp3_remote_href)
272
- if !pulp3_remote_href.nil? && pulp3_remote_href.to_s.length < 1
273
- fail ArgumentError, 'invalid value for "pulp3_remote_href", the character length must be great than or equal to 1.'
274
- end
275
-
276
- @pulp3_remote_href = pulp3_remote_href
277
- end
278
-
279
- # Custom attribute writer method with validation
280
- # @param [Object] pulp3_publication_href Value to be assigned
281
- def pulp3_publication_href=(pulp3_publication_href)
282
- if !pulp3_publication_href.nil? && pulp3_publication_href.to_s.length < 1
283
- fail ArgumentError, 'invalid value for "pulp3_publication_href", the character length must be great than or equal to 1.'
284
- end
285
-
286
- @pulp3_publication_href = pulp3_publication_href
287
- end
288
-
289
- # Custom attribute writer method with validation
290
- # @param [Object] pulp3_repository_href Value to be assigned
291
- def pulp3_repository_href=(pulp3_repository_href)
292
- if !pulp3_repository_href.nil? && pulp3_repository_href.to_s.length < 1
293
- fail ArgumentError, 'invalid value for "pulp3_repository_href", the character length must be great than or equal to 1.'
294
- end
295
-
296
- @pulp3_repository_href = pulp3_repository_href
297
- end
298
-
299
202
  # Checks equality by comparing each attribute.
300
203
  # @param [Object] Object to be compared
301
204
  def ==(o)
@@ -1,15 +1,15 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
13
13
  module Pulp2to3MigrationClient
14
- VERSION = '0.3.0b1.dev01595619351'
14
+ VERSION = '0.3.0b1.dev01596051478'
15
15
  end
@@ -3,10 +3,10 @@
3
3
  =begin
4
4
  #Pulp 3 API
5
5
 
6
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ #Fetch, Upload, Organize, and Distribute Software Packages
7
7
 
8
8
  The version of the OpenAPI document: v3
9
-
9
+ Contact: pulp-list@redhat.com
10
10
  Generated by: https://openapi-generator.tech
11
11
  OpenAPI Generator version: 4.2.3
12
12
 
@@ -20,10 +20,10 @@ Gem::Specification.new do |s|
20
20
  s.version = Pulp2to3MigrationClient::VERSION
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["OpenAPI-Generator"]
23
- s.email = [""]
23
+ s.email = ["pulp-list@redhat.com"]
24
24
  s.homepage = "https://openapi-generator.tech"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
- s.description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
26
+ s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
27
27
  s.license = 'GPL-2.0+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -35,9 +35,9 @@ describe 'MigrationPlansApi' do
35
35
  # unit tests for create
36
36
  # Create a migration plan
37
37
  # MigrationPlan ViewSet.
38
- # @param data
38
+ # @param pulp2to3_migration_migration_plan
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [Pulp2to3MigrationMigrationPlan]
40
+ # @return [Pulp2to3MigrationMigrationPlanResponse]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -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 URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/
50
+ # @param migration_plan_href
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [nil]
53
53
  describe 'delete test' do
@@ -60,9 +60,9 @@ describe 'MigrationPlansApi' do
60
60
  # List migration plans
61
61
  # MigrationPlan ViewSet.
62
62
  # @param [Hash] opts the optional parameters
63
- # @option opts [String] :ordering Which field to use when ordering the results.
64
63
  # @option opts [Integer] :limit Number of results to return per page.
65
64
  # @option opts [Integer] :offset The initial index from which to return the results.
65
+ # @option opts [String] :ordering Which field to use when ordering the results.
66
66
  # @option opts [String] :fields A list of fields to include in the response.
67
67
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
68
68
  # @return [InlineResponse200]
@@ -75,11 +75,11 @@ describe 'MigrationPlansApi' do
75
75
  # unit tests for read
76
76
  # Inspect a migration plan
77
77
  # MigrationPlan ViewSet.
78
- # @param migration_plan_href URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/
78
+ # @param 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.
82
- # @return [Pulp2to3MigrationMigrationPlan]
82
+ # @return [Pulp2to3MigrationMigrationPlanResponse]
83
83
  describe 'read test' do
84
84
  it 'should work' do
85
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -89,8 +89,8 @@ 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 URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/
93
- # @param data
92
+ # @param migration_plan_href
93
+ # @param migration_plan_run
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @return [AsyncOperationResponse]
96
96
  describe 'run test' do
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -13,22 +13,22 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for Pulp2to3MigrationClient::Pulp2contentApi
16
+ # Unit tests for Pulp2to3MigrationClient::Pulp2ContentApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
- describe 'Pulp2contentApi' do
19
+ describe 'Pulp2ContentApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = Pulp2to3MigrationClient::Pulp2contentApi.new
22
+ @api_instance = Pulp2to3MigrationClient::Pulp2ContentApi.new
23
23
  end
24
24
 
25
25
  after do
26
26
  # run after each test
27
27
  end
28
28
 
29
- describe 'test an instance of Pulp2contentApi' do
30
- it 'should create an instance of Pulp2contentApi' do
31
- expect(@api_instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2contentApi)
29
+ describe 'test an instance of Pulp2ContentApi' do
30
+ it 'should create an instance of Pulp2ContentApi' do
31
+ expect(@api_instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2ContentApi)
32
32
  end
33
33
  end
34
34
 
@@ -36,20 +36,20 @@ describe 'Pulp2contentApi' do
36
36
  # List pulp2 contents
37
37
  # ViewSet for Pulp2Content model.
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [String] :ordering Which field to use when ordering the results.
40
- # @option opts [String] :pulp2_id
41
- # @option opts [String] :pulp2_id__in Filter results where pulp2_id is in a comma-separated list of values
42
- # @option opts [String] :pulp2_content_type_id
43
- # @option opts [String] :pulp2_content_type_id__in Filter results where pulp2_content_type_id is in a comma-separated list of values
44
- # @option opts [Float] :pulp2_last_updated__lt Filter results where pulp2_last_updated is less than value
45
- # @option opts [Float] :pulp2_last_updated__lte Filter results where pulp2_last_updated is less than or equal to value
46
- # @option opts [Float] :pulp2_last_updated__gt Filter results where pulp2_last_updated is greater than value
47
- # @option opts [Float] :pulp2_last_updated__gte Filter results where pulp2_last_updated is greater than or equal to value
48
- # @option opts [Float] :pulp2_last_updated__range Filter results where pulp2_last_updated is between two comma separated values
49
- # @option opts [String] :pulp3_content Foreign Key referenced by HREF
50
- # @option opts [String] :pulp2_last_updated ISO 8601 formatted dates are supported
51
39
  # @option opts [Integer] :limit Number of results to return per page.
52
40
  # @option opts [Integer] :offset The initial index from which to return the results.
41
+ # @option opts [String] :ordering Which field to use when ordering the results.
42
+ # @option opts [String] :pulp2_content_type_id pulp2_content_type_id
43
+ # @option opts [String] :pulp2_content_type_id__in pulp2_content_type_id__in
44
+ # @option opts [String] :pulp2_id pulp2_id
45
+ # @option opts [String] :pulp2_id__in pulp2_id__in
46
+ # @option opts [String] :pulp2_last_updated pulp2_last_updated
47
+ # @option opts [String] :pulp2_last_updated__gt pulp2_last_updated__gt
48
+ # @option opts [String] :pulp2_last_updated__gte pulp2_last_updated__gte
49
+ # @option opts [String] :pulp2_last_updated__lt pulp2_last_updated__lt
50
+ # @option opts [String] :pulp2_last_updated__lte pulp2_last_updated__lte
51
+ # @option opts [String] :pulp2_last_updated__range pulp2_last_updated__range
52
+ # @option opts [String] :pulp3_content pulp3_content
53
53
  # @option opts [String] :fields A list of fields to include in the response.
54
54
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
55
55
  # @return [InlineResponse2001]
@@ -62,11 +62,11 @@ 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 URI of Pulp2 Content. e.g.: /pulp/api/v3/pulp2content/1/
65
+ # @param 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.
69
- # @return [Pulp2to3MigrationPulp2Content]
69
+ # @return [Pulp2to3MigrationPulp2ContentResponse]
70
70
  describe 'read test' do
71
71
  it 'should work' do
72
72
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -13,22 +13,22 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for Pulp2to3MigrationClient::Pulp2repositoriesApi
16
+ # Unit tests for Pulp2to3MigrationClient::Pulp2RepositoriesApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
- describe 'Pulp2repositoriesApi' do
19
+ describe 'Pulp2RepositoriesApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = Pulp2to3MigrationClient::Pulp2repositoriesApi.new
22
+ @api_instance = Pulp2to3MigrationClient::Pulp2RepositoriesApi.new
23
23
  end
24
24
 
25
25
  after do
26
26
  # run after each test
27
27
  end
28
28
 
29
- describe 'test an instance of Pulp2repositoriesApi' do
30
- it 'should create an instance of Pulp2repositoriesApi' do
31
- expect(@api_instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2repositoriesApi)
29
+ describe 'test an instance of Pulp2RepositoriesApi' do
30
+ it 'should create an instance of Pulp2RepositoriesApi' do
31
+ expect(@api_instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2RepositoriesApi)
32
32
  end
33
33
  end
34
34
 
@@ -36,13 +36,13 @@ describe 'Pulp2repositoriesApi' do
36
36
  # List pulp2 repositorys
37
37
  # ViewSet for Pulp2Repositories model.
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [String] :ordering Which field to use when ordering the results.
40
- # @option opts [String] :pulp2_repo_id
41
- # @option opts [String] :pulp2_repo_id__in Filter results where pulp2_repo_id is in a comma-separated list of values
42
- # @option opts [String] :is_migrated
43
- # @option opts [String] :not_in_plan
39
+ # @option opts [String] :is_migrated is_migrated
44
40
  # @option opts [Integer] :limit Number of results to return per page.
41
+ # @option opts [String] :not_in_plan not_in_plan
45
42
  # @option opts [Integer] :offset The initial index from which to return the results.
43
+ # @option opts [String] :ordering Which field to use when ordering the results.
44
+ # @option opts [String] :pulp2_repo_id pulp2_repo_id
45
+ # @option opts [String] :pulp2_repo_id__in pulp2_repo_id__in
46
46
  # @option opts [String] :fields A list of fields to include in the response.
47
47
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
48
48
  # @return [InlineResponse2002]
@@ -55,11 +55,11 @@ 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 URI of Pulp2 Repository. e.g.: /pulp/api/v3/pulp2repositories/1/
58
+ # @param 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.
62
- # @return [Pulp2to3MigrationPulp2Repository]
62
+ # @return [Pulp2to3MigrationPulp2RepositoryResponse]
63
63
  describe 'read test' do
64
64
  it 'should work' do
65
65
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers