pulp_2to3_migration_client 0.4.0 → 0.5.0.dev01602341560

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/docs/MigrationPlansApi.md +2 -2
  4. data/docs/{InlineResponse200.md → Paginatedpulp2to3MigrationMigrationPlanResponseList.md} +4 -4
  5. data/docs/{InlineResponse2001.md → Paginatedpulp2to3MigrationPulp2ContentResponseList.md} +4 -4
  6. data/docs/{InlineResponse2002.md → Paginatedpulp2to3MigrationPulp2RepositoryResponseList.md} +4 -4
  7. data/docs/Pulp2ContentApi.md +2 -2
  8. data/docs/Pulp2RepositoriesApi.md +2 -2
  9. data/docs/Pulp2to3MigrationPulp2RepositoryResponse.md +1 -1
  10. data/lib/pulp_2to3_migration_client.rb +3 -3
  11. data/lib/pulp_2to3_migration_client/api/migration_plans_api.rb +3 -3
  12. data/lib/pulp_2to3_migration_client/api/pulp2_content_api.rb +3 -3
  13. data/lib/pulp_2to3_migration_client/api/pulp2_repositories_api.rb +3 -3
  14. data/lib/pulp_2to3_migration_client/models/{inline_response200.rb → paginatedpulp2to3_migration_migration_plan_response_list.rb} +3 -3
  15. data/lib/pulp_2to3_migration_client/models/{inline_response2001.rb → paginatedpulp2to3_migration_pulp2_content_response_list.rb} +3 -3
  16. data/lib/pulp_2to3_migration_client/models/{inline_response2002.rb → paginatedpulp2to3_migration_pulp2_repository_response_list.rb} +3 -3
  17. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_repository_response.rb +4 -2
  18. data/lib/pulp_2to3_migration_client/version.rb +1 -1
  19. data/spec/api/migration_plans_api_spec.rb +1 -1
  20. data/spec/api/pulp2_content_api_spec.rb +1 -1
  21. data/spec/api/pulp2_repositories_api_spec.rb +1 -1
  22. data/spec/models/{inline_response2002_spec.rb → paginatedpulp2to3_migration_migration_plan_response_list_spec.rb} +6 -6
  23. data/spec/models/{inline_response2001_spec.rb → paginatedpulp2to3_migration_pulp2_content_response_list_spec.rb} +6 -6
  24. data/spec/models/{inline_response200_spec.rb → paginatedpulp2to3_migration_pulp2_repository_response_list_spec.rb} +6 -6
  25. metadata +16 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 934bd4265ef7c8efcb22737ef9a455f326c91c50d99e8f9ba817735a3c2abf55
4
- data.tar.gz: ca13598df5944ac7b79b70348c6e755ff48a13e2a3f46afabae04f3afc9faa21
3
+ metadata.gz: 3e6ef025c93b708f708b3ee23434db9823d122c9e088aa89bb8faa8e4263e1fa
4
+ data.tar.gz: e7df22ecfa0186decdf0cd53a3c1fd9c6ec123d6d1defd622ced2b87c4a87cc1
5
5
  SHA512:
6
- metadata.gz: 7b571522d576d9ba7831525c22564333ff6a3b7fa583140dd5e608c93dfb37a93e092bfc08f52472172fc9faae55c7b37e1585c081b45aaed369a10963d2eb16
7
- data.tar.gz: 944f98d1caaf080c29688b7d27c23cbf9e9879baffe2a1821ca73046d4fb0b39750ad11c88352079f6995fa2dee056d74e418909823bd348ae9a4777f71cd153
6
+ metadata.gz: 652052574d2f7d622d0d2e1f9bbd0ff40c60a00e27a3d48a44ab119731b831e7cb599be746490b040d576aa054d99edaf921d79ba853819deafc9384761a8b37
7
+ data.tar.gz: cf5f3c7da609eb23ab1d4db4755d4b2f05f429cee3ba835a1c19a8433121dbe9c4581fda6286485b342c367ed766beac3376c1cc50932517b1e1768c83242dc5
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.4.0
10
+ - Package version: 0.5.0.dev01602341560
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.4.0.gem
27
+ gem install ./pulp_2to3_migration_client-0.5.0.dev01602341560.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_2to3_migration_client-0.4.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_2to3_migration_client-0.5.0.dev01602341560.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.4.0'
36
+ gem 'pulp_2to3_migration_client', '~> 0.5.0.dev01602341560'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -97,10 +97,10 @@ Class | Method | HTTP request | Description
97
97
  ## Documentation for Models
