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**](ContentReleaseArchitecturesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_architectures/ | Create a release architecture |
8
8
  | [**list**](ContentReleaseArchitecturesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_architectures/ | List release architectures |
9
9
  | [**read**](ContentReleaseArchitecturesApi.md#read) | **GET** {deb_release_architecture_href} | Inspect a release architecture |
10
+ | [**set_label**](ContentReleaseArchitecturesApi.md#set_label) | **POST** {deb_release_architecture_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentReleaseArchitecturesApi.md#unset_label) | **POST** {deb_release_architecture_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
13
15
 
14
- > <AsyncOperationResponse> create(deb_release_architecture)
16
+ > <AsyncOperationResponse> create(deb_release_architecture, opts)
15
17
 
16
18
  Create a release architecture
17
19
 
@@ -31,10 +33,13 @@ end
31
33
 
32
34
  api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
33
35
  deb_release_architecture = PulpDebClient::DebReleaseArchitecture.new({architecture: 'architecture_example', distribution: 'distribution_example'}) # DebReleaseArchitecture |
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 release architecture
37
- result = api_instance.create(deb_release_architecture)
42
+ result = api_instance.create(deb_release_architecture, opts)
38
43
  p result
39
44
  rescue PulpDebClient::ApiError => e
40
45
  puts "Error when calling ContentReleaseArchitecturesApi->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(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release_architecture)
53
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release_architecture, opts)
49
54
 
50
55
  ```ruby
51
56
  begin
52
57
  # Create a release architecture
53
- data, status_code, headers = api_instance.create_with_http_info(deb_release_architecture)
58
+ data, status_code, headers = api_instance.create_with_http_info(deb_release_architecture, opts)
54
59
  p status_code # => 2xx
55
60
  p headers # => { ... }
56
61
  p data # => <AsyncOperationResponse>
@@ -64,6 +69,7 @@ end
64
69
  | Name | Type | Description | Notes |
65
70
  | ---- | ---- | ----------- | ----- |
66
71
  | **deb_release_architecture** | [**DebReleaseArchitecture**](DebReleaseArchitecture.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,15 +107,17 @@ end
101
107
 
102
108
  api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
103
109
  opts = {
110
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
104
111
  architecture: 'architecture_example', # String | Filter results where architecture matches value
105
112
  distribution: 'distribution_example', # String | Filter results where distribution matches value
106
113
  limit: 56, # Integer | Number of results to return per page.
107
114
  offset: 56, # Integer | The initial index from which to return the results.
108
- 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
115
+ 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
109
116
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
110
117
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
111
118
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
112
119
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
120
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
113
121
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
114
122
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
115
123
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
@@ -149,15 +157,17 @@ 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
  | **architecture** | **String** | Filter results where architecture matches value | [optional] |
153
162
  | **distribution** | **String** | Filter results where distribution matches value | [optional] |
154
163
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
155
164
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
156
- | **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;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
165
+ | **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;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
157
166
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
158
167
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
159
168
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
160
169
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
170
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
161
171
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
162
172
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
163
173
  | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -202,6 +212,7 @@ end
202
212
  api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
203
213
  deb_release_architecture_href = 'deb_release_architecture_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_release_architecture_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_release_architecture_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::ContentReleaseArchitecturesApi.new
291
+ deb_release_architecture_href = 'deb_release_architecture_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_release_architecture_href, set_label, opts)
300
+ p result
301
+ rescue PulpDebClient::ApiError => e
302
+ puts "Error when calling ContentReleaseArchitecturesApi->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_release_architecture_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_release_architecture_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 ContentReleaseArchitecturesApi->set_label_with_http_info: #{e}"
321
+ end
322
+ ```
323
+
324
+ ### Parameters
325
+
326
+ | Name | Type | Description | Notes |
327
+ | ---- | ---- | ----------- | ----- |
328
+ | **deb_release_architecture_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_release_architecture_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::ContentReleaseArchitecturesApi.new
367
+ deb_release_architecture_href = 'deb_release_architecture_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_release_architecture_href, unset_label, opts)
376
+ p result
377
+ rescue PulpDebClient::ApiError => e
378
+ puts "Error when calling ContentReleaseArchitecturesApi->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_release_architecture_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_release_architecture_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 ContentReleaseArchitecturesApi->unset_label_with_http_info: #{e}"
397
+ end
398
+ ```
399
+
400
+ ### Parameters
401
+
402
+ | Name | Type | Description | Notes |
403
+ | ---- | ---- | ----------- | ----- |
404
+ | **deb_release_architecture_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,11 +7,13 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**create**](ContentReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/release_components/ | Create a release component |
8
8
  | [**list**](ContentReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/release_components/ | List release components |
9
9
  | [**read**](ContentReleaseComponentsApi.md#read) | **GET** {deb_release_component_href} | Inspect a release component |
10
+ | [**set_label**](ContentReleaseComponentsApi.md#set_label) | **POST** {deb_release_component_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentReleaseComponentsApi.md#unset_label) | **POST** {deb_release_component_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
13
15
 
14
- > <AsyncOperationResponse> create(deb_release_component)
16
+ > <AsyncOperationResponse> create(deb_release_component, opts)
15
17
 
16
18
  Create a release component
17
19
 
@@ -31,10 +33,13 @@ end
31
33
 
32
34
  api_instance = PulpDebClient::ContentReleaseComponentsApi.new
33
35
  deb_release_component = PulpDebClient::DebReleaseComponent.new({component: 'component_example', distribution: 'distribution_example'}) # DebReleaseComponent |
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 release component
37
- result = api_instance.create(deb_release_component)
42
+ result = api_instance.create(deb_release_component, opts)
38
43
  p result
39
44
  rescue PulpDebClient::ApiError => e
40
45
  puts "Error when calling ContentReleaseComponentsApi->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(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release_component)
53
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release_component, opts)
49
54
 
50
55
  ```ruby
51
56
  begin
52
57
  # Create a release component
53
- data, status_code, headers = api_instance.create_with_http_info(deb_release_component)
58
+ data, status_code, headers = api_instance.create_with_http_info(deb_release_component, opts)
54
59
  p status_code # => 2xx
55
60
  p headers # => { ... }
56
61
  p data # => <AsyncOperationResponse>
@@ -64,6 +69,7 @@ end
64
69
  | Name | Type | Description | Notes |
65
70
  | ---- | ---- | ----------- | ----- |
66
71
  | **deb_release_component** | [**DebReleaseComponent**](DebReleaseComponent.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,16 +107,18 @@ end
101
107
 
102
108
  api_instance = PulpDebClient::ContentReleaseComponentsApi.new
103
109
  opts = {
110
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
104
111
  component: 'component_example', # String | Filter results where component matches value
105
112
  distribution: 'distribution_example', # String | Filter results where distribution matches value
106
113
  limit: 56, # Integer | Number of results to return per page.
107
114
  offset: 56, # Integer | The initial index from which to return the results.
108
- ordering: ['-component'], # 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
115
+ ordering: ['-component'], # 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
109
116
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
110
117
  package: 'package_example', # String | Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where ReleaseComponent contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
111
118
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
112
119
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
113
120
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
121
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
114
122
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
115
123
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
116
124
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
@@ -150,16 +158,18 @@ end
150
158
 
151
159
  | Name | Type | Description | Notes |
152
160
  | ---- | ---- | ----------- | ----- |
161
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
153
162
  | **component** | **String** | Filter results where component matches value | [optional] |
154
163
  | **distribution** | **String** | Filter results where distribution matches value | [optional] |
155
164
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
156
165
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
157
- | **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;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
166
+ | **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;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
158
167
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
159
168
  | **package** | **String** | Must be a comma-separated string: \&quot;package_href,repository_or_repository_version_href\&quot; package_href: Filter results where ReleaseComponent contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional] |
160
169
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
161
170
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
162
171
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
172
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
163
173
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
164
174
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
165
175
  | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -204,6 +214,7 @@ end
204
214
  api_instance = PulpDebClient::ContentReleaseComponentsApi.new
205
215
  deb_release_component_href = 'deb_release_component_href_example' # String |
206
216
  opts = {
217
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
207
218
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
208
219
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
209
220
  }
@@ -240,6 +251,7 @@ end
240
251
  | Name | Type | Description | Notes |
241
252
  | ---- | ---- | ----------- | ----- |
242
253
  | **deb_release_component_href** | **String** | | |
254
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
243
255
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
244
256
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
245
257
 
@@ -256,3 +268,155 @@ end
256
268
  - **Content-Type**: Not defined
257
269
  - **Accept**: application/json
258
270
 
271
+
272
+ ## set_label
273
+
274
+ > <SetLabelResponse> set_label(deb_release_component_href, set_label, opts)
275
+
276
+ Set a label
277
+
278
+ Set a single pulp_label on the object to a specific value or null.
279
+
280
+ ### Examples
281
+
282
+ ```ruby
283
+ require 'time'
284
+ require 'pulp_deb_client'
285
+ # setup authorization
286
+ PulpDebClient.configure do |config|
287
+ # Configure HTTP basic authorization: basicAuth
288
+ config.username = 'YOUR USERNAME'
289
+ config.password = 'YOUR PASSWORD'
290
+ end
291
+
292
+ api_instance = PulpDebClient::ContentReleaseComponentsApi.new
293
+ deb_release_component_href = 'deb_release_component_href_example' # String |
294
+ set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
295
+ opts = {
296
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
297
+ }
298
+
299
+ begin
300
+ # Set a label
301
+ result = api_instance.set_label(deb_release_component_href, set_label, opts)
302
+ p result
303
+ rescue PulpDebClient::ApiError => e
304
+ puts "Error when calling ContentReleaseComponentsApi->set_label: #{e}"
305
+ end
306
+ ```
307
+
308
+ #### Using the set_label_with_http_info variant
309
+
310
+ This returns an Array which contains the response data, status code and headers.
311
+
312
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_component_href, set_label, opts)
313
+
314
+ ```ruby
315
+ begin
316
+ # Set a label
317
+ data, status_code, headers = api_instance.set_label_with_http_info(deb_release_component_href, set_label, opts)
318
+ p status_code # => 2xx
319
+ p headers # => { ... }
320
+ p data # => <SetLabelResponse>
321
+ rescue PulpDebClient::ApiError => e
322
+ puts "Error when calling ContentReleaseComponentsApi->set_label_with_http_info: #{e}"
323
+ end
324
+ ```
325
+
326
+ ### Parameters
327
+
328
+ | Name | Type | Description | Notes |
329
+ | ---- | ---- | ----------- | ----- |
330
+ | **deb_release_component_href** | **String** | | |
331
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
332
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
333
+
334
+ ### Return type
335
+
336
+ [**SetLabelResponse**](SetLabelResponse.md)
337
+
338
+ ### Authorization
339
+
340
+ [basicAuth](../README.md#basicAuth)
341
+
342
+ ### HTTP request headers
343
+
344
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
345
+ - **Accept**: application/json
346
+
347
+
348
+ ## unset_label
349
+
350
+ > <UnsetLabelResponse> unset_label(deb_release_component_href, unset_label, opts)
351
+
352
+ Unset a label
353
+
354
+ Unset a single pulp_label on the object.
355
+
356
+ ### Examples
357
+
358
+ ```ruby
359
+ require 'time'
360
+ require 'pulp_deb_client'
361
+ # setup authorization
362
+ PulpDebClient.configure do |config|
363
+ # Configure HTTP basic authorization: basicAuth
364
+ config.username = 'YOUR USERNAME'
365
+ config.password = 'YOUR PASSWORD'
366
+ end
367
+
368
+ api_instance = PulpDebClient::ContentReleaseComponentsApi.new
369
+ deb_release_component_href = 'deb_release_component_href_example' # String |
370
+ unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
371
+ opts = {
372
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
373
+ }
374
+
375
+ begin
376
+ # Unset a label
377
+ result = api_instance.unset_label(deb_release_component_href, unset_label, opts)
378
+ p result
379
+ rescue PulpDebClient::ApiError => e
380
+ puts "Error when calling ContentReleaseComponentsApi->unset_label: #{e}"
381
+ end
382
+ ```
383
+
384
+ #### Using the unset_label_with_http_info variant
385
+
386
+ This returns an Array which contains the response data, status code and headers.
387
+
388
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_component_href, unset_label, opts)
389
+
390
+ ```ruby
391
+ begin
392
+ # Unset a label
393
+ data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_component_href, unset_label, opts)
394
+ p status_code # => 2xx
395
+ p headers # => { ... }
396
+ p data # => <UnsetLabelResponse>
397
+ rescue PulpDebClient::ApiError => e
398
+ puts "Error when calling ContentReleaseComponentsApi->unset_label_with_http_info: #{e}"
399
+ end
400
+ ```
401
+
402
+ ### Parameters
403
+
404
+ | Name | Type | Description | Notes |
405
+ | ---- | ---- | ----------- | ----- |
406
+ | **deb_release_component_href** | **String** | | |
407
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
408
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
409
+
410
+ ### Return type
411
+
412
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
413
+
414
+ ### Authorization
415
+
416
+ [basicAuth](../README.md#basicAuth)
417
+
418
+ ### HTTP request headers
419
+
420
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
421
+ - **Accept**: application/json
422
+