pulp_deb_client 3.5.1 → 3.6.0

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.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -4
  3. data/docs/ContentGenericContentsApi.md +166 -2
  4. data/docs/ContentInstallerFileIndicesApi.md +170 -6
  5. data/docs/ContentInstallerPackagesApi.md +166 -2
  6. data/docs/ContentPackageIndicesApi.md +170 -6
  7. data/docs/ContentPackageReleaseComponentsApi.md +170 -6
  8. data/docs/ContentPackagesApi.md +166 -2
  9. data/docs/ContentReleaseArchitecturesApi.md +170 -6
  10. data/docs/ContentReleaseComponentsApi.md +170 -6
  11. data/docs/ContentReleaseFilesApi.md +170 -6
  12. data/docs/ContentReleasesApi.md +170 -6
  13. data/docs/ContentSourceIndicesApi.md +170 -6
  14. data/docs/ContentSourcePackagesApi.md +170 -6
  15. data/docs/ContentSourceReleaseComponentsApi.md +170 -6
  16. data/docs/DebAptDistribution.md +3 -1
  17. data/docs/DebAptDistributionResponse.md +3 -1
  18. data/docs/DebAptPublication.md +2 -0
  19. data/docs/DebAptPublicationResponse.md +2 -0
  20. data/docs/DebCopyApi.md +8 -4
  21. data/docs/DebGenericContentResponse.md +2 -0
  22. data/docs/DebInstallerFileIndex.md +2 -0
  23. data/docs/DebInstallerFileIndexResponse.md +2 -0
  24. data/docs/DebInstallerPackageResponse.md +2 -0
  25. data/docs/DebPackageIndex.md +2 -0
  26. data/docs/DebPackageIndexResponse.md +2 -0
  27. data/docs/DebPackageReleaseComponent.md +2 -0
  28. data/docs/DebPackageReleaseComponentResponse.md +2 -0
  29. data/docs/DebPackageResponse.md +2 -0
  30. data/docs/DebRelease.md +2 -0
  31. data/docs/DebReleaseArchitecture.md +2 -0
  32. data/docs/DebReleaseArchitectureResponse.md +2 -0
  33. data/docs/DebReleaseComponent.md +2 -0
  34. data/docs/DebReleaseComponentResponse.md +2 -0
  35. data/docs/DebReleaseFile.md +2 -0
  36. data/docs/DebReleaseFileResponse.md +2 -0
  37. data/docs/DebReleaseResponse.md +2 -0
  38. data/docs/DebSourceIndex.md +2 -0
  39. data/docs/DebSourceIndexResponse.md +2 -0
  40. data/docs/DebSourcePackage.md +2 -0
  41. data/docs/DebSourcePackageReleaseComponent.md +2 -0
  42. data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
  43. data/docs/DebSourcePackageResponse.md +2 -0
  44. data/docs/DistributionsAptApi.md +76 -34
  45. data/docs/PatcheddebAptDistribution.md +3 -1
  46. data/docs/PublicationsAptApi.md +44 -18
  47. data/docs/PublicationsVerbatimApi.md +44 -18
  48. data/docs/RemotesAptApi.md +72 -32
  49. data/docs/RepositoriesAptApi.md +88 -40
  50. data/docs/RepositoriesAptVersionsApi.md +22 -10
  51. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +172 -3
  52. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +169 -3
  53. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +172 -3
  54. data/lib/pulp_deb_client/api/content_package_indices_api.rb +169 -3
  55. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +169 -3
  56. data/lib/pulp_deb_client/api/content_packages_api.rb +172 -3
  57. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +169 -3
  58. data/lib/pulp_deb_client/api/content_release_components_api.rb +169 -3
  59. data/lib/pulp_deb_client/api/content_release_files_api.rb +169 -3
  60. data/lib/pulp_deb_client/api/content_releases_api.rb +169 -3
  61. data/lib/pulp_deb_client/api/content_source_indices_api.rb +169 -3
  62. data/lib/pulp_deb_client/api/content_source_packages_api.rb +169 -3
  63. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +169 -3
  64. data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
  65. data/lib/pulp_deb_client/api/distributions_apt_api.rb +42 -3
  66. data/lib/pulp_deb_client/api/publications_apt_api.rb +30 -3
  67. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +30 -3
  68. data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
  69. data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
  70. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
  71. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
  72. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
  73. data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
  74. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
  75. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
  76. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
  77. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
  78. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
  79. data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
  80. data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
  81. data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
  82. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
  83. data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
  84. data/lib/pulp_deb_client/models/deb_release.rb +13 -1
  85. data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
  86. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
  87. data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
  88. data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
  89. data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
  90. data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
  91. data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
  92. data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
  93. data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
  94. data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
  95. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
  96. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
  97. data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
  98. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
  99. data/lib/pulp_deb_client/models/unset_label.rb +1 -1
  100. data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
  101. data/lib/pulp_deb_client/version.rb +1 -1
  102. data/pulp_deb_client.gemspec +0 -1
  103. data/spec/api/content_generic_contents_api_spec.rb +34 -1
  104. data/spec/api/content_installer_file_indices_api_spec.rb +33 -1
  105. data/spec/api/content_installer_packages_api_spec.rb +34 -1
  106. data/spec/api/content_package_indices_api_spec.rb +33 -1
  107. data/spec/api/content_package_release_components_api_spec.rb +33 -1
  108. data/spec/api/content_packages_api_spec.rb +34 -1
  109. data/spec/api/content_release_architectures_api_spec.rb +33 -1
  110. data/spec/api/content_release_components_api_spec.rb +33 -1
  111. data/spec/api/content_release_files_api_spec.rb +33 -1
  112. data/spec/api/content_releases_api_spec.rb +33 -1
  113. data/spec/api/content_source_indices_api_spec.rb +33 -1
  114. data/spec/api/content_source_packages_api_spec.rb +33 -1
  115. data/spec/api/content_source_release_components_api_spec.rb +33 -1
  116. data/spec/api/deb_copy_api_spec.rb +1 -0
  117. data/spec/api/distributions_apt_api_spec.rb +14 -1
  118. data/spec/api/publications_apt_api_spec.rb +10 -1
  119. data/spec/api/publications_verbatim_api_spec.rb +10 -1
  120. data/spec/api/remotes_apt_api_spec.rb +12 -0
  121. data/spec/api/repositories_apt_api_spec.rb +14 -0
  122. data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
  123. data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
  124. data/spec/models/deb_apt_distribution_spec.rb +6 -0
  125. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  126. data/spec/models/deb_apt_publication_spec.rb +6 -0
  127. data/spec/models/deb_generic_content_response_spec.rb +6 -0
  128. data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
  129. data/spec/models/deb_installer_file_index_spec.rb +6 -0
  130. data/spec/models/deb_installer_package_response_spec.rb +6 -0
  131. data/spec/models/deb_package_index_response_spec.rb +6 -0
  132. data/spec/models/deb_package_index_spec.rb +6 -0
  133. data/spec/models/deb_package_release_component_response_spec.rb +6 -0
  134. data/spec/models/deb_package_release_component_spec.rb +6 -0
  135. data/spec/models/deb_package_response_spec.rb +6 -0
  136. data/spec/models/deb_release_architecture_response_spec.rb +6 -0
  137. data/spec/models/deb_release_architecture_spec.rb +6 -0
  138. data/spec/models/deb_release_component_response_spec.rb +6 -0
  139. data/spec/models/deb_release_component_spec.rb +6 -0
  140. data/spec/models/deb_release_file_response_spec.rb +6 -0
  141. data/spec/models/deb_release_file_spec.rb +6 -0
  142. data/spec/models/deb_release_response_spec.rb +6 -0
  143. data/spec/models/deb_release_spec.rb +6 -0
  144. data/spec/models/deb_source_index_response_spec.rb +6 -0
  145. data/spec/models/deb_source_index_spec.rb +6 -0
  146. data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
  147. data/spec/models/deb_source_package_release_component_spec.rb +6 -0
  148. data/spec/models/deb_source_package_response_spec.rb +6 -0
  149. data/spec/models/deb_source_package_spec.rb +6 -0
  150. data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
  151. metadata +76 -96