98
98
 
99
99
  - [Pulp2to3MigrationClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
100
- - [Pulp2to3MigrationClient::InlineResponse200](docs/InlineResponse200.md)
101
- - [Pulp2to3MigrationClient::InlineResponse2001](docs/InlineResponse2001.md)
102
- - [Pulp2to3MigrationClient::InlineResponse2002](docs/InlineResponse2002.md)
103
100
  - [Pulp2to3MigrationClient::MigrationPlanRun](docs/MigrationPlanRun.md)
101
+ - [Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList](docs/Paginatedpulp2to3MigrationMigrationPlanResponseList.md)
102
+ - [Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList](docs/Paginatedpulp2to3MigrationPulp2ContentResponseList.md)
103
+ - [Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList](docs/Paginatedpulp2to3MigrationPulp2RepositoryResponseList.md)
104
104
  - [Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan](docs/Pulp2to3MigrationMigrationPlan.md)
105
105
  - [Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlanResponse](docs/Pulp2to3MigrationMigrationPlanResponse.md)
106
106
  - [Pulp2to3MigrationClient::Pulp2to3MigrationPulp2ContentResponse](docs/Pulp2to3MigrationPulp2ContentResponse.md)
@@ -119,7 +119,7 @@ nil (empty response body)
119
119
 
120
120
  ## list
121
121
 
122
- > InlineResponse200 list(opts)
122
+ > Paginatedpulp2to3MigrationMigrationPlanResponseList list(opts)
123
123
 
124
124
  List migration plans
125
125
 
@@ -168,7 +168,7 @@ Name | Type | Description | Notes
168
168
 
169
169
  ### Return type
170
170
 
171
- [**InlineResponse200**](InlineResponse200.md)
171
+ [**Paginatedpulp2to3MigrationMigrationPlanResponseList**](Paginatedpulp2to3MigrationMigrationPlanResponseList.md)
172
172
 
173
173
  ### Authorization
174
174
 
@@ -1,4 +1,4 @@
1
- # Pulp2to3MigrationClient::InlineResponse200
1
+ # Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'Pulp2to3MigrationClient'
16
16
 
17
- instance = Pulp2to3MigrationClient::InlineResponse200.new(count: 123,
18
- _next: null,
19
- previous: null,
17
+ instance = Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
20
  results: null)
21
21
  ```
22
22
 
@@ -1,4 +1,4 @@
1
- # Pulp2to3MigrationClient::InlineResponse2001
1
+ # Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'Pulp2to3MigrationClient'
16
16
 
17
- instance = Pulp2to3MigrationClient::InlineResponse2001.new(count: 123,
18
- _next: null,
19
- previous: null,
17
+ instance = Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
20
  results: null)
21
21
  ```
22
22
 
@@ -1,4 +1,4 @@
1
- # Pulp2to3MigrationClient::InlineResponse2002
1
+ # Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'Pulp2to3MigrationClient'
16
16
 
17
- instance = Pulp2to3MigrationClient::InlineResponse2002.new(count: 123,
18
- _next: null,
19
- previous: null,
17
+ instance = Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
20
  results: null)
21
21
  ```
22
22
 
@@ -11,7 +11,7 @@ Method | HTTP request | Description
11
11
 
12
12
  ## list
13
13
 
14
- > InlineResponse2001 list(opts)
14
+ > Paginatedpulp2to3MigrationPulp2ContentResponseList list(opts)
15
15
 
16
16
  List pulp2 contents
17
17
 
@@ -82,7 +82,7 @@ Name | Type | Description | Notes
82
82
 
83
83
  ### Return type
84
84
 
85
- [**InlineResponse2001**](InlineResponse2001.md)
85
+ [**Paginatedpulp2to3MigrationPulp2ContentResponseList**](Paginatedpulp2to3MigrationPulp2ContentResponseList.md)
86
86
 
87
87
  ### Authorization
88
88
 
@@ -11,7 +11,7 @@ Method | HTTP request | Description
11
11
 
12
12
  ## list
13
13
 
14
- > InlineResponse2002 list(opts)
14
+ > Paginatedpulp2to3MigrationPulp2RepositoryResponseList list(opts)
15
15
 
16
16
  List pulp2 repositorys
17
17
 
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
68
68
 
69
69
  ### Return type
70
70
 
71
- [**InlineResponse2002**](InlineResponse2002.md)
71
+ [**Paginatedpulp2to3MigrationPulp2RepositoryResponseList**](Paginatedpulp2to3MigrationPulp2RepositoryResponseList.md)
72
72
 
73
73
  ### Authorization
74
74
 
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  **pulp3_repository_version** | **String** | RepositoryVersion to be served | [optional]
15
15
  **pulp3_remote_href** | **String** | | [optional] [readonly]
16
16
  **pulp3_publication_href** | **String** | | [optional] [readonly]
17
- **pulp3_distribution_hrefs** | **String** | | [optional] [readonly]
17
+ **pulp3_distribution_hrefs** | **Array<String>** | | [optional] [readonly]
18
18
  **pulp3_repository_href** | **String** | | [optional] [readonly]
19
19
 
20
20
  ## Code Sample
@@ -18,10 +18,10 @@ require 'pulp_2to3_migration_client/configuration'
18
18
 
19
19
  # Models
20
20
  require 'pulp_2to3_migration_client/models/async_operation_response'
21
- require 'pulp_2to3_migration_client/models/inline_response200'
22
- require 'pulp_2to3_migration_client/models/inline_response2001'
23
- require 'pulp_2to3_migration_client/models/inline_response2002'
24
21
  require 'pulp_2to3_migration_client/models/migration_plan_run'
22
+ require 'pulp_2to3_migration_client/models/paginatedpulp2to3_migration_migration_plan_response_list'
23
+ require 'pulp_2to3_migration_client/models/paginatedpulp2to3_migration_pulp2_content_response_list'
24
+ require 'pulp_2to3_migration_client/models/paginatedpulp2to3_migration_pulp2_repository_response_list'
25
25
  require 'pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan'
26
26
  require 'pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_response'
27
27
  require 'pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_content_response'
@@ -151,7 +151,7 @@ module Pulp2to3MigrationClient
151
151
  # @option opts [String] :ordering Which field to use when ordering the results.
152
152
  # @option opts [String] :fields A list of fields to include in the response.
153
153
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
154
- # @return [InlineResponse200]
154
+ # @return [Paginatedpulp2to3MigrationMigrationPlanResponseList]
155
155
  def list(opts = {})
156
156
  data, _status_code, _headers = list_with_http_info(opts)
157
157
  data
@@ -165,7 +165,7 @@ module Pulp2to3MigrationClient
165
165
  # @option opts [String] :ordering Which field to use when ordering the results.
166
166
  # @option opts [String] :fields A list of fields to include in the response.
167
167
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
168
- # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
168
+ # @return [Array<(Paginatedpulp2to3MigrationMigrationPlanResponseList, Integer, Hash)>] Paginatedpulp2to3MigrationMigrationPlanResponseList data, response status code and response headers
169
169
  def list_with_http_info(opts = {})
170
170
  if @api_client.config.debugging
171
171
  @api_client.config.logger.debug 'Calling API: MigrationPlansApi.list ...'
@@ -193,7 +193,7 @@ module Pulp2to3MigrationClient
193
193
  post_body = opts[:body]
194
194
 
195
195
  # return_type
196
- return_type = opts[:return_type] || 'InlineResponse200'
196
+ return_type = opts[:return_type] || 'Paginatedpulp2to3MigrationMigrationPlanResponseList'
197
197
 
198
198
  # auth_names
199
199
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -38,7 +38,7 @@ module Pulp2to3MigrationClient
38
38
  # @option opts [String] :pulp3_content pulp3_content
39
39
  # @option opts [String] :fields A list of fields to include in the response.
40
40
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
41
- # @return [InlineResponse2001]
41
+ # @return [Paginatedpulp2to3MigrationPulp2ContentResponseList]
42
42
  def list(opts = {})
43
43
  data, _status_code, _headers = list_with_http_info(opts)
44
44
  data
@@ -63,7 +63,7 @@ module Pulp2to3MigrationClient
63
63
  # @option opts [String] :pulp3_content pulp3_content
64
64
  # @option opts [String] :fields A list of fields to include in the response.
65
65
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
66
- # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
66
+ # @return [Array<(Paginatedpulp2to3MigrationPulp2ContentResponseList, Integer, Hash)>] Paginatedpulp2to3MigrationPulp2ContentResponseList data, response status code and response headers
67
67
  def list_with_http_info(opts = {})
68
68
  if @api_client.config.debugging
69
69
  @api_client.config.logger.debug 'Calling API: Pulp2ContentApi.list ...'
@@ -102,7 +102,7 @@ module Pulp2to3MigrationClient
102
102
  post_body = opts[:body]
103
103
 
104
104
  # return_type
105
- return_type = opts[:return_type] || 'InlineResponse2001'
105
+ return_type = opts[:return_type] || 'Paginatedpulp2to3MigrationPulp2ContentResponseList'
106
106
 
107
107
  # auth_names
108
108
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -31,7 +31,7 @@ module Pulp2to3MigrationClient
31
31
  # @option opts [String] :pulp2_repo_id__in pulp2_repo_id__in
32
32
  # @option opts [String] :fields A list of fields to include in the response.
33
33
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
34
- # @return [InlineResponse2002]
34
+ # @return [Paginatedpulp2to3MigrationPulp2RepositoryResponseList]
35
35
  def list(opts = {})
36
36
  data, _status_code, _headers = list_with_http_info(opts)
37
37
  data
@@ -49,7 +49,7 @@ module Pulp2to3MigrationClient
49
49
  # @option opts [String] :pulp2_repo_id__in pulp2_repo_id__in
50
50
  # @option opts [String] :fields A list of fields to include in the response.
51
51
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
52
- # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
52
+ # @return [Array<(Paginatedpulp2to3MigrationPulp2RepositoryResponseList, Integer, Hash)>] Paginatedpulp2to3MigrationPulp2RepositoryResponseList data, response status code and response headers
53
53
  def list_with_http_info(opts = {})
54
54
  if @api_client.config.debugging
55
55
  @api_client.config.logger.debug 'Calling API: Pulp2RepositoriesApi.list ...'
@@ -81,7 +81,7 @@ module Pulp2to3MigrationClient
81
81
  post_body = opts[:body]
82
82
 
83
83
  # return_type
84
- return_type = opts[:return_type] || 'InlineResponse2002'
84
+ return_type = opts[:return_type] || 'Paginatedpulp2to3MigrationPulp2RepositoryResponseList'
85
85
 
86
86
  # auth_names
87
87
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module Pulp2to3MigrationClient
16
- class InlineResponse200
16
+ class Paginatedpulp2to3MigrationMigrationPlanResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module Pulp2to3MigrationClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::InlineResponse200` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::InlineResponse200`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module Pulp2to3MigrationClient
16
- class InlineResponse2001
16
+ class Paginatedpulp2to3MigrationPulp2ContentResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module Pulp2to3MigrationClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::InlineResponse2001` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::InlineResponse2001`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module Pulp2to3MigrationClient
16
- class InlineResponse2002
16
+ class Paginatedpulp2to3MigrationPulp2RepositoryResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module Pulp2to3MigrationClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::InlineResponse2002` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::InlineResponse2002`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -72,7 +72,7 @@ module Pulp2to3MigrationClient
72
72
  :'pulp3_repository_version' => :'String',
73
73
  :'pulp3_remote_href' => :'String',
74
74
  :'pulp3_publication_href' => :'String',
75
- :'pulp3_distribution_hrefs' => :'String',
75
+ :'pulp3_distribution_hrefs' => :'Array<String>',
76
76
  :'pulp3_repository_href' => :'String'
77
77
  }
78
78
  end
@@ -144,7 +144,9 @@ module Pulp2to3MigrationClient
144
144
  end
145
145
 
146
146
  if attributes.key?(:'pulp3_distribution_hrefs')
147
- self.pulp3_distribution_hrefs = attributes[:'pulp3_distribution_hrefs']
147
+ if (value = attributes[:'pulp3_distribution_hrefs']).is_a?(Array)
148
+ self.pulp3_distribution_hrefs = value
149
+ end
148
150
  end
149
151
 
150
152
  if attributes.key?(:'pulp3_repository_href')
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module Pulp2to3MigrationClient
14
- VERSION = '0.4.0'
14
+ VERSION = '0.5.0.dev01602341560'
15
15
  end
@@ -65,7 +65,7 @@ describe 'MigrationPlansApi' do
65
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
- # @return [InlineResponse200]
68
+ # @return [Paginatedpulp2to3MigrationMigrationPlanResponseList]
69
69
  describe 'list test' do
70
70
  it 'should work' do
71
71
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -52,7 +52,7 @@ describe 'Pulp2ContentApi' do
52
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
- # @return [InlineResponse2001]
55
+ # @return [Paginatedpulp2to3MigrationPulp2ContentResponseList]
56
56
  describe 'list test' do
57
57
  it 'should work' do
58
58
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -45,7 +45,7 @@ describe 'Pulp2RepositoriesApi' do
45
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
- # @return [InlineResponse2002]
48
+ # @return [Paginatedpulp2to3MigrationPulp2RepositoryResponseList]
49
49
  describe 'list test' do
50
50
  it 'should work' do
51
51
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Pulp2to3MigrationClient::InlineResponse2002
17
+ # Unit tests for Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'InlineResponse2002' do
20
+ describe 'Paginatedpulp2to3MigrationMigrationPlanResponseList' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Pulp2to3MigrationClient::InlineResponse2002.new
23
+ @instance = Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of InlineResponse2002' do
31
- it 'should create an instance of InlineResponse2002' do
32
- expect(@instance).to be_instance_of(Pulp2to3MigrationClient::InlineResponse2002)
30
+ describe 'test an instance of Paginatedpulp2to3MigrationMigrationPlanResponseList' do
31
+ it 'should create an instance of Paginatedpulp2to3MigrationMigrationPlanResponseList' do
32
+ expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "count"' do
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Pulp2to3MigrationClient::InlineResponse2001
17
+ # Unit tests for Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'InlineResponse2001' do
20
+ describe 'Paginatedpulp2to3MigrationPulp2ContentResponseList' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Pulp2to3MigrationClient::InlineResponse2001.new
23
+ @instance = Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of InlineResponse2001' do
31
- it 'should create an instance of InlineResponse2001' do
32
- expect(@instance).to be_instance_of(Pulp2to3MigrationClient::InlineResponse2001)
30
+ describe 'test an instance of Paginatedpulp2to3MigrationPulp2ContentResponseList' do
31
+ it 'should create an instance of Paginatedpulp2to3MigrationPulp2ContentResponseList' do
32
+ expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "count"' do
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Pulp2to3MigrationClient::InlineResponse200
17
+ # Unit tests for Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'InlineResponse200' do
20
+ describe 'Paginatedpulp2to3MigrationPulp2RepositoryResponseList' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Pulp2to3MigrationClient::InlineResponse200.new
23
+ @instance = Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of InlineResponse200' do
31
- it 'should create an instance of InlineResponse200' do
32
- expect(@instance).to be_instance_of(Pulp2to3MigrationClient::InlineResponse200)
30
+ describe 'test an instance of Paginatedpulp2to3MigrationPulp2RepositoryResponseList' do
31
+ it 'should create an instance of Paginatedpulp2to3MigrationPulp2RepositoryResponseList' do
32
+ expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "count"' 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.4.0
4
+ version: 0.5.0.dev01602341560
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-10-07 00:00:00.000000000 Z
11
+ date: 2020-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -75,11 +75,11 @@ files:
75
75
  - README.md
76
76
  - Rakefile
77
77
  - docs/AsyncOperationResponse.md
78
- - docs/InlineResponse200.md
79
- - docs/InlineResponse2001.md
80
- - docs/InlineResponse2002.md
81
78
  - docs/MigrationPlanRun.md
82
79
  - docs/MigrationPlansApi.md
80
+ - docs/Paginatedpulp2to3MigrationMigrationPlanResponseList.md
81
+ - docs/Paginatedpulp2to3MigrationPulp2ContentResponseList.md
82
+ - docs/Paginatedpulp2to3MigrationPulp2RepositoryResponseList.md
83
83
  - docs/Pulp2ContentApi.md
84
84
  - docs/Pulp2RepositoriesApi.md
85
85
  - docs/Pulp2to3MigrationMigrationPlan.md
@@ -95,10 +95,10 @@ files:
95
95
  - lib/pulp_2to3_migration_client/api_error.rb
96
96
  - lib/pulp_2to3_migration_client/configuration.rb
97
97
  - lib/pulp_2to3_migration_client/models/async_operation_response.rb
98
- - lib/pulp_2to3_migration_client/models/inline_response200.rb
99
- - lib/pulp_2to3_migration_client/models/inline_response2001.rb
100
- - lib/pulp_2to3_migration_client/models/inline_response2002.rb
101
98
  - lib/pulp_2to3_migration_client/models/migration_plan_run.rb
99
+ - lib/pulp_2to3_migration_client/models/paginatedpulp2to3_migration_migration_plan_response_list.rb
100
+ - lib/pulp_2to3_migration_client/models/paginatedpulp2to3_migration_pulp2_content_response_list.rb
101
+ - lib/pulp_2to3_migration_client/models/paginatedpulp2to3_migration_pulp2_repository_response_list.rb
102
102
  - lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan.rb
103
103
  - lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_response.rb
104
104
  - lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_content_response.rb
@@ -111,10 +111,10 @@ files:
111
111
  - spec/api_client_spec.rb
112
112
  - spec/configuration_spec.rb
113
113
  - spec/models/async_operation_response_spec.rb
114
- - spec/models/inline_response2001_spec.rb
115
- - spec/models/inline_response2002_spec.rb
116
- - spec/models/inline_response200_spec.rb
117
114
  - spec/models/migration_plan_run_spec.rb
115
+ - spec/models/paginatedpulp2to3_migration_migration_plan_response_list_spec.rb
116
+ - spec/models/paginatedpulp2to3_migration_pulp2_content_response_list_spec.rb
117
+ - spec/models/paginatedpulp2to3_migration_pulp2_repository_response_list_spec.rb
118
118
  - spec/models/pulp2to3_migration_migration_plan_response_spec.rb
119
119
  - spec/models/pulp2to3_migration_migration_plan_spec.rb
120
120
  - spec/models/pulp2to3_migration_pulp2_content_response_spec.rb
@@ -135,9 +135,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
135
  version: '1.9'
136
136
  required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  requirements:
138
- - - ">="
138
+ - - ">"
139
139
  - !ruby/object:Gem::Version
140
- version: '0'
140
+ version: 1.3.1
141
141
  requirements: []
142
142
  rubygems_version: 3.0.6
143
143
  signing_key:
@@ -154,8 +154,8 @@ test_files:
154
154
  - spec/models/pulp2to3_migration_pulp2_repository_response_spec.rb
155
155
  - spec/models/pulp2to3_migration_migration_plan_response_spec.rb
156
156
  - spec/models/migration_plan_run_spec.rb
157
+ - spec/models/paginatedpulp2to3_migration_pulp2_content_response_list_spec.rb
157
158
  - spec/models/pulp2to3_migration_pulp2_content_response_spec.rb
158
- - spec/models/inline_response2001_spec.rb
159
- - spec/models/inline_response2002_spec.rb
160
- - spec/models/inline_response200_spec.rb
159
+ - spec/models/paginatedpulp2to3_migration_migration_plan_response_list_spec.rb
160
+ - spec/models/paginatedpulp2to3_migration_pulp2_repository_response_list_spec.rb
161
161
  - spec/spec_helper.rb