pulp_deb_client 2.21.2 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -5
  3. data/docs/ContentGenericContentsApi.md +3 -1
  4. data/docs/ContentInstallerFileIndicesApi.md +3 -1
  5. data/docs/ContentInstallerPackagesApi.md +3 -1
  6. data/docs/ContentPackageIndicesApi.md +3 -1
  7. data/docs/ContentPackageReleaseComponentsApi.md +3 -1
  8. data/docs/ContentPackagesApi.md +7 -1
  9. data/docs/ContentReleaseArchitecturesApi.md +5 -7
  10. data/docs/ContentReleaseComponentsApi.md +7 -7
  11. data/docs/ContentReleaseFilesApi.md +3 -1
  12. data/docs/ContentReleasesApi.md +13 -3
  13. data/docs/DebAptPublication.md +4 -2
  14. data/docs/DebAptPublicationResponse.md +4 -2
  15. data/docs/DebAptRepository.md +7 -1
  16. data/docs/DebAptRepositoryResponse.md +7 -1
  17. data/docs/DebCopyApi.md +1 -1
  18. data/docs/DebRelease.md +9 -1
  19. data/docs/DebReleaseArchitecture.md +1 -5
  20. data/docs/DebReleaseArchitectureResponse.md +1 -5
  21. data/docs/DebReleaseComponent.md +1 -5
  22. data/docs/DebReleaseComponentResponse.md +1 -5
  23. data/docs/DebReleaseFile.md +3 -3
  24. data/docs/DebReleaseFileResponse.md +3 -3
  25. data/docs/DebReleaseResponse.md +9 -1
  26. data/docs/DistributionsAptApi.md +123 -1
  27. data/docs/PatcheddebAptRepository.md +7 -1
  28. data/docs/PublicationsAptApi.md +3 -1
  29. data/docs/PublicationsVerbatimApi.md +3 -1
  30. data/docs/RemotesAptApi.md +123 -1
  31. data/docs/RepositoriesAptApi.md +123 -1
  32. data/docs/RepositoriesAptVersionsApi.md +3 -1
  33. data/docs/SetLabel.md +19 -0
  34. data/docs/SetLabelResponse.md +19 -0
  35. data/docs/UnsetLabel.md +17 -0
  36. data/docs/UnsetLabelResponse.md +19 -0
  37. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +3 -0
  38. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +3 -0
  39. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +3 -0
  40. data/lib/pulp_deb_client/api/content_package_indices_api.rb +3 -0
  41. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +3 -0
  42. data/lib/pulp_deb_client/api/content_packages_api.rb +9 -0
  43. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +6 -9
  44. data/lib/pulp_deb_client/api/content_release_components_api.rb +9 -9
  45. data/lib/pulp_deb_client/api/content_release_files_api.rb +3 -0
  46. data/lib/pulp_deb_client/api/content_releases_api.rb +18 -3
  47. data/lib/pulp_deb_client/api/distributions_apt_api.rb +155 -0
  48. data/lib/pulp_deb_client/api/publications_apt_api.rb +3 -0
  49. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -0
  50. data/lib/pulp_deb_client/api/remotes_apt_api.rb +155 -0
  51. data/lib/pulp_deb_client/api/repositories_apt_api.rb +155 -0
  52. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +3 -0
  53. data/lib/pulp_deb_client/configuration.rb +2 -2
  54. data/lib/pulp_deb_client/models/deb_apt_publication.rb +14 -5
  55. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +14 -5
  56. data/lib/pulp_deb_client/models/deb_apt_repository.rb +38 -5
  57. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +38 -5
  58. data/lib/pulp_deb_client/models/deb_release.rb +104 -4
  59. data/lib/pulp_deb_client/models/deb_release_architecture.rb +4 -70
  60. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +4 -32
  61. data/lib/pulp_deb_client/models/deb_release_component.rb +4 -70
  62. data/lib/pulp_deb_client/models/deb_release_component_response.rb +4 -32
  63. data/lib/pulp_deb_client/models/deb_release_file.rb +3 -3
  64. data/lib/pulp_deb_client/models/deb_release_file_response.rb +3 -3
  65. data/lib/pulp_deb_client/models/deb_release_response.rb +44 -4
  66. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +38 -5
  67. data/lib/pulp_deb_client/models/set_label.rb +252 -0
  68. data/lib/pulp_deb_client/models/set_label_response.rb +243 -0
  69. data/lib/pulp_deb_client/models/unset_label.rb +242 -0
  70. data/lib/pulp_deb_client/models/unset_label_response.rb +242 -0
  71. data/lib/pulp_deb_client/version.rb +1 -1
  72. data/lib/pulp_deb_client.rb +4 -0
  73. data/spec/api/content_generic_contents_api_spec.rb +1 -0
  74. data/spec/api/content_installer_file_indices_api_spec.rb +1 -0
  75. data/spec/api/content_installer_packages_api_spec.rb +1 -0
  76. data/spec/api/content_package_indices_api_spec.rb +1 -0
  77. data/spec/api/content_package_release_components_api_spec.rb +1 -0
  78. data/spec/api/content_packages_api_spec.rb +3 -0
  79. data/spec/api/content_release_architectures_api_spec.rb +2 -3
  80. data/spec/api/content_release_components_api_spec.rb +3 -3
  81. data/spec/api/content_release_files_api_spec.rb +1 -0
  82. data/spec/api/content_releases_api_spec.rb +6 -1
  83. data/spec/api/distributions_apt_api_spec.rb +31 -0
  84. data/spec/api/publications_apt_api_spec.rb +1 -0
  85. data/spec/api/publications_verbatim_api_spec.rb +1 -0
  86. data/spec/api/remotes_apt_api_spec.rb +31 -0
  87. data/spec/api/repositories_apt_api_spec.rb +31 -0
  88. data/spec/api/repositories_apt_versions_api_spec.rb +1 -0
  89. data/spec/configuration_spec.rb +3 -3
  90. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  91. data/spec/models/deb_apt_publication_spec.rb +6 -0
  92. data/spec/models/deb_apt_repository_response_spec.rb +18 -0
  93. data/spec/models/deb_apt_repository_spec.rb +18 -0
  94. data/spec/models/deb_release_architecture_response_spec.rb +0 -12
  95. data/spec/models/deb_release_architecture_spec.rb +0 -12
  96. data/spec/models/deb_release_component_response_spec.rb +0 -12
  97. data/spec/models/deb_release_component_spec.rb +0 -12
  98. data/spec/models/deb_release_response_spec.rb +24 -0
  99. data/spec/models/deb_release_spec.rb +24 -0
  100. data/spec/models/patcheddeb_apt_repository_spec.rb +18 -0
  101. data/spec/models/set_label_response_spec.rb +47 -0
  102. data/spec/models/set_label_spec.rb +47 -0
  103. data/spec/models/unset_label_response_spec.rb +47 -0
  104. data/spec/models/unset_label_spec.rb +41 -0
  105. metadata +72 -56
