pulp_2to3_migration_client 0.11.4 → 0.11.9
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 +4 -4
- data/README.md +7 -7
- data/docs/{Paginatedpulp2to3MigrationMigrationPlanResponseList.md → InlineResponse200.md} +4 -4
- data/docs/{Paginatedpulp2to3MigrationPulp2ContentResponseList.md → InlineResponse2001.md} +4 -4
- data/docs/{Paginatedpulp2to3MigrationPulp2RepositoryResponseList.md → InlineResponse2002.md} +4 -4
- data/docs/MigrationPlansApi.md +2 -2
- data/docs/Pulp2ContentApi.md +24 -24
- data/docs/Pulp2RepositoriesApi.md +10 -10
- data/lib/pulp_2to3_migration_client/api/migration_plans_api.rb +3 -3
- data/lib/pulp_2to3_migration_client/api/pulp2_content_api.rb +28 -48
- data/lib/pulp_2to3_migration_client/api/pulp2_repositories_api.rb +12 -12
- data/lib/pulp_2to3_migration_client/models/{paginatedpulp2to3_migration_migration_plan_response_list.rb → inline_response200.rb} +3 -3
- data/lib/pulp_2to3_migration_client/models/{paginatedpulp2to3_migration_pulp2_content_response_list.rb → inline_response2001.rb} +3 -3
- data/lib/pulp_2to3_migration_client/models/{paginatedpulp2to3_migration_pulp2_repository_response_list.rb → inline_response2002.rb} +3 -3
- data/lib/pulp_2to3_migration_client/version.rb +1 -1
- data/lib/pulp_2to3_migration_client.rb +3 -3
- data/pulp_2to3_migration_client.gemspec +1 -1
- data/spec/api/migration_plans_api_spec.rb +1 -1
- data/spec/api/pulp2_content_api_spec.rb +12 -12
- data/spec/api/pulp2_repositories_api_spec.rb +5 -5
- data/spec/models/{paginatedpulp2to3_migration_pulp2_content_response_list_spec.rb → inline_response2001_spec.rb} +6 -6
- data/spec/models/{paginatedpulp2to3_migration_migration_plan_response_list_spec.rb → inline_response2002_spec.rb} +6 -6
- data/spec/models/{paginatedpulp2to3_migration_pulp2_repository_response_list_spec.rb → inline_response200_spec.rb} +6 -6
- metadata +29 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 373c7b692e99dd78ae767bfba441d3123b415f8bbd434b8cefb4c60e328a8612
|
|
4
|
+
data.tar.gz: d29ae1bf33db6911c45ce11d8b566a08b63b64f919cc5a53767e796d0787903a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 00d46598306387c72273cf8c4f78a087e9721404596a809389d3fc381d2d2b7cd9a30530835ca0e7b3ec90eec3a8a68928a7a1698d48269688116bb110b30883
|
|
7
|
+
data.tar.gz: 330bb785bfefa0d13349921a2eb2f0e91dac5dc23ccaa90941c9172ae1301baadccd2cef98c784d18fcae13eaa118affdffbcca8ce3a95ce6c848fdcc300b701
|
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.11.
|
|
10
|
+
- Package version: 0.11.9
|
|
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.11.
|
|
27
|
+
gem install ./pulp_2to3_migration_client-0.11.9.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_2to3_migration_client-0.11.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_2to3_migration_client-0.11.9.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.11.
|
|
36
|
+
gem 'pulp_2to3_migration_client', '~> 0.11.9'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -98,10 +98,10 @@ Class | Method | HTTP request | Description
|
|
|
98
98
|
## Documentation for Models
|
|
99
99
|
|
|
100
100
|
- [Pulp2to3MigrationClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
|
101
|
+
- [Pulp2to3MigrationClient::InlineResponse200](docs/InlineResponse200.md)
|
|
102
|
+
- [Pulp2to3MigrationClient::InlineResponse2001](docs/InlineResponse2001.md)
|
|
103
|
+
- [Pulp2to3MigrationClient::InlineResponse2002](docs/InlineResponse2002.md)
|
|
101
104
|
- [Pulp2to3MigrationClient::MigrationPlanRun](docs/MigrationPlanRun.md)
|
|
102
|
-
- [Pulp2to3MigrationClient::Paginatedpulp2to3MigrationMigrationPlanResponseList](docs/Paginatedpulp2to3MigrationMigrationPlanResponseList.md)
|
|
103
|
-
- [Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2ContentResponseList](docs/Paginatedpulp2to3MigrationPulp2ContentResponseList.md)
|
|
104
|
-
- [Pulp2to3MigrationClient::Paginatedpulp2to3MigrationPulp2RepositoryResponseList](docs/Paginatedpulp2to3MigrationPulp2RepositoryResponseList.md)
|
|
105
105
|
- [Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan](docs/Pulp2to3MigrationMigrationPlan.md)
|
|
106
106
|
- [Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlanResponse](docs/Pulp2to3MigrationMigrationPlanResponse.md)
|
|
107
107
|
- [Pulp2to3MigrationClient::Pulp2to3MigrationPulp2ContentResponse](docs/Pulp2to3MigrationPulp2ContentResponse.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Pulp2to3MigrationClient::
|
|
1
|
+
# Pulp2to3MigrationClient::InlineResponse200
|
|
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::
|
|
18
|
-
_next:
|
|
19
|
-
previous:
|
|
17
|
+
instance = Pulp2to3MigrationClient::InlineResponse200.new(count: 123,
|
|
18
|
+
_next: null,
|
|
19
|
+
previous: null,
|
|
20
20
|
results: null)
|
|
21
21
|
```
|
|
22
22
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Pulp2to3MigrationClient::
|
|
1
|
+
# Pulp2to3MigrationClient::InlineResponse2001
|
|
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::
|
|
18
|
-
_next:
|
|
19
|
-
previous:
|
|
17
|
+
instance = Pulp2to3MigrationClient::InlineResponse2001.new(count: 123,
|
|
18
|
+
_next: null,
|
|
19
|
+
previous: null,
|
|
20
20
|
results: null)
|
|
21
21
|
```
|
|
22
22
|
|
data/docs/{Paginatedpulp2to3MigrationPulp2RepositoryResponseList.md → InlineResponse2002.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Pulp2to3MigrationClient::
|
|
1
|
+
# Pulp2to3MigrationClient::InlineResponse2002
|
|
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::
|
|
18
|
-
_next:
|
|
19
|
-
previous:
|
|
17
|
+
instance = Pulp2to3MigrationClient::InlineResponse2002.new(count: 123,
|
|
18
|
+
_next: null,
|
|
19
|
+
previous: null,
|
|
20
20
|
results: null)
|
|
21
21
|
```
|
|
22
22
|
|
data/docs/MigrationPlansApi.md
CHANGED
|
@@ -120,7 +120,7 @@ nil (empty response body)
|
|
|
120
120
|
|
|
121
121
|
## list
|
|
122
122
|
|
|
123
|
-
>
|
|
123
|
+
> InlineResponse200 list(opts)
|
|
124
124
|
|
|
125
125
|
List migration plans
|
|
126
126
|
|
|
@@ -169,7 +169,7 @@ Name | Type | Description | Notes
|
|
|
169
169
|
|
|
170
170
|
### Return type
|
|
171
171
|
|
|
172
|
-
[**
|
|
172
|
+
[**InlineResponse200**](InlineResponse200.md)
|
|
173
173
|
|
|
174
174
|
### Authorization
|
|
175
175
|
|
data/docs/Pulp2ContentApi.md
CHANGED
|
@@ -11,7 +11,7 @@ Method | HTTP request | Description
|
|
|
11
11
|
|
|
12
12
|
## list
|
|
13
13
|
|
|
14
|
-
>
|
|
14
|
+
> InlineResponse2001 list(opts)
|
|
15
15
|
|
|
16
16
|
List pulp2 contents
|
|
17
17
|
|
|
@@ -34,17 +34,17 @@ opts = {
|
|
|
34
34
|
limit: 56, # Integer | Number of results to return per page.
|
|
35
35
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
36
36
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
37
|
-
pulp2_content_type_id: 'pulp2_content_type_id_example', # String |
|
|
38
|
-
pulp2_content_type_id__in:
|
|
39
|
-
pulp2_id: 'pulp2_id_example', # String |
|
|
40
|
-
pulp2_id__in:
|
|
41
|
-
pulp2_last_updated:
|
|
42
|
-
pulp2_last_updated__gt:
|
|
43
|
-
pulp2_last_updated__gte:
|
|
44
|
-
pulp2_last_updated__lt:
|
|
45
|
-
pulp2_last_updated__lte:
|
|
46
|
-
pulp2_last_updated__range:
|
|
47
|
-
pulp3_content: 'pulp3_content_example', # String |
|
|
37
|
+
pulp2_content_type_id: 'pulp2_content_type_id_example', # String | pulp2_content_type_id
|
|
38
|
+
pulp2_content_type_id__in: 'pulp2_content_type_id__in_example', # String | pulp2_content_type_id__in
|
|
39
|
+
pulp2_id: 'pulp2_id_example', # String | pulp2_id
|
|
40
|
+
pulp2_id__in: 'pulp2_id__in_example', # String | pulp2_id__in
|
|
41
|
+
pulp2_last_updated: 'pulp2_last_updated_example', # String | pulp2_last_updated
|
|
42
|
+
pulp2_last_updated__gt: 'pulp2_last_updated__gt_example', # String | pulp2_last_updated__gt
|
|
43
|
+
pulp2_last_updated__gte: 'pulp2_last_updated__gte_example', # String | pulp2_last_updated__gte
|
|
44
|
+
pulp2_last_updated__lt: 'pulp2_last_updated__lt_example', # String | pulp2_last_updated__lt
|
|
45
|
+
pulp2_last_updated__lte: 'pulp2_last_updated__lte_example', # String | pulp2_last_updated__lte
|
|
46
|
+
pulp2_last_updated__range: 'pulp2_last_updated__range_example', # String | pulp2_last_updated__range
|
|
47
|
+
pulp3_content: 'pulp3_content_example', # String | pulp3_content
|
|
48
48
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
49
49
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
50
50
|
}
|
|
@@ -66,23 +66,23 @@ Name | Type | Description | Notes
|
|
|
66
66
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
67
67
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
68
68
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
69
|
-
**pulp2_content_type_id** | **String**|
|
|
70
|
-
**pulp2_content_type_id__in** |
|
|
71
|
-
**pulp2_id** | **String**|
|
|
72
|
-
**pulp2_id__in** |
|
|
73
|
-
**pulp2_last_updated** | **
|
|
74
|
-
**pulp2_last_updated__gt** | **
|
|
75
|
-
**pulp2_last_updated__gte** | **
|
|
76
|
-
**pulp2_last_updated__lt** | **
|
|
77
|
-
**pulp2_last_updated__lte** | **
|
|
78
|
-
**pulp2_last_updated__range** |
|
|
79
|
-
**pulp3_content** |
|
|
69
|
+
**pulp2_content_type_id** | **String**| pulp2_content_type_id | [optional]
|
|
70
|
+
**pulp2_content_type_id__in** | **String**| pulp2_content_type_id__in | [optional]
|
|
71
|
+
**pulp2_id** | **String**| pulp2_id | [optional]
|
|
72
|
+
**pulp2_id__in** | **String**| pulp2_id__in | [optional]
|
|
73
|
+
**pulp2_last_updated** | **String**| pulp2_last_updated | [optional]
|
|
74
|
+
**pulp2_last_updated__gt** | **String**| pulp2_last_updated__gt | [optional]
|
|
75
|
+
**pulp2_last_updated__gte** | **String**| pulp2_last_updated__gte | [optional]
|
|
76
|
+
**pulp2_last_updated__lt** | **String**| pulp2_last_updated__lt | [optional]
|
|
77
|
+
**pulp2_last_updated__lte** | **String**| pulp2_last_updated__lte | [optional]
|
|
78
|
+
**pulp2_last_updated__range** | **String**| pulp2_last_updated__range | [optional]
|
|
79
|
+
**pulp3_content** | **String**| pulp3_content | [optional]
|
|
80
80
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
81
81
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
82
82
|
|
|
83
83
|
### Return type
|
|
84
84
|
|
|
85
|
-
[**
|
|
85
|
+
[**InlineResponse2001**](InlineResponse2001.md)
|
|
86
86
|
|
|
87
87
|
### Authorization
|
|
88
88
|
|
|
@@ -11,7 +11,7 @@ Method | HTTP request | Description
|
|
|
11
11
|
|
|
12
12
|
## list
|
|
13
13
|
|
|
14
|
-
>
|
|
14
|
+
> InlineResponse2002 list(opts)
|
|
15
15
|
|
|
16
16
|
List pulp2 repositorys
|
|
17
17
|
|
|
@@ -31,13 +31,13 @@ end
|
|
|
31
31
|
|
|
32
32
|
api_instance = Pulp2to3MigrationClient::Pulp2RepositoriesApi.new
|
|
33
33
|
opts = {
|
|
34
|
-
is_migrated:
|
|
34
|
+
is_migrated: 'is_migrated_example', # String | is_migrated
|
|
35
35
|
limit: 56, # Integer | Number of results to return per page.
|
|
36
|
-
not_in_plan:
|
|
36
|
+
not_in_plan: 'not_in_plan_example', # String | not_in_plan
|
|
37
37
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
38
38
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
39
|
-
pulp2_repo_id: 'pulp2_repo_id_example', # String |
|
|
40
|
-
pulp2_repo_id__in:
|
|
39
|
+
pulp2_repo_id: 'pulp2_repo_id_example', # String | pulp2_repo_id
|
|
40
|
+
pulp2_repo_id__in: 'pulp2_repo_id__in_example', # String | pulp2_repo_id__in
|
|
41
41
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
42
42
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
43
43
|
}
|
|
@@ -56,19 +56,19 @@ end
|
|
|
56
56
|
|
|
57
57
|
Name | Type | Description | Notes
|
|
58
58
|
------------- | ------------- | ------------- | -------------
|
|
59
|
-
**is_migrated** | **
|
|
59
|
+
**is_migrated** | **String**| is_migrated | [optional]
|
|
60
60
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
61
|
-
**not_in_plan** | **
|
|
61
|
+
**not_in_plan** | **String**| not_in_plan | [optional]
|
|
62
62
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
63
63
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
64
|
-
**pulp2_repo_id** | **String**|
|
|
65
|
-
**pulp2_repo_id__in** |
|
|
64
|
+
**pulp2_repo_id** | **String**| pulp2_repo_id | [optional]
|
|
65
|
+
**pulp2_repo_id__in** | **String**| pulp2_repo_id__in | [optional]
|
|
66
66
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
67
67
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
68
68
|
|
|
69
69
|
### Return type
|
|
70
70
|
|
|
71
|
-
[**
|
|
71
|
+
[**InlineResponse2002**](InlineResponse2002.md)
|
|
72
72
|
|
|
73
73
|
### Authorization
|
|
74
74
|
|
|
@@ -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 [
|
|
154
|
+
# @return [InlineResponse200]
|
|
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<(
|
|
168
|
+
# @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 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] || '
|
|
196
|
+
return_type = opts[:return_type] || 'InlineResponse200'
|
|
197
197
|
|
|
198
198
|
# auth_names
|
|
199
199
|
auth_names = opts[:auth_names] || ['basicAuth']
|
|
@@ -25,20 +25,20 @@ module Pulp2to3MigrationClient
|
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
27
27
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
28
|
-
# @option opts [String] :pulp2_content_type_id
|
|
29
|
-
# @option opts [
|
|
30
|
-
# @option opts [String] :pulp2_id
|
|
31
|
-
# @option opts [
|
|
32
|
-
# @option opts [
|
|
33
|
-
# @option opts [
|
|
34
|
-
# @option opts [
|
|
35
|
-
# @option opts [
|
|
36
|
-
# @option opts [
|
|
37
|
-
# @option opts [
|
|
38
|
-
# @option opts [String] :pulp3_content
|
|
28
|
+
# @option opts [String] :pulp2_content_type_id pulp2_content_type_id
|
|
29
|
+
# @option opts [String] :pulp2_content_type_id__in pulp2_content_type_id__in
|
|
30
|
+
# @option opts [String] :pulp2_id pulp2_id
|
|
31
|
+
# @option opts [String] :pulp2_id__in pulp2_id__in
|
|
32
|
+
# @option opts [String] :pulp2_last_updated pulp2_last_updated
|
|
33
|
+
# @option opts [String] :pulp2_last_updated__gt pulp2_last_updated__gt
|
|
34
|
+
# @option opts [String] :pulp2_last_updated__gte pulp2_last_updated__gte
|
|
35
|
+
# @option opts [String] :pulp2_last_updated__lt pulp2_last_updated__lt
|
|
36
|
+
# @option opts [String] :pulp2_last_updated__lte pulp2_last_updated__lte
|
|
37
|
+
# @option opts [String] :pulp2_last_updated__range pulp2_last_updated__range
|
|
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 [
|
|
41
|
+
# @return [InlineResponse2001]
|
|
42
42
|
def list(opts = {})
|
|
43
43
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
44
44
|
data
|
|
@@ -50,44 +50,24 @@ module Pulp2to3MigrationClient
|
|
|
50
50
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
51
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
52
52
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
53
|
-
# @option opts [String] :pulp2_content_type_id
|
|
54
|
-
# @option opts [
|
|
55
|
-
# @option opts [String] :pulp2_id
|
|
56
|
-
# @option opts [
|
|
57
|
-
# @option opts [
|
|
58
|
-
# @option opts [
|
|
59
|
-
# @option opts [
|
|
60
|
-
# @option opts [
|
|
61
|
-
# @option opts [
|
|
62
|
-
# @option opts [
|
|
63
|
-
# @option opts [String] :pulp3_content
|
|
53
|
+
# @option opts [String] :pulp2_content_type_id pulp2_content_type_id
|
|
54
|
+
# @option opts [String] :pulp2_content_type_id__in pulp2_content_type_id__in
|
|
55
|
+
# @option opts [String] :pulp2_id pulp2_id
|
|
56
|
+
# @option opts [String] :pulp2_id__in pulp2_id__in
|
|
57
|
+
# @option opts [String] :pulp2_last_updated pulp2_last_updated
|
|
58
|
+
# @option opts [String] :pulp2_last_updated__gt pulp2_last_updated__gt
|
|
59
|
+
# @option opts [String] :pulp2_last_updated__gte pulp2_last_updated__gte
|
|
60
|
+
# @option opts [String] :pulp2_last_updated__lt pulp2_last_updated__lt
|
|
61
|
+
# @option opts [String] :pulp2_last_updated__lte pulp2_last_updated__lte
|
|
62
|
+
# @option opts [String] :pulp2_last_updated__range pulp2_last_updated__range
|
|
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<(
|
|
66
|
+
# @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 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 ...'
|
|
70
70
|
end
|
|
71
|
-
if @api_client.config.client_side_validation && !opts[:'pulp2_last_updated'].nil? && opts[:'pulp2_last_updated'] > 2147483647
|
|
72
|
-
fail ArgumentError, 'invalid value for "opts[:"pulp2_last_updated"]" when calling Pulp2ContentApi.list, must be smaller than or equal to 2147483647.'
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
if @api_client.config.client_side_validation && !opts[:'pulp2_last_updated__gt'].nil? && opts[:'pulp2_last_updated__gt'] > 2147483647
|
|
76
|
-
fail ArgumentError, 'invalid value for "opts[:"pulp2_last_updated__gt"]" when calling Pulp2ContentApi.list, must be smaller than or equal to 2147483647.'
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
if @api_client.config.client_side_validation && !opts[:'pulp2_last_updated__gte'].nil? && opts[:'pulp2_last_updated__gte'] > 2147483647
|
|
80
|
-
fail ArgumentError, 'invalid value for "opts[:"pulp2_last_updated__gte"]" when calling Pulp2ContentApi.list, must be smaller than or equal to 2147483647.'
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
if @api_client.config.client_side_validation && !opts[:'pulp2_last_updated__lt'].nil? && opts[:'pulp2_last_updated__lt'] > 2147483647
|
|
84
|
-
fail ArgumentError, 'invalid value for "opts[:"pulp2_last_updated__lt"]" when calling Pulp2ContentApi.list, must be smaller than or equal to 2147483647.'
|
|
85
|
-
end
|
|
86
|
-
|
|
87
|
-
if @api_client.config.client_side_validation && !opts[:'pulp2_last_updated__lte'].nil? && opts[:'pulp2_last_updated__lte'] > 2147483647
|
|
88
|
-
fail ArgumentError, 'invalid value for "opts[:"pulp2_last_updated__lte"]" when calling Pulp2ContentApi.list, must be smaller than or equal to 2147483647.'
|
|
89
|
-
end
|
|
90
|
-
|
|
91
71
|
# resource path
|
|
92
72
|
local_var_path = '/pulp/api/v3/pulp2content/'
|
|
93
73
|
|
|
@@ -97,15 +77,15 @@ module Pulp2to3MigrationClient
|
|
|
97
77
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
98
78
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
99
79
|
query_params[:'pulp2_content_type_id'] = opts[:'pulp2_content_type_id'] if !opts[:'pulp2_content_type_id'].nil?
|
|
100
|
-
query_params[:'pulp2_content_type_id__in'] =
|
|
80
|
+
query_params[:'pulp2_content_type_id__in'] = opts[:'pulp2_content_type_id__in'] if !opts[:'pulp2_content_type_id__in'].nil?
|
|
101
81
|
query_params[:'pulp2_id'] = opts[:'pulp2_id'] if !opts[:'pulp2_id'].nil?
|
|
102
|
-
query_params[:'pulp2_id__in'] =
|
|
82
|
+
query_params[:'pulp2_id__in'] = opts[:'pulp2_id__in'] if !opts[:'pulp2_id__in'].nil?
|
|
103
83
|
query_params[:'pulp2_last_updated'] = opts[:'pulp2_last_updated'] if !opts[:'pulp2_last_updated'].nil?
|
|
104
84
|
query_params[:'pulp2_last_updated__gt'] = opts[:'pulp2_last_updated__gt'] if !opts[:'pulp2_last_updated__gt'].nil?
|
|
105
85
|
query_params[:'pulp2_last_updated__gte'] = opts[:'pulp2_last_updated__gte'] if !opts[:'pulp2_last_updated__gte'].nil?
|
|
106
86
|
query_params[:'pulp2_last_updated__lt'] = opts[:'pulp2_last_updated__lt'] if !opts[:'pulp2_last_updated__lt'].nil?
|
|
107
87
|
query_params[:'pulp2_last_updated__lte'] = opts[:'pulp2_last_updated__lte'] if !opts[:'pulp2_last_updated__lte'].nil?
|
|
108
|
-
query_params[:'pulp2_last_updated__range'] =
|
|
88
|
+
query_params[:'pulp2_last_updated__range'] = opts[:'pulp2_last_updated__range'] if !opts[:'pulp2_last_updated__range'].nil?
|
|
109
89
|
query_params[:'pulp3_content'] = opts[:'pulp3_content'] if !opts[:'pulp3_content'].nil?
|
|
110
90
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
111
91
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
@@ -122,7 +102,7 @@ module Pulp2to3MigrationClient
|
|
|
122
102
|
post_body = opts[:body]
|
|
123
103
|
|
|
124
104
|
# return_type
|
|
125
|
-
return_type = opts[:return_type] || '
|
|
105
|
+
return_type = opts[:return_type] || 'InlineResponse2001'
|
|
126
106
|
|
|
127
107
|
# auth_names
|
|
128
108
|
auth_names = opts[:auth_names] || ['basicAuth']
|
|
@@ -22,16 +22,16 @@ module Pulp2to3MigrationClient
|
|
|
22
22
|
# List pulp2 repositorys
|
|
23
23
|
# ViewSet for Pulp2Repositories model.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @option opts [
|
|
25
|
+
# @option opts [String] :is_migrated is_migrated
|
|
26
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
27
|
-
# @option opts [
|
|
27
|
+
# @option opts [String] :not_in_plan not_in_plan
|
|
28
28
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
29
29
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
30
|
-
# @option opts [String] :pulp2_repo_id
|
|
31
|
-
# @option opts [
|
|
30
|
+
# @option opts [String] :pulp2_repo_id pulp2_repo_id
|
|
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 [
|
|
34
|
+
# @return [InlineResponse2002]
|
|
35
35
|
def list(opts = {})
|
|
36
36
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
37
37
|
data
|
|
@@ -40,16 +40,16 @@ module Pulp2to3MigrationClient
|
|
|
40
40
|
# List pulp2 repositorys
|
|
41
41
|
# ViewSet for Pulp2Repositories model.
|
|
42
42
|
# @param [Hash] opts the optional parameters
|
|
43
|
-
# @option opts [
|
|
43
|
+
# @option opts [String] :is_migrated is_migrated
|
|
44
44
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
45
|
-
# @option opts [
|
|
45
|
+
# @option opts [String] :not_in_plan not_in_plan
|
|
46
46
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
47
47
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
48
|
-
# @option opts [String] :pulp2_repo_id
|
|
49
|
-
# @option opts [
|
|
48
|
+
# @option opts [String] :pulp2_repo_id pulp2_repo_id
|
|
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<(
|
|
52
|
+
# @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 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 ...'
|
|
@@ -65,7 +65,7 @@ module Pulp2to3MigrationClient
|
|
|
65
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
66
66
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
67
67
|
query_params[:'pulp2_repo_id'] = opts[:'pulp2_repo_id'] if !opts[:'pulp2_repo_id'].nil?
|
|
68
|
-
query_params[:'pulp2_repo_id__in'] =
|
|
68
|
+
query_params[:'pulp2_repo_id__in'] = opts[:'pulp2_repo_id__in'] if !opts[:'pulp2_repo_id__in'].nil?
|
|
69
69
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
70
70
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
71
71
|
|
|
@@ -81,7 +81,7 @@ module Pulp2to3MigrationClient
|
|
|
81
81
|
post_body = opts[:body]
|
|
82
82
|
|
|
83
83
|
# return_type
|
|
84
|
-
return_type = opts[:return_type] || '
|
|
84
|
+
return_type = opts[:return_type] || 'InlineResponse2002'
|
|
85
85
|
|
|
86
86
|
# auth_names
|
|
87
87
|
auth_names = opts[:auth_names] || ['basicAuth']
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module Pulp2to3MigrationClient
|
|
16
|
-
class
|
|
16
|
+
class InlineResponse200
|
|
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::
|
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::InlineResponse200` 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::
|
|
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
|
|
64
64
|
end
|
|
65
65
|
h[k.to_sym] = v
|
|
66
66
|
}
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module Pulp2to3MigrationClient
|
|
16
|
-
class
|
|
16
|
+
class InlineResponse2001
|
|
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::
|
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::InlineResponse2001` 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::
|
|
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
|
|
64
64
|
end
|
|
65
65
|
h[k.to_sym] = v
|
|
66
66
|
}
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module Pulp2to3MigrationClient
|
|
16
|
-
class
|
|
16
|
+
class InlineResponse2002
|
|
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::
|
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Pulp2to3MigrationClient::InlineResponse2002` 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::
|
|
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
|
|
64
64
|
end
|
|
65
65
|
h[k.to_sym] = v
|
|
66
66
|
}
|
|
@@ -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'
|
|
21
24
|
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'
|
|
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
|
|
|
27
27
|
s.license = 'GPL-2.0+'
|
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
|
29
29
|
|
|
30
|
-
s.add_runtime_dependency 'faraday', '
|
|
30
|
+
s.add_runtime_dependency 'faraday', '~> 1.0', '< 1.9.0'
|
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
|
32
32
|
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
|
@@ -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 [
|
|
68
|
+
# @return [InlineResponse200]
|
|
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
|
|
@@ -39,20 +39,20 @@ describe 'Pulp2ContentApi' do
|
|
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
41
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
42
|
-
# @option opts [String] :pulp2_content_type_id
|
|
43
|
-
# @option opts [
|
|
44
|
-
# @option opts [String] :pulp2_id
|
|
45
|
-
# @option opts [
|
|
46
|
-
# @option opts [
|
|
47
|
-
# @option opts [
|
|
48
|
-
# @option opts [
|
|
49
|
-
# @option opts [
|
|
50
|
-
# @option opts [
|
|
51
|
-
# @option opts [
|
|
52
|
-
# @option opts [String] :pulp3_content
|
|
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
|
-
# @return [
|
|
55
|
+
# @return [InlineResponse2001]
|
|
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
|
|
@@ -36,16 +36,16 @@ 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 [
|
|
39
|
+
# @option opts [String] :is_migrated is_migrated
|
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
41
|
-
# @option opts [
|
|
41
|
+
# @option opts [String] :not_in_plan not_in_plan
|
|
42
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
43
43
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
44
|
-
# @option opts [String] :pulp2_repo_id
|
|
45
|
-
# @option opts [
|
|
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
|
-
# @return [
|
|
48
|
+
# @return [InlineResponse2002]
|
|
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::
|
|
17
|
+
# Unit tests for Pulp2to3MigrationClient::InlineResponse2001
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'InlineResponse2001' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = Pulp2to3MigrationClient::
|
|
23
|
+
@instance = Pulp2to3MigrationClient::InlineResponse2001.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
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@instance).to be_instance_of(Pulp2to3MigrationClient::
|
|
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)
|
|
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::
|
|
17
|
+
# Unit tests for Pulp2to3MigrationClient::InlineResponse2002
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'InlineResponse2002' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = Pulp2to3MigrationClient::
|
|
23
|
+
@instance = Pulp2to3MigrationClient::InlineResponse2002.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
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@instance).to be_instance_of(Pulp2to3MigrationClient::
|
|
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)
|
|
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::
|
|
17
|
+
# Unit tests for Pulp2to3MigrationClient::InlineResponse200
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'InlineResponse200' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = Pulp2to3MigrationClient::
|
|
23
|
+
@instance = Pulp2to3MigrationClient::InlineResponse200.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
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@instance).to be_instance_of(Pulp2to3MigrationClient::
|
|
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)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "count"' do
|
metadata
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_2to3_migration_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-01-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: '1.0'
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 1.9.0
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- - "
|
|
27
|
+
- - "~>"
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '1.0'
|
|
30
|
+
- - "<"
|
|
25
31
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
32
|
+
version: 1.9.0
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
28
34
|
name: json
|
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -75,11 +81,11 @@ files:
|
|
|
75
81
|
- README.md
|
|
76
82
|
- Rakefile
|
|
77
83
|
- docs/AsyncOperationResponse.md
|
|
84
|
+
- docs/InlineResponse200.md
|
|
85
|
+
- docs/InlineResponse2001.md
|
|
86
|
+
- docs/InlineResponse2002.md
|
|
78
87
|
- docs/MigrationPlanRun.md
|
|
79
88
|
- docs/MigrationPlansApi.md
|
|
80
|
-
- docs/Paginatedpulp2to3MigrationMigrationPlanResponseList.md
|
|
81
|
-
- docs/Paginatedpulp2to3MigrationPulp2ContentResponseList.md
|
|
82
|
-
- docs/Paginatedpulp2to3MigrationPulp2RepositoryResponseList.md
|
|
83
89
|
- docs/Pulp2ContentApi.md
|
|
84
90
|
- docs/Pulp2RepositoriesApi.md
|
|
85
91
|
- docs/Pulp2to3MigrationMigrationPlan.md
|
|
@@ -95,10 +101,10 @@ files:
|
|
|
95
101
|
- lib/pulp_2to3_migration_client/api_error.rb
|
|
96
102
|
- lib/pulp_2to3_migration_client/configuration.rb
|
|
97
103
|
- lib/pulp_2to3_migration_client/models/async_operation_response.rb
|
|
104
|
+
- lib/pulp_2to3_migration_client/models/inline_response200.rb
|
|
105
|
+
- lib/pulp_2to3_migration_client/models/inline_response2001.rb
|
|
106
|
+
- lib/pulp_2to3_migration_client/models/inline_response2002.rb
|
|
98
107
|
- 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
108
|
- lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan.rb
|
|
103
109
|
- lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_response.rb
|
|
104
110
|
- lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_content_response.rb
|
|
@@ -111,10 +117,10 @@ files:
|
|
|
111
117
|
- spec/api_client_spec.rb
|
|
112
118
|
- spec/configuration_spec.rb
|
|
113
119
|
- spec/models/async_operation_response_spec.rb
|
|
120
|
+
- spec/models/inline_response2001_spec.rb
|
|
121
|
+
- spec/models/inline_response2002_spec.rb
|
|
122
|
+
- spec/models/inline_response200_spec.rb
|
|
114
123
|
- 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
124
|
- spec/models/pulp2to3_migration_migration_plan_response_spec.rb
|
|
119
125
|
- spec/models/pulp2to3_migration_migration_plan_spec.rb
|
|
120
126
|
- spec/models/pulp2to3_migration_pulp2_content_response_spec.rb
|
|
@@ -144,18 +150,18 @@ signing_key:
|
|
|
144
150
|
specification_version: 4
|
|
145
151
|
summary: Pulp 3 API Ruby Gem
|
|
146
152
|
test_files:
|
|
147
|
-
- spec/api/pulp2_content_api_spec.rb
|
|
148
153
|
- spec/api/migration_plans_api_spec.rb
|
|
149
154
|
- spec/api/pulp2_repositories_api_spec.rb
|
|
155
|
+
- spec/api/pulp2_content_api_spec.rb
|
|
150
156
|
- spec/api_client_spec.rb
|
|
151
157
|
- spec/configuration_spec.rb
|
|
152
|
-
- spec/models/
|
|
153
|
-
- spec/models/
|
|
154
|
-
- spec/models/paginatedpulp2to3_migration_pulp2_repository_response_list_spec.rb
|
|
155
|
-
- spec/models/pulp2to3_migration_migration_plan_spec.rb
|
|
156
|
-
- spec/models/async_operation_response_spec.rb
|
|
158
|
+
- spec/models/pulp2to3_migration_migration_plan_response_spec.rb
|
|
159
|
+
- spec/models/inline_response200_spec.rb
|
|
157
160
|
- spec/models/migration_plan_run_spec.rb
|
|
161
|
+
- spec/models/inline_response2002_spec.rb
|
|
158
162
|
- spec/models/pulp2to3_migration_pulp2_repository_response_spec.rb
|
|
159
|
-
- spec/models/
|
|
160
|
-
- spec/models/
|
|
163
|
+
- spec/models/inline_response2001_spec.rb
|
|
164
|
+
- spec/models/async_operation_response_spec.rb
|
|
165
|
+
- spec/models/pulp2to3_migration_pulp2_content_response_spec.rb
|
|
166
|
+
- spec/models/pulp2to3_migration_migration_plan_spec.rb
|
|
161
167
|
- spec/spec_helper.rb
|