pulp_python_client 3.13.1 → 3.13.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7f35705c18422ee7cae313faa2b6e714af52300cb2c821d6e1a040f2ff8c41e
4
- data.tar.gz: 81e4c02aadaaeca37ce927c7e7046aff46edb074ed1647027091494854c9c0a6
3
+ metadata.gz: 96c5489d0f93e9e4607c5437a90e5f5302a523d9b4a360c22c709f1198c61e36
4
+ data.tar.gz: 4f81d21179b1e7ec932160e5a1cef3b5514df0da120fa4f1d186b9159b08b87a
5
5
  SHA512:
6
- metadata.gz: e9cf3b90a6907be5f28287e4a7a40094efaff62adb27491ddcf0f063ce64a83a02238349dc106943154d4bff338a62e45f13c8631d4bf64d748189db89d5830e
7
- data.tar.gz: cbbb5e778ce1f9ad6d2b9a569c850dea250fa6c42acd630397e5a33990519b899eb8de42f3ca8aff8e8dde98dfc7ad64c58341e1b266e794de55653aa54bd5d4
6
+ metadata.gz: eb6209a18eaa4c534bd0a396a795bbd8ad5df6083b1f64a8b5327e6081d41915a9b349bbbf91481e6dcfb65f1cf284a3e24ed5be15d62819520c05fd2757d935
7
+ data.tar.gz: 8d3ff9c5b7be58ca346fb95fcf57b2419d334ee2ab11bbe254d6c82378b9283fe73869d02f4668f930647aad38c1a57505cf9b6cebcd2f5ba68fd6941230da0a
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.13.1
10
+ - Package version: 3.13.3
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_python_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_python_client-3.13.1.gem
28
+ gem install ./pulp_python_client-3.13.3.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_python_client-3.13.1.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_python_client-3.13.3.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_python_client', '~> 3.13.1'
37
+ gem 'pulp_python_client', '~> 3.13.3'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -71,6 +71,7 @@ api_instance = PulpPythonClient::ContentPackagesApi.new
71
71
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
72
72
  opts = {
73
73
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
74
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
74
75
  artifact: 'artifact_example', # String | Artifact file representing the physical content
75
76
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
76
77
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
@@ -118,6 +119,8 @@ Class | Method | HTTP request | Description
118
119
  *PulpPythonClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/python/packages/ | Create a python package content
119
120
  *PulpPythonClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/python/packages/ | List python package contents
120
121
  *PulpPythonClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {python_python_package_content_href} | Inspect a python package content
122
+ *PulpPythonClient::ContentPackagesApi* | [**set_label**](docs/ContentPackagesApi.md#set_label) | **POST** {python_python_package_content_href}set_label/ | Set a label
123
+ *PulpPythonClient::ContentPackagesApi* | [**unset_label**](docs/ContentPackagesApi.md#unset_label) | **POST** {python_python_package_content_href}unset_label/ | Unset a label
121
124
  *PulpPythonClient::DistributionsPypiApi* | [**add_role**](docs/DistributionsPypiApi.md#add_role) | **POST** {python_python_distribution_href}add_role/ | Add a role
122
125
  *PulpPythonClient::DistributionsPypiApi* | [**create**](docs/DistributionsPypiApi.md#create) | **POST** /pulp/api/v3/distributions/python/pypi/ | Create a python distribution
123
126
  *PulpPythonClient::DistributionsPypiApi* | [**delete**](docs/DistributionsPypiApi.md#delete) | **DELETE** {python_python_distribution_href} | Delete a python distribution
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/python/packages/ | Create a python package content |
8
8
  | [**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/python/packages/ | List python package contents |
9
9
  | [**read**](ContentPackagesApi.md#read) | **GET** {python_python_package_content_href} | Inspect a python package content |
10
+ | [**set_label**](ContentPackagesApi.md#set_label) | **POST** {python_python_package_content_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentPackagesApi.md#unset_label) | **POST** {python_python_package_content_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
@@ -33,6 +35,7 @@ api_instance = PulpPythonClient::ContentPackagesApi.new
33
35
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
34
36
  opts = {
35
37
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
38
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
36
39
  artifact: 'artifact_example', # String | Artifact file representing the physical content
37
40
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
38
41
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
@@ -94,6 +97,7 @@ end
94
97
  | ---- | ---- | ----------- | ----- |
95
98
  | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
96
99
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
100
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
97
101
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
98
102
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
99
103
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
@@ -168,13 +172,14 @@ opts = {
168
172
  name: 'name_example', # String | Filter results where name matches value
169
173
  name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
170
174
  offset: 56, # Integer | The initial index from which to return the results.
171
- ordering: ['-author'], # 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) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `license` - License * `-license` - License (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `platform` - Platform * `-platform` - Platform (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `pk` - Pk * `-pk` - Pk (descending)
175
+ ordering: ['-author'], # 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) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `license` - License * `-license` - License (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `platform` - Platform * `-platform` - Platform (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `pk` - Pk * `-pk` - Pk (descending)
172
176
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
173
177
  packagetype: 'bdist_dmg', # String | Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
174
178
  packagetype__in: ['inner_example'], # Array<String> | Filter results where packagetype is in a comma-separated list of values
175
179
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
176
180
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
177
181
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
182
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
178
183
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
179
184
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
180
185
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
@@ -235,13 +240,14 @@ end
235
240
  | **name** | **String** | Filter results where name matches value | [optional] |
236
241
  | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
237
242
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
238
- | **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;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
243
+ | **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;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
239
244
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
240
245
  | **packagetype** | **String** | Filter results where packagetype matches value * &#x60;bdist_dmg&#x60; - bdist_dmg * &#x60;bdist_dumb&#x60; - bdist_dumb * &#x60;bdist_egg&#x60; - bdist_egg * &#x60;bdist_msi&#x60; - bdist_msi * &#x60;bdist_rpm&#x60; - bdist_rpm * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;bdist_wininst&#x60; - bdist_wininst * &#x60;sdist&#x60; - sdist | [optional] |
241
246
  | **packagetype__in** | [**Array&lt;String&gt;**](String.md) | Filter results where packagetype is in a comma-separated list of values | [optional] |
242
247
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
243
248
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
244
249
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
250
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
245
251
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
246
252
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
247
253
  | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -348,3 +354,147 @@ end
348
354
  - **Content-Type**: Not defined
349
355
  - **Accept**: application/json
350
356
 
357
+
358
+ ## set_label
359
+
360
+ > <SetLabelResponse> set_label(python_python_package_content_href, set_label)
361
+
362
+ Set a label
363
+
364
+ Set a single pulp_label on the object to a specific value or null.
365
+
366
+ ### Examples
367
+
368
+ ```ruby
369
+ require 'time'
370
+ require 'pulp_python_client'
371
+ # setup authorization
372
+ PulpPythonClient.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 = PulpPythonClient::ContentPackagesApi.new
379
+ python_python_package_content_href = 'python_python_package_content_href_example' # String |
380
+ set_label = PulpPythonClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
381
+
382
+ begin
383
+ # Set a label
384
+ result = api_instance.set_label(python_python_package_content_href, set_label)
385
+ p result
386
+ rescue PulpPythonClient::ApiError => e
387
+ puts "Error when calling ContentPackagesApi->set_label: #{e}"
388
+ end
389
+ ```
390
+
391
+ #### Using the set_label_with_http_info variant
392
+
393
+ This returns an Array which contains the response data, status code and headers.
394
+
395
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(python_python_package_content_href, set_label)
396
+
397
+ ```ruby
398
+ begin
399
+ # Set a label
400
+ data, status_code, headers = api_instance.set_label_with_http_info(python_python_package_content_href, set_label)
401
+ p status_code # => 2xx
402
+ p headers # => { ... }
403
+ p data # => <SetLabelResponse>
404
+ rescue PulpPythonClient::ApiError => e
405
+ puts "Error when calling ContentPackagesApi->set_label_with_http_info: #{e}"
406
+ end
407
+ ```
408
+
409
+ ### Parameters
410
+
411
+ | Name | Type | Description | Notes |
412
+ | ---- | ---- | ----------- | ----- |
413
+ | **python_python_package_content_href** | **String** | | |
414
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
415
+
416
+ ### Return type
417
+
418
+ [**SetLabelResponse**](SetLabelResponse.md)
419
+
420
+ ### Authorization
421
+
422
+ [basicAuth](../README.md#basicAuth)
423
+
424
+ ### HTTP request headers
425
+
426
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
427
+ - **Accept**: application/json
428
+
429
+
430
+ ## unset_label
431
+
432
+ > <UnsetLabelResponse> unset_label(python_python_package_content_href, unset_label)
433
+
434
+ Unset a label
435
+
436
+ Unset a single pulp_label on the object.
437
+
438
+ ### Examples
439
+
440
+ ```ruby
441
+ require 'time'
442
+ require 'pulp_python_client'
443
+ # setup authorization
444
+ PulpPythonClient.configure do |config|
445
+ # Configure HTTP basic authorization: basicAuth
446
+ config.username = 'YOUR USERNAME'
447
+ config.password = 'YOUR PASSWORD'
448
+ end
449
+
450
+ api_instance = PulpPythonClient::ContentPackagesApi.new
451
+ python_python_package_content_href = 'python_python_package_content_href_example' # String |
452
+ unset_label = PulpPythonClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
453
+
454
+ begin
455
+ # Unset a label
456
+ result = api_instance.unset_label(python_python_package_content_href, unset_label)
457
+ p result
458
+ rescue PulpPythonClient::ApiError => e
459
+ puts "Error when calling ContentPackagesApi->unset_label: #{e}"
460
+ end
461
+ ```
462
+
463
+ #### Using the unset_label_with_http_info variant
464
+
465
+ This returns an Array which contains the response data, status code and headers.
466
+
467
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(python_python_package_content_href, unset_label)
468
+
469
+ ```ruby
470
+ begin
471
+ # Unset a label
472
+ data, status_code, headers = api_instance.unset_label_with_http_info(python_python_package_content_href, unset_label)
473
+ p status_code # => 2xx
474
+ p headers # => { ... }
475
+ p data # => <UnsetLabelResponse>
476
+ rescue PulpPythonClient::ApiError => e
477
+ puts "Error when calling ContentPackagesApi->unset_label_with_http_info: #{e}"
478
+ end
479
+ ```
480
+
481
+ ### Parameters
482
+
483
+ | Name | Type | Description | Notes |
484
+ | ---- | ---- | ----------- | ----- |
485
+ | **python_python_package_content_href** | **String** | | |
486
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
487
+
488
+ ### Return type
489
+
490
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
491
+
492
+ ### Authorization
493
+
494
+ [basicAuth](../README.md#basicAuth)
495
+
496
+ ### HTTP request headers
497
+
498
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
499
+ - **Accept**: application/json
500
+
@@ -256,6 +256,7 @@ opts = {
256
256
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
257
257
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
258
258
  base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
259
+ checkpoint: true, # Boolean | Filter results where checkpoint matches value
259
260
  limit: 56, # Integer | Number of results to return per page.
260
261
  name: 'name_example', # String | Filter results where name matches value
261
262
  name__contains: 'name__contains_example', # String | Filter results where name contains value
@@ -267,7 +268,7 @@ opts = {
267
268
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
268
269
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
269
270
  offset: 56, # Integer | The initial index from which to return the results.
270
- ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
271
+ ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
271
272
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
272
273
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
273
274
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
@@ -315,6 +316,7 @@ end
315
316
  | **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
316
317
  | **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
317
318
  | **base_path__in** | [**Array&lt;String&gt;**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
319
+ | **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
318
320
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
319
321
  | **name** | **String** | Filter results where name matches value | [optional] |
320
322
  | **name__contains** | **String** | Filter results where name contains value | [optional] |
@@ -326,7 +328,7 @@ end
326
328
  | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
327
329
  | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
328
330
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
329
- | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
331
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
330
332
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
331
333
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
332
334
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
@@ -247,11 +247,12 @@ end
247
247
 
248
248
  api_instance = PulpPythonClient::PublicationsPypiApi.new
249
249
  opts = {
250
+ checkpoint: true, # Boolean | Filter results where checkpoint matches value
250
251
  content: 'content_example', # String | Content Unit referenced by HREF/PRN
251
252
  content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
252
253
  limit: 56, # Integer | Number of results to return per page.
253
254
  offset: 56, # Integer | The initial index from which to return the results.
254
- ordering: ['-complete'], # 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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
255
+ ordering: ['-checkpoint'], # 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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
255
256
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
256
257
  pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
257
258
  pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
@@ -300,11 +301,12 @@ end
300
301
 
301
302
  | Name | Type | Description | Notes |
302
303
  | ---- | ---- | ----------- | ----- |
304
+ | **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
303
305
  | **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
304
306
  | **content__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
305
307
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
306
308
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
307
- | **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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
309
+ | **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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
308
310
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
309
311
  | **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
310
312
  | **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
@@ -8,6 +8,7 @@
8
8
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
10
  | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
12
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
12
13
  | **filename** | **String** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} | [optional][readonly] |
13
14
  | **packagetype** | **String** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional][readonly] |
@@ -47,6 +48,7 @@ instance = PulpPythonClient::PythonPythonPackageContentResponse.new(
47
48
  prn: null,
48
49
  pulp_created: null,
49
50
  pulp_last_updated: null,
51
+ pulp_labels: null,
50
52
  artifact: null,
51
53
  filename: null,
52
54
  packagetype: null,
@@ -24,6 +24,7 @@ module PulpPythonClient
24
24
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
27
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
27
28
  # @option opts [String] :artifact Artifact file representing the physical content
28
29
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
29
30
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
@@ -61,6 +62,7 @@ module PulpPythonClient
61
62
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
62
63
  # @param [Hash] opts the optional parameters
63
64
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
65
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
64
66
  # @option opts [String] :artifact Artifact file representing the physical content
65
67
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
66
68
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
@@ -128,6 +130,7 @@ module PulpPythonClient
128
130
  form_params = opts[:form_params] || {}
129
131
  form_params['relative_path'] = relative_path
130
132
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
133
+ form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
131
134
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
132
135
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
133
136
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
@@ -195,13 +198,14 @@ module PulpPythonClient
195
198
  # @option opts [String] :name Filter results where name matches value
196
199
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
197
200
  # @option opts [Integer] :offset The initial index from which to return the results.
198
- # @option opts [Array<String>] :ordering 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;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
201
+ # @option opts [Array<String>] :ordering 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;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
199
202
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
200
203
  # @option opts [String] :packagetype Filter results where packagetype matches value * &#x60;bdist_dmg&#x60; - bdist_dmg * &#x60;bdist_dumb&#x60; - bdist_dumb * &#x60;bdist_egg&#x60; - bdist_egg * &#x60;bdist_msi&#x60; - bdist_msi * &#x60;bdist_rpm&#x60; - bdist_rpm * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;bdist_wininst&#x60; - bdist_wininst * &#x60;sdist&#x60; - sdist
201
204
  # @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
202
205
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
203
206
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
204
207
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
208
+ # @option opts [String] :pulp_label_select Filter labels by search string
205
209
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
206
210
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
207
211
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -238,13 +242,14 @@ module PulpPythonClient
238
242
  # @option opts [String] :name Filter results where name matches value
239
243
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
240
244
  # @option opts [Integer] :offset The initial index from which to return the results.
241
- # @option opts [Array<String>] :ordering 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;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
245
+ # @option opts [Array<String>] :ordering 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;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
242
246
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
243
247
  # @option opts [String] :packagetype Filter results where packagetype matches value * &#x60;bdist_dmg&#x60; - bdist_dmg * &#x60;bdist_dumb&#x60; - bdist_dumb * &#x60;bdist_egg&#x60; - bdist_egg * &#x60;bdist_msi&#x60; - bdist_msi * &#x60;bdist_rpm&#x60; - bdist_rpm * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;bdist_wininst&#x60; - bdist_wininst * &#x60;sdist&#x60; - sdist
244
248
  # @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
245
249
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
246
250
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
247
251
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
252
+ # @option opts [String] :pulp_label_select Filter labels by search string
248
253
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
249
254
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
250
255
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -266,7 +271,7 @@ module PulpPythonClient
266
271
  if @api_client.config.debugging
267
272
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
268
273
  end
269
- allowable_values = ["-author", "-author_email", "-classifiers", "-description", "-description_content_type", "-download_url", "-filename", "-home_page", "-keywords", "-license", "-maintainer", "-maintainer_email", "-metadata_version", "-name", "-obsoletes_dist", "-packagetype", "-pk", "-platform", "-project_url", "-project_urls", "-provides_dist", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-python_version", "-requires_dist", "-requires_external", "-requires_python", "-sha256", "-summary", "-supported_platform", "-timestamp_of_interest", "-upstream_id", "-version", "author", "author_email", "classifiers", "description", "description_content_type", "download_url", "filename", "home_page", "keywords", "license", "maintainer", "maintainer_email", "metadata_version", "name", "obsoletes_dist", "packagetype", "pk", "platform", "project_url", "project_urls", "provides_dist", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "python_version", "requires_dist", "requires_external", "requires_python", "sha256", "summary", "supported_platform", "timestamp_of_interest", "upstream_id", "version"]
274
+ allowable_values = ["-author", "-author_email", "-classifiers", "-description", "-description_content_type", "-download_url", "-filename", "-home_page", "-keywords", "-license", "-maintainer", "-maintainer_email", "-metadata_version", "-name", "-obsoletes_dist", "-packagetype", "-pk", "-platform", "-project_url", "-project_urls", "-provides_dist", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-python_version", "-requires_dist", "-requires_external", "-requires_python", "-sha256", "-summary", "-supported_platform", "-timestamp_of_interest", "-upstream_id", "-version", "author", "author_email", "classifiers", "description", "description_content_type", "download_url", "filename", "home_page", "keywords", "license", "maintainer", "maintainer_email", "metadata_version", "name", "obsoletes_dist", "packagetype", "pk", "platform", "project_url", "project_urls", "provides_dist", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "python_version", "requires_dist", "requires_external", "requires_python", "sha256", "summary", "supported_platform", "timestamp_of_interest", "upstream_id", "version"]
270
275
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
271
276
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
272
277
  end
@@ -297,6 +302,7 @@ module PulpPythonClient
297
302
  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
298
303
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
299
304
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
305
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
300
306
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
301
307
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
302
308
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
@@ -416,5 +422,153 @@ module PulpPythonClient
416
422
  end
417
423
  return data, status_code, headers
418
424
  end
425
+
426
+ # Set a label
427
+ # Set a single pulp_label on the object to a specific value or null.
428
+ # @param python_python_package_content_href [String]
429
+ # @param set_label [SetLabel]
430
+ # @param [Hash] opts the optional parameters
431
+ # @return [SetLabelResponse]
432
+ def set_label(python_python_package_content_href, set_label, opts = {})
433
+ data, _status_code, _headers = set_label_with_http_info(python_python_package_content_href, set_label, opts)
434
+ data
435
+ end
436
+
437
+ # Set a label
438
+ # Set a single pulp_label on the object to a specific value or null.
439
+ # @param python_python_package_content_href [String]
440
+ # @param set_label [SetLabel]
441
+ # @param [Hash] opts the optional parameters
442
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
443
+ def set_label_with_http_info(python_python_package_content_href, set_label, opts = {})
444
+ if @api_client.config.debugging
445
+ @api_client.config.logger.debug 'Calling API: ContentPackagesApi.set_label ...'
446
+ end
447
+ # verify the required parameter 'python_python_package_content_href' is set
448
+ if @api_client.config.client_side_validation && python_python_package_content_href.nil?
449
+ fail ArgumentError, "Missing the required parameter 'python_python_package_content_href' when calling ContentPackagesApi.set_label"
450
+ end
451
+ # verify the required parameter 'set_label' is set
452
+ if @api_client.config.client_side_validation && set_label.nil?
453
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentPackagesApi.set_label"
454
+ end
455
+ # resource path
456
+ local_var_path = '{python_python_package_content_href}set_label/'.sub('{' + 'python_python_package_content_href' + '}', CGI.escape(python_python_package_content_href.to_s).gsub('%2F', '/'))
457
+
458
+ # query parameters
459
+ query_params = opts[:query_params] || {}
460
+
461
+ # header parameters
462
+ header_params = opts[:header_params] || {}
463
+ # HTTP header 'Accept' (if needed)
464
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
465
+ # HTTP header 'Content-Type'
466
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
467
+ if !content_type.nil?
468
+ header_params['Content-Type'] = content_type
469
+ end
470
+
471
+ # form parameters
472
+ form_params = opts[:form_params] || {}
473
+
474
+ # http body (model)
475
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
476
+
477
+ # return_type
478
+ return_type = opts[:debug_return_type] || 'SetLabelResponse'
479
+
480
+ # auth_names
481
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
482
+
483
+ new_options = opts.merge(
484
+ :operation => :"ContentPackagesApi.set_label",
485
+ :header_params => header_params,
486
+ :query_params => query_params,
487
+ :form_params => form_params,
488
+ :body => post_body,
489
+ :auth_names => auth_names,
490
+ :return_type => return_type
491
+ )
492
+
493
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
494
+ if @api_client.config.debugging
495
+ @api_client.config.logger.debug "API called: ContentPackagesApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
496
+ end
497
+ return data, status_code, headers
498
+ end
499
+
500
+ # Unset a label
501
+ # Unset a single pulp_label on the object.
502
+ # @param python_python_package_content_href [String]
503
+ # @param unset_label [UnsetLabel]
504
+ # @param [Hash] opts the optional parameters
505
+ # @return [UnsetLabelResponse]
506
+ def unset_label(python_python_package_content_href, unset_label, opts = {})
507
+ data, _status_code, _headers = unset_label_with_http_info(python_python_package_content_href, unset_label, opts)
508
+ data
509
+ end
510
+
511
+ # Unset a label
512
+ # Unset a single pulp_label on the object.
513
+ # @param python_python_package_content_href [String]
514
+ # @param unset_label [UnsetLabel]
515
+ # @param [Hash] opts the optional parameters
516
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
517
+ def unset_label_with_http_info(python_python_package_content_href, unset_label, opts = {})
518
+ if @api_client.config.debugging
519
+ @api_client.config.logger.debug 'Calling API: ContentPackagesApi.unset_label ...'
520
+ end
521
+ # verify the required parameter 'python_python_package_content_href' is set
522
+ if @api_client.config.client_side_validation && python_python_package_content_href.nil?
523
+ fail ArgumentError, "Missing the required parameter 'python_python_package_content_href' when calling ContentPackagesApi.unset_label"
524
+ end
525
+ # verify the required parameter 'unset_label' is set
526
+ if @api_client.config.client_side_validation && unset_label.nil?
527
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentPackagesApi.unset_label"
528
+ end
529
+ # resource path
530
+ local_var_path = '{python_python_package_content_href}unset_label/'.sub('{' + 'python_python_package_content_href' + '}', CGI.escape(python_python_package_content_href.to_s).gsub('%2F', '/'))
531
+
532
+ # query parameters
533
+ query_params = opts[:query_params] || {}
534
+
535
+ # header parameters
536
+ header_params = opts[:header_params] || {}
537
+ # HTTP header 'Accept' (if needed)
538
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
539
+ # HTTP header 'Content-Type'
540
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
541
+ if !content_type.nil?
542
+ header_params['Content-Type'] = content_type
543
+ end
544
+
545
+ # form parameters
546
+ form_params = opts[:form_params] || {}
547
+
548
+ # http body (model)
549
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
550
+
551
+ # return_type
552
+ return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
553
+
554
+ # auth_names
555
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
556
+
557
+ new_options = opts.merge(
558
+ :operation => :"ContentPackagesApi.unset_label",
559
+ :header_params => header_params,
560
+ :query_params => query_params,
561
+ :form_params => form_params,
562
+ :body => post_body,
563
+ :auth_names => auth_names,
564
+ :return_type => return_type
565
+ )
566
+
567
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
568
+ if @api_client.config.debugging
569
+ @api_client.config.logger.debug "API called: ContentPackagesApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
570
+ end
571
+ return data, status_code, headers
572
+ end
419
573
  end
420
574
  end
@@ -231,6 +231,7 @@ module PulpPythonClient
231
231
  # @option opts [String] :base_path__contains Filter results where base_path contains value
232
232
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
233
233
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
234
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
234
235
  # @option opts [Integer] :limit Number of results to return per page.
235
236
  # @option opts [String] :name Filter results where name matches value
236
237
  # @option opts [String] :name__contains Filter results where name contains value
@@ -242,7 +243,7 @@ module PulpPythonClient
242
243
  # @option opts [String] :name__regex Filter results where name matches regex value
243
244
  # @option opts [String] :name__startswith Filter results where name starts with value
244
245
  # @option opts [Integer] :offset The initial index from which to return the results.
245
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
246
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
246
247
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
247
248
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
248
249
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -266,6 +267,7 @@ module PulpPythonClient
266
267
  # @option opts [String] :base_path__contains Filter results where base_path contains value
267
268
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
268
269
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
270
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
269
271
  # @option opts [Integer] :limit Number of results to return per page.
270
272
  # @option opts [String] :name Filter results where name matches value
271
273
  # @option opts [String] :name__contains Filter results where name contains value
@@ -277,7 +279,7 @@ module PulpPythonClient
277
279
  # @option opts [String] :name__regex Filter results where name matches regex value
278
280
  # @option opts [String] :name__startswith Filter results where name starts with value
279
281
  # @option opts [Integer] :offset The initial index from which to return the results.
280
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
282
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
281
283
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
282
284
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
283
285
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -293,7 +295,7 @@ module PulpPythonClient
293
295
  if @api_client.config.debugging
294
296
  @api_client.config.logger.debug 'Calling API: DistributionsPypiApi.list ...'
295
297
  end
296
- allowable_values = ["-base_path", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
298
+ allowable_values = ["-base_path", "-checkpoint", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "checkpoint", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
297
299
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
298
300
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
299
301
  end
@@ -306,6 +308,7 @@ module PulpPythonClient
306
308
  query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
307
309
  query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
308
310
  query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
311
+ query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
309
312
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
310
313
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
311
314
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
@@ -225,11 +225,12 @@ module PulpPythonClient
225
225
  # List python publications
226
226
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
227
227
  # @param [Hash] opts the optional parameters
228
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
228
229
  # @option opts [String] :content Content Unit referenced by HREF/PRN
229
230
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
230
231
  # @option opts [Integer] :limit Number of results to return per page.
231
232
  # @option opts [Integer] :offset The initial index from which to return the results.
232
- # @option opts [Array<String>] :ordering 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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
233
+ # @option opts [Array<String>] :ordering 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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
233
234
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
234
235
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
235
236
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -254,11 +255,12 @@ module PulpPythonClient
254
255
  # List python publications
255
256
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
256
257
  # @param [Hash] opts the optional parameters
258
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
257
259
  # @option opts [String] :content Content Unit referenced by HREF/PRN
258
260
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
259
261
  # @option opts [Integer] :limit Number of results to return per page.
260
262
  # @option opts [Integer] :offset The initial index from which to return the results.
261
- # @option opts [Array<String>] :ordering 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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
263
+ # @option opts [Array<String>] :ordering 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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
262
264
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
263
265
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
264
266
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -279,7 +281,7 @@ module PulpPythonClient
279
281
  if @api_client.config.debugging
280
282
  @api_client.config.logger.debug 'Calling API: PublicationsPypiApi.list ...'
281
283
  end
282
- allowable_values = ["-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
284
+ allowable_values = ["-checkpoint", "-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "checkpoint", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
283
285
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
284
286
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
285
287
  end
@@ -288,6 +290,7 @@ module PulpPythonClient
288
290
 
289
291
  # query parameters
290
292
  query_params = opts[:query_params] || {}
293
+ query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
291
294
  query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
292
295
  query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
293
296
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
@@ -27,6 +27,9 @@ module PulpPythonClient
27
27
  # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  # Artifact file representing the physical content
31
34
  attr_accessor :artifact
32
35
 
@@ -118,6 +121,7 @@ module PulpPythonClient
118
121
  :'prn' => :'prn',
119
122
  :'pulp_created' => :'pulp_created',
120
123
  :'pulp_last_updated' => :'pulp_last_updated',
124
+ :'pulp_labels' => :'pulp_labels',
121
125
  :'artifact' => :'artifact',
122
126
  :'filename' => :'filename',
123
127
  :'packagetype' => :'packagetype',
@@ -161,6 +165,7 @@ module PulpPythonClient
161
165
  :'prn' => :'String',
162
166
  :'pulp_created' => :'Time',
163
167
  :'pulp_last_updated' => :'Time',
168
+ :'pulp_labels' => :'Hash<String, String>',
164
169
  :'artifact' => :'String',
165
170
  :'filename' => :'String',
166
171
  :'packagetype' => :'String',
@@ -235,6 +240,12 @@ module PulpPythonClient
235
240
  self.pulp_last_updated = attributes[:'pulp_last_updated']
236
241
  end
237
242
 
243
+ if attributes.key?(:'pulp_labels')
244
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
245
+ self.pulp_labels = value
246
+ end
247
+ end
248
+
238
249
  if attributes.key?(:'artifact')
239
250
  self.artifact = attributes[:'artifact']
240
251
  end
@@ -374,6 +385,7 @@ module PulpPythonClient
374
385
  prn == o.prn &&
375
386
  pulp_created == o.pulp_created &&
376
387
  pulp_last_updated == o.pulp_last_updated &&
388
+ pulp_labels == o.pulp_labels &&
377
389
  artifact == o.artifact &&
378
390
  filename == o.filename &&
379
391
  packagetype == o.packagetype &&
@@ -413,7 +425,7 @@ module PulpPythonClient
413
425
  # Calculates hash code according to all attributes.
414
426
  # @return [Integer] Hash code
415
427
  def hash
416
- [pulp_href, prn, pulp_created, pulp_last_updated, artifact, filename, packagetype, name, version, sha256, metadata_version, summary, description, description_content_type, keywords, home_page, download_url, author, author_email, maintainer, maintainer_email, license, requires_python, project_url, project_urls, platform, supported_platform, requires_dist, provides_dist, obsoletes_dist, requires_external, classifiers].hash
428
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, filename, packagetype, name, version, sha256, metadata_version, summary, description, description_content_type, keywords, home_page, download_url, author, author_email, maintainer, maintainer_email, license, requires_python, project_url, project_urls, platform, supported_platform, requires_dist, provides_dist, obsoletes_dist, requires_external, classifiers].hash
417
429
  end
418
430
 
419
431
  # Builds the object from hash
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpPythonClient
17
- # Serializer for synchronously setting a label.
17
+ # Serializer for synchronously UNsetting a label.
18
18
  class UnsetLabel
19
19
  attr_accessor :key
20
20
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpPythonClient
17
- # Serializer for synchronously setting a label.
17
+ # Serializer for synchronously UNsetting a label.
18
18
  class UnsetLabelResponse
19
19
  attr_accessor :key
20
20
 
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.13.1'
14
+ VERSION = '3.13.3'
15
15
  end
@@ -38,6 +38,7 @@ describe 'ContentPackagesApi' do
38
38
  # @param relative_path Path where the artifact is located relative to distributions base_path
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
41
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
42
  # @option opts [String] :artifact Artifact file representing the physical content
42
43
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
43
44
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
@@ -86,13 +87,14 @@ describe 'ContentPackagesApi' do
86
87
  # @option opts [String] :name Filter results where name matches value
87
88
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
88
89
  # @option opts [Integer] :offset The initial index from which to return the results.
89
- # @option opts [Array<String>] :ordering 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;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
90
+ # @option opts [Array<String>] :ordering 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;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
90
91
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
91
92
  # @option opts [String] :packagetype Filter results where packagetype matches value * &#x60;bdist_dmg&#x60; - bdist_dmg * &#x60;bdist_dumb&#x60; - bdist_dumb * &#x60;bdist_egg&#x60; - bdist_egg * &#x60;bdist_msi&#x60; - bdist_msi * &#x60;bdist_rpm&#x60; - bdist_rpm * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;bdist_wininst&#x60; - bdist_wininst * &#x60;sdist&#x60; - sdist
92
93
  # @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
93
94
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
94
95
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
95
96
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
97
+ # @option opts [String] :pulp_label_select Filter labels by search string
96
98
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
97
99
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
98
100
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -130,4 +132,30 @@ describe 'ContentPackagesApi' do
130
132
  end
131
133
  end
132
134
 
135
+ # unit tests for set_label
136
+ # Set a label
137
+ # Set a single pulp_label on the object to a specific value or null.
138
+ # @param python_python_package_content_href
139
+ # @param set_label
140
+ # @param [Hash] opts the optional parameters
141
+ # @return [SetLabelResponse]
142
+ describe 'set_label test' do
143
+ it 'should work' do
144
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
145
+ end
146
+ end
147
+
148
+ # unit tests for unset_label
149
+ # Unset a label
150
+ # Unset a single pulp_label on the object.
151
+ # @param python_python_package_content_href
152
+ # @param unset_label
153
+ # @param [Hash] opts the optional parameters
154
+ # @return [UnsetLabelResponse]
155
+ describe 'unset_label test' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
158
+ end
159
+ end
160
+
133
161
  end
@@ -77,6 +77,7 @@ describe 'DistributionsPypiApi' do
77
77
  # @option opts [String] :base_path__contains Filter results where base_path contains value
78
78
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
79
79
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
80
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
80
81
  # @option opts [Integer] :limit Number of results to return per page.
81
82
  # @option opts [String] :name Filter results where name matches value
82
83
  # @option opts [String] :name__contains Filter results where name contains value
@@ -88,7 +89,7 @@ describe 'DistributionsPypiApi' do
88
89
  # @option opts [String] :name__regex Filter results where name matches regex value
89
90
  # @option opts [String] :name__startswith Filter results where name starts with value
90
91
  # @option opts [Integer] :offset The initial index from which to return the results.
91
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
92
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
92
93
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
93
94
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
94
95
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -73,11 +73,12 @@ describe 'PublicationsPypiApi' do
73
73
  # List python publications
74
74
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
75
75
  # @param [Hash] opts the optional parameters
76
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
76
77
  # @option opts [String] :content Content Unit referenced by HREF/PRN
77
78
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
78
79
  # @option opts [Integer] :limit Number of results to return per page.
79
80
  # @option opts [Integer] :offset The initial index from which to return the results.
80
- # @option opts [Array<String>] :ordering 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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
81
+ # @option opts [Array<String>] :ordering 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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
81
82
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
82
83
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
83
84
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -51,6 +51,12 @@ describe PulpPythonClient::PythonPythonPackageContentResponse do
51
51
  end
52
52
  end
53
53
 
54
+ describe 'test attribute "pulp_labels"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
54
60
  describe 'test attribute "artifact"' do
55
61
  it 'should work' do
56
62
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_python_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.1
4
+ version: 3.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-11 00:00:00.000000000 Z
11
+ date: 2025-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday-net_http
@@ -286,53 +286,53 @@ signing_key:
286
286
  specification_version: 4
287
287
  summary: Pulp 3 API Ruby Gem
288
288
  test_files:
289
- - spec/api/content_packages_api_spec.rb
289
+ - spec/api/pypi_api_spec.rb
290
290
  - spec/api/repositories_python_versions_api_spec.rb
291
+ - spec/api/publications_pypi_api_spec.rb
291
292
  - spec/api/pypi_legacy_api_spec.rb
292
- - spec/api/repositories_python_api_spec.rb
293
- - spec/api/distributions_pypi_api_spec.rb
294
293
  - spec/api/pypi_metadata_api_spec.rb
295
- - spec/api/pypi_simple_api_spec.rb
294
+ - spec/api/content_packages_api_spec.rb
296
295
  - spec/api/remotes_python_api_spec.rb
297
- - spec/api/pypi_api_spec.rb
298
- - spec/api/publications_pypi_api_spec.rb
299
- - spec/models/repository_version_response_spec.rb
296
+ - spec/api/pypi_simple_api_spec.rb
297
+ - spec/api/distributions_pypi_api_spec.rb
298
+ - spec/api/repositories_python_api_spec.rb
299
+ - spec/models/repair_spec.rb
300
+ - spec/models/patchedpython_python_distribution_spec.rb
301
+ - spec/models/python_python_repository_response_spec.rb
302
+ - spec/models/paginatedpython_python_repository_response_list_spec.rb
303
+ - spec/models/set_label_spec.rb
304
+ - spec/models/policy_enum_spec.rb
300
305
  - spec/models/python_python_package_content_response_spec.rb
301
- - spec/models/python_python_repository_spec.rb
302
- - spec/models/object_roles_response_spec.rb
306
+ - spec/models/repository_add_remove_content_spec.rb
307
+ - spec/models/exclude_platforms_enum_spec.rb
308
+ - spec/models/package_metadata_response_spec.rb
309
+ - spec/models/paginatedpython_python_remote_response_list_spec.rb
310
+ - spec/models/patchedpython_python_remote_spec.rb
303
311
  - spec/models/paginatedpython_python_distribution_response_list_spec.rb
312
+ - spec/models/nested_role_response_spec.rb
313
+ - spec/models/nested_role_spec.rb
314
+ - spec/models/package_types_enum_spec.rb
315
+ - spec/models/python_python_remote_spec.rb
316
+ - spec/models/repository_sync_url_spec.rb
317
+ - spec/models/patchedpython_python_repository_spec.rb
318
+ - spec/models/unset_label_spec.rb
319
+ - spec/models/python_python_distribution_response_spec.rb
304
320
  - spec/models/unset_label_response_spec.rb
305
- - spec/models/set_label_spec.rb
321
+ - spec/models/python_python_publication_response_spec.rb
322
+ - spec/models/python_python_distribution_spec.rb
323
+ - spec/models/repository_version_response_spec.rb
306
324
  - spec/models/paginatedpython_python_package_content_response_list_spec.rb
307
- - spec/models/repository_sync_url_spec.rb
308
325
  - spec/models/python_python_publication_spec.rb
309
- - spec/models/repository_add_remove_content_spec.rb
310
326
  - spec/models/python_python_remote_response_spec.rb
311
- - spec/models/package_upload_task_response_spec.rb
312
- - spec/models/python_python_remote_response_hidden_fields_inner_spec.rb
313
- - spec/models/paginatedpython_python_remote_response_list_spec.rb
314
- - spec/models/python_python_distribution_response_spec.rb
327
+ - spec/models/paginated_repository_version_response_list_spec.rb
328
+ - spec/models/my_permissions_response_spec.rb
315
329
  - spec/models/paginatedpython_python_publication_response_list_spec.rb
330
+ - spec/models/python_python_remote_response_hidden_fields_inner_spec.rb
331
+ - spec/models/object_roles_response_spec.rb
332
+ - spec/models/package_upload_task_response_spec.rb
333
+ - spec/models/set_label_response_spec.rb
316
334
  - spec/models/summary_response_spec.rb
317
- - spec/models/nested_role_spec.rb
318
- - spec/models/repair_spec.rb
319
- - spec/models/python_python_distribution_spec.rb
320
- - spec/models/patchedpython_python_distribution_spec.rb
321
- - spec/models/exclude_platforms_enum_spec.rb
322
- - spec/models/package_metadata_response_spec.rb
323
335
  - spec/models/content_summary_response_spec.rb
324
- - spec/models/my_permissions_response_spec.rb
325
- - spec/models/python_python_publication_response_spec.rb
326
- - spec/models/set_label_response_spec.rb
327
- - spec/models/python_python_remote_spec.rb
328
- - spec/models/nested_role_response_spec.rb
329
- - spec/models/policy_enum_spec.rb
330
- - spec/models/package_types_enum_spec.rb
331
- - spec/models/patchedpython_python_repository_spec.rb
336
+ - spec/models/python_python_repository_spec.rb
332
337
  - spec/models/async_operation_response_spec.rb
333
- - spec/models/patchedpython_python_remote_spec.rb
334
- - spec/models/paginated_repository_version_response_list_spec.rb
335
- - spec/models/unset_label_spec.rb
336
- - spec/models/python_python_repository_response_spec.rb
337
- - spec/models/paginatedpython_python_repository_response_list_spec.rb
338
338
  - spec/spec_helper.rb