pulp_2to3_migration_client 0.3.0b1.dev01595619351 → 0.3.0b1.dev01595705725
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 +21 -20
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/MigrationPlansApi.md +39 -43
- data/docs/Pulp2ContentApi.md +152 -0
- data/docs/{Pulp2repositoriesApi.md → Pulp2RepositoriesApi.md} +27 -29
- data/docs/Pulp2to3MigrationMigrationPlan.md +1 -5
- data/docs/Pulp2to3MigrationMigrationPlanResponse.md +21 -0
- data/docs/{Pulp2to3MigrationPulp2Content.md → Pulp2to3MigrationPulp2ContentResponse.md} +3 -3
- data/docs/{Pulp2to3MigrationPulp2Repository.md → Pulp2to3MigrationPulp2RepositoryResponse.md} +6 -6
- data/lib/pulp_2to3_migration_client.rb +7 -6
- data/lib/pulp_2to3_migration_client/api/migration_plans_api.rb +42 -50
- data/lib/pulp_2to3_migration_client/api/{pulp2content_api.rb → pulp2_content_api.rb} +46 -50
- data/lib/pulp_2to3_migration_client/api/{pulp2repositories_api.rb → pulp2_repositories_api.rb} +29 -33
- data/lib/pulp_2to3_migration_client/api_client.rb +2 -2
- data/lib/pulp_2to3_migration_client/api_error.rb +2 -2
- data/lib/pulp_2to3_migration_client/configuration.rb +3 -3
- data/lib/pulp_2to3_migration_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_2to3_migration_client/models/inline_response200.rb +3 -13
- data/lib/pulp_2to3_migration_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_2to3_migration_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_2to3_migration_client/models/migration_plan_run.rb +3 -2
- data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan.rb +4 -22
- data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_response.rb +232 -0
- data/lib/pulp_2to3_migration_client/models/{pulp2to3_migration_pulp2_content.rb → pulp2to3_migration_pulp2_content_response.rb} +7 -59
- data/lib/pulp_2to3_migration_client/models/{pulp2to3_migration_pulp2_repository.rb → pulp2to3_migration_pulp2_repository_response.rb} +11 -108
- data/lib/pulp_2to3_migration_client/version.rb +3 -3
- data/pulp_2to3_migration_client.gemspec +4 -4
- data/spec/api/migration_plans_api_spec.rb +10 -14
- data/spec/api/pulp2_content_api_spec.rb +74 -0
- data/spec/api/{pulp2repositories_api_spec.rb → pulp2_repositories_api_spec.rb} +15 -17
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/migration_plan_run_spec.rb +2 -2
- data/spec/models/pulp2to3_migration_migration_plan_response_spec.rb +53 -0
- data/spec/models/pulp2to3_migration_migration_plan_spec.rb +2 -14
- data/spec/models/{pulp2to3_migration_pulp2_content_spec.rb → pulp2to3_migration_pulp2_content_response_spec.rb} +8 -8
- data/spec/models/{pulp2to3_migration_pulp2_repository_spec.rb → pulp2to3_migration_pulp2_repository_response_spec.rb} +8 -8
- data/spec/spec_helper.rb +2 -2
- metadata +24 -20
- data/docs/Pulp2contentApi.md +0 -154
- data/spec/api/pulp2content_api_spec.rb +0 -76
data/spec/api_client_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
data/spec/configuration_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlanResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Pulp2to3MigrationMigrationPlanResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlanResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Pulp2to3MigrationMigrationPlanResponse' do
|
31
|
+
it 'should create an instance of Pulp2to3MigrationMigrationPlanResponse' do
|
32
|
+
expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlanResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "plan"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -32,18 +32,6 @@ describe 'Pulp2to3MigrationMigrationPlan' do
|
|
32
32
|
expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "pulp_href"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "pulp_created"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
35
|
describe 'test attribute "plan"' do
|
48
36
|
it 'should work' do
|
49
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -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::Pulp2to3MigrationPulp2ContentResponse
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'Pulp2to3MigrationPulp2ContentResponse' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = Pulp2to3MigrationClient::
|
23
|
+
@instance = Pulp2to3MigrationClient::Pulp2to3MigrationPulp2ContentResponse.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 Pulp2to3MigrationPulp2ContentResponse' do
|
31
|
+
it 'should create an instance of Pulp2to3MigrationPulp2ContentResponse' do
|
32
|
+
expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2to3MigrationPulp2ContentResponse)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -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::Pulp2to3MigrationPulp2RepositoryResponse
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'Pulp2to3MigrationPulp2RepositoryResponse' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = Pulp2to3MigrationClient::
|
23
|
+
@instance = Pulp2to3MigrationClient::Pulp2to3MigrationPulp2RepositoryResponse.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 Pulp2to3MigrationPulp2RepositoryResponse' do
|
31
|
+
it 'should create an instance of Pulp2to3MigrationPulp2RepositoryResponse' do
|
32
|
+
expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2to3MigrationPulp2RepositoryResponse)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|
data/spec/spec_helper.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
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.3.0b1.
|
4
|
+
version: 0.3.0b1.dev01595705725
|
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-07-
|
11
|
+
date: 2020-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -64,9 +64,9 @@ dependencies:
|
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '3.6'
|
67
|
-
description:
|
67
|
+
description: Fetch, Upload, Organize, and Distribute Software Packages
|
68
68
|
email:
|
69
|
-
-
|
69
|
+
- pulp-list@redhat.com
|
70
70
|
executables: []
|
71
71
|
extensions: []
|
72
72
|
extra_rdoc_files: []
|
@@ -80,16 +80,17 @@ files:
|
|
80
80
|
- docs/InlineResponse2002.md
|
81
81
|
- docs/MigrationPlanRun.md
|
82
82
|
- docs/MigrationPlansApi.md
|
83
|
-
- docs/
|
84
|
-
- docs/
|
83
|
+
- docs/Pulp2ContentApi.md
|
84
|
+
- docs/Pulp2RepositoriesApi.md
|
85
85
|
- docs/Pulp2to3MigrationMigrationPlan.md
|
86
|
-
- docs/
|
87
|
-
- docs/
|
86
|
+
- docs/Pulp2to3MigrationMigrationPlanResponse.md
|
87
|
+
- docs/Pulp2to3MigrationPulp2ContentResponse.md
|
88
|
+
- docs/Pulp2to3MigrationPulp2RepositoryResponse.md
|
88
89
|
- git_push.sh
|
89
90
|
- lib/pulp_2to3_migration_client.rb
|
90
91
|
- lib/pulp_2to3_migration_client/api/migration_plans_api.rb
|
91
|
-
- lib/pulp_2to3_migration_client/api/
|
92
|
-
- lib/pulp_2to3_migration_client/api/
|
92
|
+
- lib/pulp_2to3_migration_client/api/pulp2_content_api.rb
|
93
|
+
- lib/pulp_2to3_migration_client/api/pulp2_repositories_api.rb
|
93
94
|
- lib/pulp_2to3_migration_client/api_client.rb
|
94
95
|
- lib/pulp_2to3_migration_client/api_error.rb
|
95
96
|
- lib/pulp_2to3_migration_client/configuration.rb
|
@@ -99,13 +100,14 @@ files:
|
|
99
100
|
- lib/pulp_2to3_migration_client/models/inline_response2002.rb
|
100
101
|
- lib/pulp_2to3_migration_client/models/migration_plan_run.rb
|
101
102
|
- lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan.rb
|
102
|
-
- lib/pulp_2to3_migration_client/models/
|
103
|
-
- lib/pulp_2to3_migration_client/models/
|
103
|
+
- lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_response.rb
|
104
|
+
- lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_content_response.rb
|
105
|
+
- lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_repository_response.rb
|
104
106
|
- lib/pulp_2to3_migration_client/version.rb
|
105
107
|
- pulp_2to3_migration_client.gemspec
|
106
108
|
- spec/api/migration_plans_api_spec.rb
|
107
|
-
- spec/api/
|
108
|
-
- spec/api/
|
109
|
+
- spec/api/pulp2_content_api_spec.rb
|
110
|
+
- spec/api/pulp2_repositories_api_spec.rb
|
109
111
|
- spec/api_client_spec.rb
|
110
112
|
- spec/configuration_spec.rb
|
111
113
|
- spec/models/async_operation_response_spec.rb
|
@@ -113,9 +115,10 @@ files:
|
|
113
115
|
- spec/models/inline_response2002_spec.rb
|
114
116
|
- spec/models/inline_response200_spec.rb
|
115
117
|
- spec/models/migration_plan_run_spec.rb
|
118
|
+
- spec/models/pulp2to3_migration_migration_plan_response_spec.rb
|
116
119
|
- spec/models/pulp2to3_migration_migration_plan_spec.rb
|
117
|
-
- spec/models/
|
118
|
-
- spec/models/
|
120
|
+
- spec/models/pulp2to3_migration_pulp2_content_response_spec.rb
|
121
|
+
- spec/models/pulp2to3_migration_pulp2_repository_response_spec.rb
|
119
122
|
- spec/spec_helper.rb
|
120
123
|
homepage: https://openapi-generator.tech
|
121
124
|
licenses:
|
@@ -141,17 +144,18 @@ signing_key:
|
|
141
144
|
specification_version: 4
|
142
145
|
summary: Pulp 3 API Ruby Gem
|
143
146
|
test_files:
|
144
|
-
- spec/api/pulp2content_api_spec.rb
|
145
147
|
- spec/api/migration_plans_api_spec.rb
|
146
|
-
- spec/api/
|
148
|
+
- spec/api/pulp2_content_api_spec.rb
|
149
|
+
- spec/api/pulp2_repositories_api_spec.rb
|
147
150
|
- spec/api_client_spec.rb
|
148
151
|
- spec/configuration_spec.rb
|
149
152
|
- spec/models/pulp2to3_migration_migration_plan_spec.rb
|
150
153
|
- spec/models/async_operation_response_spec.rb
|
154
|
+
- spec/models/pulp2to3_migration_pulp2_repository_response_spec.rb
|
155
|
+
- spec/models/pulp2to3_migration_migration_plan_response_spec.rb
|
151
156
|
- spec/models/migration_plan_run_spec.rb
|
157
|
+
- spec/models/pulp2to3_migration_pulp2_content_response_spec.rb
|
152
158
|
- spec/models/inline_response2001_spec.rb
|
153
|
-
- spec/models/pulp2to3_migration_pulp2_content_spec.rb
|
154
159
|
- spec/models/inline_response2002_spec.rb
|
155
|
-
- spec/models/pulp2to3_migration_pulp2_repository_spec.rb
|
156
160
|
- spec/models/inline_response200_spec.rb
|
157
161
|
- spec/spec_helper.rb
|
data/docs/Pulp2contentApi.md
DELETED
@@ -1,154 +0,0 @@
|
|
1
|
-
# Pulp2to3MigrationClient::Pulp2contentApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://pulp*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**list**](Pulp2contentApi.md#list) | **GET** /pulp/api/v3/pulp2content/ | List pulp2 contents
|
8
|
-
[**read**](Pulp2contentApi.md#read) | **GET** {pulp2_content_href} | Inspect a pulp2 content
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
## list
|
13
|
-
|
14
|
-
> InlineResponse2001 list(opts)
|
15
|
-
|
16
|
-
List pulp2 contents
|
17
|
-
|
18
|
-
ViewSet for Pulp2Content model.
|
19
|
-
|
20
|
-
### Example
|
21
|
-
|
22
|
-
```ruby
|
23
|
-
# load the gem
|
24
|
-
require 'pulp_2to3_migration_client'
|
25
|
-
# setup authorization
|
26
|
-
Pulp2to3MigrationClient.configure do |config|
|
27
|
-
# Configure HTTP basic authorization: Basic
|
28
|
-
config.username = 'YOUR USERNAME'
|
29
|
-
config.password = 'YOUR PASSWORD'
|
30
|
-
end
|
31
|
-
|
32
|
-
api_instance = Pulp2to3MigrationClient::Pulp2contentApi.new
|
33
|
-
opts = {
|
34
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
35
|
-
pulp2_id: 'pulp2_id_example', # String |
|
36
|
-
pulp2_id__in: 'pulp2_id__in_example', # String | Filter results where pulp2_id is in a comma-separated list of values
|
37
|
-
pulp2_content_type_id: 'pulp2_content_type_id_example', # String |
|
38
|
-
pulp2_content_type_id__in: 'pulp2_content_type_id__in_example', # String | Filter results where pulp2_content_type_id is in a comma-separated list of values
|
39
|
-
pulp2_last_updated__lt: 3.4, # Float | Filter results where pulp2_last_updated is less than value
|
40
|
-
pulp2_last_updated__lte: 3.4, # Float | Filter results where pulp2_last_updated is less than or equal to value
|
41
|
-
pulp2_last_updated__gt: 3.4, # Float | Filter results where pulp2_last_updated is greater than value
|
42
|
-
pulp2_last_updated__gte: 3.4, # Float | Filter results where pulp2_last_updated is greater than or equal to value
|
43
|
-
pulp2_last_updated__range: 3.4, # Float | Filter results where pulp2_last_updated is between two comma separated values
|
44
|
-
pulp3_content: 'pulp3_content_example', # String | Foreign Key referenced by HREF
|
45
|
-
pulp2_last_updated: 'pulp2_last_updated_example', # String | ISO 8601 formatted dates are supported
|
46
|
-
limit: 56, # Integer | Number of results to return per page.
|
47
|
-
offset: 56, # Integer | The initial index from which to return the results.
|
48
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
49
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
50
|
-
}
|
51
|
-
|
52
|
-
begin
|
53
|
-
#List pulp2 contents
|
54
|
-
result = api_instance.list(opts)
|
55
|
-
p result
|
56
|
-
rescue Pulp2to3MigrationClient::ApiError => e
|
57
|
-
puts "Exception when calling Pulp2contentApi->list: #{e}"
|
58
|
-
end
|
59
|
-
```
|
60
|
-
|
61
|
-
### Parameters
|
62
|
-
|
63
|
-
|
64
|
-
Name | Type | Description | Notes
|
65
|
-
------------- | ------------- | ------------- | -------------
|
66
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
67
|
-
**pulp2_id** | **String**| | [optional]
|
68
|
-
**pulp2_id__in** | **String**| Filter results where pulp2_id is in a comma-separated list of values | [optional]
|
69
|
-
**pulp2_content_type_id** | **String**| | [optional]
|
70
|
-
**pulp2_content_type_id__in** | **String**| Filter results where pulp2_content_type_id is in a comma-separated list of values | [optional]
|
71
|
-
**pulp2_last_updated__lt** | **Float**| Filter results where pulp2_last_updated is less than value | [optional]
|
72
|
-
**pulp2_last_updated__lte** | **Float**| Filter results where pulp2_last_updated is less than or equal to value | [optional]
|
73
|
-
**pulp2_last_updated__gt** | **Float**| Filter results where pulp2_last_updated is greater than value | [optional]
|
74
|
-
**pulp2_last_updated__gte** | **Float**| Filter results where pulp2_last_updated is greater than or equal to value | [optional]
|
75
|
-
**pulp2_last_updated__range** | **Float**| Filter results where pulp2_last_updated is between two comma separated values | [optional]
|
76
|
-
**pulp3_content** | **String**| Foreign Key referenced by HREF | [optional]
|
77
|
-
**pulp2_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
|
78
|
-
**limit** | **Integer**| Number of results to return per page. | [optional]
|
79
|
-
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
80
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
81
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
82
|
-
|
83
|
-
### Return type
|
84
|
-
|
85
|
-
[**InlineResponse2001**](InlineResponse2001.md)
|
86
|
-
|
87
|
-
### Authorization
|
88
|
-
|
89
|
-
[Basic](../README.md#Basic)
|
90
|
-
|
91
|
-
### HTTP request headers
|
92
|
-
|
93
|
-
- **Content-Type**: Not defined
|
94
|
-
- **Accept**: application/json
|
95
|
-
|
96
|
-
|
97
|
-
## read
|
98
|
-
|
99
|
-
> Pulp2to3MigrationPulp2Content read(pulp2_content_href, opts)
|
100
|
-
|
101
|
-
Inspect a pulp2 content
|
102
|
-
|
103
|
-
ViewSet for Pulp2Content model.
|
104
|
-
|
105
|
-
### Example
|
106
|
-
|
107
|
-
```ruby
|
108
|
-
# load the gem
|
109
|
-
require 'pulp_2to3_migration_client'
|
110
|
-
# setup authorization
|
111
|
-
Pulp2to3MigrationClient.configure do |config|
|
112
|
-
# Configure HTTP basic authorization: Basic
|
113
|
-
config.username = 'YOUR USERNAME'
|
114
|
-
config.password = 'YOUR PASSWORD'
|
115
|
-
end
|
116
|
-
|
117
|
-
api_instance = Pulp2to3MigrationClient::Pulp2contentApi.new
|
118
|
-
pulp2_content_href = 'pulp2_content_href_example' # String | URI of Pulp2 Content. e.g.: /pulp/api/v3/pulp2content/1/
|
119
|
-
opts = {
|
120
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
121
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
122
|
-
}
|
123
|
-
|
124
|
-
begin
|
125
|
-
#Inspect a pulp2 content
|
126
|
-
result = api_instance.read(pulp2_content_href, opts)
|
127
|
-
p result
|
128
|
-
rescue Pulp2to3MigrationClient::ApiError => e
|
129
|
-
puts "Exception when calling Pulp2contentApi->read: #{e}"
|
130
|
-
end
|
131
|
-
```
|
132
|
-
|
133
|
-
### Parameters
|
134
|
-
|
135
|
-
|
136
|
-
Name | Type | Description | Notes
|
137
|
-
------------- | ------------- | ------------- | -------------
|
138
|
-
**pulp2_content_href** | **String**| URI of Pulp2 Content. e.g.: /pulp/api/v3/pulp2content/1/ |
|
139
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
140
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
141
|
-
|
142
|
-
### Return type
|
143
|
-
|
144
|
-
[**Pulp2to3MigrationPulp2Content**](Pulp2to3MigrationPulp2Content.md)
|
145
|
-
|
146
|
-
### Authorization
|
147
|
-
|
148
|
-
[Basic](../README.md#Basic)
|
149
|
-
|
150
|
-
### HTTP request headers
|
151
|
-
|
152
|
-
- **Content-Type**: Not defined
|
153
|
-
- **Accept**: application/json
|
154
|
-
|