pulp_2to3_migration_client 0.0.1a1.dev01570127714 → 0.0.1a1.dev01570300698
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/MigrationPlan.md +1 -1
- data/docs/MigrationPlansApi.md +6 -2
- data/docs/Pulp2contentApi.md +6 -2
- data/lib/pulp_2to3_migration_client/api/migration_plans_api.rb +7 -1
- data/lib/pulp_2to3_migration_client/api/pulp2content_api.rb +7 -1
- data/lib/pulp_2to3_migration_client/api_client.rb +1 -1
- data/lib/pulp_2to3_migration_client/api_error.rb +1 -1
- data/lib/pulp_2to3_migration_client/configuration.rb +1 -1
- data/lib/pulp_2to3_migration_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_2to3_migration_client/models/inline_response200.rb +1 -1
- data/lib/pulp_2to3_migration_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_2to3_migration_client/models/migration_plan.rb +2 -2
- data/lib/pulp_2to3_migration_client/models/migration_plan_run.rb +1 -1
- data/lib/pulp_2to3_migration_client/models/pulp2_content.rb +1 -1
- data/lib/pulp_2to3_migration_client/version.rb +2 -2
- data/lib/pulp_2to3_migration_client.rb +1 -1
- data/pulp_2to3_migration_client.gemspec +1 -1
- data/spec/api/migration_plans_api_spec.rb +3 -1
- data/spec/api/pulp2content_api_spec.rb +3 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/migration_plan_run_spec.rb +1 -1
- data/spec/models/migration_plan_spec.rb +1 -1
- data/spec/models/pulp2_content_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- 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: 678b452939caf126988c674bf43050b3e8e70a635b5bba9be17a1029937c5bb3
|
4
|
+
data.tar.gz: 5169264652bb12f7ad8cc4909cb9eb65aa6bc7e18f29420fa4cf47e7b40ebac2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac3cc2d64ba565e1736138792a9c18d63075b1584e45597a5b15547c38271c0445dd30e978719922c9d59c2bdcb66772b2514da418f51493a1eb75fbcefe7e31
|
7
|
+
data.tar.gz: 2e4e95e5800a89ad06c042bc2880b7dfd48ffdae350d155e51330d24b69cc44aebc0a8a04bb7fc9f65b97ede06dea80e3c0886e68392801b4b59aceb20e6489c
|
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.dev01570300698
|
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.dev01570300698.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.dev01570300698.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.dev01570300698'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/docs/MigrationPlan.md
CHANGED
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**_href** | **String** | | [optional]
|
8
8
|
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
9
|
-
**plan** | **
|
9
|
+
**plan** | [**Object**](.md) | Migration Plan in JSON format |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
data/docs/MigrationPlansApi.md
CHANGED
@@ -141,7 +141,8 @@ api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
|
|
141
141
|
opts = {
|
142
142
|
limit: 56, # Integer | Number of results to return per page.
|
143
143
|
offset: 56, # Integer | The initial index from which to return the results.
|
144
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
144
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
145
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
145
146
|
}
|
146
147
|
|
147
148
|
begin
|
@@ -161,6 +162,7 @@ Name | Type | Description | Notes
|
|
161
162
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
162
163
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
163
164
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
165
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
164
166
|
|
165
167
|
### Return type
|
166
168
|
|
@@ -199,7 +201,8 @@ end
|
|
199
201
|
api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
|
200
202
|
migration_plan_href = 'migration_plan_href_example' # String | URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/
|
201
203
|
opts = {
|
202
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
204
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
205
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
203
206
|
}
|
204
207
|
|
205
208
|
begin
|
@@ -218,6 +221,7 @@ Name | Type | Description | Notes
|
|
218
221
|
------------- | ------------- | ------------- | -------------
|
219
222
|
**migration_plan_href** | **String**| URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/ |
|
220
223
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
224
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
221
225
|
|
222
226
|
### Return type
|
223
227
|
|
data/docs/Pulp2contentApi.md
CHANGED
@@ -44,7 +44,8 @@ opts = {
|
|
44
44
|
pulp2_last_updated: 'pulp2_last_updated_example', # String | ISO 8601 formatted dates are supported
|
45
45
|
limit: 56, # Integer | Number of results to return per page.
|
46
46
|
offset: 56, # Integer | The initial index from which to return the results.
|
47
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
47
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
48
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
48
49
|
}
|
49
50
|
|
50
51
|
begin
|
@@ -75,6 +76,7 @@ Name | Type | Description | Notes
|
|
75
76
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
76
77
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
77
78
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
79
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
78
80
|
|
79
81
|
### Return type
|
80
82
|
|
@@ -113,7 +115,8 @@ end
|
|
113
115
|
api_instance = Pulp2to3MigrationClient::Pulp2contentApi.new
|
114
116
|
pulp2_content_href = 'pulp2_content_href_example' # String | URI of Pulp2 Content. e.g.: /pulp/api/v3/pulp2content/1/
|
115
117
|
opts = {
|
116
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
118
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
119
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
117
120
|
}
|
118
121
|
|
119
122
|
begin
|
@@ -132,6 +135,7 @@ Name | Type | Description | Notes
|
|
132
135
|
------------- | ------------- | ------------- | -------------
|
133
136
|
**pulp2_content_href** | **String**| URI of Pulp2 Content. e.g.: /pulp/api/v3/pulp2content/1/ |
|
134
137
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
138
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
135
139
|
|
136
140
|
### Return type
|
137
141
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -149,6 +149,7 @@ module Pulp2to3MigrationClient
|
|
149
149
|
# @option opts [Integer] :limit Number of results to return per page.
|
150
150
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
151
151
|
# @option opts [String] :fields A list of fields to include in the response.
|
152
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
152
153
|
# @return [InlineResponse200]
|
153
154
|
def list(opts = {})
|
154
155
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -161,6 +162,7 @@ module Pulp2to3MigrationClient
|
|
161
162
|
# @option opts [Integer] :limit Number of results to return per page.
|
162
163
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
163
164
|
# @option opts [String] :fields A list of fields to include in the response.
|
165
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
164
166
|
# @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
|
165
167
|
def list_with_http_info(opts = {})
|
166
168
|
if @api_client.config.debugging
|
@@ -174,6 +176,7 @@ module Pulp2to3MigrationClient
|
|
174
176
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
175
177
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
176
178
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
179
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
177
180
|
|
178
181
|
# header parameters
|
179
182
|
header_params = opts[:header_params] || {}
|
@@ -213,6 +216,7 @@ module Pulp2to3MigrationClient
|
|
213
216
|
# @param migration_plan_href [String] URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/
|
214
217
|
# @param [Hash] opts the optional parameters
|
215
218
|
# @option opts [String] :fields A list of fields to include in the response.
|
219
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
216
220
|
# @return [MigrationPlan]
|
217
221
|
def read(migration_plan_href, opts = {})
|
218
222
|
data, _status_code, _headers = read_with_http_info(migration_plan_href, opts)
|
@@ -224,6 +228,7 @@ module Pulp2to3MigrationClient
|
|
224
228
|
# @param migration_plan_href [String] URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/
|
225
229
|
# @param [Hash] opts the optional parameters
|
226
230
|
# @option opts [String] :fields A list of fields to include in the response.
|
231
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
227
232
|
# @return [Array<(MigrationPlan, Integer, Hash)>] MigrationPlan data, response status code and response headers
|
228
233
|
def read_with_http_info(migration_plan_href, opts = {})
|
229
234
|
if @api_client.config.debugging
|
@@ -239,6 +244,7 @@ module Pulp2to3MigrationClient
|
|
239
244
|
# query parameters
|
240
245
|
query_params = opts[:query_params] || {}
|
241
246
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
247
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
242
248
|
|
243
249
|
# header parameters
|
244
250
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -36,6 +36,7 @@ module Pulp2to3MigrationClient
|
|
36
36
|
# @option opts [Integer] :limit Number of results to return per page.
|
37
37
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
38
38
|
# @option opts [String] :fields A list of fields to include in the response.
|
39
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
39
40
|
# @return [InlineResponse2001]
|
40
41
|
def list(opts = {})
|
41
42
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -59,6 +60,7 @@ module Pulp2to3MigrationClient
|
|
59
60
|
# @option opts [Integer] :limit Number of results to return per page.
|
60
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
61
62
|
# @option opts [String] :fields A list of fields to include in the response.
|
63
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
62
64
|
# @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
|
63
65
|
def list_with_http_info(opts = {})
|
64
66
|
if @api_client.config.debugging
|
@@ -83,6 +85,7 @@ module Pulp2to3MigrationClient
|
|
83
85
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
84
86
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
85
87
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
88
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
86
89
|
|
87
90
|
# header parameters
|
88
91
|
header_params = opts[:header_params] || {}
|
@@ -122,6 +125,7 @@ module Pulp2to3MigrationClient
|
|
122
125
|
# @param pulp2_content_href [String] URI of Pulp2 Content. e.g.: /pulp/api/v3/pulp2content/1/
|
123
126
|
# @param [Hash] opts the optional parameters
|
124
127
|
# @option opts [String] :fields A list of fields to include in the response.
|
128
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
125
129
|
# @return [Pulp2Content]
|
126
130
|
def read(pulp2_content_href, opts = {})
|
127
131
|
data, _status_code, _headers = read_with_http_info(pulp2_content_href, opts)
|
@@ -133,6 +137,7 @@ module Pulp2to3MigrationClient
|
|
133
137
|
# @param pulp2_content_href [String] URI of Pulp2 Content. e.g.: /pulp/api/v3/pulp2content/1/
|
134
138
|
# @param [Hash] opts the optional parameters
|
135
139
|
# @option opts [String] :fields A list of fields to include in the response.
|
140
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
136
141
|
# @return [Array<(Pulp2Content, Integer, Hash)>] Pulp2Content data, response status code and response headers
|
137
142
|
def read_with_http_info(pulp2_content_href, opts = {})
|
138
143
|
if @api_client.config.debugging
|
@@ -148,6 +153,7 @@ module Pulp2to3MigrationClient
|
|
148
153
|
# query parameters
|
149
154
|
query_params = opts[:query_params] || {}
|
150
155
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
156
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
151
157
|
|
152
158
|
# header parameters
|
153
159
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -36,7 +36,7 @@ module Pulp2to3MigrationClient
|
|
36
36
|
{
|
37
37
|
:'_href' => :'String',
|
38
38
|
:'_created' => :'DateTime',
|
39
|
-
:'plan' => :'
|
39
|
+
:'plan' => :'Object'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -6,10 +6,10 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module Pulp2to3MigrationClient
|
14
|
-
VERSION = '0.0.1a1.
|
14
|
+
VERSION = '0.0.1a1.dev01570300698'
|
15
15
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -63,6 +63,7 @@ describe 'MigrationPlansApi' do
|
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
64
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
65
65
|
# @option opts [String] :fields A list of fields to include in the response.
|
66
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
66
67
|
# @return [InlineResponse200]
|
67
68
|
describe 'list test' do
|
68
69
|
it 'should work' do
|
@@ -76,6 +77,7 @@ describe 'MigrationPlansApi' do
|
|
76
77
|
# @param migration_plan_href URI of Migration Plan. e.g.: /pulp/api/v3/migration-plans/1/
|
77
78
|
# @param [Hash] opts the optional parameters
|
78
79
|
# @option opts [String] :fields A list of fields to include in the response.
|
80
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
79
81
|
# @return [MigrationPlan]
|
80
82
|
describe 'read test' do
|
81
83
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -50,6 +50,7 @@ describe 'Pulp2contentApi' do
|
|
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] :fields A list of fields to include in the response.
|
53
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
53
54
|
# @return [InlineResponse2001]
|
54
55
|
describe 'list test' do
|
55
56
|
it 'should work' do
|
@@ -63,6 +64,7 @@ describe 'Pulp2contentApi' do
|
|
63
64
|
# @param pulp2_content_href URI of Pulp2 Content. e.g.: /pulp/api/v3/pulp2content/1/
|
64
65
|
# @param [Hash] opts the optional parameters
|
65
66
|
# @option opts [String] :fields A list of fields to include in the response.
|
67
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
66
68
|
# @return [Pulp2Content]
|
67
69
|
describe 'read test' do
|
68
70
|
it 'should work' do
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
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.dev01570300698
|
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-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|