@@ -8,8 +8,6 @@ Name | Type | Description | Notes
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **architecture** | **String** | Name of the architecture. |
10
10
  **distribution** | **String** | Name of the distribution. |
11
- **codename** | **String** | |
12
- **suite** | **String** | |
13
11
 
14
12
  ## Code Sample
15
13
 
@@ -19,9 +17,7 @@ require 'PulpDebClient'
19
17
  instance = PulpDebClient::DebReleaseArchitectureResponse.new(pulp_href: null,
20
18
  pulp_created: null,
21
19
  architecture: null,
22
- distribution: null,
23
- codename: null,
24
- suite: null)
20
+ distribution: null)
25
21
  ```
26
22
 
27
23
 
@@ -7,8 +7,6 @@ Name | Type | Description | Notes
7
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
8
  **component** | **String** | Name of the component. |
9
9
  **distribution** | **String** | Name of the distribution. |
10
- **codename** | **String** | |
11
- **suite** | **String** | |
12
10
 
13
11
  ## Code Sample
14
12
 
@@ -17,9 +15,7 @@ require 'PulpDebClient'
17
15
 
18
16
  instance = PulpDebClient::DebReleaseComponent.new(repository: null,
19
17
  component: null,
20
- distribution: null,
21
- codename: null,
22
- suite: null)
18
+ distribution: null)
23
19
  ```
24
20
 
25
21
 
@@ -8,8 +8,6 @@ Name | Type | Description | Notes
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **component** | **String** | Name of the component. |
10
10
  **distribution** | **String** | Name of the distribution. |
11
- **codename** | **String** | |
12
- **suite** | **String** | |
13
11
 
