pulp_python_client 3.10.0 → 3.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -8
- data/docs/ContentPackagesApi.md +11 -7
- data/docs/DistributionsPypiApi.md +126 -4
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedpythonPythonDistributionResponseList.md +2 -2
- data/docs/PaginatedpythonPythonPackageContentResponseList.md +2 -2
- data/docs/PaginatedpythonPythonPublicationResponseList.md +2 -2
- data/docs/PaginatedpythonPythonRemoteResponseList.md +2 -2
- data/docs/PaginatedpythonPythonRepositoryResponseList.md +2 -2
- data/docs/PatchedpythonPythonDistribution.md +2 -0
- data/docs/PublicationsPypiApi.md +3 -1
- data/docs/PypiApi.md +1 -1
- data/docs/PypiLegacyApi.md +1 -1
- data/docs/PypiMetadataApi.md +1 -1
- data/docs/PypiSimpleApi.md +1 -1
- data/docs/PythonPythonDistribution.md +2 -0
- data/docs/PythonPythonDistributionResponse.md +4 -0
- data/docs/PythonPythonPackageContent.md +5 -5
- data/docs/PythonPythonPackageContentResponse.md +2 -0
- data/docs/PythonPythonPublicationResponse.md +2 -0
- data/docs/PythonPythonRemoteResponse.md +2 -2
- data/docs/PythonPythonRemoteResponseHiddenFields.md +2 -2
- data/docs/PythonPythonRepositoryResponse.md +2 -0
- data/docs/RemotesPythonApi.md +123 -1
- data/docs/RepositoriesPythonApi.md +124 -2
- data/docs/RepositoriesPythonVersionsApi.md +3 -1
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_python_client/api/content_packages_api.rb +13 -7
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +158 -3
- data/lib/pulp_python_client/api/publications_pypi_api.rb +3 -0
- data/lib/pulp_python_client/api/remotes_python_api.rb +155 -0
- data/lib/pulp_python_client/api/repositories_python_api.rb +155 -0
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +3 -0
- data/lib/pulp_python_client/configuration.rb +2 -2
- data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +10 -0
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +13 -1
- data/lib/pulp_python_client/models/python_python_distribution.rb +13 -1
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +23 -1
- data/lib/pulp_python_client/models/python_python_package_content.rb +13 -13
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +11 -1
- data/lib/pulp_python_client/models/python_python_publication_response.rb +11 -1
- data/lib/pulp_python_client/models/python_python_remote_response.rb +11 -11
- data/lib/pulp_python_client/models/python_python_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_python_client/models/python_python_repository_response.rb +11 -1
- data/lib/pulp_python_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_python_client/models/set_label.rb +252 -0
- data/lib/pulp_python_client/models/set_label_response.rb +243 -0
- data/lib/pulp_python_client/models/unset_label.rb +242 -0
- data/lib/pulp_python_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_python_client/version.rb +1 -1
- data/lib/pulp_python_client.rb +4 -0
- data/spec/api/content_packages_api_spec.rb +5 -3
- data/spec/api/distributions_pypi_api_spec.rb +32 -1
- data/spec/api/publications_pypi_api_spec.rb +1 -0
- data/spec/api/remotes_python_api_spec.rb +31 -0
- data/spec/api/repositories_python_api_spec.rb +31 -0
- data/spec/api/repositories_python_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_distribution_response_spec.rb +12 -0
- data/spec/models/python_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_package_content_response_spec.rb +6 -0
- data/spec/models/python_python_package_content_spec.rb +4 -4
- data/spec/models/python_python_publication_response_spec.rb +6 -0
- data/spec/models/python_python_remote_response_spec.rb +6 -6
- data/spec/models/python_python_repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +47 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57b9e9362fb5492cbf8e32673936983f77126fda0ab20d29f3cf37484d3132bd
|
4
|
+
data.tar.gz: 4f6ac1bff1bc2f4dcd4e705f1ba4322f6e937f3a14b915cb418314a3024fae7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1aa40759c473c32d036f8d45a9afb8d7d3ea393e580b20556a59c968dca403dee82ed5a16441570e79427b638d551af2f4c797fbb5befcc247e82c6afcf62bda
|
7
|
+
data.tar.gz: 7d9e58cb267565b6880798aeac3461b25fc611d193b6b56533ab040d05b733e0797afed6a5dbae688533db9d3034ae8bfa048e391ca101184e5435746a7d9820
|
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.
|
10
|
+
- Package version: 3.11.1
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_python_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_python_client-3.
|
27
|
+
gem install ./pulp_python_client-3.11.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.11.1.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_python_client', '~> 3.
|
36
|
+
gem 'pulp_python_client', '~> 3.11.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -67,10 +67,10 @@ end
|
|
67
67
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
68
68
|
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
|
69
69
|
opts = {
|
70
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
71
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
72
70
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
73
|
-
|
71
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
72
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
73
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
74
74
|
sha256: '', # String | The SHA256 digest of this package.
|
75
75
|
summary: 'summary_example', # String | A one-line summary of what the package does.
|
76
76
|
description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
|
@@ -107,7 +107,7 @@ end
|
|
107
107
|
|
108
108
|
## Documentation for API Endpoints
|
109
109
|
|
110
|
-
All URIs are relative to *
|
110
|
+
All URIs are relative to *http://pulp*
|
111
111
|
|
112
112
|
Class | Method | HTTP request | Description
|
113
113
|
------------ | ------------- | ------------- | -------------
|
@@ -119,6 +119,8 @@ Class | Method | HTTP request | Description
|
|
119
119
|
*PulpPythonClient::DistributionsPypiApi* | [**list**](docs/DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
|
120
120
|
*PulpPythonClient::DistributionsPypiApi* | [**partial_update**](docs/DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
|
121
121
|
*PulpPythonClient::DistributionsPypiApi* | [**read**](docs/DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
|
122
|
+
*PulpPythonClient::DistributionsPypiApi* | [**set_label**](docs/DistributionsPypiApi.md#set_label) | **POST** {python_python_distribution_href}set_label/ | Set a label
|
123
|
+
*PulpPythonClient::DistributionsPypiApi* | [**unset_label**](docs/DistributionsPypiApi.md#unset_label) | **POST** {python_python_distribution_href}unset_label/ | Unset a label
|
122
124
|
*PulpPythonClient::DistributionsPypiApi* | [**update**](docs/DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
|
123
125
|
*PulpPythonClient::PublicationsPypiApi* | [**create**](docs/PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication
|
124
126
|
*PulpPythonClient::PublicationsPypiApi* | [**delete**](docs/PublicationsPypiApi.md#delete) | **DELETE** {python_python_publication_href} | Delete a python publication
|
@@ -136,6 +138,8 @@ Class | Method | HTTP request | Description
|
|
136
138
|
*PulpPythonClient::RemotesPythonApi* | [**list**](docs/RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
|
137
139
|
*PulpPythonClient::RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
|
138
140
|
*PulpPythonClient::RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
|
141
|
+
*PulpPythonClient::RemotesPythonApi* | [**set_label**](docs/RemotesPythonApi.md#set_label) | **POST** {python_python_remote_href}set_label/ | Set a label
|
142
|
+
*PulpPythonClient::RemotesPythonApi* | [**unset_label**](docs/RemotesPythonApi.md#unset_label) | **POST** {python_python_remote_href}unset_label/ | Unset a label
|
139
143
|
*PulpPythonClient::RemotesPythonApi* | [**update**](docs/RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
|
140
144
|
*PulpPythonClient::RepositoriesPythonApi* | [**create**](docs/RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository
|
141
145
|
*PulpPythonClient::RepositoriesPythonApi* | [**delete**](docs/RepositoriesPythonApi.md#delete) | **DELETE** {python_python_repository_href} | Delete a python repository
|
@@ -143,7 +147,9 @@ Class | Method | HTTP request | Description
|
|
143
147
|
*PulpPythonClient::RepositoriesPythonApi* | [**modify**](docs/RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content
|
144
148
|
*PulpPythonClient::RepositoriesPythonApi* | [**partial_update**](docs/RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository
|
145
149
|
*PulpPythonClient::RepositoriesPythonApi* | [**read**](docs/RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository
|
150
|
+
*PulpPythonClient::RepositoriesPythonApi* | [**set_label**](docs/RepositoriesPythonApi.md#set_label) | **POST** {python_python_repository_href}set_label/ | Set a label
|
146
151
|
*PulpPythonClient::RepositoriesPythonApi* | [**sync**](docs/RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote
|
152
|
+
*PulpPythonClient::RepositoriesPythonApi* | [**unset_label**](docs/RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label
|
147
153
|
*PulpPythonClient::RepositoriesPythonApi* | [**update**](docs/RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository
|
148
154
|
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**delete**](docs/RepositoriesPythonVersionsApi.md#delete) | **DELETE** {python_python_repository_version_href} | Delete a repository version
|
149
155
|
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**list**](docs/RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
|
@@ -186,7 +192,11 @@ Class | Method | HTTP request | Description
|
|
186
192
|
- [PulpPythonClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
187
193
|
- [PulpPythonClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
188
194
|
- [PulpPythonClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
195
|
+
- [PulpPythonClient::SetLabel](docs/SetLabel.md)
|
196
|
+
- [PulpPythonClient::SetLabelResponse](docs/SetLabelResponse.md)
|
189
197
|
- [PulpPythonClient::SummaryResponse](docs/SummaryResponse.md)
|
198
|
+
- [PulpPythonClient::UnsetLabel](docs/UnsetLabel.md)
|
199
|
+
- [PulpPythonClient::UnsetLabelResponse](docs/UnsetLabelResponse.md)
|
190
200
|
|
191
201
|
|
192
202
|
## Documentation for Authorization
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpPythonClient::ContentPackagesApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -33,10 +33,10 @@ end
|
|
33
33
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
34
34
|
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
|
35
35
|
opts = {
|
36
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
38
36
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
39
|
-
|
37
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
38
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
39
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
40
40
|
sha256: '', # String | The SHA256 digest of this package.
|
41
41
|
summary: 'summary_example', # String | A one-line summary of what the package does.
|
42
42
|
description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
|
@@ -76,10 +76,10 @@ end
|
|
76
76
|
Name | Type | Description | Notes
|
77
77
|
------------- | ------------- | ------------- | -------------
|
78
78
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
|
79
|
-
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
80
|
-
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
81
79
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
82
|
-
**
|
80
|
+
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
81
|
+
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
82
|
+
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
83
83
|
**sha256** | **String**| The SHA256 digest of this package. | [optional] [default to '']
|
84
84
|
**summary** | **String**| A one-line summary of what the package does. | [optional]
|
85
85
|
**description** | **String**| A longer description of the package that can run to several paragraphs. | [optional]
|
@@ -151,10 +151,12 @@ opts = {
|
|
151
151
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
152
152
|
offset: 56, # Integer | The initial index from which to return the results.
|
153
153
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `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)
|
154
|
+
orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
154
155
|
packagetype: 'packagetype_example', # 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
|
155
156
|
packagetype__in: ['packagetype__in_example'], # Array<String> | Filter results where packagetype is in a comma-separated list of values
|
156
157
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
157
158
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
159
|
+
q: 'q_example', # String |
|
158
160
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
159
161
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
160
162
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -198,10 +200,12 @@ Name | Type | Description | Notes
|
|
198
200
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
199
201
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
200
202
|
**ordering** | [**Array<String>**](String.md)| 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) | [optional]
|
203
|
+
**orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
201
204
|
**packagetype** | **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 | [optional]
|
202
205
|
**packagetype__in** | [**Array<String>**](String.md)| Filter results where packagetype is in a comma-separated list of values | [optional]
|
203
206
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
204
207
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
208
|
+
**q** | **String**| | [optional]
|
205
209
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
206
210
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
207
211
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpPythonClient::DistributionsPypiApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -9,6 +9,8 @@ Method | HTTP request | Description
|
|
9
9
|
[**list**](DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
|
10
10
|
[**partial_update**](DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
|
11
11
|
[**read**](DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
|
12
|
+
[**set_label**](DistributionsPypiApi.md#set_label) | **POST** {python_python_distribution_href}set_label/ | Set a label
|
13
|
+
[**unset_label**](DistributionsPypiApi.md#unset_label) | **POST** {python_python_distribution_href}unset_label/ | Unset a label
|
12
14
|
[**update**](DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
|
13
15
|
|
14
16
|
|
@@ -149,13 +151,18 @@ opts = {
|
|
149
151
|
name: 'name_example', # String | Filter results where name matches value
|
150
152
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
151
153
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
154
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
152
155
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
156
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
157
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
158
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
153
159
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
160
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
161
|
+
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
156
162
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
157
163
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
158
164
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
165
|
+
q: 'q_example', # String |
|
159
166
|
repository: 'repository_example', # String | Filter results where repository matches value
|
160
167
|
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
161
168
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
@@ -185,14 +192,19 @@ Name | Type | Description | Notes
|
|
185
192
|
**name** | **String**| Filter results where name matches value | [optional]
|
186
193
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
187
194
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
195
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
188
196
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
197
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
198
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
199
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
189
200
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
190
201
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
191
|
-
**ordering** | [**Array<String>**](String.md)| 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) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
202
|
+
**ordering** | [**Array<String>**](String.md)| 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) | [optional]
|
192
203
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
193
204
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
194
205
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
195
|
-
**
|
206
|
+
**q** | **String**| | [optional]
|
207
|
+
**repository** | [**String**](.md)| Filter results where repository matches value | [optional]
|
196
208
|
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
197
209
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
198
210
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
@@ -326,6 +338,116 @@ Name | Type | Description | Notes
|
|
326
338
|
- **Accept**: application/json
|
327
339
|
|
328
340
|
|
341
|
+
## set_label
|
342
|
+
|
343
|
+
> SetLabelResponse set_label(python_python_distribution_href, set_label)
|
344
|
+
|
345
|
+
Set a label
|
346
|
+
|
347
|
+
Set a single pulp_label on the object to a specific value or null.
|
348
|
+
|
349
|
+
### Example
|
350
|
+
|
351
|
+
```ruby
|
352
|
+
# load the gem
|
353
|
+
require 'pulp_python_client'
|
354
|
+
# setup authorization
|
355
|
+
PulpPythonClient.configure do |config|
|
356
|
+
# Configure HTTP basic authorization: basicAuth
|
357
|
+
config.username = 'YOUR USERNAME'
|
358
|
+
config.password = 'YOUR PASSWORD'
|
359
|
+
end
|
360
|
+
|
361
|
+
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
362
|
+
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
363
|
+
set_label = PulpPythonClient::SetLabel.new # SetLabel |
|
364
|
+
|
365
|
+
begin
|
366
|
+
#Set a label
|
367
|
+
result = api_instance.set_label(python_python_distribution_href, set_label)
|
368
|
+
p result
|
369
|
+
rescue PulpPythonClient::ApiError => e
|
370
|
+
puts "Exception when calling DistributionsPypiApi->set_label: #{e}"
|
371
|
+
end
|
372
|
+
```
|
373
|
+
|
374
|
+
### Parameters
|
375
|
+
|
376
|
+
|
377
|
+
Name | Type | Description | Notes
|
378
|
+
------------- | ------------- | ------------- | -------------
|
379
|
+
**python_python_distribution_href** | **String**| |
|
380
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
381
|
+
|
382
|
+
### Return type
|
383
|
+
|
384
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
385
|
+
|
386
|
+
### Authorization
|
387
|
+
|
388
|
+
[basicAuth](../README.md#basicAuth)
|
389
|
+
|
390
|
+
### HTTP request headers
|
391
|
+
|
392
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
393
|
+
- **Accept**: application/json
|
394
|
+
|
395
|
+
|
396
|
+
## unset_label
|
397
|
+
|
398
|
+
> UnsetLabelResponse unset_label(python_python_distribution_href, unset_label)
|
399
|
+
|
400
|
+
Unset a label
|
401
|
+
|
402
|
+
Unset a single pulp_label on the object.
|
403
|
+
|
404
|
+
### Example
|
405
|
+
|
406
|
+
```ruby
|
407
|
+
# load the gem
|
408
|
+
require 'pulp_python_client'
|
409
|
+
# setup authorization
|
410
|
+
PulpPythonClient.configure do |config|
|
411
|
+
# Configure HTTP basic authorization: basicAuth
|
412
|
+
config.username = 'YOUR USERNAME'
|
413
|
+
config.password = 'YOUR PASSWORD'
|
414
|
+
end
|
415
|
+
|
416
|
+
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
417
|
+
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
418
|
+
unset_label = PulpPythonClient::UnsetLabel.new # UnsetLabel |
|
419
|
+
|
420
|
+
begin
|
421
|
+
#Unset a label
|
422
|
+
result = api_instance.unset_label(python_python_distribution_href, unset_label)
|
423
|
+
p result
|
424
|
+
rescue PulpPythonClient::ApiError => e
|
425
|
+
puts "Exception when calling DistributionsPypiApi->unset_label: #{e}"
|
426
|
+
end
|
427
|
+
```
|
428
|
+
|
429
|
+
### Parameters
|
430
|
+
|
431
|
+
|
432
|
+
Name | Type | Description | Notes
|
433
|
+
------------- | ------------- | ------------- | -------------
|
434
|
+
**python_python_distribution_href** | **String**| |
|
435
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
436
|
+
|
437
|
+
### Return type
|
438
|
+
|
439
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
440
|
+
|
441
|
+
### Authorization
|
442
|
+
|
443
|
+
[basicAuth](../README.md#basicAuth)
|
444
|
+
|
445
|
+
### HTTP request headers
|
446
|
+
|
447
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
448
|
+
- **Accept**: application/json
|
449
|
+
|
450
|
+
|
329
451
|
## update
|
330
452
|
|
331
453
|
> AsyncOperationResponse update(python_python_distribution_href, python_python_distribution)
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | |
|
10
|
+
**results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<PythonPythonDistributionResponse>**](PythonPythonDistributionResponse.md) | |
|
10
|
+
**results** | [**Array<PythonPythonDistributionResponse>**](PythonPythonDistributionResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<PythonPythonPackageContentResponse>**](PythonPythonPackageContentResponse.md) | |
|
10
|
+
**results** | [**Array<PythonPythonPackageContentResponse>**](PythonPythonPackageContentResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<PythonPythonPublicationResponse>**](PythonPythonPublicationResponse.md) | |
|
10
|
+
**results** | [**Array<PythonPythonPublicationResponse>**](PythonPythonPublicationResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<PythonPythonRemoteResponse>**](PythonPythonRemoteResponse.md) | |
|
10
|
+
**results** | [**Array<PythonPythonRemoteResponse>**](PythonPythonRemoteResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<PythonPythonRepositoryResponse>**](PythonPythonRepositoryResponse.md) | |
|
10
|
+
**results** | [**Array<PythonPythonRepositoryResponse>**](PythonPythonRepositoryResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
9
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -20,6 +21,7 @@ require 'PulpPythonClient'
|
|
20
21
|
|
21
22
|
instance = PulpPythonClient::PatchedpythonPythonDistribution.new(base_path: null,
|
22
23
|
content_guard: null,
|
24
|
+
hidden: null,
|
23
25
|
pulp_labels: null,
|
24
26
|
name: null,
|
25
27
|
repository: null,
|
data/docs/PublicationsPypiApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpPythonClient::PublicationsPypiApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -151,6 +151,7 @@ opts = {
|
|
151
151
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
152
152
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
153
153
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
154
|
+
q: 'q_example', # String |
|
154
155
|
repository: 'repository_example', # String | Repository referenced by HREF
|
155
156
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
156
157
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
@@ -184,6 +185,7 @@ Name | Type | Description | Notes
|
|
184
185
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
185
186
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
186
187
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
188
|
+
**q** | **String**| | [optional]
|
187
189
|
**repository** | **String**| Repository referenced by HREF | [optional]
|
188
190
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
189
191
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
data/docs/PypiApi.md
CHANGED
data/docs/PypiLegacyApi.md
CHANGED
data/docs/PypiMetadataApi.md
CHANGED
data/docs/PypiSimpleApi.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
9
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -20,6 +21,7 @@ require 'PulpPythonClient'
|
|
20
21
|
|
21
22
|
instance = PulpPythonClient::PythonPythonDistribution.new(base_path: null,
|
22
23
|
content_guard: null,
|
24
|
+
hidden: null,
|
23
25
|
pulp_labels: null,
|
24
26
|
name: null,
|
25
27
|
repository: null,
|
@@ -6,9 +6,11 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | 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]
|
9
10
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
11
|
**base_url** | **String** | | [optional] [readonly]
|
11
12
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
13
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
12
14
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
13
15
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
16
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -23,9 +25,11 @@ require 'PulpPythonClient'
|
|
23
25
|
|
24
26
|
instance = PulpPythonClient::PythonPythonDistributionResponse.new(pulp_href: null,
|
25
27
|
pulp_created: null,
|
28
|
+
pulp_last_updated: null,
|
26
29
|
base_path: null,
|
27
30
|
base_url: null,
|
28
31
|
content_guard: null,
|
32
|
+
hidden: null,
|
29
33
|
pulp_labels: null,
|
30
34
|
name: null,
|
31
35
|
repository: null,
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
9
|
-
**file** | **File** | An uploaded file that may be turned into the
|
10
|
-
**
|
11
|
-
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
10
|
+
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
11
|
+
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
12
12
|
**sha256** | **String** | The SHA256 digest of this package. | [optional] [default to '']
|
13
13
|
**summary** | **String** | A one-line summary of what the package does. | [optional]
|
14
14
|
**description** | **String** | A longer description of the package that can run to several paragraphs. | [optional]
|
@@ -37,10 +37,10 @@ Name | Type | Description | Notes
|
|
37
37
|
```ruby
|
38
38
|
require 'PulpPythonClient'
|
39
39
|
|
40
|
-
instance = PulpPythonClient::PythonPythonPackageContent.new(
|
40
|
+
instance = PulpPythonClient::PythonPythonPackageContent.new(repository: null,
|
41
|
+
artifact: null,
|
41
42
|
relative_path: null,
|
42
43
|
file: null,
|
43
|
-
repository: null,
|
44
44
|
upload: null,
|
45
45
|
sha256: null,
|
46
46
|
summary: null,
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | 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]
|
9
10
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
11
|
**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]
|
11
12
|
**packagetype** | **String** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional] [readonly]
|
@@ -42,6 +43,7 @@ require 'PulpPythonClient'
|
|
42
43
|
|
43
44
|
instance = PulpPythonClient::PythonPythonPackageContentResponse.new(pulp_href: null,
|
44
45
|
pulp_created: null,
|
46
|
+
pulp_last_updated: null,
|
45
47
|
artifact: null,
|
46
48
|
filename: null,
|
47
49
|
packagetype: null,
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | 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]
|
9
10
|
**repository_version** | **String** | | [optional]
|
10
11
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
11
12
|
**distributions** | **Array<String>** | This publication is currently being hosted as configured by these distributions. | [optional] [readonly]
|
@@ -17,6 +18,7 @@ require 'PulpPythonClient'
|
|
17
18
|
|
18
19
|
instance = PulpPythonClient::PythonPythonPublicationResponse.new(pulp_href: null,
|
19
20
|
pulp_created: null,
|
21
|
+
pulp_last_updated: null,
|
20
22
|
repository_version: null,
|
21
23
|
repository: null,
|
22
24
|
distributions: null)
|