@@ -7,11 +7,13 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**create**](ContentPackageReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/package_release_components/ | Create a package release component |
8
8
  | [**list**](ContentPackageReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/package_release_components/ | List package release components |
9
9
  | [**read**](ContentPackageReleaseComponentsApi.md#read) | **GET** {deb_package_release_component_href} | Inspect a package release component |
10
+ | [**set_label**](ContentPackageReleaseComponentsApi.md#set_label) | **POST** {deb_package_release_component_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentPackageReleaseComponentsApi.md#unset_label) | **POST** {deb_package_release_component_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
13
15
 
14
- > <DebPackageReleaseComponentResponse> create(deb_package_release_component)
16
+ > <DebPackageReleaseComponentResponse> create(deb_package_release_component, opts)
15
17
 
16
18
  Create a package release component
17
19
 
@@ -31,10 +33,13 @@ end
31
33
 
32
34
  api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
33
35
  deb_package_release_component = PulpDebClient::DebPackageReleaseComponent.new({package: 'package_example', release_component: 'release_component_example'}) # DebPackageReleaseComponent |
36
+ opts = {
37
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
38
+ }
34
39
 
35
40
  begin
36
41
  # Create a package release component
37
- result = api_instance.create(deb_package_release_component)
42
+ result = api_instance.create(deb_package_release_component, opts)
38
43
  p result
39
44
  rescue PulpDebClient::ApiError => e
40
45
  puts "Error when calling ContentPackageReleaseComponentsApi->create: #{e}"
@@ -45,12 +50,12 @@ end
45
50
 
46
51
  This returns an Array which contains the response data, status code and headers.
47
52
 
48
- > <Array(<DebPackageReleaseComponentResponse>, Integer, Hash)> create_with_http_info(deb_package_release_component)
53
+ > <Array(<DebPackageReleaseComponentResponse>, Integer, Hash)> create_with_http_info(deb_package_release_component, opts)
49
54
 
50
55
  ```ruby
51
56
  begin
52
57
  # Create a package release component
53
- data, status_code, headers = api_instance.create_with_http_info(deb_package_release_component)
58
+ data, status_code, headers = api_instance.create_with_http_info(deb_package_release_component, opts)
54
59
  p status_code # => 2xx
55
60
  p headers # => { ... }
56
61
  p data # => <DebPackageReleaseComponentResponse>
@@ -64,6 +69,7 @@ end
64
69
  | Name | Type | Description | Notes |
65
70
  | ---- | ---- | ----------- | ----- |
66
71
  | **deb_package_release_component** | [**DebPackageReleaseComponent**](DebPackageReleaseComponent.md) | | |
72
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
67
73
 
68
74
  ### Return type
69
75
 
@@ -101,14 +107,16 @@ end
101
107
 
102
108
  api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
103
109
  opts = {
110
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
104
111
  limit: 56, # Integer | Number of results to return per page.
105
112
  offset: 56, # Integer | The initial index from which to return the results.
106
- ordering: ['-pk'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
113
+ ordering: ['-pk'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
107
114
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
108
115
  package: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Filter results where package matches value
109
116
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
110
117
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
111
118
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
119
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
112
120
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
113
121
  release_component: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Filter results where release_component matches value
114
122
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
@@ -149,14 +157,16 @@ end
149
157
 
150
158
  | Name | Type | Description | Notes |
151
159
  | ---- | ---- | ----------- | ----- |
160
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
152
161
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
153
162
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
154
- | **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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
163
+ | **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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
155
164
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
156
165
  | **package** | **String** | Filter results where package matches value | [optional] |
157
166
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
158
167
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
159
168
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
169
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
160
170
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
161
171
  | **release_component** | **String** | Filter results where release_component matches value | [optional] |
162
172
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -202,6 +212,7 @@ end
202
212
  api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
203
213
  deb_package_release_component_href = 'deb_package_release_component_href_example' # String |
204
214
  opts = {
215
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
205
216
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
206
217
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
207
218
  }
@@ -238,6 +249,7 @@ end
238
249
  | Name | Type | Description | Notes |
239
250
  | ---- | ---- | ----------- | ----- |
240
251
  | **deb_package_release_component_href** | **String** | | |
252
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
241
253
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
242
254
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
243
255
 
@@ -254,3 +266,155 @@ end
254
266
  - **Content-Type**: Not defined
255
267
  - **Accept**: application/json
256
268
 
269
+
270
+ ## set_label
271
+
272
+ > <SetLabelResponse> set_label(deb_package_release_component_href, set_label, opts)
273
+
274
+ Set a label
275
+
276
+ Set a single pulp_label on the object to a specific value or null.
277
+
278
+ ### Examples
279
+
280
+ ```ruby
281
+ require 'time'
282
+ require 'pulp_deb_client'
283
+ # setup authorization
284
+ PulpDebClient.configure do |config|
285
+ # Configure HTTP basic authorization: basicAuth
286
+ config.username = 'YOUR USERNAME'
287
+ config.password = 'YOUR PASSWORD'
288
+ end
289
+
290
+ api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
291
+ deb_package_release_component_href = 'deb_package_release_component_href_example' # String |
292
+ set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
293
+ opts = {
294
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
295
+ }
296
+
297
+ begin
298
+ # Set a label
299
+ result = api_instance.set_label(deb_package_release_component_href, set_label, opts)
300
+ p result
301
+ rescue PulpDebClient::ApiError => e
302
+ puts "Error when calling ContentPackageReleaseComponentsApi->set_label: #{e}"
303
+ end
304
+ ```
305
+
306
+ #### Using the set_label_with_http_info variant
307
+
308
+ This returns an Array which contains the response data, status code and headers.
309
+
310
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_package_release_component_href, set_label, opts)
311
+
312
+ ```ruby
313
+ begin
314
+ # Set a label
315
+ data, status_code, headers = api_instance.set_label_with_http_info(deb_package_release_component_href, set_label, opts)
316
+ p status_code # => 2xx
317
+ p headers # => { ... }
318
+ p data # => <SetLabelResponse>
319
+ rescue PulpDebClient::ApiError => e
320
+ puts "Error when calling ContentPackageReleaseComponentsApi->set_label_with_http_info: #{e}"
321
+ end
322
+ ```
323
+
324
+ ### Parameters
325
+
326
+ | Name | Type | Description | Notes |
327
+ | ---- | ---- | ----------- | ----- |
328
+ | **deb_package_release_component_href** | **String** | | |
329
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
330
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
331
+
332
+ ### Return type
333
+
334
+ [**SetLabelResponse**](SetLabelResponse.md)
335
+
336
+ ### Authorization
337
+
338
+ [basicAuth](../README.md#basicAuth)
339
+
340
+ ### HTTP request headers
341
+
342
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
343
+ - **Accept**: application/json
344
+
345
+
346
+ ## unset_label
347
+
348
+ > <UnsetLabelResponse> unset_label(deb_package_release_component_href, unset_label, opts)
349
+
350
+ Unset a label
351
+
352
+ Unset a single pulp_label on the object.
353
+
354
+ ### Examples
355
+
356
+ ```ruby
357
+ require 'time'
358
+ require 'pulp_deb_client'
359
+ # setup authorization
360
+ PulpDebClient.configure do |config|
361
+ # Configure HTTP basic authorization: basicAuth
362
+ config.username = 'YOUR USERNAME'
363
+ config.password = 'YOUR PASSWORD'
364
+ end
365
+
366
+ api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
367
+ deb_package_release_component_href = 'deb_package_release_component_href_example' # String |
368
+ unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
369
+ opts = {
370
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
371
+ }
372
+
373
+ begin
374
+ # Unset a label
375
+ result = api_instance.unset_label(deb_package_release_component_href, unset_label, opts)
376
+ p result
377
+ rescue PulpDebClient::ApiError => e
378
+ puts "Error when calling ContentPackageReleaseComponentsApi->unset_label: #{e}"
379
+ end
380
+ ```
381
+
382
+ #### Using the unset_label_with_http_info variant
383
+
384
+ This returns an Array which contains the response data, status code and headers.
385
+
386
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_package_release_component_href, unset_label, opts)
387
+
388
+ ```ruby
389
+ begin
390
+ # Unset a label
391
+ data, status_code, headers = api_instance.unset_label_with_http_info(deb_package_release_component_href, unset_label, opts)
392
+ p status_code # => 2xx
393
+ p headers # => { ... }
394
+ p data # => <UnsetLabelResponse>
395
+ rescue PulpDebClient::ApiError => e
396
+ puts "Error when calling ContentPackageReleaseComponentsApi->unset_label_with_http_info: #{e}"
397
+ end
398
+ ```
399
+
400
+ ### Parameters
401
+
402
+ | Name | Type | Description | Notes |
403
+ | ---- | ---- | ----------- | ----- |
404
+ | **deb_package_release_component_href** | **String** | | |
405
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
406
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
407
+
408
+ ### Return type
409
+
410
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
411
+
412
+ ### Authorization
413
+
414
+ [basicAuth](../README.md#basicAuth)
415
+
416
+ ### HTTP request headers
417
+
418
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
419
+ - **Accept**: application/json
420
+
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/packages/ | Create a package |
8
8
  | [**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/packages/ | List packages |
9
9
  | [**read**](ContentPackagesApi.md#read) | **GET** {deb_package_href} | Inspect a package |
10
+ | [**set_label**](ContentPackagesApi.md#set_label) | **POST** {deb_package_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentPackagesApi.md#unset_label) | **POST** {deb_package_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
@@ -31,7 +33,9 @@ end
31
33
 
32
34
  api_instance = PulpDebClient::ContentPackagesApi.new
33
35
  opts = {
36
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
34
37
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
38
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
35
39
  artifact: 'artifact_example', # String | Artifact file representing the physical content
36
40
  relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
37
41
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
@@ -72,7 +76,9 @@ end
72
76
 
73
77
  | Name | Type | Description | Notes |
74
78
  | ---- | ---- | ----------- | ----- |
79
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
75
80
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
81
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
76
82
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
77
83
  | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional] |
78
84
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
@@ -117,6 +123,7 @@ end
117
123
 
118
124
  api_instance = PulpDebClient::ContentPackagesApi.new
119
125
  opts = {
126
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
120
127
  architecture: 'architecture_example', # String | Filter results where architecture matches value
121
128
  auto_built_package: 'auto_built_package_example', # String | Filter results where auto_built_package matches value
122
129
  build_essential: true, # Boolean | Filter results where build_essential matches value * `True` - yes * `False` - no
@@ -127,7 +134,7 @@ opts = {
127
134
  maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
128
135
  multi_arch: 'allowed', # String | Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
129
136
  offset: 56, # Integer | The initial index from which to return the results.
130
- ordering: ['-architecture'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
137
+ ordering: ['-architecture'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
131
138
  origin: 'origin_example', # String | Filter results where origin matches value
132
139
  original_maintainer: 'original_maintainer_example', # String | Filter results where original_maintainer matches value
133
140
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
@@ -144,6 +151,7 @@ opts = {
144
151
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
145
152
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
146
153
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
154
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
147
155
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
148
156
  relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
149
157
  release: 'release_example', # String | Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where Package in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
@@ -191,6 +199,7 @@ end
191
199
 
192
200
  | Name | Type | Description | Notes |
193
201
  | ---- | ---- | ----------- | ----- |
202
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
194
203
  | **architecture** | **String** | Filter results where architecture matches value | [optional] |
195
204
  | **auto_built_package** | **String** | Filter results where auto_built_package matches value | [optional] |
196
205
  | **build_essential** | **Boolean** | Filter results where build_essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no | [optional] |
@@ -201,7 +210,7 @@ end
201
210
  | **maintainer** | **String** | Filter results where maintainer matches value | [optional] |
202
211
  | **multi_arch** | **String** | Filter results where multi_arch matches value * &#x60;no&#x60; - no * &#x60;same&#x60; - same * &#x60;foreign&#x60; - foreign * &#x60;allowed&#x60; - allowed | [optional] |
203
212
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
204
- | **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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
213
+ | **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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
205
214
  | **origin** | **String** | Filter results where origin matches value | [optional] |
206
215
  | **original_maintainer** | **String** | Filter results where original_maintainer matches value | [optional] |
207
216
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
@@ -218,6 +227,7 @@ end
218
227
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
219
228
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
220
229
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
230
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
221
231
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
222
232
  | **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
223
233
  | **release** | **String** | Must be a comma-separated string: \&quot;release_href,repository_or_repository_version_href\&quot; release_href: Filter results where Package in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional] |
@@ -270,6 +280,7 @@ end
270
280
  api_instance = PulpDebClient::ContentPackagesApi.new
271
281
  deb_package_href = 'deb_package_href_example' # String |
272
282
  opts = {
283
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
273
284
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
274
285
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
275
286
  }
@@ -306,6 +317,7 @@ end
306
317
  | Name | Type | Description | Notes |
307
318
  | ---- | ---- | ----------- | ----- |
308
319
  | **deb_package_href** | **String** | | |
320
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
309
321
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
310
322
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
311
323
 
@@ -322,3 +334,155 @@ end
322
334
  - **Content-Type**: Not defined
323
335
  - **Accept**: application/json
324
336
 
337
+
338
+ ## set_label
339
+
340
+ > <SetLabelResponse> set_label(deb_package_href, set_label, opts)
341
+
342
+ Set a label
343
+
344
+ Set a single pulp_label on the object to a specific value or null.
345
+
346
+ ### Examples
347
+
348
+ ```ruby
349
+ require 'time'
350
+ require 'pulp_deb_client'
351
+ # setup authorization
352
+ PulpDebClient.configure do |config|
353
+ # Configure HTTP basic authorization: basicAuth
354
+ config.username = 'YOUR USERNAME'
355
+ config.password = 'YOUR PASSWORD'
356
+ end
357
+
358
+ api_instance = PulpDebClient::ContentPackagesApi.new
359
+ deb_package_href = 'deb_package_href_example' # String |
360
+ set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
361
+ opts = {
362
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
363
+ }
364
+
365
+ begin
366
+ # Set a label
367
+ result = api_instance.set_label(deb_package_href, set_label, opts)
368
+ p result
369
+ rescue PulpDebClient::ApiError => e
370
+ puts "Error when calling ContentPackagesApi->set_label: #{e}"
371
+ end
372
+ ```
373
+
374
+ #### Using the set_label_with_http_info variant
375
+
376
+ This returns an Array which contains the response data, status code and headers.
377
+
378
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_package_href, set_label, opts)
379
+
380
+ ```ruby
381
+ begin
382
+ # Set a label
383
+ data, status_code, headers = api_instance.set_label_with_http_info(deb_package_href, set_label, opts)
384
+ p status_code # => 2xx
385
+ p headers # => { ... }
386
+ p data # => <SetLabelResponse>
387
+ rescue PulpDebClient::ApiError => e
388
+ puts "Error when calling ContentPackagesApi->set_label_with_http_info: #{e}"
389
+ end
390
+ ```
391
+
392
+ ### Parameters
393
+
394
+ | Name | Type | Description | Notes |
395
+ | ---- | ---- | ----------- | ----- |
396
+ | **deb_package_href** | **String** | | |
397
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
398
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
399
+
400
+ ### Return type
401
+
402
+ [**SetLabelResponse**](SetLabelResponse.md)
403
+
404
+ ### Authorization
405
+
406
+ [basicAuth](../README.md#basicAuth)
407
+
408
+ ### HTTP request headers
409
+
410
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
411
+ - **Accept**: application/json
412
+
413
+
414
+ ## unset_label
415
+
416
+ > <UnsetLabelResponse> unset_label(deb_package_href, unset_label, opts)
417
+
418
+ Unset a label
419
+
420
+ Unset a single pulp_label on the object.
421
+
422
+ ### Examples
423
+
424
+ ```ruby
425
+ require 'time'
426
+ require 'pulp_deb_client'
427
+ # setup authorization
428
+ PulpDebClient.configure do |config|
429
+ # Configure HTTP basic authorization: basicAuth
430
+ config.username = 'YOUR USERNAME'
431
+ config.password = 'YOUR PASSWORD'
432
+ end
433
+
434
+ api_instance = PulpDebClient::ContentPackagesApi.new
435
+ deb_package_href = 'deb_package_href_example' # String |
436
+ unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
437
+ opts = {
438
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
439
+ }
440
+
441
+ begin
442
+ # Unset a label
443
+ result = api_instance.unset_label(deb_package_href, unset_label, opts)
444
+ p result
445
+ rescue PulpDebClient::ApiError => e
446
+ puts "Error when calling ContentPackagesApi->unset_label: #{e}"
447
+ end
448
+ ```
449
+
450
+ #### Using the unset_label_with_http_info variant
451
+
452
+ This returns an Array which contains the response data, status code and headers.
453
+
454
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_package_href, unset_label, opts)
455
+
456
+ ```ruby
457
+ begin
458
+ # Unset a label
459
+ data, status_code, headers = api_instance.unset_label_with_http_info(deb_package_href, unset_label, opts)
460
+ p status_code # => 2xx
461
+ p headers # => { ... }
462
+ p data # => <UnsetLabelResponse>
463
+ rescue PulpDebClient::ApiError => e
464
+ puts "Error when calling ContentPackagesApi->unset_label_with_http_info: #{e}"
465
+ end
466
+ ```
467
+
468
+ ### Parameters
469
+
470
+ | Name | Type | Description | Notes |
471
+ | ---- | ---- | ----------- | ----- |
472
+ | **deb_package_href** | **String** | | |
473
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
474
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
475
+
476
+ ### Return type
477
+
478
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
479
+
480
+ ### Authorization
481
+
482
+ [basicAuth](../README.md#basicAuth)
483
+
484
+ ### HTTP request headers
485
+
486
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
487
+ - **Accept**: application/json
488
+