14
12
  ## Code Sample
15
13
 
@@ -19,9 +17,7 @@ require 'PulpDebClient'
19
17
  instance = PulpDebClient::DebReleaseComponentResponse.new(pulp_href: null,
20
18
  pulp_created: null,
21
19
  component: null,
22
- distribution: null,
23
- codename: null,
24
- suite: null)
20
+ distribution: null)
25
21
  ```
26
22
 
27
23
 
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
8
  **artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
9
- **codename** | **String** | Codename of the release, i.e. \"buster\". | [optional]
10
- **suite** | **String** | Suite of the release, i.e. \"stable\". | [optional]
11
- **distribution** | **String** | Distribution of the release, i.e. \"stable/updates\". |
9
+ **codename** | **String** | Codename of the release, e.g. \"buster\". | [optional]
10
+ **suite** | **String** | Suite of the release, e.g. \"stable\". | [optional]
11
+ **distribution** | **String** | Distribution of the release, e.g. \"stable/updates\". |
12
12
  **relative_path** | **String** | Path of file relative to url. | [optional]
13
13
 
14
14
  ## Code Sample
@@ -7,9 +7,9 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
10
- **codename** | **String** | Codename of the release, i.e. \"buster\". | [optional]
11
- **suite** | **String** | Suite of the release, i.e. \"stable\". | [optional]
12
- **distribution** | **String** | Distribution of the release, i.e. \"stable/updates\". |
10
+ **codename** | **String** | Codename of the release, e.g. \"buster\". | [optional]
11
+ **suite** | **String** | Suite of the release, e.g. \"stable\". | [optional]
12
+ **distribution** | **String** | Distribution of the release, e.g. \"stable/updates\". |
13
13
  **relative_path** | **String** | Path of file relative to url. | [optional]
14
14
 
15
15
  ## Code Sample
@@ -9,6 +9,10 @@ Name | Type | Description | Notes
9
9
  **codename** | **String** | |
10
10
  **suite** | **String** | |
11
11
  **distribution** | **String** | |
12
+ **version** | **String** | | [optional]
13
+ **origin** | **String** | | [optional]
14
+ **label** | **String** | | [optional]
15
+ **description** | **String** | | [optional]
12
16
 
13
17
  ## Code Sample
14
18
 
@@ -19,7 +23,11 @@ instance = PulpDebClient::DebReleaseResponse.new(pulp_href: null,
19
23
  pulp_created: null,
20
24
  codename: null,
21
25
  suite: null,
22
- distribution: null)
26
+ distribution: null,
27
+ version: null,
28
+ origin: null,
29
+ label: null,
30
+ description: null)
23
31
  ```
24
32
 
25
33
 
@@ -1,6 +1,6 @@
1
1
  # PulpDebClient::DistributionsAptApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -9,6 +9,8 @@ Method | HTTP request | Description
