pulp_2to3_migration_client 0.0.1a1.dev01570560174 → 0.0.1a1.dev01570732908
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 +4 -4
- data/docs/MigrationPlan.md +4 -4
- data/docs/Pulp2Content.md +4 -4
- data/lib/pulp_2to3_migration_client/models/migration_plan.rb +13 -13
- data/lib/pulp_2to3_migration_client/models/pulp2_content.rb +13 -13
- data/lib/pulp_2to3_migration_client/version.rb +1 -1
- data/spec/models/migration_plan_spec.rb +2 -2
- data/spec/models/pulp2_content_spec.rb +2 -2
- 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: 0d4fa60ec406ab762614035285ed2651a95ccc35f0a60f7cc606a53b2e89bd2e
|
4
|
+
data.tar.gz: ea2dba81a3fc90aeb8a550a64e962cc06fd2845ed0f1ed4b611e246c481506c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce9c971a902e9cc825c74a286f9437fef1e60ac10e34c3152e2011c335739e280f6c41fc8d7ed698334b6645993c1b6326f20b228b6f70d7b78aa0286c151edd
|
7
|
+
data.tar.gz: 478583a5d5f189fa294d84b0a870778cb77b09f93c5c27fd533ed94af9674a8ecd4778ca138eac9508608f4ba54b80febbc33306cb074f0ec8e2f2a08c214d4e
|
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.dev01570732908
|
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.dev01570732908.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.dev01570732908.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.dev01570732908'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/docs/MigrationPlan.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**plan** | [**Object**](.md) | Migration Plan in JSON format |
|
10
10
|
|
11
11
|
## Code Sample
|
@@ -13,8 +13,8 @@ Name | Type | Description | Notes
|
|
13
13
|
```ruby
|
14
14
|
require 'Pulp2to3MigrationClient'
|
15
15
|
|
16
|
-
instance = Pulp2to3MigrationClient::MigrationPlan.new(
|
17
|
-
|
16
|
+
instance = Pulp2to3MigrationClient::MigrationPlan.new(pulp_href: null,
|
17
|
+
pulp_created: null,
|
18
18
|
plan: null)
|
19
19
|
```
|
20
20
|
|
data/docs/Pulp2Content.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**pulp2_id** | **String** | |
|
10
10
|
**pulp2_content_type_id** | **String** | |
|
11
11
|
**pulp2_last_updated** | **Integer** | |
|
@@ -18,8 +18,8 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'Pulp2to3MigrationClient'
|
20
20
|
|
21
|
-
instance = Pulp2to3MigrationClient::Pulp2Content.new(
|
22
|
-
|
21
|
+
instance = Pulp2to3MigrationClient::Pulp2Content.new(pulp_href: null,
|
22
|
+
pulp_created: null,
|
23
23
|
pulp2_id: null,
|
24
24
|
pulp2_content_type_id: null,
|
25
25
|
pulp2_last_updated: null,
|
@@ -14,10 +14,10 @@ require 'date'
|
|
14
14
|
|
15
15
|
module Pulp2to3MigrationClient
|
16
16
|
class MigrationPlan
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
20
|
-
attr_accessor :
|
20
|
+
attr_accessor :pulp_created
|
21
21
|
|
22
22
|
# Migration Plan in JSON format
|
23
23
|
attr_accessor :plan
|
@@ -25,8 +25,8 @@ module Pulp2to3MigrationClient
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
26
|
def self.attribute_map
|
27
27
|
{
|
28
|
-
:'
|
29
|
-
:'
|
28
|
+
:'pulp_href' => :'pulp_href',
|
29
|
+
:'pulp_created' => :'pulp_created',
|
30
30
|
:'plan' => :'plan'
|
31
31
|
}
|
32
32
|
end
|
@@ -34,8 +34,8 @@ module Pulp2to3MigrationClient
|
|
34
34
|
# Attribute type mapping.
|
35
35
|
def self.openapi_types
|
36
36
|
{
|
37
|
-
:'
|
38
|
-
:'
|
37
|
+
:'pulp_href' => :'String',
|
38
|
+
:'pulp_created' => :'DateTime',
|
39
39
|
:'plan' => :'Object'
|
40
40
|
}
|
41
41
|
end
|
@@ -55,12 +55,12 @@ module Pulp2to3MigrationClient
|
|
55
55
|
h[k.to_sym] = v
|
56
56
|
}
|
57
57
|
|
58
|
-
if attributes.key?(:'
|
59
|
-
self.
|
58
|
+
if attributes.key?(:'pulp_href')
|
59
|
+
self.pulp_href = attributes[:'pulp_href']
|
60
60
|
end
|
61
61
|
|
62
|
-
if attributes.key?(:'
|
63
|
-
self.
|
62
|
+
if attributes.key?(:'pulp_created')
|
63
|
+
self.pulp_created = attributes[:'pulp_created']
|
64
64
|
end
|
65
65
|
|
66
66
|
if attributes.key?(:'plan')
|
@@ -91,8 +91,8 @@ module Pulp2to3MigrationClient
|
|
91
91
|
def ==(o)
|
92
92
|
return true if self.equal?(o)
|
93
93
|
self.class == o.class &&
|
94
|
-
|
95
|
-
|
94
|
+
pulp_href == o.pulp_href &&
|
95
|
+
pulp_created == o.pulp_created &&
|
96
96
|
plan == o.plan
|
97
97
|
end
|
98
98
|
|
@@ -105,7 +105,7 @@ module Pulp2to3MigrationClient
|
|
105
105
|
# Calculates hash code according to all attributes.
|
106
106
|
# @return [Integer] Hash code
|
107
107
|
def hash
|
108
|
-
[
|
108
|
+
[pulp_href, pulp_created, plan].hash
|
109
109
|
end
|
110
110
|
|
111
111
|
# Builds the object from hash
|
@@ -14,10 +14,10 @@ require 'date'
|
|
14
14
|
|
15
15
|
module Pulp2to3MigrationClient
|
16
16
|
class Pulp2Content
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
20
|
-
attr_accessor :
|
20
|
+
attr_accessor :pulp_created
|
21
21
|
|
22
22
|
attr_accessor :pulp2_id
|
23
23
|
|
@@ -34,8 +34,8 @@ module Pulp2to3MigrationClient
|
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
35
|
def self.attribute_map
|
36
36
|
{
|
37
|
-
:'
|
38
|
-
:'
|
37
|
+
:'pulp_href' => :'pulp_href',
|
38
|
+
:'pulp_created' => :'pulp_created',
|
39
39
|
:'pulp2_id' => :'pulp2_id',
|
40
40
|
:'pulp2_content_type_id' => :'pulp2_content_type_id',
|
41
41
|
:'pulp2_last_updated' => :'pulp2_last_updated',
|
@@ -48,8 +48,8 @@ module Pulp2to3MigrationClient
|
|
48
48
|
# Attribute type mapping.
|
49
49
|
def self.openapi_types
|
50
50
|
{
|
51
|
-
:'
|
52
|
-
:'
|
51
|
+
:'pulp_href' => :'String',
|
52
|
+
:'pulp_created' => :'DateTime',
|
53
53
|
:'pulp2_id' => :'String',
|
54
54
|
:'pulp2_content_type_id' => :'String',
|
55
55
|
:'pulp2_last_updated' => :'Integer',
|
@@ -74,12 +74,12 @@ module Pulp2to3MigrationClient
|
|
74
74
|
h[k.to_sym] = v
|
75
75
|
}
|
76
76
|
|
77
|
-
if attributes.key?(:'
|
78
|
-
self.
|
77
|
+
if attributes.key?(:'pulp_href')
|
78
|
+
self.pulp_href = attributes[:'pulp_href']
|
79
79
|
end
|
80
80
|
|
81
|
-
if attributes.key?(:'
|
82
|
-
self.
|
81
|
+
if attributes.key?(:'pulp_created')
|
82
|
+
self.pulp_created = attributes[:'pulp_created']
|
83
83
|
end
|
84
84
|
|
85
85
|
if attributes.key?(:'pulp2_id')
|
@@ -222,8 +222,8 @@ module Pulp2to3MigrationClient
|
|
222
222
|
def ==(o)
|
223
223
|
return true if self.equal?(o)
|
224
224
|
self.class == o.class &&
|
225
|
-
|
226
|
-
|
225
|
+
pulp_href == o.pulp_href &&
|
226
|
+
pulp_created == o.pulp_created &&
|
227
227
|
pulp2_id == o.pulp2_id &&
|
228
228
|
pulp2_content_type_id == o.pulp2_content_type_id &&
|
229
229
|
pulp2_last_updated == o.pulp2_last_updated &&
|
@@ -241,7 +241,7 @@ module Pulp2to3MigrationClient
|
|
241
241
|
# Calculates hash code according to all attributes.
|
242
242
|
# @return [Integer] Hash code
|
243
243
|
def hash
|
244
|
-
[
|
244
|
+
[pulp_href, pulp_created, pulp2_id, pulp2_content_type_id, pulp2_last_updated, pulp2_storage_path, downloaded, pulp3_content].hash
|
245
245
|
end
|
246
246
|
|
247
247
|
# Builds the object from hash
|
@@ -32,13 +32,13 @@ describe 'MigrationPlan' do
|
|
32
32
|
expect(@instance).to be_instance_of(Pulp2to3MigrationClient::MigrationPlan)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
@@ -32,13 +32,13 @@ describe 'Pulp2Content' do
|
|
32
32
|
expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2Content)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
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.dev01570732908
|
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-10-
|
11
|
+
date: 2019-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|