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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 294ad214daa061d76990978c0c6b63b8992376db00b4af0399f53f3697770be6
4
- data.tar.gz: 841ba108160c48b4e9aa2fcb9026c94c8562120c4f2866b9230862ef0266c087
3
+ metadata.gz: 5b5c9eda83663141208cf80e538f913f5546144c8d1d9013ff7facb2bcafae93
4
+ data.tar.gz: 2a1ba44b0cbe81980b589ba337d2aa2358b3655d64a8cb239f4d024d08a242a7
5
5
  SHA512:
6
- metadata.gz: 420b04ea8c8555e670eb7b7ab784f352e80b12546b348606258b89b0797a876c29d7f7419340c2f0a1645ed2006cdd902d8bb717ee6bce312ed3e76d8c03f7ab
7
- data.tar.gz: f32558ad8ae703fe7dda1f4fdc3eda043a00683315bbec0d4d7467ff06b5f7ef5f528ff8eaba2a6630c714e81c5df9e85b3fdf2864ed576fa87a00d19e247c49
6
+ metadata.gz: 349586bb775e4b4891e911d6aebb34d5552329cafd27a44506f7c49a5f4746849193955a3b483d36c76a68f3ba864d867f99bc5ce478278cade979e46308beba
7
+ data.tar.gz: 52690baec593210c3e14877099e22a284a67ce91416dcfdc8b16b09782a431a4982cecc12ced766f0eca1b68441b5df8caa2e84721f2efc683ae3ad368605d65
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.5.1
10
+ - Package version: 3.6.0
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_deb_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_deb_client-3.5.1.gem
28
+ gem install ./pulp_deb_client-3.6.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_deb_client-3.5.1.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_deb_client-3.6.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_deb_client', '~> 3.5.1'
37
+ gem 'pulp_deb_client', '~> 3.6.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -70,7 +70,9 @@ end
70
70
  api_instance = PulpDebClient::ContentGenericContentsApi.new