9
9
  [**list**](DistributionsAptApi.md#list) | **GET** /pulp/api/v3/distributions/deb/apt/ | List apt distributions
10
10
  [**partial_update**](DistributionsAptApi.md#partial_update) | **PATCH** {deb_apt_distribution_href} | Update an apt distribution
11
11
  [**read**](DistributionsAptApi.md#read) | **GET** {deb_apt_distribution_href} | Inspect an apt distribution
12
+ [**set_label**](DistributionsAptApi.md#set_label) | **POST** {deb_apt_distribution_href}set_label/ | Set a label
13
+ [**unset_label**](DistributionsAptApi.md#unset_label) | **POST** {deb_apt_distribution_href}unset_label/ | Unset a label
12
14
  [**update**](DistributionsAptApi.md#update) | **PUT** {deb_apt_distribution_href} | Update an apt distribution
13
15
 
14
16
 
@@ -149,13 +151,18 @@ opts = {
149
151
  name: 'name_example', # String | Filter results where name matches value
150
152
  name__contains: 'name__contains_example', # String | Filter results where name contains value
151
153
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
154
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
152
155
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
156
+ name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
157
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
158
+ name__regex: 'name__regex_example', # String | Filter results where name matches regex value
153
159
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
154
160
  offset: 56, # Integer | The initial index from which to return the results.
155
161
  ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
156
162
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
157
163
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
158
164
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
165
+ q: 'q_example', # String |
159
166
  repository: 'repository_example', # String | Filter results where repository matches value
160
167
  repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
161
168
  with_content: 'with_content_example', # String | Filter distributions based on the content served by them
@@ -185,13 +192,18 @@ Name | Type | Description | Notes
185
192
  **name** | **String**| Filter results where name matches value | [optional]
186
193
  **name__contains** | **String**| Filter results where name contains value | [optional]
187
194
  **name__icontains** | **String**| Filter results where name contains value | [optional]
195
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
188
196
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
197
+ **name__iregex** | **String**| Filter results where name matches regex value | [optional]
198
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
199
+ **name__regex** | **String**| Filter results where name matches regex value | [optional]
189
200
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
190
201
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
191
202
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
192
203
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
193
204
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
194
205
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
206
+ **q** | **String**| | [optional]
195
207
  **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
196
208
  **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
197
209
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
@@ -326,6 +338,116 @@ Name | Type | Description | Notes
326
338
  - **Accept**: application/json
327
339
 
328
340
 
341
+ ## set_label
342
+
343
+ > SetLabelResponse set_label(deb_apt_distribution_href, set_label)
344
+
345
+ Set a label
346
+
347
+ Set a single pulp_label on the object to a specific value or null.
348
+
349
+ ### Example
350
+
351
+ ```ruby
352
+ # load the gem
353
+ require 'pulp_deb_client'
354
+ # setup authorization
355
+ PulpDebClient.configure do |config|
356
+ # Configure HTTP basic authorization: basicAuth
357
+ config.username = 'YOUR USERNAME'
358
+ config.password = 'YOUR PASSWORD'
359
+ end
360
+
361
+ api_instance = PulpDebClient::DistributionsAptApi.new
362
+ deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
363
+ set_label = PulpDebClient::SetLabel.new # SetLabel |
364
+
365
+ begin
366
+ #Set a label
367
+ result = api_instance.set_label(deb_apt_distribution_href, set_label)
368
+ p result
369
+ rescue PulpDebClient::ApiError => e
370
+ puts "Exception when calling DistributionsAptApi->set_label: #{e}"
371
+ end
372
+ ```
373
+
374
+ ### Parameters
375
+
376
+
377
+ Name | Type | Description | Notes
378
+ ------------- | ------------- | ------------- | -------------
379
+ **deb_apt_distribution_href** | **String**| |
380
+ **set_label** | [**SetLabel**](SetLabel.md)| |
381
+
382
+ ### Return type
383
+
384
+ [**SetLabelResponse**](SetLabelResponse.md)
385
+
386
+ ### Authorization
387
+
388
+ [basicAuth](../README.md#basicAuth)
389
+
390
+ ### HTTP request headers
391
+
392
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
393
+ - **Accept**: application/json
394
+
395
+
396
+ ## unset_label
397
+
398
+ > UnsetLabelResponse unset_label(deb_apt_distribution_href, unset_label)
399
+
400
+ Unset a label
401
+
402
+ Unset a single pulp_label on the object.
403
+
404
+ ### Example
405
+
406
+ ```ruby
407
+ # load the gem
408
+ require 'pulp_deb_client'
409
+ # setup authorization
410
+ PulpDebClient.configure do |config|
411
+ # Configure HTTP basic authorization: basicAuth
412
+ config.username = 'YOUR USERNAME'
413
+ config.password = 'YOUR PASSWORD'
414
+ end
415
+
416
+ api_instance = PulpDebClient::DistributionsAptApi.new
417
+ deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
418
+ unset_label = PulpDebClient::UnsetLabel.new # UnsetLabel |
419
+
420
+ begin
421
+ #Unset a label
422
+ result = api_instance.unset_label(deb_apt_distribution_href, unset_label)
423
+ p result
424
+ rescue PulpDebClient::ApiError => e
425
+ puts "Exception when calling DistributionsAptApi->unset_label: #{e}"
426
+ end
427
+ ```
428
+
429
+ ### Parameters
430
+
431
+
432
+ Name | Type | Description | Notes
433
+ ------------- | ------------- | ------------- | -------------
434
+ **deb_apt_distribution_href** | **String**| |
435
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
436
+
437
+ ### Return type
438
+
439
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
440
+
441
+ ### Authorization
442
+
443
+ [basicAuth](../README.md#basicAuth)
444
+
445
+ ### HTTP request headers
446
+
447
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
448
+ - **Accept**: application/json
449
+
450
+
329
451
  ## update
330
452
 
331
453
  > AsyncOperationResponse update(deb_apt_distribution_href, deb_apt_distribution)
@@ -9,6 +9,9 @@ Name | Type | Description | Notes
9
9
  **description** | **String** | An optional description. | [optional]
10
10
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
11
  **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
+ **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it&#39;s own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional]
13
+ **signing_service** | **String** | A reference to an associated signing service. Used if AptPublication.signing_service is not set | [optional]
14
+ **signing_service_release_overrides** | **Hash&lt;String, String&gt;** | A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\&quot;bionic\&quot;: \&quot;/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\&quot;} | [optional]
12
15
 
13
16
  ## Code Sample
14
17
 
@@ -19,7 +22,10 @@ instance = PulpDebClient::PatcheddebAptRepository.new(pulp_labels: null,
19
22
  name: null,
20
23
  description: null,
21
24
  retain_repo_versions: null,
22
- remote: null)
25
+ remote: null,
26
+ publish_upstream_release_fields: null,
27
+ signing_service: null,
28
+ signing_service_release_overrides: null)
23
29
  ```
24
30
 
25
31
 
@@ -1,6 +1,6 @@
1
1
  # PulpDebClient::PublicationsAptApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -151,6 +151,7 @@ opts = {
151
151
  pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
152
152
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
153
153
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
154
+ q: 'q_example', # String |
154
155
  repository: 'repository_example', # String | Repository referenced by HREF
155
156
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
156
157
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
@@ -184,6 +185,7 @@ Name | Type | Description | Notes
184
185
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
185
186
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
186
187
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
188
+ **q** | **String**| | [optional]
187
189
  **repository** | **String**| Repository referenced by HREF | [optional]
188
190
  **repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
189
191
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
@@ -1,6 +1,6 @@
1
1
  # PulpDebClient::PublicationsVerbatimApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -151,6 +151,7 @@ opts = {
151
151
  pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
152
152
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
153
153
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
154
+ q: 'q_example', # String |
154
155
  repository: 'repository_example', # String | Repository referenced by HREF
155
156
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
156
157
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
@@ -184,6 +185,7 @@ Name | Type | Description | Notes
184
185
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
185
186
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
186
187
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
188
+ **q** | **String**| | [optional]
187
189
  **repository** | **String**| Repository referenced by HREF | [optional]
188
190
  **repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
189
191
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
@@ -1,6 +1,6 @@
1
1
  # PulpDebClient::RemotesAptApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -9,6 +9,8 @@ Method | HTTP request | Description
9
9
  [**list**](RemotesAptApi.md#list) | **GET** /pulp/api/v3/remotes/deb/apt/ | List apt remotes
10
10
  [**partial_update**](RemotesAptApi.md#partial_update) | **PATCH** {deb_apt_remote_href} | Update an apt remote
11
11
  [**read**](RemotesAptApi.md#read) | **GET** {deb_apt_remote_href} | Inspect an apt remote
12
+ [**set_label**](RemotesAptApi.md#set_label) | **POST** {deb_apt_remote_href}set_label/ | Set a label
13
+ [**unset_label**](RemotesAptApi.md#unset_label) | **POST** {deb_apt_remote_href}unset_label/ | Unset a label
12
14
  [**update**](RemotesAptApi.md#update) | **PUT** {deb_apt_remote_href} | Update an apt remote
13
15
 
14
16
 
@@ -145,7 +147,11 @@ opts = {
145
147
  name: 'name_example', # String | Filter results where name matches value
146
148
  name__contains: 'name__contains_example', # String | Filter results where name contains value
147
149
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
150
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
148
151
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
152
+ name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
153
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
154
+ name__regex: 'name__regex_example', # String | Filter results where name matches regex value
149
155
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
156
  offset: 56, # Integer | The initial index from which to return the results.
151
157
  ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
@@ -158,6 +164,7 @@ opts = {
158
164
  pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
159
165
  pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
160
166
  pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
167
+ q: 'q_example', # String |
161
168
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
162
169
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
163
170
  }
@@ -180,7 +187,11 @@ Name | Type | Description | Notes
180
187
  **name** | **String**| Filter results where name matches value | [optional]
181
188
  **name__contains** | **String**| Filter results where name contains value | [optional]
182
189
  **name__icontains** | **String**| Filter results where name contains value | [optional]
190
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
183
191
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
192
+ **name__iregex** | **String**| Filter results where name matches regex value | [optional]
193
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
194
+ **name__regex** | **String**| Filter results where name matches regex value | [optional]
184
195
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
185
196
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
186
197
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
@@ -193,6 +204,7 @@ Name | Type | Description | Notes
193
204
  **pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
194
205
  **pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
195
206
  **pulp_last_updated__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
207
+ **q** | **String**| | [optional]
196
208
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
197
209
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
198
210
 
@@ -324,6 +336,116 @@ Name | Type | Description | Notes
324
336
  - **Accept**: application/json
325
337
 
326
338
 
339
+ ## set_label
340
+
341
+ > SetLabelResponse set_label(deb_apt_remote_href, set_label)
342
+
343
+ Set a label
344
+
345
+ Set a single pulp_label on the object to a specific value or null.
346
+
347
+ ### Example
348
+
349
+ ```ruby
350
+ # load the gem
351
+ require 'pulp_deb_client'
352
+ # setup authorization
353
+ PulpDebClient.configure do |config|
354
+ # Configure HTTP basic authorization: basicAuth
355
+ config.username = 'YOUR USERNAME'
356
+ config.password = 'YOUR PASSWORD'
357
+ end
358
+
359
+ api_instance = PulpDebClient::RemotesAptApi.new
360
+ deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
361
+ set_label = PulpDebClient::SetLabel.new # SetLabel |
362
+
363
+ begin
364
+ #Set a label
365
+ result = api_instance.set_label(deb_apt_remote_href, set_label)
366
+ p result
367
+ rescue PulpDebClient::ApiError => e
368
+ puts "Exception when calling RemotesAptApi->set_label: #{e}"
369
+ end
370
+ ```
371
+
372
+ ### Parameters
373
+
374
+
375
+ Name | Type | Description | Notes
376
+ ------------- | ------------- | ------------- | -------------
377
+ **deb_apt_remote_href** | **String**| |
378
+ **set_label** | [**SetLabel**](SetLabel.md)| |
379
+
380
+ ### Return type
381
+
382
+ [**SetLabelResponse**](SetLabelResponse.md)
383
+
384
+ ### Authorization
385
+
386
+ [basicAuth](../README.md#basicAuth)
387
+
388
+ ### HTTP request headers
389
+
390
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
391
+ - **Accept**: application/json
392
+
393
+
394
+ ## unset_label
395
+
396
+ > UnsetLabelResponse unset_label(deb_apt_remote_href, unset_label)
397
+
398
+ Unset a label
399
+
400
+ Unset a single pulp_label on the object.
401
+
402
+ ### Example
403
+
404
+ ```ruby
405
+ # load the gem
406
+ require 'pulp_deb_client'
407
+ # setup authorization
408
+ PulpDebClient.configure do |config|
409
+ # Configure HTTP basic authorization: basicAuth
410
+ config.username = 'YOUR USERNAME'
411
+ config.password = 'YOUR PASSWORD'
412
+ end
413
+
414
+ api_instance = PulpDebClient::RemotesAptApi.new
415
+ deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
416
+ unset_label = PulpDebClient::UnsetLabel.new # UnsetLabel |
417
+
418
+ begin
419
+ #Unset a label
420
+ result = api_instance.unset_label(deb_apt_remote_href, unset_label)
421
+ p result
422
+ rescue PulpDebClient::ApiError => e
423
+ puts "Exception when calling RemotesAptApi->unset_label: #{e}"
424
+ end
425
+ ```
426
+
427
+ ### Parameters
428
+
429
+
430
+ Name | Type | Description | Notes
431
+ ------------- | ------------- | ------------- | -------------
432
+ **deb_apt_remote_href** | **String**| |
433
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
434
+
435
+ ### Return type
436
+
437
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
438
+
439
+ ### Authorization
440
+
441
+ [basicAuth](../README.md#basicAuth)
442
+
443
+ ### HTTP request headers
444
+
445
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
446
+ - **Accept**: application/json
447
+
448
+
327
449
  ## update
328
450
 
329
451
  > AsyncOperationResponse update(deb_apt_remote_href, deb_apt_remote)