pulp_deb_client 2.0.0b2 → 2.0.0b3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +32 -18
- data/docs/ContentGenericContentsApi.md +12 -4
- data/docs/ContentInstallerFileIndexApi.md +20 -8
- data/docs/ContentInstallerPackagesApi.md +42 -4
- data/docs/ContentPackageIndexApi.md +20 -8
- data/docs/ContentPackagesApi.md +46 -6
- data/docs/{ContentReleasesApi.md → ContentReleaseFilesApi.md} +44 -32
- data/docs/ContentSummary.md +21 -0
- data/docs/{InstallerPackage.md → DebBasePackage.md} +40 -46
- data/docs/{DebDistribution.md → DebDebDistribution.md} +6 -6
- data/docs/{DebPublication.md → DebDebPublication.md} +5 -7
- data/docs/{DebRemote.md → DebDebRemote.md} +15 -21
- data/docs/DebDebRepository.md +27 -0
- data/docs/{GenericContent.md → DebGenericContent.md} +11 -17
- data/docs/{InstallerFileIndex.md → DebInstallerFileIndex.md} +5 -7
- data/docs/{PackageIndex.md → DebPackageIndex.md} +5 -7
- data/docs/{Release.md → DebReleaseFile.md} +5 -7
- data/docs/{VerbatimPublication.md → DebVerbatimPublication.md} +5 -7
- data/docs/DistributionsAptApi.md +16 -12
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +23 -0
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PublicationsAptApi.md +12 -8
- data/docs/PublicationsVerbatimApi.md +12 -8
- data/docs/RemotesAptApi.md +30 -81
- data/docs/RepositoriesAptApi.md +465 -0
- data/docs/RepositoriesDebVersionsApi.md +214 -0
- data/docs/RepositoryAddRemoveContent.md +21 -0
- data/docs/RepositorySyncURL.md +2 -2
- data/docs/RepositoryVersion.md +25 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +16 -4
- data/lib/pulp_deb_client/api/content_installer_file_index_api.rb +27 -9
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +61 -4
- data/lib/pulp_deb_client/api/content_package_index_api.rb +27 -9
- data/lib/pulp_deb_client/api/content_packages_api.rb +67 -7
- data/lib/pulp_deb_client/api/{content_releases_api.rb → content_release_files_api.rb} +61 -43
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +19 -13
- data/lib/pulp_deb_client/api/publications_apt_api.rb +15 -9
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +15 -9
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +40 -102
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +568 -0
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +268 -0
- data/lib/pulp_deb_client/api_client.rb +1 -1
- data/lib/pulp_deb_client/api_error.rb +1 -1
- data/lib/pulp_deb_client/configuration.rb +1 -1
- data/lib/pulp_deb_client/models/async_operation_response.rb +12 -2
- data/lib/pulp_deb_client/models/content_summary.rb +246 -0
- data/lib/pulp_deb_client/models/{package.rb → deb_base_package.rb} +28 -62
- data/lib/pulp_deb_client/models/{deb_distribution.rb → deb_deb_distribution.rb} +30 -36
- data/lib/pulp_deb_client/models/{deb_publication.rb → deb_deb_publication.rb} +29 -42
- data/lib/pulp_deb_client/models/{deb_remote.rb → deb_deb_remote.rb} +87 -147
- data/lib/pulp_deb_client/models/deb_deb_repository.rb +294 -0
- data/lib/pulp_deb_client/models/{generic_content.rb → deb_generic_content.rb} +28 -62
- data/lib/pulp_deb_client/models/{installer_file_index.rb → deb_installer_file_index.rb} +28 -42
- data/lib/pulp_deb_client/models/{package_index.rb → deb_package_index.rb} +28 -42
- data/lib/pulp_deb_client/models/{release.rb → deb_release_file.rb} +28 -42
- data/lib/pulp_deb_client/models/{verbatim_publication.rb → deb_verbatim_publication.rb} +29 -42
- data/lib/pulp_deb_client/models/inline_response200.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2001.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response20010.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response2002.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2003.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2004.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2005.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2006.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2007.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2008.rb +15 -3
- data/lib/pulp_deb_client/models/inline_response2009.rb +15 -3
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +231 -0
- data/lib/pulp_deb_client/models/repository_sync_url.rb +22 -12
- data/lib/pulp_deb_client/models/repository_version.rb +244 -0
- data/lib/pulp_deb_client/version.rb +2 -2
- data/lib/pulp_deb_client.rb +18 -12
- data/pulp_deb_client.gemspec +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +6 -2
- data/spec/api/content_installer_file_index_api_spec.rb +9 -3
- data/spec/api/content_installer_packages_api_spec.rb +21 -2
- data/spec/api/content_package_index_api_spec.rb +9 -3
- data/spec/api/content_packages_api_spec.rb +23 -3
- data/spec/api/{content_releases_api_spec.rb → content_release_files_api_spec.rb} +23 -17
- data/spec/api/distributions_apt_api_spec.rb +5 -3
- data/spec/api/publications_apt_api_spec.rb +5 -3
- data/spec/api/publications_verbatim_api_spec.rb +5 -3
- data/spec/api/remotes_apt_api_spec.rb +12 -22
- data/spec/api/repositories_apt_api_spec.rb +141 -0
- data/spec/api/repositories_deb_versions_api_spec.rb +91 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +53 -0
- data/spec/models/{package_spec.rb → deb_base_package_spec.rb} +9 -27
- data/spec/models/{deb_distribution_spec.rb → deb_deb_distribution_spec.rb} +9 -9
- data/spec/models/{deb_publication_spec.rb → deb_deb_publication_spec.rb} +9 -15
- data/spec/models/{deb_remote_spec.rb → deb_deb_remote_spec.rb} +14 -32
- data/spec/models/{verbatim_publication_spec.rb → deb_deb_repository_spec.rb} +13 -13
- data/spec/models/{generic_content_spec.rb → deb_generic_content_spec.rb} +9 -27
- data/spec/models/{package_index_spec.rb → deb_installer_file_index_spec.rb} +9 -15
- data/spec/models/{installer_file_index_spec.rb → deb_package_index_spec.rb} +9 -15
- data/spec/models/{release_spec.rb → deb_release_file_spec.rb} +9 -15
- data/spec/models/deb_verbatim_publication_spec.rb +65 -0
- data/spec/models/inline_response20010_spec.rb +59 -0
- 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_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +53 -0
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_spec.rb +65 -0
- data/spec/spec_helper.rb +1 -1
- metadata +70 -46
- data/docs/Package.md +0 -99
- data/lib/pulp_deb_client/models/installer_package.rb +0 -1101
- data/spec/models/installer_package_spec.rb +0 -287
data/docs/DistributionsAptApi.md
CHANGED
@@ -34,7 +34,7 @@ PulpDebClient.configure do |config|
|
|
34
34
|
end
|
35
35
|
|
36
36
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
37
|
-
data = PulpDebClient::
|
37
|
+
data = PulpDebClient::DebDebDistribution.new # DebDebDistribution |
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create a deb distribution
|
@@ -50,7 +50,7 @@ end
|
|
50
50
|
|
51
51
|
Name | Type | Description | Notes
|
52
52
|
------------- | ------------- | ------------- | -------------
|
53
|
-
**data** | [**
|
53
|
+
**data** | [**DebDebDistribution**](DebDebDistribution.md)| |
|
54
54
|
|
55
55
|
### Return type
|
56
56
|
|
@@ -121,7 +121,7 @@ Name | Type | Description | Notes
|
|
121
121
|
|
122
122
|
## list
|
123
123
|
|
124
|
-
>
|
124
|
+
> InlineResponse2005 list(opts)
|
125
125
|
|
126
126
|
List deb distributions
|
127
127
|
|
@@ -149,7 +149,8 @@ opts = {
|
|
149
149
|
base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
|
150
150
|
limit: 56, # Integer | Number of results to return per page.
|
151
151
|
offset: 56, # Integer | The initial index from which to return the results.
|
152
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
152
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
153
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
153
154
|
}
|
154
155
|
|
155
156
|
begin
|
@@ -175,10 +176,11 @@ Name | Type | Description | Notes
|
|
175
176
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
176
177
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
177
178
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
179
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
178
180
|
|
179
181
|
### Return type
|
180
182
|
|
181
|
-
[**
|
183
|
+
[**InlineResponse2005**](InlineResponse2005.md)
|
182
184
|
|
183
185
|
### Authorization
|
184
186
|
|
@@ -212,7 +214,7 @@ end
|
|
212
214
|
|
213
215
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
214
216
|
deb_distribution_href = 'deb_distribution_href_example' # String | URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
|
215
|
-
data = PulpDebClient::
|
217
|
+
data = PulpDebClient::DebDebDistribution.new # DebDebDistribution |
|
216
218
|
|
217
219
|
begin
|
218
220
|
#Partially update a deb distribution
|
@@ -229,7 +231,7 @@ end
|
|
229
231
|
Name | Type | Description | Notes
|
230
232
|
------------- | ------------- | ------------- | -------------
|
231
233
|
**deb_distribution_href** | **String**| URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/ |
|
232
|
-
**data** | [**
|
234
|
+
**data** | [**DebDebDistribution**](DebDebDistribution.md)| |
|
233
235
|
|
234
236
|
### Return type
|
235
237
|
|
@@ -247,7 +249,7 @@ Name | Type | Description | Notes
|
|
247
249
|
|
248
250
|
## read
|
249
251
|
|
250
|
-
>
|
252
|
+
> DebDebDistribution read(deb_distribution_href, opts)
|
251
253
|
|
252
254
|
Inspect a deb distribution
|
253
255
|
|
@@ -268,7 +270,8 @@ end
|
|
268
270
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
269
271
|
deb_distribution_href = 'deb_distribution_href_example' # String | URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
|
270
272
|
opts = {
|
271
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
273
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
274
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
272
275
|
}
|
273
276
|
|
274
277
|
begin
|
@@ -287,10 +290,11 @@ Name | Type | Description | Notes
|
|
287
290
|
------------- | ------------- | ------------- | -------------
|
288
291
|
**deb_distribution_href** | **String**| URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/ |
|
289
292
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
293
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
290
294
|
|
291
295
|
### Return type
|
292
296
|
|
293
|
-
[**
|
297
|
+
[**DebDebDistribution**](DebDebDistribution.md)
|
294
298
|
|
295
299
|
### Authorization
|
296
300
|
|
@@ -324,7 +328,7 @@ end
|
|
324
328
|
|
325
329
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
326
330
|
deb_distribution_href = 'deb_distribution_href_example' # String | URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
|
327
|
-
data = PulpDebClient::
|
331
|
+
data = PulpDebClient::DebDebDistribution.new # DebDebDistribution |
|
328
332
|
|
329
333
|
begin
|
330
334
|
#Update a deb distribution
|
@@ -341,7 +345,7 @@ end
|
|
341
345
|
Name | Type | Description | Notes
|
342
346
|
------------- | ------------- | ------------- | -------------
|
343
347
|
**deb_distribution_href** | **String**| URI of Deb Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/ |
|
344
|
-
**data** | [**
|
348
|
+
**data** | [**DebDebDistribution**](DebDebDistribution.md)| |
|
345
349
|
|
346
350
|
### Return type
|
347
351
|
|
data/docs/InlineResponse200.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebGenericContent>**](DebGenericContent.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2001.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebInstallerFileIndex>**](DebInstallerFileIndex.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::InlineResponse20010
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<RepositoryVersion>**](RepositoryVersion.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::InlineResponse20010.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/InlineResponse2002.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebBasePackage>**](DebBasePackage.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2003.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebPackageIndex>**](DebPackageIndex.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2004.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebReleaseFile>**](DebReleaseFile.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2005.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebDebDistribution>**](DebDebDistribution.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2006.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebDebPublication>**](DebDebPublication.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2007.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebVerbatimPublication>**](DebVerbatimPublication.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2008.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebDebRemote>**](DebDebRemote.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2009.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<DebDebRepository>**](DebDebRepository.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/PublicationsAptApi.md
CHANGED
@@ -32,7 +32,7 @@ PulpDebClient.configure do |config|
|
|
32
32
|
end
|
33
33
|
|
34
34
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
35
|
-
data = PulpDebClient::
|
35
|
+
data = PulpDebClient::DebDebPublication.new # DebDebPublication |
|
36
36
|
|
37
37
|
begin
|
38
38
|
#Create a deb publication
|
@@ -48,7 +48,7 @@ end
|
|
48
48
|
|
49
49
|
Name | Type | Description | Notes
|
50
50
|
------------- | ------------- | ------------- | -------------
|
51
|
-
**data** | [**
|
51
|
+
**data** | [**DebDebPublication**](DebDebPublication.md)| |
|
52
52
|
|
53
53
|
### Return type
|
54
54
|
|
@@ -118,7 +118,7 @@ nil (empty response body)
|
|
118
118
|
|
119
119
|
## list
|
120
120
|
|
121
|
-
>
|
121
|
+
> InlineResponse2006 list(opts)
|
122
122
|
|
123
123
|
List deb publications
|
124
124
|
|
@@ -141,7 +141,8 @@ opts = {
|
|
141
141
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
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
|
@@ -162,10 +163,11 @@ Name | Type | Description | Notes
|
|
162
163
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
163
164
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
164
165
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
166
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
165
167
|
|
166
168
|
### Return type
|
167
169
|
|
168
|
-
[**
|
170
|
+
[**InlineResponse2006**](InlineResponse2006.md)
|
169
171
|
|
170
172
|
### Authorization
|
171
173
|
|
@@ -179,7 +181,7 @@ Name | Type | Description | Notes
|
|
179
181
|
|
180
182
|
## read
|
181
183
|
|
182
|
-
>
|
184
|
+
> DebDebPublication read(deb_publication_href, opts)
|
183
185
|
|
184
186
|
Inspect a deb publication
|
185
187
|
|
@@ -200,7 +202,8 @@ end
|
|
200
202
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
201
203
|
deb_publication_href = 'deb_publication_href_example' # String | URI of Deb Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
|
202
204
|
opts = {
|
203
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
205
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
206
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
204
207
|
}
|
205
208
|
|
206
209
|
begin
|
@@ -219,10 +222,11 @@ Name | Type | Description | Notes
|
|
219
222
|
------------- | ------------- | ------------- | -------------
|
220
223
|
**deb_publication_href** | **String**| URI of Deb Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/ |
|
221
224
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
225
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
222
226
|
|
223
227
|
### Return type
|
224
228
|
|
225
|
-
[**
|
229
|
+
[**DebDebPublication**](DebDebPublication.md)
|
226
230
|
|
227
231
|
### Authorization
|
228
232
|
|
@@ -32,7 +32,7 @@ PulpDebClient.configure do |config|
|
|
32
32
|
end
|
33
33
|
|
34
34
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
35
|
-
data = PulpDebClient::
|
35
|
+
data = PulpDebClient::DebVerbatimPublication.new # DebVerbatimPublication |
|
36
36
|
|
37
37
|
begin
|
38
38
|
#Create a verbatim publication
|
@@ -48,7 +48,7 @@ end
|
|
48
48
|
|
49
49
|
Name | Type | Description | Notes
|
50
50
|
------------- | ------------- | ------------- | -------------
|
51
|
-
**data** | [**
|
51
|
+
**data** | [**DebVerbatimPublication**](DebVerbatimPublication.md)| |
|
52
52
|
|
53
53
|
### Return type
|
54
54
|
|
@@ -118,7 +118,7 @@ nil (empty response body)
|
|
118
118
|
|
119
119
|
## list
|
120
120
|
|
121
|
-
>
|
121
|
+
> InlineResponse2007 list(opts)
|
122
122
|
|
123
123
|
List verbatim publications
|
124
124
|
|
@@ -141,7 +141,8 @@ opts = {
|
|
141
141
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
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
|
@@ -162,10 +163,11 @@ Name | Type | Description | Notes
|
|
162
163
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
163
164
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
164
165
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
166
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
165
167
|
|
166
168
|
### Return type
|
167
169
|
|
168
|
-
[**
|
170
|
+
[**InlineResponse2007**](InlineResponse2007.md)
|
169
171
|
|
170
172
|
### Authorization
|
171
173
|
|
@@ -179,7 +181,7 @@ Name | Type | Description | Notes
|
|
179
181
|
|
180
182
|
## read
|
181
183
|
|
182
|
-
>
|
184
|
+
> DebVerbatimPublication read(verbatim_publication_href, opts)
|
183
185
|
|
184
186
|
Inspect a verbatim publication
|
185
187
|
|
@@ -200,7 +202,8 @@ end
|
|
200
202
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
201
203
|
verbatim_publication_href = 'verbatim_publication_href_example' # String | URI of Verbatim Publication. e.g.: /pulp/api/v3/publications/deb/verbatim/1/
|
202
204
|
opts = {
|
203
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
205
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
206
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
204
207
|
}
|
205
208
|
|
206
209
|
begin
|
@@ -219,10 +222,11 @@ Name | Type | Description | Notes
|
|
219
222
|
------------- | ------------- | ------------- | -------------
|
220
223
|
**verbatim_publication_href** | **String**| URI of Verbatim Publication. e.g.: /pulp/api/v3/publications/deb/verbatim/1/ |
|
221
224
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
225
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
222
226
|
|
223
227
|
### Return type
|
224
228
|
|
225
|
-
[**
|
229
|
+
[**DebVerbatimPublication**](DebVerbatimPublication.md)
|
226
230
|
|
227
231
|
### Authorization
|
228
232
|
|
data/docs/RemotesAptApi.md
CHANGED
@@ -9,14 +9,13 @@ Method | HTTP request | Description
|
|
9
9
|
[**list**](RemotesAptApi.md#list) | **GET** /pulp/api/v3/remotes/deb/apt/ | List deb remotes
|
10
10
|
[**partial_update**](RemotesAptApi.md#partial_update) | **PATCH** {deb_remote_href} | Partially update a deb remote
|
11
11
|
[**read**](RemotesAptApi.md#read) | **GET** {deb_remote_href} | Inspect a deb remote
|
12
|
-
[**sync**](RemotesAptApi.md#sync) | **POST** {deb_remote_href}sync/ |
|
13
12
|
[**update**](RemotesAptApi.md#update) | **PUT** {deb_remote_href} | Update a deb remote
|
14
13
|
|
15
14
|
|
16
15
|
|
17
16
|
## create
|
18
17
|
|
19
|
-
>
|
18
|
+
> DebDebRemote create(data)
|
20
19
|
|
21
20
|
Create a deb remote
|
22
21
|
|
@@ -35,7 +34,7 @@ PulpDebClient.configure do |config|
|
|
35
34
|
end
|
36
35
|
|
37
36
|
api_instance = PulpDebClient::RemotesAptApi.new
|
38
|
-
data = PulpDebClient::
|
37
|
+
data = PulpDebClient::DebDebRemote.new # DebDebRemote |
|
39
38
|
|
40
39
|
begin
|
41
40
|
#Create a deb remote
|
@@ -51,11 +50,11 @@ end
|
|
51
50
|
|
52
51
|
Name | Type | Description | Notes
|
53
52
|
------------- | ------------- | ------------- | -------------
|
54
|
-
**data** | [**
|
53
|
+
**data** | [**DebDebRemote**](DebDebRemote.md)| |
|
55
54
|
|
56
55
|
### Return type
|
57
56
|
|
58
|
-
[**
|
57
|
+
[**DebDebRemote**](DebDebRemote.md)
|
59
58
|
|
60
59
|
### Authorization
|
61
60
|
|
@@ -122,7 +121,7 @@ Name | Type | Description | Notes
|
|
122
121
|
|
123
122
|
## list
|
124
123
|
|
125
|
-
>
|
124
|
+
> InlineResponse2008 list(opts)
|
126
125
|
|
127
126
|
List deb remotes
|
128
127
|
|
@@ -144,15 +143,16 @@ api_instance = PulpDebClient::RemotesAptApi.new
|
|
144
143
|
opts = {
|
145
144
|
name: 'name_example', # String |
|
146
145
|
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
146
|
+
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | Filter results where pulp_last_updated is less than value
|
147
|
+
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | Filter results where pulp_last_updated is less than or equal to value
|
148
|
+
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | Filter results where pulp_last_updated is greater than value
|
149
|
+
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | Filter results where pulp_last_updated is greater than or equal to value
|
150
|
+
pulp_last_updated__range: 'pulp_last_updated__range_example', # String | Filter results where pulp_last_updated is between two comma separated values
|
151
|
+
pulp_last_updated: 'pulp_last_updated_example', # String | ISO 8601 formatted dates are supported
|
153
152
|
limit: 56, # Integer | Number of results to return per page.
|
154
153
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
154
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
155
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
156
156
|
}
|
157
157
|
|
158
158
|
begin
|
@@ -171,19 +171,20 @@ Name | Type | Description | Notes
|
|
171
171
|
------------- | ------------- | ------------- | -------------
|
172
172
|
**name** | **String**| | [optional]
|
173
173
|
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
174
|
-
**
|
175
|
-
**
|
176
|
-
**
|
177
|
-
**
|
178
|
-
**
|
179
|
-
**
|
174
|
+
**pulp_last_updated__lt** | **String**| Filter results where pulp_last_updated is less than value | [optional]
|
175
|
+
**pulp_last_updated__lte** | **String**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
176
|
+
**pulp_last_updated__gt** | **String**| Filter results where pulp_last_updated is greater than value | [optional]
|
177
|
+
**pulp_last_updated__gte** | **String**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
|
178
|
+
**pulp_last_updated__range** | **String**| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
179
|
+
**pulp_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
|
180
180
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
181
181
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
182
182
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
183
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
183
184
|
|
184
185
|
### Return type
|
185
186
|
|
186
|
-
[**
|
187
|
+
[**InlineResponse2008**](InlineResponse2008.md)
|
187
188
|
|
188
189
|
### Authorization
|
189
190
|
|
@@ -217,7 +218,7 @@ end
|
|
217
218
|
|
218
219
|
api_instance = PulpDebClient::RemotesAptApi.new
|
219
220
|
deb_remote_href = 'deb_remote_href_example' # String | URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
|
220
|
-
data = PulpDebClient::
|
221
|
+
data = PulpDebClient::DebDebRemote.new # DebDebRemote |
|
221
222
|
|
222
223
|
begin
|
223
224
|
#Partially update a deb remote
|
@@ -234,7 +235,7 @@ end
|
|
234
235
|
Name | Type | Description | Notes
|
235
236
|
------------- | ------------- | ------------- | -------------
|
236
237
|
**deb_remote_href** | **String**| URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/ |
|
237
|
-
**data** | [**
|
238
|
+
**data** | [**DebDebRemote**](DebDebRemote.md)| |
|
238
239
|
|
239
240
|
### Return type
|
240
241
|
|
@@ -252,7 +253,7 @@ Name | Type | Description | Notes
|
|
252
253
|
|
253
254
|
## read
|
254
255
|
|
255
|
-
>
|
256
|
+
> DebDebRemote read(deb_remote_href, opts)
|
256
257
|
|
257
258
|
Inspect a deb remote
|
258
259
|
|
@@ -273,7 +274,8 @@ end
|
|
273
274
|
api_instance = PulpDebClient::RemotesAptApi.new
|
274
275
|
deb_remote_href = 'deb_remote_href_example' # String | URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
|
275
276
|
opts = {
|
276
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
277
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
278
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
277
279
|
}
|
278
280
|
|
279
281
|
begin
|
@@ -292,10 +294,11 @@ Name | Type | Description | Notes
|
|
292
294
|
------------- | ------------- | ------------- | -------------
|
293
295
|
**deb_remote_href** | **String**| URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/ |
|
294
296
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
297
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
295
298
|
|
296
299
|
### Return type
|
297
300
|
|
298
|
-
[**
|
301
|
+
[**DebDebRemote**](DebDebRemote.md)
|
299
302
|
|
300
303
|
### Authorization
|
301
304
|
|
@@ -307,60 +310,6 @@ Name | Type | Description | Notes
|
|
307
310
|
- **Accept**: application/json
|
308
311
|
|
309
312
|
|
310
|
-
## sync
|
311
|
-
|
312
|
-
> AsyncOperationResponse sync(deb_remote_href, data)
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
Trigger an asynchronous task to sync content
|
317
|
-
|
318
|
-
### Example
|
319
|
-
|
320
|
-
```ruby
|
321
|
-
# load the gem
|
322
|
-
require 'pulp_deb_client'
|
323
|
-
# setup authorization
|
324
|
-
PulpDebClient.configure do |config|
|
325
|
-
# Configure HTTP basic authorization: Basic
|
326
|
-
config.username = 'YOUR USERNAME'
|
327
|
-
config.password = 'YOUR PASSWORD'
|
328
|
-
end
|
329
|
-
|
330
|
-
api_instance = PulpDebClient::RemotesAptApi.new
|
331
|
-
deb_remote_href = 'deb_remote_href_example' # String | URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
|
332
|
-
data = PulpDebClient::RepositorySyncURL.new # RepositorySyncURL |
|
333
|
-
|
334
|
-
begin
|
335
|
-
result = api_instance.sync(deb_remote_href, data)
|
336
|
-
p result
|
337
|
-
rescue PulpDebClient::ApiError => e
|
338
|
-
puts "Exception when calling RemotesAptApi->sync: #{e}"
|
339
|
-
end
|
340
|
-
```
|
341
|
-
|
342
|
-
### Parameters
|
343
|
-
|
344
|
-
|
345
|
-
Name | Type | Description | Notes
|
346
|
-
------------- | ------------- | ------------- | -------------
|
347
|
-
**deb_remote_href** | **String**| URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/ |
|
348
|
-
**data** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
|
349
|
-
|
350
|
-
### Return type
|
351
|
-
|
352
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
353
|
-
|
354
|
-
### Authorization
|
355
|
-
|
356
|
-
[Basic](../README.md#Basic)
|
357
|
-
|
358
|
-
### HTTP request headers
|
359
|
-
|
360
|
-
- **Content-Type**: application/json
|
361
|
-
- **Accept**: application/json
|
362
|
-
|
363
|
-
|
364
313
|
## update
|
365
314
|
|
366
315
|
> AsyncOperationResponse update(deb_remote_href, data)
|
@@ -383,7 +332,7 @@ end
|
|
383
332
|
|
384
333
|
api_instance = PulpDebClient::RemotesAptApi.new
|
385
334
|
deb_remote_href = 'deb_remote_href_example' # String | URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
|
386
|
-
data = PulpDebClient::
|
335
|
+
data = PulpDebClient::DebDebRemote.new # DebDebRemote |
|
387
336
|
|
388
337
|
begin
|
389
338
|
#Update a deb remote
|
@@ -400,7 +349,7 @@ end
|
|
400
349
|
Name | Type | Description | Notes
|
401
350
|
------------- | ------------- | ------------- | -------------
|
402
351
|
**deb_remote_href** | **String**| URI of Deb Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/ |
|
403
|
-
**data** | [**
|
352
|
+
**data** | [**DebDebRemote**](DebDebRemote.md)| |
|
404
353
|
|
405
354
|
### Return type
|
406
355
|
|