71
71
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
72
72
  opts = {
73
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
73
74
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
75
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
74
76
  artifact: 'artifact_example', # String | Artifact file representing the physical content
75
77
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
76
78
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
@@ -96,42 +98,68 @@ Class | Method | HTTP request | Description
96
98
  *PulpDebClient::ContentGenericContentsApi* | [**create**](docs/ContentGenericContentsApi.md#create) | **POST** /pulp/api/v3/content/deb/generic_contents/ | Create a generic content
97
99
  *PulpDebClient::ContentGenericContentsApi* | [**list**](docs/ContentGenericContentsApi.md#list) | **GET** /pulp/api/v3/content/deb/generic_contents/ | List generic contents
98
100
  *PulpDebClient::ContentGenericContentsApi* | [**read**](docs/ContentGenericContentsApi.md#read) | **GET** {deb_generic_content_href} | Inspect a generic content
101
+ *PulpDebClient::ContentGenericContentsApi* | [**set_label**](docs/ContentGenericContentsApi.md#set_label) | **POST** {deb_generic_content_href}set_label/ | Set a label
102
+ *PulpDebClient::ContentGenericContentsApi* | [**unset_label**](docs/ContentGenericContentsApi.md#unset_label) | **POST** {deb_generic_content_href}unset_label/ | Unset a label
99
103
  *PulpDebClient::ContentInstallerFileIndicesApi* | [**create**](docs/ContentInstallerFileIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/installer_file_indices/ | Create an installer file index
100
104
  *PulpDebClient::ContentInstallerFileIndicesApi* | [**list**](docs/ContentInstallerFileIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/installer_file_indices/ | List InstallerFileIndices
101
105
  *PulpDebClient::ContentInstallerFileIndicesApi* | [**read**](docs/ContentInstallerFileIndicesApi.md#read) | **GET** {deb_installer_file_index_href} | Inspect an installer file index
106
+ *PulpDebClient::ContentInstallerFileIndicesApi* | [**set_label**](docs/ContentInstallerFileIndicesApi.md#set_label) | **POST** {deb_installer_file_index_href}set_label/ | Set a label
107
+ *PulpDebClient::ContentInstallerFileIndicesApi* | [**unset_label**](docs/ContentInstallerFileIndicesApi.md#unset_label) | **POST** {deb_installer_file_index_href}unset_label/ | Unset a label
102
108
  *PulpDebClient::ContentInstallerPackagesApi* | [**create**](docs/ContentInstallerPackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/installer_packages/ | Create an installer package
103
109
  *PulpDebClient::ContentInstallerPackagesApi* | [**list**](docs/ContentInstallerPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/installer_packages/ | List installer packages
104
110
  *PulpDebClient::ContentInstallerPackagesApi* | [**read**](docs/ContentInstallerPackagesApi.md#read) | **GET** {deb_installer_package_href} | Inspect an installer package
111
+ *PulpDebClient::ContentInstallerPackagesApi* | [**set_label**](docs/ContentInstallerPackagesApi.md#set_label) | **POST** {deb_installer_package_href}set_label/ | Set a label
112
+ *PulpDebClient::ContentInstallerPackagesApi* | [**unset_label**](docs/ContentInstallerPackagesApi.md#unset_label) | **POST** {deb_installer_package_href}unset_label/ | Unset a label
105
113
  *PulpDebClient::ContentPackageIndicesApi* | [**create**](docs/ContentPackageIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/package_indices/ | Create a package index
106
114
  *PulpDebClient::ContentPackageIndicesApi* | [**list**](docs/ContentPackageIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/package_indices/ | List PackageIndices
107
115
  *PulpDebClient::ContentPackageIndicesApi* | [**read**](docs/ContentPackageIndicesApi.md#read) | **GET** {deb_package_index_href} | Inspect a package index
116
+ *PulpDebClient::ContentPackageIndicesApi* | [**set_label**](docs/ContentPackageIndicesApi.md#set_label) | **POST** {deb_package_index_href}set_label/ | Set a label
117
+ *PulpDebClient::ContentPackageIndicesApi* | [**unset_label**](docs/ContentPackageIndicesApi.md#unset_label) | **POST** {deb_package_index_href}unset_label/ | Unset a label
108
118
  *PulpDebClient::ContentPackageReleaseComponentsApi* | [**create**](docs/ContentPackageReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/package_release_components/ | Create a package release component
109
119
  *PulpDebClient::ContentPackageReleaseComponentsApi* | [**list**](docs/ContentPackageReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/package_release_components/ | List package release components
110
120
  *PulpDebClient::ContentPackageReleaseComponentsApi* | [**read**](docs/ContentPackageReleaseComponentsApi.md#read) | **GET** {deb_package_release_component_href} | Inspect a package release component
121
+ *PulpDebClient::ContentPackageReleaseComponentsApi* | [**set_label**](docs/ContentPackageReleaseComponentsApi.md#set_label) | **POST** {deb_package_release_component_href}set_label/ | Set a label
122
+ *PulpDebClient::ContentPackageReleaseComponentsApi* | [**unset_label**](docs/ContentPackageReleaseComponentsApi.md#unset_label) | **POST** {deb_package_release_component_href}unset_label/ | Unset a label
111
123
  *PulpDebClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/packages/ | Create a package
112
124
  *PulpDebClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/packages/ | List packages
113
125
  *PulpDebClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {deb_package_href} | Inspect a package
126
+ *PulpDebClient::ContentPackagesApi* | [**set_label**](docs/ContentPackagesApi.md#set_label) | **POST** {deb_package_href}set_label/ | Set a label
127
+ *PulpDebClient::ContentPackagesApi* | [**unset_label**](docs/ContentPackagesApi.md#unset_label) | **POST** {deb_package_href}unset_label/ | Unset a label
114
128
  *PulpDebClient::ContentReleaseArchitecturesApi* | [**create**](docs/ContentReleaseArchitecturesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_architectures/ | Create a release architecture
115
129
  *PulpDebClient::ContentReleaseArchitecturesApi* | [**list**](docs/ContentReleaseArchitecturesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_architectures/ | List release architectures
116
130
  *PulpDebClient::ContentReleaseArchitecturesApi* | [**read**](docs/ContentReleaseArchitecturesApi.md#read) | **GET** {deb_release_architecture_href} | Inspect a release architecture
131
+ *PulpDebClient::ContentReleaseArchitecturesApi* | [**set_label**](docs/ContentReleaseArchitecturesApi.md#set_label) | **POST** {deb_release_architecture_href}set_label/ | Set a label
132
+ *PulpDebClient::ContentReleaseArchitecturesApi* | [**unset_label**](docs/ContentReleaseArchitecturesApi.md#unset_label) | **POST** {deb_release_architecture_href}unset_label/ | Unset a label
117
133
  *PulpDebClient::ContentReleaseComponentsApi* | [**create**](docs/ContentReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/release_components/ | Create a release component
118
134
  *PulpDebClient::ContentReleaseComponentsApi* | [**list**](docs/ContentReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/release_components/ | List release components
119
135
  *PulpDebClient::ContentReleaseComponentsApi* | [**read**](docs/ContentReleaseComponentsApi.md#read) | **GET** {deb_release_component_href} | Inspect a release component
136
+ *PulpDebClient::ContentReleaseComponentsApi* | [**set_label**](docs/ContentReleaseComponentsApi.md#set_label) | **POST** {deb_release_component_href}set_label/ | Set a label
137
+ *PulpDebClient::ContentReleaseComponentsApi* | [**unset_label**](docs/ContentReleaseComponentsApi.md#unset_label) | **POST** {deb_release_component_href}unset_label/ | Unset a label
120
138
  *PulpDebClient::ContentReleaseFilesApi* | [**create**](docs/ContentReleaseFilesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_files/ | Create a release file
121
139
  *PulpDebClient::ContentReleaseFilesApi* | [**list**](docs/ContentReleaseFilesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_files/ | List release files
122
140
  *PulpDebClient::ContentReleaseFilesApi* | [**read**](docs/ContentReleaseFilesApi.md#read) | **GET** {deb_release_file_href} | Inspect a release file
141
+ *PulpDebClient::ContentReleaseFilesApi* | [**set_label**](docs/ContentReleaseFilesApi.md#set_label) | **POST** {deb_release_file_href}set_label/ | Set a label
142
+ *PulpDebClient::ContentReleaseFilesApi* | [**unset_label**](docs/ContentReleaseFilesApi.md#unset_label) | **POST** {deb_release_file_href}unset_label/ | Unset a label
123
143
  *PulpDebClient::ContentReleasesApi* | [**create**](docs/ContentReleasesApi.md#create) | **POST** /pulp/api/v3/content/deb/releases/ | Create a release
124
144
  *PulpDebClient::ContentReleasesApi* | [**list**](docs/ContentReleasesApi.md#list) | **GET** /pulp/api/v3/content/deb/releases/ | List releases
125
145
  *PulpDebClient::ContentReleasesApi* | [**read**](docs/ContentReleasesApi.md#read) | **GET** {deb_release_href} | Inspect a release
146
+ *PulpDebClient::ContentReleasesApi* | [**set_label**](docs/ContentReleasesApi.md#set_label) | **POST** {deb_release_href}set_label/ | Set a label
147
+ *PulpDebClient::ContentReleasesApi* | [**unset_label**](docs/ContentReleasesApi.md#unset_label) | **POST** {deb_release_href}unset_label/ | Unset a label
126
148
  *PulpDebClient::ContentSourceIndicesApi* | [**create**](docs/ContentSourceIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_indices/ | Create a source index
127
149
  *PulpDebClient::ContentSourceIndicesApi* | [**list**](docs/ContentSourceIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_indices/ | List SourceIndices
128
150
  *PulpDebClient::ContentSourceIndicesApi* | [**read**](docs/ContentSourceIndicesApi.md#read) | **GET** {deb_source_index_href} | Inspect a source index
151
+ *PulpDebClient::ContentSourceIndicesApi* | [**set_label**](docs/ContentSourceIndicesApi.md#set_label) | **POST** {deb_source_index_href}set_label/ | Set a label
152
+ *PulpDebClient::ContentSourceIndicesApi* | [**unset_label**](docs/ContentSourceIndicesApi.md#unset_label) | **POST** {deb_source_index_href}unset_label/ | Unset a label
129
153
  *PulpDebClient::ContentSourcePackagesApi* | [**create**](docs/ContentSourcePackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_packages/ | Create a source package
130
154
  *PulpDebClient::ContentSourcePackagesApi* | [**list**](docs/ContentSourcePackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_packages/ | List source packages
131
155
  *PulpDebClient::ContentSourcePackagesApi* | [**read**](docs/ContentSourcePackagesApi.md#read) | **GET** {deb_source_package_href} | Inspect a source package
156
+ *PulpDebClient::ContentSourcePackagesApi* | [**set_label**](docs/ContentSourcePackagesApi.md#set_label) | **POST** {deb_source_package_href}set_label/ | Set a label
157
+ *PulpDebClient::ContentSourcePackagesApi* | [**unset_label**](docs/ContentSourcePackagesApi.md#unset_label) | **POST** {deb_source_package_href}unset_label/ | Unset a label
132
158
  *PulpDebClient::ContentSourceReleaseComponentsApi* | [**create**](docs/ContentSourceReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/source_release_components/ | Create a source package release component
133
159
  *PulpDebClient::ContentSourceReleaseComponentsApi* | [**list**](docs/ContentSourceReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/source_release_components/ | List source package release components
134
160
  *PulpDebClient::ContentSourceReleaseComponentsApi* | [**read**](docs/ContentSourceReleaseComponentsApi.md#read) | **GET** {deb_source_package_release_component_href} | Inspect a source package release component
161
+ *PulpDebClient::ContentSourceReleaseComponentsApi* | [**set_label**](docs/ContentSourceReleaseComponentsApi.md#set_label) | **POST** {deb_source_package_release_component_href}set_label/ | Set a label
162
+ *PulpDebClient::ContentSourceReleaseComponentsApi* | [**unset_label**](docs/ContentSourceReleaseComponentsApi.md#unset_label) | **POST** {deb_source_package_release_component_href}unset_label/ | Unset a label
135
163
  *PulpDebClient::DebCopyApi* | [**copy_content**](docs/DebCopyApi.md#copy_content) | **POST** /pulp/api/v3/deb/copy/ | Copy content
136
164
  *PulpDebClient::DistributionsAptApi* | [**add_role**](docs/DistributionsAptApi.md#add_role) | **POST** {deb_apt_distribution_href}add_role/ | Add a role
137
165
  *PulpDebClient::DistributionsAptApi* | [**create**](docs/DistributionsAptApi.md#create) | **POST** /pulp/api/v3/distributions/deb/apt/ | Create an apt distribution
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**create**](ContentGenericContentsApi.md#create) | **POST** /pulp/api/v3/content/deb/generic_contents/ | Create a generic content |
8
8
  | [**list**](ContentGenericContentsApi.md#list) | **GET** /pulp/api/v3/content/deb/generic_contents/ | List generic contents |
9
9
  | [**read**](ContentGenericContentsApi.md#read) | **GET** {deb_generic_content_href} | Inspect a generic content |
10
+ | [**set_label**](ContentGenericContentsApi.md#set_label) | **POST** {deb_generic_content_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentGenericContentsApi.md#unset_label) | **POST** {deb_generic_content_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
@@ -32,7 +34,9 @@ end
32
34
  api_instance = PulpDebClient::ContentGenericContentsApi.new
33
35
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
34
36
  opts = {
37
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
35
38
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
36
40
  artifact: 'artifact_example', # String | Artifact file representing the physical content
37
41
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
38
42
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
@@ -71,7 +75,9 @@ end
71
75
  | Name | Type | Description | Notes |
72
76
  | ---- | ---- | ----------- | ----- |
73
77
  | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
78
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
74
79
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
80
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
75
81
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
76
82
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
77
83
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
@@ -113,13 +119,15 @@ end
113
119
 
114
120
  api_instance = PulpDebClient::ContentGenericContentsApi.new
115
121
  opts = {
122
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
116
123
  limit: 56, # Integer | Number of results to return per page.
117
124
  offset: 56, # Integer | The initial index from which to return the results.
118
- 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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
125
+ 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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
119
126
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
120
127
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
121
128
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
122
129
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
130
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
123
131
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
124
132
  relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
125
133
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
@@ -161,13 +169,15 @@ end
161
169
 
162
170
  | Name | Type | Description | Notes |
163
171
  | ---- | ---- | ----------- | ----- |
172
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
164
173
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
165
174
  | **offset** | **Integer** | The initial index from which to return the results. | [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;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
175
+ | **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;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
167
176
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
168
177
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
169
178
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
170
179
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
180
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
171
181
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
172
182
  | **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
173
183
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -214,6 +224,7 @@ end
214
224
  api_instance = PulpDebClient::ContentGenericContentsApi.new
215
225
  deb_generic_content_href = 'deb_generic_content_href_example' # String |
216
226
  opts = {
227
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
217
228
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
218
229
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
219
230
  }
@@ -250,6 +261,7 @@ end
250
261
  | Name | Type | Description | Notes |
251
262
  | ---- | ---- | ----------- | ----- |
252
263
  | **deb_generic_content_href** | **String** | | |
264
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
253
265
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
254
266
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
255
267
 
@@ -266,3 +278,155 @@ end
266
278
  - **Content-Type**: Not defined
267
279
  - **Accept**: application/json
268
280
 
281
+
282
+ ## set_label
283
+
284
+ > <SetLabelResponse> set_label(deb_generic_content_href, set_label, opts)
285
+
286
+ Set a label
287
+
288
+ Set a single pulp_label on the object to a specific value or null.
289
+
290
+ ### Examples
291
+
292
+ ```ruby
293
+ require 'time'
294
+ require 'pulp_deb_client'
295
+ # setup authorization
296
+ PulpDebClient.configure do |config|
297
+ # Configure HTTP basic authorization: basicAuth
298
+ config.username = 'YOUR USERNAME'
299
+ config.password = 'YOUR PASSWORD'
300
+ end
301
+
302
+ api_instance = PulpDebClient::ContentGenericContentsApi.new
303
+ deb_generic_content_href = 'deb_generic_content_href_example' # String |
304
+ set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
305
+ opts = {
306
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
307
+ }
308
+
309
+ begin
310
+ # Set a label
311
+ result = api_instance.set_label(deb_generic_content_href, set_label, opts)
312
+ p result
313
+ rescue PulpDebClient::ApiError => e
314
+ puts "Error when calling ContentGenericContentsApi->set_label: #{e}"
315
+ end
316
+ ```
317
+
318
+ #### Using the set_label_with_http_info variant
319
+
320
+ This returns an Array which contains the response data, status code and headers.
321
+
322
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_generic_content_href, set_label, opts)
323
+
324
+ ```ruby
325
+ begin
326
+ # Set a label
327
+ data, status_code, headers = api_instance.set_label_with_http_info(deb_generic_content_href, set_label, opts)
328
+ p status_code # => 2xx
329
+ p headers # => { ... }
330
+ p data # => <SetLabelResponse>
331
+ rescue PulpDebClient::ApiError => e
332
+ puts "Error when calling ContentGenericContentsApi->set_label_with_http_info: #{e}"
333
+ end
334
+ ```
335
+
336
+ ### Parameters
337
+
338
+ | Name | Type | Description | Notes |
339
+ | ---- | ---- | ----------- | ----- |
340
+ | **deb_generic_content_href** | **String** | | |
341
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
342
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
343
+
344
+ ### Return type
345
+
346
+ [**SetLabelResponse**](SetLabelResponse.md)
347
+
348
+ ### Authorization
349
+
350
+ [basicAuth](../README.md#basicAuth)
351
+
352
+ ### HTTP request headers
353
+
354
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
355
+ - **Accept**: application/json
356
+
357
+
358
+ ## unset_label
359
+
360
+ > <UnsetLabelResponse> unset_label(deb_generic_content_href, unset_label, opts)
361
+
362
+ Unset a label
363
+
364
+ Unset a single pulp_label on the object.
365
+
366
+ ### Examples
367
+
368
+ ```ruby
369
+ require 'time'
370
+ require 'pulp_deb_client'
371
+ # setup authorization
372
+ PulpDebClient.configure do |config|
373
+ # Configure HTTP basic authorization: basicAuth
374
+ config.username = 'YOUR USERNAME'
375
+ config.password = 'YOUR PASSWORD'
376
+ end
377
+
378
+ api_instance = PulpDebClient::ContentGenericContentsApi.new
379
+ deb_generic_content_href = 'deb_generic_content_href_example' # String |
380
+ unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
381
+ opts = {
382
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
383
+ }
384
+
385
+ begin
386
+ # Unset a label
387
+ result = api_instance.unset_label(deb_generic_content_href, unset_label, opts)
388
+ p result
389
+ rescue PulpDebClient::ApiError => e
390
+ puts "Error when calling ContentGenericContentsApi->unset_label: #{e}"
391
+ end
392
+ ```
393
+
394
+ #### Using the unset_label_with_http_info variant
395
+
396
+ This returns an Array which contains the response data, status code and headers.
397
+
398
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_generic_content_href, unset_label, opts)
399
+
400
+ ```ruby
401
+ begin
402
+ # Unset a label
403
+ data, status_code, headers = api_instance.unset_label_with_http_info(deb_generic_content_href, unset_label, opts)
404
+ p status_code # => 2xx
405
+ p headers # => { ... }
406
+ p data # => <UnsetLabelResponse>
407
+ rescue PulpDebClient::ApiError => e
408
+ puts "Error when calling ContentGenericContentsApi->unset_label_with_http_info: #{e}"
409
+ end
410
+ ```
411
+
412
+ ### Parameters
413
+
414
+ | Name | Type | Description | Notes |
415
+ | ---- | ---- | ----------- | ----- |
416
+ | **deb_generic_content_href** | **String** | | |
417
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
418
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
419
+
420
+ ### Return type
421
+
422
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
423
+
424
+ ### Authorization
425
+
426
+ [basicAuth](../README.md#basicAuth)
427
+
428
+ ### HTTP request headers
429
+
430
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
431
+ - **Accept**: application/json
432
+
@@ -7,11 +7,13 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**create**](ContentInstallerFileIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/installer_file_indices/ | Create an installer file index |
8
8
  | [**list**](ContentInstallerFileIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/installer_file_indices/ | List InstallerFileIndices |
9
9
  | [**read**](ContentInstallerFileIndicesApi.md#read) | **GET** {deb_installer_file_index_href} | Inspect an installer file index |
10
+ | [**set_label**](ContentInstallerFileIndicesApi.md#set_label) | **POST** {deb_installer_file_index_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentInstallerFileIndicesApi.md#unset_label) | **POST** {deb_installer_file_index_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
13
15
 
14
- > <DebInstallerFileIndexResponse> create(deb_installer_file_index)
16
+ > <DebInstallerFileIndexResponse> create(deb_installer_file_index, opts)
15
17
 
16
18
  Create an installer file index
17
19
 
@@ -31,10 +33,13 @@ end
31
33
 
32
34
  api_instance = PulpDebClient::ContentInstallerFileIndicesApi.new
33
35
  deb_installer_file_index = PulpDebClient::DebInstallerFileIndex.new({artifacts: 3.56, component: 'component_example', architecture: 'architecture_example'}) # DebInstallerFileIndex |
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 an installer file index
37
- result = api_instance.create(deb_installer_file_index)
42
+ result = api_instance.create(deb_installer_file_index, opts)
38
43
  p result
39
44
  rescue PulpDebClient::ApiError => e
40
45
  puts "Error when calling ContentInstallerFileIndicesApi->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(<DebInstallerFileIndexResponse>, Integer, Hash)> create_with_http_info(deb_installer_file_index)
53
+ > <Array(<DebInstallerFileIndexResponse>, Integer, Hash)> create_with_http_info(deb_installer_file_index, opts)
49
54
 
50
55
  ```ruby
51
56
  begin
52
57
  # Create an installer file index
53
- data, status_code, headers = api_instance.create_with_http_info(deb_installer_file_index)
58
+ data, status_code, headers = api_instance.create_with_http_info(deb_installer_file_index, opts)
54
59
  p status_code # => 2xx
55
60
  p headers # => { ... }
56
61
  p data # => <DebInstallerFileIndexResponse>
@@ -64,6 +69,7 @@ end
64
69
  | Name | Type | Description | Notes |
65
70
  | ---- | ---- | ----------- | ----- |
66
71
  | **deb_installer_file_index** | [**DebInstallerFileIndex**](DebInstallerFileIndex.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::ContentInstallerFileIndicesApi.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
  component: 'component_example', # String | Filter results where component 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) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (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) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (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
  relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
115
123
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
@@ -151,15 +159,17 @@ end
151
159
 
152
160
  | Name | Type | Description | Notes |
153
161
  | ---- | ---- | ----------- | ----- |
162
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
154
163
  | **architecture** | **String** | Filter results where architecture matches value | [optional] |
155
164
  | **component** | **String** | Filter results where component matches value | [optional] |
156
165
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
157
166
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
158
- | **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;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
167
+ | **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;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
159
168
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [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
  | **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
165
175
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -206,6 +216,7 @@ end
206
216
  api_instance = PulpDebClient::ContentInstallerFileIndicesApi.new
207
217
  deb_installer_file_index_href = 'deb_installer_file_index_href_example' # String |
208
218
  opts = {
219
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
209
220
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
210
221
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
211
222
  }
@@ -242,6 +253,7 @@ end
242
253
  | Name | Type | Description | Notes |
243
254
  | ---- | ---- | ----------- | ----- |
244
255
  | **deb_installer_file_index_href** | **String** | | |
256
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
245
257
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
246
258
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
247
259
 
@@ -258,3 +270,155 @@ end
258
270
  - **Content-Type**: Not defined
259
271
  - **Accept**: application/json
260
272
 
273
+
274
+ ## set_label
275
+
276
+ > <SetLabelResponse> set_label(deb_installer_file_index_href, set_label, opts)
277
+
278
+ Set a label
279
+
280
+ Set a single pulp_label on the object to a specific value or null.
281
+
282
+ ### Examples
283
+
284
+ ```ruby
285
+ require 'time'
286
+ require 'pulp_deb_client'
287
+ # setup authorization
288
+ PulpDebClient.configure do |config|
289
+ # Configure HTTP basic authorization: basicAuth
290
+ config.username = 'YOUR USERNAME'
291
+ config.password = 'YOUR PASSWORD'
292
+ end
293
+
294
+ api_instance = PulpDebClient::ContentInstallerFileIndicesApi.new
295
+ deb_installer_file_index_href = 'deb_installer_file_index_href_example' # String |
296
+ set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
297
+ opts = {
298
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
299
+ }
300
+
301
+ begin
302
+ # Set a label
303
+ result = api_instance.set_label(deb_installer_file_index_href, set_label, opts)
304
+ p result
305
+ rescue PulpDebClient::ApiError => e
306
+ puts "Error when calling ContentInstallerFileIndicesApi->set_label: #{e}"
307
+ end
308
+ ```
309
+
310
+ #### Using the set_label_with_http_info variant
311
+
312
+ This returns an Array which contains the response data, status code and headers.
313
+
314
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_installer_file_index_href, set_label, opts)
315
+
316
+ ```ruby
317
+ begin
318
+ # Set a label
319
+ data, status_code, headers = api_instance.set_label_with_http_info(deb_installer_file_index_href, set_label, opts)
320
+ p status_code # => 2xx
321
+ p headers # => { ... }
322
+ p data # => <SetLabelResponse>
323
+ rescue PulpDebClient::ApiError => e
324
+ puts "Error when calling ContentInstallerFileIndicesApi->set_label_with_http_info: #{e}"
325
+ end
326
+ ```
327
+
328
+ ### Parameters
329
+
330
+ | Name | Type | Description | Notes |
331
+ | ---- | ---- | ----------- | ----- |
332
+ | **deb_installer_file_index_href** | **String** | | |
333
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
334
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
335
+
336
+ ### Return type
337
+
338
+ [**SetLabelResponse**](SetLabelResponse.md)
339
+
340
+ ### Authorization
341
+
342
+ [basicAuth](../README.md#basicAuth)
343
+
344
+ ### HTTP request headers
345
+
346
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
347
+ - **Accept**: application/json
348
+
349
+
350
+ ## unset_label
351
+
352
+ > <UnsetLabelResponse> unset_label(deb_installer_file_index_href, unset_label, opts)
353
+
354
+ Unset a label
355
+
356
+ Unset a single pulp_label on the object.
357
+
358
+ ### Examples
359
+
360
+ ```ruby
361
+ require 'time'
362
+ require 'pulp_deb_client'
363
+ # setup authorization
364
+ PulpDebClient.configure do |config|
365
+ # Configure HTTP basic authorization: basicAuth
366
+ config.username = 'YOUR USERNAME'
367
+ config.password = 'YOUR PASSWORD'
368
+ end
369
+
370
+ api_instance = PulpDebClient::ContentInstallerFileIndicesApi.new
371
+ deb_installer_file_index_href = 'deb_installer_file_index_href_example' # String |
372
+ unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
373
+ opts = {
374
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
375
+ }
376
+
377
+ begin
378
+ # Unset a label
379
+ result = api_instance.unset_label(deb_installer_file_index_href, unset_label, opts)
380
+ p result
381
+ rescue PulpDebClient::ApiError => e
382
+ puts "Error when calling ContentInstallerFileIndicesApi->unset_label: #{e}"
383
+ end
384
+ ```
385
+
386
+ #### Using the unset_label_with_http_info variant
387
+
388
+ This returns an Array which contains the response data, status code and headers.
389
+
390
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_installer_file_index_href, unset_label, opts)
391
+
392
+ ```ruby
393
+ begin
394
+ # Unset a label
395
+ data, status_code, headers = api_instance.unset_label_with_http_info(deb_installer_file_index_href, unset_label, opts)
396
+ p status_code # => 2xx
397
+ p headers # => { ... }
398
+ p data # => <UnsetLabelResponse>
399
+ rescue PulpDebClient::ApiError => e
400
+ puts "Error when calling ContentInstallerFileIndicesApi->unset_label_with_http_info: #{e}"
401
+ end
402
+ ```
403
+
404
+ ### Parameters
405
+
406
+ | Name | Type | Description | Notes |
407
+ | ---- | ---- | ----------- | ----- |
408
+ | **deb_installer_file_index_href** | **String** | | |
409
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
410
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
411
+
412
+ ### Return type
413
+
414
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
415
+
416
+ ### Authorization
417
+
418
+ [basicAuth](../README.md#basicAuth)
419
+
420
+ ### HTTP request headers
421
+
422
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
423
+ - **Accept**: application/json
424
+