pulpcore_client 3.0.0rc6 → 3.0.0rc7
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/Artifact.md +5 -5
- data/docs/ArtifactsApi.md +6 -2
- data/docs/ContentAppStatus.md +2 -2
- data/docs/ProgressReport.md +6 -6
- data/docs/RepositoriesApi.md +6 -4
- data/docs/RepositoriesVersionsApi.md +18 -14
- data/docs/Repository.md +9 -9
- data/docs/RepositoryVersion.md +5 -5
- data/docs/StatusApi.md +3 -1
- data/docs/Task.md +14 -16
- data/docs/TasksApi.md +6 -2
- data/docs/Upload.md +5 -5
- data/docs/UploadChunk.md +3 -3
- data/docs/UploadDetail.md +6 -6
- data/docs/UploadsApi.md +6 -2
- data/docs/Worker.md +8 -8
- data/docs/WorkersApi.md +6 -2
- data/lib/pulpcore_client/api/artifacts_api.rb +7 -1
- data/lib/pulpcore_client/api/orphans_api.rb +1 -1
- data/lib/pulpcore_client/api/repositories_api.rb +7 -4
- data/lib/pulpcore_client/api/repositories_versions_api.rb +25 -19
- data/lib/pulpcore_client/api/status_api.rb +4 -1
- data/lib/pulpcore_client/api/tasks_api.rb +7 -1
- data/lib/pulpcore_client/api/uploads_api.rb +7 -1
- data/lib/pulpcore_client/api/workers_api.rb +7 -1
- data/lib/pulpcore_client/api_client.rb +1 -1
- data/lib/pulpcore_client/api_error.rb +1 -1
- data/lib/pulpcore_client/configuration.rb +1 -1
- data/lib/pulpcore_client/models/artifact.rb +14 -14
- data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
- data/lib/pulpcore_client/models/content_app_status.rb +1 -1
- data/lib/pulpcore_client/models/content_summary.rb +1 -1
- data/lib/pulpcore_client/models/database_connection.rb +1 -1
- data/lib/pulpcore_client/models/inline_response200.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
- data/lib/pulpcore_client/models/progress_report.rb +1 -1
- data/lib/pulpcore_client/models/redis_connection.rb +1 -1
- data/lib/pulpcore_client/models/repository.rb +26 -26
- data/lib/pulpcore_client/models/repository_version.rb +14 -14
- data/lib/pulpcore_client/models/repository_version_create.rb +1 -1
- data/lib/pulpcore_client/models/status.rb +1 -1
- data/lib/pulpcore_client/models/task.rb +15 -25
- data/lib/pulpcore_client/models/task_cancel.rb +1 -1
- data/lib/pulpcore_client/models/upload.rb +14 -14
- data/lib/pulpcore_client/models/upload_chunk.rb +1 -1
- data/lib/pulpcore_client/models/upload_commit.rb +1 -1
- data/lib/pulpcore_client/models/upload_detail.rb +14 -14
- data/lib/pulpcore_client/models/version.rb +1 -1
- data/lib/pulpcore_client/models/worker.rb +14 -14
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +1 -1
- data/pulpcore_client.gemspec +1 -1
- data/spec/api/artifacts_api_spec.rb +3 -1
- data/spec/api/orphans_api_spec.rb +1 -1
- data/spec/api/repositories_api_spec.rb +3 -2
- data/spec/api/repositories_versions_api_spec.rb +9 -7
- data/spec/api/status_api_spec.rb +2 -1
- data/spec/api/tasks_api_spec.rb +3 -1
- data/spec/api/uploads_api_spec.rb +3 -1
- data/spec/api/workers_api_spec.rb +3 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +3 -3
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_app_status_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/database_connection_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/progress_report_spec.rb +1 -1
- data/spec/models/redis_connection_spec.rb +1 -1
- data/spec/models/repository_spec.rb +5 -5
- data/spec/models/repository_version_create_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +3 -3
- data/spec/models/status_spec.rb +1 -1
- data/spec/models/task_cancel_spec.rb +1 -1
- data/spec/models/task_spec.rb +3 -9
- data/spec/models/upload_chunk_spec.rb +1 -1
- data/spec/models/upload_commit_spec.rb +1 -1
- data/spec/models/upload_detail_spec.rb +3 -3
- data/spec/models/upload_spec.rb +3 -3
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/worker_spec.rb +3 -3
- 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: 380fd5cd051a0d846251486118cfed3db8f586da88b355efc34c641b92196260
|
|
4
|
+
data.tar.gz: 55b11be77ed7a1a9638494ad02eb62a53a6dfbf87b60e429e12cea9c2f6c0353
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9401040b94b4bc897135519404f04847e2e848175916f60c96dbb665878867dd8cf498485d2db8989365c737d33fa804ca7f1d608d67e2d0bef0d183837e510a
|
|
7
|
+
data.tar.gz: 212287ae0d4a59940a6ec3b1659272b211e6b3b680746b2cde84dd69238a346b63b52605d37e839225d80aa9098c530a7c9e117783ce27122b8e276a43fab296
|
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: 3.0.
|
|
10
|
+
- Package version: 3.0.0rc7
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
@@ -23,16 +23,16 @@ gem build pulpcore_client.gemspec
|
|
|
23
23
|
Then either install the gem locally:
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
gem install ./pulpcore_client-3.0.
|
|
26
|
+
gem install ./pulpcore_client-3.0.0rc7.gem
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
(for development, run `gem install --dev ./pulpcore_client-3.0.
|
|
29
|
+
(for development, run `gem install --dev ./pulpcore_client-3.0.0rc7.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 'pulpcore_client', '~> 3.0.
|
|
35
|
+
gem 'pulpcore_client', '~> 3.0.0rc7'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
data/docs/Artifact.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
8
|
-
**
|
|
9
|
-
**file** | **String** | The stored file. | [optional]
|
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**file** | **String** | The stored file. | [optional] [readonly]
|
|
10
10
|
**size** | **Integer** | The size of the file in bytes. | [optional]
|
|
11
11
|
**md5** | **String** | The MD5 checksum of the file if available. | [optional]
|
|
12
12
|
**sha1** | **String** | The SHA-1 checksum of the file if available. | [optional]
|
|
@@ -20,8 +20,8 @@ Name | Type | Description | Notes
|
|
|
20
20
|
```ruby
|
|
21
21
|
require 'PulpcoreClient'
|
|
22
22
|
|
|
23
|
-
instance = PulpcoreClient::Artifact.new(
|
|
24
|
-
|
|
23
|
+
instance = PulpcoreClient::Artifact.new(pulp_href: null,
|
|
24
|
+
pulp_created: null,
|
|
25
25
|
file: null,
|
|
26
26
|
size: null,
|
|
27
27
|
md5: null,
|
data/docs/ArtifactsApi.md
CHANGED
|
@@ -159,7 +159,8 @@ opts = {
|
|
|
159
159
|
sha512: 'sha512_example', # String | Filter results where sha512 matches value
|
|
160
160
|
limit: 56, # Integer | Number of results to return per page.
|
|
161
161
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
162
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
162
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
163
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
163
164
|
}
|
|
164
165
|
|
|
165
166
|
begin
|
|
@@ -186,6 +187,7 @@ Name | Type | Description | Notes
|
|
|
186
187
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
187
188
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
188
189
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
190
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
189
191
|
|
|
190
192
|
### Return type
|
|
191
193
|
|
|
@@ -222,7 +224,8 @@ end
|
|
|
222
224
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
|
223
225
|
artifact_href = 'artifact_href_example' # String | URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
|
|
224
226
|
opts = {
|
|
225
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
227
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
228
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
226
229
|
}
|
|
227
230
|
|
|
228
231
|
begin
|
|
@@ -241,6 +244,7 @@ Name | Type | Description | Notes
|
|
|
241
244
|
------------- | ------------- | ------------- | -------------
|
|
242
245
|
**artifact_href** | **String**| URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/ |
|
|
243
246
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
247
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
244
248
|
|
|
245
249
|
### Return type
|
|
246
250
|
|
data/docs/ContentAppStatus.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**name** | **String** | The name of the worker. | [optional]
|
|
8
|
-
**last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional]
|
|
7
|
+
**name** | **String** | The name of the worker. | [optional] [readonly]
|
|
8
|
+
**last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional] [readonly]
|
|
9
9
|
|
|
10
10
|
## Code Sample
|
|
11
11
|
|
data/docs/ProgressReport.md
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**message** | **String** | The message shown to the user for the progress report. | [optional]
|
|
8
|
-
**code** | **String** | Identifies the type of progress report'. | [optional]
|
|
9
|
-
**state** | **String** | The current state of the progress report. The possible values are: 'waiting', 'skipped', 'running', 'completed', 'failed' and 'canceled'. The default is 'waiting'. | [optional]
|
|
10
|
-
**total** | **Integer** | The total count of items. | [optional]
|
|
11
|
-
**done** | **Integer** | The count of items already processed. Defaults to 0. | [optional]
|
|
12
|
-
**suffix** | **String** | The suffix to be shown with the progress report. | [optional]
|
|
7
|
+
**message** | **String** | The message shown to the user for the progress report. | [optional] [readonly]
|
|
8
|
+
**code** | **String** | Identifies the type of progress report'. | [optional] [readonly]
|
|
9
|
+
**state** | **String** | The current state of the progress report. The possible values are: 'waiting', 'skipped', 'running', 'completed', 'failed' and 'canceled'. The default is 'waiting'. | [optional] [readonly]
|
|
10
|
+
**total** | **Integer** | The total count of items. | [optional] [readonly]
|
|
11
|
+
**done** | **Integer** | The count of items already processed. Defaults to 0. | [optional] [readonly]
|
|
12
|
+
**suffix** | **String** | The suffix to be shown with the progress report. | [optional] [readonly]
|
|
13
13
|
|
|
14
14
|
## Code Sample
|
|
15
15
|
|
data/docs/RepositoriesApi.md
CHANGED
|
@@ -139,10 +139,10 @@ api_instance = PulpcoreClient::RepositoriesApi.new
|
|
|
139
139
|
opts = {
|
|
140
140
|
name: 'name_example', # String |
|
|
141
141
|
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
|
142
|
-
plugin_managed: 'plugin_managed_example', # String |
|
|
143
142
|
limit: 56, # Integer | Number of results to return per page.
|
|
144
143
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
145
|
-
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.
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
begin
|
|
@@ -161,10 +161,10 @@ Name | Type | Description | Notes
|
|
|
161
161
|
------------- | ------------- | ------------- | -------------
|
|
162
162
|
**name** | **String**| | [optional]
|
|
163
163
|
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
|
164
|
-
**plugin_managed** | **String**| | [optional]
|
|
165
164
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
166
165
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
167
166
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
167
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
168
168
|
|
|
169
169
|
### Return type
|
|
170
170
|
|
|
@@ -254,7 +254,8 @@ end
|
|
|
254
254
|
api_instance = PulpcoreClient::RepositoriesApi.new
|
|
255
255
|
repository_href = 'repository_href_example' # String | URI of Repository. e.g.: /pulp/api/v3/repositories/1/
|
|
256
256
|
opts = {
|
|
257
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
257
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
258
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
258
259
|
}
|
|
259
260
|
|
|
260
261
|
begin
|
|
@@ -273,6 +274,7 @@ Name | Type | Description | Notes
|
|
|
273
274
|
------------- | ------------- | ------------- | -------------
|
|
274
275
|
**repository_href** | **String**| URI of Repository. e.g.: /pulp/api/v3/repositories/1/ |
|
|
275
276
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
277
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
276
278
|
|
|
277
279
|
### Return type
|
|
278
280
|
|
|
@@ -147,16 +147,17 @@ opts = {
|
|
|
147
147
|
number__gt: 3.4, # Float | Filter results where number is greater than value
|
|
148
148
|
number__gte: 3.4, # Float | Filter results where number is greater than or equal to value
|
|
149
149
|
number__range: 3.4, # Float | Filter results where number is between two comma separated values
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
150
|
+
pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
|
|
151
|
+
pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
|
|
152
|
+
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
|
153
|
+
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
|
154
|
+
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
|
155
155
|
content: 'content_example', # String | Content Unit referenced by HREF
|
|
156
|
-
|
|
156
|
+
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
|
157
157
|
limit: 56, # Integer | Number of results to return per page.
|
|
158
158
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
159
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
159
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
160
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
160
161
|
}
|
|
161
162
|
|
|
162
163
|
begin
|
|
@@ -181,16 +182,17 @@ Name | Type | Description | Notes
|
|
|
181
182
|
**number__gt** | **Float**| Filter results where number is greater than value | [optional]
|
|
182
183
|
**number__gte** | **Float**| Filter results where number is greater than or equal to value | [optional]
|
|
183
184
|
**number__range** | **Float**| Filter results where number is between two comma separated values | [optional]
|
|
184
|
-
**
|
|
185
|
-
**
|
|
186
|
-
**
|
|
187
|
-
**
|
|
188
|
-
**
|
|
185
|
+
**pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
|
|
186
|
+
**pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
|
|
187
|
+
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
|
188
|
+
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
|
189
|
+
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
|
189
190
|
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
190
|
-
**
|
|
191
|
+
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
191
192
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
192
193
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
193
194
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
195
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
194
196
|
|
|
195
197
|
### Return type
|
|
196
198
|
|
|
@@ -227,7 +229,8 @@ end
|
|
|
227
229
|
api_instance = PulpcoreClient::RepositoriesVersionsApi.new
|
|
228
230
|
repository_version_href = 'repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
|
|
229
231
|
opts = {
|
|
230
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
232
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
233
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
231
234
|
}
|
|
232
235
|
|
|
233
236
|
begin
|
|
@@ -246,6 +249,7 @@ Name | Type | Description | Notes
|
|
|
246
249
|
------------- | ------------- | ------------- | -------------
|
|
247
250
|
**repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/ |
|
|
248
251
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
252
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
249
253
|
|
|
250
254
|
### Return type
|
|
251
255
|
|
data/docs/Repository.md
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**
|
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**versions_href** | **String** | | [optional] [readonly]
|
|
10
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
|
11
11
|
**name** | **String** | A unique name for this repository. |
|
|
12
|
-
**plugin_managed** | **Boolean** | True if the plugin manages this repository, users typically do not interact with it. | [optional]
|
|
12
|
+
**plugin_managed** | **Boolean** | True if the plugin manages this repository, users typically do not interact with it. | [optional] [readonly]
|
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
|
14
14
|
|
|
15
15
|
## Code Sample
|
|
@@ -17,10 +17,10 @@ Name | Type | Description | Notes
|
|
|
17
17
|
```ruby
|
|
18
18
|
require 'PulpcoreClient'
|
|
19
19
|
|
|
20
|
-
instance = PulpcoreClient::Repository.new(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
instance = PulpcoreClient::Repository.new(pulp_href: null,
|
|
21
|
+
pulp_created: null,
|
|
22
|
+
versions_href: null,
|
|
23
|
+
latest_version_href: null,
|
|
24
24
|
name: null,
|
|
25
25
|
plugin_managed: null,
|
|
26
26
|
description: null)
|
data/docs/RepositoryVersion.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
8
|
-
**
|
|
9
|
-
**number** | **Integer** | | [optional]
|
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**number** | **Integer** | | [optional] [readonly]
|
|
10
10
|
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
|
11
11
|
**content_summary** | [**ContentSummary**](ContentSummary.md) | | [optional]
|
|
12
12
|
|
|
@@ -15,8 +15,8 @@ Name | Type | Description | Notes
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpcoreClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpcoreClient::RepositoryVersion.new(
|
|
19
|
-
|
|
18
|
+
instance = PulpcoreClient::RepositoryVersion.new(pulp_href: null,
|
|
19
|
+
pulp_created: null,
|
|
20
20
|
number: null,
|
|
21
21
|
base_version: null,
|
|
22
22
|
content_summary: null)
|
data/docs/StatusApi.md
CHANGED
|
@@ -30,7 +30,8 @@ end
|
|
|
30
30
|
|
|
31
31
|
api_instance = PulpcoreClient::StatusApi.new
|
|
32
32
|
opts = {
|
|
33
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
33
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
34
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
begin
|
|
@@ -48,6 +49,7 @@ end
|
|
|
48
49
|
Name | Type | Description | Notes
|
|
49
50
|
------------- | ------------- | ------------- | -------------
|
|
50
51
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
52
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
51
53
|
|
|
52
54
|
### Return type
|
|
53
55
|
|
data/docs/Task.md
CHANGED
|
@@ -4,33 +4,31 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
8
|
-
**
|
|
9
|
-
**state** | **String** | The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed' and 'canceled'. | [optional]
|
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**state** | **String** | The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed' and 'canceled'. | [optional] [readonly]
|
|
10
10
|
**name** | **String** | The name of task. |
|
|
11
|
-
**started_at** | **DateTime** | Timestamp of the when this task started execution. | [optional]
|
|
12
|
-
**finished_at** | **DateTime** | Timestamp of the when this task stopped execution. | [optional]
|
|
13
|
-
**
|
|
14
|
-
**
|
|
15
|
-
**
|
|
16
|
-
**
|
|
17
|
-
**
|
|
18
|
-
**
|
|
19
|
-
**
|
|
20
|
-
**reserved_resources_record** | **Array<Object>** | | [optional]
|
|
11
|
+
**started_at** | **DateTime** | Timestamp of the when this task started execution. | [optional] [readonly]
|
|
12
|
+
**finished_at** | **DateTime** | Timestamp of the when this task stopped execution. | [optional] [readonly]
|
|
13
|
+
**error** | **Hash<String, Object>** | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly]
|
|
14
|
+
**worker** | **String** | The worker associated with this task. This field is empty if a worker is not yet assigned. | [optional] [readonly]
|
|
15
|
+
**parent** | **String** | The parent task that spawned this task. | [optional] [readonly]
|
|
16
|
+
**spawned_tasks** | **Array<String>** | Any tasks spawned by this task. | [optional] [readonly]
|
|
17
|
+
**progress_reports** | [**Array<ProgressReport>**](ProgressReport.md) | | [optional] [readonly]
|
|
18
|
+
**created_resources** | **Array<String>** | Resources created by this task. | [optional] [readonly]
|
|
19
|
+
**reserved_resources_record** | **Array<Object>** | | [optional] [readonly]
|
|
21
20
|
|
|
22
21
|
## Code Sample
|
|
23
22
|
|
|
24
23
|
```ruby
|
|
25
24
|
require 'PulpcoreClient'
|
|
26
25
|
|
|
27
|
-
instance = PulpcoreClient::Task.new(
|
|
28
|
-
|
|
26
|
+
instance = PulpcoreClient::Task.new(pulp_href: null,
|
|
27
|
+
pulp_created: null,
|
|
29
28
|
state: null,
|
|
30
29
|
name: null,
|
|
31
30
|
started_at: null,
|
|
32
31
|
finished_at: null,
|
|
33
|
-
non_fatal_errors: null,
|
|
34
32
|
error: null,
|
|
35
33
|
worker: null,
|
|
36
34
|
parent: null,
|
data/docs/TasksApi.md
CHANGED
|
@@ -105,7 +105,8 @@ opts = {
|
|
|
105
105
|
finished_at: 'finished_at_example', # String | ISO 8601 formatted dates are supported
|
|
106
106
|
limit: 56, # Integer | Number of results to return per page.
|
|
107
107
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
108
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
108
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
109
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
begin
|
|
@@ -147,6 +148,7 @@ Name | Type | Description | Notes
|
|
|
147
148
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
148
149
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
149
150
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
151
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
150
152
|
|
|
151
153
|
### Return type
|
|
152
154
|
|
|
@@ -183,7 +185,8 @@ end
|
|
|
183
185
|
api_instance = PulpcoreClient::TasksApi.new
|
|
184
186
|
task_href = 'task_href_example' # String | URI of Task. e.g.: /pulp/api/v3/tasks/1/
|
|
185
187
|
opts = {
|
|
186
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
188
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
189
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
187
190
|
}
|
|
188
191
|
|
|
189
192
|
begin
|
|
@@ -202,6 +205,7 @@ Name | Type | Description | Notes
|
|
|
202
205
|
------------- | ------------- | ------------- | -------------
|
|
203
206
|
**task_href** | **String**| URI of Task. e.g.: /pulp/api/v3/tasks/1/ |
|
|
204
207
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
208
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
205
209
|
|
|
206
210
|
### Return type
|
|
207
211
|
|
data/docs/Upload.md
CHANGED
|
@@ -4,18 +4,18 @@
|
|
|
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
|
**size** | **Integer** | The size of the upload in bytes. |
|
|
10
|
-
**completed** | **DateTime** | Timestamp when upload is committed. | [optional]
|
|
10
|
+
**completed** | **DateTime** | Timestamp when upload is committed. | [optional] [readonly]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpcoreClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpcoreClient::Upload.new(
|
|
18
|
-
|
|
17
|
+
instance = PulpcoreClient::Upload.new(pulp_href: null,
|
|
18
|
+
pulp_created: null,
|
|
19
19
|
size: null,
|
|
20
20
|
completed: null)
|
|
21
21
|
```
|
data/docs/UploadChunk.md
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**file** | **String** | A chunk of the uploaded file. | [optional]
|
|
7
|
+
**file** | **String** | A chunk of the uploaded file. | [optional] [readonly]
|
|
8
8
|
**sha256** | **String** | The SHA-256 checksum of the chunk if available. | [optional]
|
|
9
|
-
**offset** | **Integer** | | [optional]
|
|
10
|
-
**size** | **Integer** | | [optional]
|
|
9
|
+
**offset** | **Integer** | | [optional] [readonly]
|
|
10
|
+
**size** | **Integer** | | [optional] [readonly]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
data/docs/UploadDetail.md
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
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
|
**size** | **Integer** | The size of the upload in bytes. |
|
|
10
|
-
**completed** | **DateTime** | Timestamp when upload is committed. | [optional]
|
|
11
|
-
**chunks** | [**Array<UploadChunk>**](UploadChunk.md) | | [optional]
|
|
10
|
+
**completed** | **DateTime** | Timestamp when upload is committed. | [optional] [readonly]
|
|
11
|
+
**chunks** | [**Array<UploadChunk>**](UploadChunk.md) | | [optional] [readonly]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpcoreClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpcoreClient::UploadDetail.new(
|
|
19
|
-
|
|
18
|
+
instance = PulpcoreClient::UploadDetail.new(pulp_href: null,
|
|
19
|
+
pulp_created: null,
|
|
20
20
|
size: null,
|
|
21
21
|
completed: null,
|
|
22
22
|
chunks: null)
|
data/docs/UploadsApi.md
CHANGED
|
@@ -198,7 +198,8 @@ opts = {
|
|
|
198
198
|
completed: 'completed_example', # String | ISO 8601 formatted dates are supported
|
|
199
199
|
limit: 56, # Integer | Number of results to return per page.
|
|
200
200
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
201
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
201
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
202
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
202
203
|
}
|
|
203
204
|
|
|
204
205
|
begin
|
|
@@ -219,6 +220,7 @@ Name | Type | Description | Notes
|
|
|
219
220
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
220
221
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
221
222
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
223
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
222
224
|
|
|
223
225
|
### Return type
|
|
224
226
|
|
|
@@ -257,7 +259,8 @@ end
|
|
|
257
259
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
258
260
|
upload_href = 'upload_href_example' # String | URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
|
259
261
|
opts = {
|
|
260
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
262
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
263
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
261
264
|
}
|
|
262
265
|
|
|
263
266
|
begin
|
|
@@ -276,6 +279,7 @@ Name | Type | Description | Notes
|
|
|
276
279
|
------------- | ------------- | ------------- | -------------
|
|
277
280
|
**upload_href** | **String**| URI of Upload. e.g.: /pulp/api/v3/uploads/1/ |
|
|
278
281
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
282
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
279
283
|
|
|
280
284
|
### Return type
|
|
281
285
|
|
data/docs/Worker.md
CHANGED
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
8
|
-
**
|
|
9
|
-
**name** | **String** | The name of the worker. | [optional]
|
|
10
|
-
**last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional]
|
|
11
|
-
**online** | **Boolean** | True if the worker is considered online, otherwise False | [optional]
|
|
12
|
-
**missing** | **Boolean** | True if the worker is considerd missing, otherwise False | [optional]
|
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**name** | **String** | The name of the worker. | [optional] [readonly]
|
|
10
|
+
**last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional] [readonly]
|
|
11
|
+
**online** | **Boolean** | True if the worker is considered online, otherwise False | [optional] [readonly]
|
|
12
|
+
**missing** | **Boolean** | True if the worker is considerd missing, otherwise False | [optional] [readonly]
|
|
13
13
|
|
|
14
14
|
## Code Sample
|
|
15
15
|
|
|
16
16
|
```ruby
|
|
17
17
|
require 'PulpcoreClient'
|
|
18
18
|
|
|
19
|
-
instance = PulpcoreClient::Worker.new(
|
|
20
|
-
|
|
19
|
+
instance = PulpcoreClient::Worker.new(pulp_href: null,
|
|
20
|
+
pulp_created: null,
|
|
21
21
|
name: null,
|
|
22
22
|
last_heartbeat: null,
|
|
23
23
|
online: null,
|
data/docs/WorkersApi.md
CHANGED
|
@@ -41,7 +41,8 @@ opts = {
|
|
|
41
41
|
last_heartbeat: 'last_heartbeat_example', # String | ISO 8601 formatted dates are supported
|
|
42
42
|
limit: 56, # Integer | Number of results to return per page.
|
|
43
43
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
44
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
44
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
45
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
begin
|
|
@@ -71,6 +72,7 @@ Name | Type | Description | Notes
|
|
|
71
72
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
72
73
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
73
74
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
75
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
74
76
|
|
|
75
77
|
### Return type
|
|
76
78
|
|
|
@@ -107,7 +109,8 @@ end
|
|
|
107
109
|
api_instance = PulpcoreClient::WorkersApi.new
|
|
108
110
|
worker_href = 'worker_href_example' # String | URI of Worker. e.g.: /pulp/api/v3/workers/1/
|
|
109
111
|
opts = {
|
|
110
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
112
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
113
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
111
114
|
}
|
|
112
115
|
|
|
113
116
|
begin
|
|
@@ -126,6 +129,7 @@ Name | Type | Description | Notes
|
|
|
126
129
|
------------- | ------------- | ------------- | -------------
|
|
127
130
|
**worker_href** | **String**| URI of Worker. e.g.: /pulp/api/v3/workers/1/ |
|
|
128
131
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
132
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
129
133
|
|
|
130
134
|
### Return type
|
|
131
135
|
|
|
@@ -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
|
|
|
@@ -195,6 +195,7 @@ module PulpcoreClient
|
|
|
195
195
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
196
196
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
197
197
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
198
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
198
199
|
# @return [InlineResponse200]
|
|
199
200
|
def list(opts = {})
|
|
200
201
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -213,6 +214,7 @@ module PulpcoreClient
|
|
|
213
214
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
214
215
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
215
216
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
217
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
216
218
|
# @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
|
|
217
219
|
def list_with_http_info(opts = {})
|
|
218
220
|
if @api_client.config.debugging
|
|
@@ -233,6 +235,7 @@ module PulpcoreClient
|
|
|
233
235
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
234
236
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
235
237
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
238
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
236
239
|
|
|
237
240
|
# header parameters
|
|
238
241
|
header_params = opts[:header_params] || {}
|
|
@@ -271,6 +274,7 @@ module PulpcoreClient
|
|
|
271
274
|
# @param artifact_href [String] URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
|
|
272
275
|
# @param [Hash] opts the optional parameters
|
|
273
276
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
277
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
274
278
|
# @return [Artifact]
|
|
275
279
|
def read(artifact_href, opts = {})
|
|
276
280
|
data, _status_code, _headers = read_with_http_info(artifact_href, opts)
|
|
@@ -281,6 +285,7 @@ module PulpcoreClient
|
|
|
281
285
|
# @param artifact_href [String] URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
|
|
282
286
|
# @param [Hash] opts the optional parameters
|
|
283
287
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
288
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
284
289
|
# @return [Array<(Artifact, Integer, Hash)>] Artifact data, response status code and response headers
|
|
285
290
|
def read_with_http_info(artifact_href, opts = {})
|
|
286
291
|
if @api_client.config.debugging
|
|
@@ -296,6 +301,7 @@ module PulpcoreClient
|
|
|
296
301
|
# query parameters
|
|
297
302
|
query_params = opts[:query_params] || {}
|
|
298
303
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
304
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
299
305
|
|
|
300
306
|
# header parameters
|
|
301
307
|
header_params = opts[:header_params] || {}
|