pulp_2to3_migration_client 0.0.1a1.dev01575573077 → 0.0.1a1.dev01575745870
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/Pulp2repositoriesApi.md +4 -0
- data/docs/Pulp2to3MigrationPulp2Repository.md +2 -0
- data/lib/pulp_2to3_migration_client/api/pulp2repositories_api.rb +6 -0
- data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_repository.rb +12 -1
- data/lib/pulp_2to3_migration_client/version.rb +1 -1
- data/spec/api/pulp2repositories_api_spec.rb +2 -0
- data/spec/models/pulp2to3_migration_pulp2_repository_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ec7ec5fb2b9eae07e3a0f35bada62f2f5a50643a8b065d9a54b4761fa0d20e9
|
4
|
+
data.tar.gz: cd3162351f0d33187d3bba9c40b743c7e0040a33c0a3551307f04dae84530509
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca8e8b98b6da94fc62e66cbfb75b0885663a1b1b501c367b0fefd4416976d0ff3276031a4a43a1d4c3ee450c5b3f4d05fe708c08ce521ab8d9203895502ccef5
|
7
|
+
data.tar.gz: 5a0d8521f6ca8a0971d384fe4f54ceef9edfcea7d9a70e1813a1856618ffd830921a5cff84a608a63b01807e0ebdb36eb9c41ab52683bc8cc912615fda082ff1
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
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.0.1a1.
|
10
|
+
- Package version: 0.0.1a1.dev01575745870
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulp_2to3_migration_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulp_2to3_migration_client-0.0.1a1.
|
26
|
+
gem install ./pulp_2to3_migration_client-0.0.1a1.dev01575745870.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_2to3_migration_client-0.0.1a1.
|
29
|
+
(for development, run `gem install --dev ./pulp_2to3_migration_client-0.0.1a1.dev01575745870.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulp_2to3_migration_client', '~> 0.0.1a1.
|
35
|
+
gem 'pulp_2to3_migration_client', '~> 0.0.1a1.dev01575745870'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -33,6 +33,8 @@ api_instance = Pulp2to3MigrationClient::Pulp2repositoriesApi.new
|
|
33
33
|
opts = {
|
34
34
|
pulp2_repo_id: 'pulp2_repo_id_example', # String |
|
35
35
|
pulp2_repo_id__in: 'pulp2_repo_id__in_example', # String | Filter results where pulp2_repo_id is in a comma-separated list of values
|
36
|
+
is_migrated: 'is_migrated_example', # String |
|
37
|
+
not_in_pulp2: 'not_in_pulp2_example', # String |
|
36
38
|
limit: 56, # Integer | Number of results to return per page.
|
37
39
|
offset: 56, # Integer | The initial index from which to return the results.
|
38
40
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -55,6 +57,8 @@ Name | Type | Description | Notes
|
|
55
57
|
------------- | ------------- | ------------- | -------------
|
56
58
|
**pulp2_repo_id** | **String**| | [optional]
|
57
59
|
**pulp2_repo_id__in** | **String**| Filter results where pulp2_repo_id is in a comma-separated list of values | [optional]
|
60
|
+
**is_migrated** | **String**| | [optional]
|
61
|
+
**not_in_pulp2** | **String**| | [optional]
|
58
62
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
59
63
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
60
64
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**pulp2_object_id** | **String** | |
|
10
10
|
**pulp2_repo_id** | **String** | |
|
11
11
|
**is_migrated** | **Boolean** | | [optional] [default to false]
|
12
|
+
**not_in_pulp2** | **Boolean** | | [optional] [default to false]
|
12
13
|
**pulp3_repository_version** | **String** | | [optional]
|
13
14
|
**pulp3_remote_href** | **String** | | [optional] [readonly]
|
14
15
|
**pulp3_publication_href** | **String** | | [optional] [readonly]
|
@@ -24,6 +25,7 @@ instance = Pulp2to3MigrationClient::Pulp2to3MigrationPulp2Repository.new(pulp_hr
|
|
24
25
|
pulp2_object_id: null,
|
25
26
|
pulp2_repo_id: null,
|
26
27
|
is_migrated: null,
|
28
|
+
not_in_pulp2: null,
|
27
29
|
pulp3_repository_version: null,
|
28
30
|
pulp3_remote_href: null,
|
29
31
|
pulp3_publication_href: null,
|
@@ -24,6 +24,8 @@ module Pulp2to3MigrationClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :pulp2_repo_id
|
26
26
|
# @option opts [String] :pulp2_repo_id__in Filter results where pulp2_repo_id is in a comma-separated list of values
|
27
|
+
# @option opts [String] :is_migrated
|
28
|
+
# @option opts [String] :not_in_pulp2
|
27
29
|
# @option opts [Integer] :limit Number of results to return per page.
|
28
30
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
29
31
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -39,6 +41,8 @@ module Pulp2to3MigrationClient
|
|
39
41
|
# @param [Hash] opts the optional parameters
|
40
42
|
# @option opts [String] :pulp2_repo_id
|
41
43
|
# @option opts [String] :pulp2_repo_id__in Filter results where pulp2_repo_id is in a comma-separated list of values
|
44
|
+
# @option opts [String] :is_migrated
|
45
|
+
# @option opts [String] :not_in_pulp2
|
42
46
|
# @option opts [Integer] :limit Number of results to return per page.
|
43
47
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
44
48
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -55,6 +59,8 @@ module Pulp2to3MigrationClient
|
|
55
59
|
query_params = opts[:query_params] || {}
|
56
60
|
query_params[:'pulp2_repo_id'] = opts[:'pulp2_repo_id'] if !opts[:'pulp2_repo_id'].nil?
|
57
61
|
query_params[:'pulp2_repo_id__in'] = opts[:'pulp2_repo_id__in'] if !opts[:'pulp2_repo_id__in'].nil?
|
62
|
+
query_params[:'is_migrated'] = opts[:'is_migrated'] if !opts[:'is_migrated'].nil?
|
63
|
+
query_params[:'not_in_pulp2'] = opts[:'not_in_pulp2'] if !opts[:'not_in_pulp2'].nil?
|
58
64
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
59
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
60
66
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
@@ -25,6 +25,8 @@ module Pulp2to3MigrationClient
|
|
25
25
|
|
26
26
|
attr_accessor :is_migrated
|
27
27
|
|
28
|
+
attr_accessor :not_in_pulp2
|
29
|
+
|
28
30
|
attr_accessor :pulp3_repository_version
|
29
31
|
|
30
32
|
attr_accessor :pulp3_remote_href
|
@@ -41,6 +43,7 @@ module Pulp2to3MigrationClient
|
|
41
43
|
:'pulp2_object_id' => :'pulp2_object_id',
|
42
44
|
:'pulp2_repo_id' => :'pulp2_repo_id',
|
43
45
|
:'is_migrated' => :'is_migrated',
|
46
|
+
:'not_in_pulp2' => :'not_in_pulp2',
|
44
47
|
:'pulp3_repository_version' => :'pulp3_repository_version',
|
45
48
|
:'pulp3_remote_href' => :'pulp3_remote_href',
|
46
49
|
:'pulp3_publication_href' => :'pulp3_publication_href',
|
@@ -56,6 +59,7 @@ module Pulp2to3MigrationClient
|
|
56
59
|
:'pulp2_object_id' => :'String',
|
57
60
|
:'pulp2_repo_id' => :'String',
|
58
61
|
:'is_migrated' => :'Boolean',
|
62
|
+
:'not_in_pulp2' => :'Boolean',
|
59
63
|
:'pulp3_repository_version' => :'String',
|
60
64
|
:'pulp3_remote_href' => :'String',
|
61
65
|
:'pulp3_publication_href' => :'String',
|
@@ -106,6 +110,12 @@ module Pulp2to3MigrationClient
|
|
106
110
|
self.is_migrated = false
|
107
111
|
end
|
108
112
|
|
113
|
+
if attributes.key?(:'not_in_pulp2')
|
114
|
+
self.not_in_pulp2 = attributes[:'not_in_pulp2']
|
115
|
+
else
|
116
|
+
self.not_in_pulp2 = false
|
117
|
+
end
|
118
|
+
|
109
119
|
if attributes.key?(:'pulp3_repository_version')
|
110
120
|
self.pulp3_repository_version = attributes[:'pulp3_repository_version']
|
111
121
|
end
|
@@ -203,6 +213,7 @@ module Pulp2to3MigrationClient
|
|
203
213
|
pulp2_object_id == o.pulp2_object_id &&
|
204
214
|
pulp2_repo_id == o.pulp2_repo_id &&
|
205
215
|
is_migrated == o.is_migrated &&
|
216
|
+
not_in_pulp2 == o.not_in_pulp2 &&
|
206
217
|
pulp3_repository_version == o.pulp3_repository_version &&
|
207
218
|
pulp3_remote_href == o.pulp3_remote_href &&
|
208
219
|
pulp3_publication_href == o.pulp3_publication_href &&
|
@@ -218,7 +229,7 @@ module Pulp2to3MigrationClient
|
|
218
229
|
# Calculates hash code according to all attributes.
|
219
230
|
# @return [Integer] Hash code
|
220
231
|
def hash
|
221
|
-
[pulp_href, pulp_created, pulp2_object_id, pulp2_repo_id, is_migrated, pulp3_repository_version, pulp3_remote_href, pulp3_publication_href, pulp3_distribution_hrefs].hash
|
232
|
+
[pulp_href, pulp_created, pulp2_object_id, pulp2_repo_id, is_migrated, not_in_pulp2, pulp3_repository_version, pulp3_remote_href, pulp3_publication_href, pulp3_distribution_hrefs].hash
|
222
233
|
end
|
223
234
|
|
224
235
|
# Builds the object from hash
|
@@ -38,6 +38,8 @@ describe 'Pulp2repositoriesApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :pulp2_repo_id
|
40
40
|
# @option opts [String] :pulp2_repo_id__in Filter results where pulp2_repo_id is in a comma-separated list of values
|
41
|
+
# @option opts [String] :is_migrated
|
42
|
+
# @option opts [String] :not_in_pulp2
|
41
43
|
# @option opts [Integer] :limit Number of results to return per page.
|
42
44
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
43
45
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -62,6 +62,12 @@ describe 'Pulp2to3MigrationPulp2Repository' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "not_in_pulp2"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
65
71
|
describe 'test attribute "pulp3_repository_version"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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.0.1a1.
|
4
|
+
version: 0.0.1a1.dev01575745870
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|