pulp_python_client 3.0.0b9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +175 -0
- data/Rakefile +10 -0
- data/docs/AsyncOperationResponse.md +17 -0
- data/docs/ContentPackagesApi.md +262 -0
- data/docs/ContentSummary.md +21 -0
- data/docs/DistributionsPypiApi.md +364 -0
- data/docs/InlineResponse200.md +23 -0
- data/docs/InlineResponse2001.md +23 -0
- data/docs/InlineResponse2002.md +23 -0
- data/docs/InlineResponse2003.md +23 -0
- data/docs/InlineResponse2004.md +23 -0
- data/docs/InlineResponse2005.md +23 -0
- data/docs/ProjectSpecifier.md +19 -0
- data/docs/PublicationsPypiApi.md +253 -0
- data/docs/PythonPythonDistribution.md +29 -0
- data/docs/PythonPythonDistributionRead.md +29 -0
- data/docs/PythonPythonPackageContentRead.md +69 -0
- data/docs/PythonPythonPublication.md +25 -0
- data/docs/PythonPythonPublicationRead.md +25 -0
- data/docs/PythonPythonRemote.md +49 -0
- data/docs/PythonPythonRemoteRead.md +49 -0
- data/docs/PythonPythonRepository.md +27 -0
- data/docs/PythonPythonRepositoryRead.md +27 -0
- data/docs/RemotesPythonApi.md +368 -0
- data/docs/RepositoriesPythonApi.md +468 -0
- data/docs/RepositoriesPythonVersionsApi.md +269 -0
- data/docs/RepositoryAddRemoveContent.md +21 -0
- data/docs/RepositorySyncURL.md +19 -0
- data/docs/RepositoryVersion.md +25 -0
- data/docs/RepositoryVersionRead.md +25 -0
- data/git_push.sh +58 -0
- data/lib/pulp_python_client.rb +67 -0
- data/lib/pulp_python_client/api/content_packages_api.rb +349 -0
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +445 -0
- data/lib/pulp_python_client/api/publications_pypi_api.rb +306 -0
- data/lib/pulp_python_client/api/remotes_python_api.rb +451 -0
- data/lib/pulp_python_client/api/repositories_python_api.rb +573 -0
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +336 -0
- data/lib/pulp_python_client/api_client.rb +402 -0
- data/lib/pulp_python_client/api_error.rb +57 -0
- data/lib/pulp_python_client/configuration.rb +243 -0
- data/lib/pulp_python_client/models/async_operation_response.rb +212 -0
- data/lib/pulp_python_client/models/content_summary.rb +246 -0
- data/lib/pulp_python_client/models/inline_response200.rb +247 -0
- data/lib/pulp_python_client/models/inline_response2001.rb +247 -0
- data/lib/pulp_python_client/models/inline_response2002.rb +247 -0
- data/lib/pulp_python_client/models/inline_response2003.rb +247 -0
- data/lib/pulp_python_client/models/inline_response2004.rb +247 -0
- data/lib/pulp_python_client/models/inline_response2005.rb +247 -0
- data/lib/pulp_python_client/models/project_specifier.rb +242 -0
- data/lib/pulp_python_client/models/python_python_distribution.rb +331 -0
- data/lib/pulp_python_client/models/python_python_distribution_read.rb +331 -0
- data/lib/pulp_python_client/models/python_python_package_content_read.rb +550 -0
- data/lib/pulp_python_client/models/python_python_publication.rb +247 -0
- data/lib/pulp_python_client/models/python_python_publication_read.rb +247 -0
- data/lib/pulp_python_client/models/python_python_remote.rb +565 -0
- data/lib/pulp_python_client/models/python_python_remote_read.rb +565 -0
- data/lib/pulp_python_client/models/python_python_repository.rb +294 -0
- data/lib/pulp_python_client/models/python_python_repository_read.rb +294 -0
- data/lib/pulp_python_client/models/repository_add_remove_content.rb +231 -0
- data/lib/pulp_python_client/models/repository_sync_url.rb +224 -0
- data/lib/pulp_python_client/models/repository_version.rb +244 -0
- data/lib/pulp_python_client/models/repository_version_read.rb +244 -0
- data/lib/pulp_python_client/version.rb +15 -0
- data/pulp_python_client.gemspec +39 -0
- data/spec/api/content_packages_api_spec.rb +114 -0
- data/spec/api/distributions_pypi_api_spec.rb +121 -0
- data/spec/api/publications_pypi_api_spec.rb +96 -0
- data/spec/api/remotes_python_api_spec.rb +123 -0
- data/spec/api/repositories_python_api_spec.rb +143 -0
- data/spec/api/repositories_python_versions_api_spec.rb +103 -0
- data/spec/api_client_spec.rb +188 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/async_operation_response_spec.rb +41 -0
- data/spec/models/content_summary_spec.rb +53 -0
- data/spec/models/inline_response2001_spec.rb +59 -0
- data/spec/models/inline_response2002_spec.rb +59 -0
- data/spec/models/inline_response2003_spec.rb +59 -0
- data/spec/models/inline_response2004_spec.rb +59 -0
- data/spec/models/inline_response2005_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +59 -0
- data/spec/models/project_specifier_spec.rb +47 -0
- data/spec/models/python_python_distribution_read_spec.rb +77 -0
- data/spec/models/python_python_distribution_spec.rb +77 -0
- data/spec/models/python_python_package_content_read_spec.rb +197 -0
- data/spec/models/python_python_publication_read_spec.rb +65 -0
- data/spec/models/python_python_publication_spec.rb +65 -0
- data/spec/models/python_python_remote_read_spec.rb +141 -0
- data/spec/models/python_python_remote_spec.rb +141 -0
- data/spec/models/python_python_repository_read_spec.rb +71 -0
- data/spec/models/python_python_repository_spec.rb +71 -0
- data/spec/models/repository_add_remove_content_spec.rb +53 -0
- data/spec/models/repository_sync_url_spec.rb +47 -0
- data/spec/models/repository_version_read_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +65 -0
- data/spec/spec_helper.rb +111 -0
- metadata +225 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpPythonClient::InlineResponse2003
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<PythonPythonRemoteRead>**](PythonPythonRemoteRead.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpPythonClient'
|
16
|
+
|
17
|
+
instance = PulpPythonClient::InlineResponse2003.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpPythonClient::InlineResponse2004
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<PythonPythonRepositoryRead>**](PythonPythonRepositoryRead.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpPythonClient'
|
16
|
+
|
17
|
+
instance = PulpPythonClient::InlineResponse2004.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpPythonClient::InlineResponse2005
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<RepositoryVersionRead>**](RepositoryVersionRead.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpPythonClient'
|
16
|
+
|
17
|
+
instance = PulpPythonClient::InlineResponse2005.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpPythonClient::ProjectSpecifier
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | A python project name. |
|
8
|
+
**version_specifier** | **String** | A version specifier accepts standard python versions syntax: `>=`, `<=`, `==`, `~=`, `>`, `<`, `!` and can be used in conjunction with other specifiers i.e. `>1`,`<=3`,`!=3.0.2`. Note that the specifiers treat pre-released versions as `<` released versions, so 3.0.0a1 < 3.0.0. Not setting the version_specifier will sync all the pre-released and released versions. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpPythonClient'
|
14
|
+
|
15
|
+
instance = PulpPythonClient::ProjectSpecifier.new(name: null,
|
16
|
+
version_specifier: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,253 @@
|
|
1
|
+
# PulpPythonClient::PublicationsPypiApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication
|
8
|
+
[**delete**](PublicationsPypiApi.md#delete) | **DELETE** {python_publication_href} | Delete a python publication
|
9
|
+
[**list**](PublicationsPypiApi.md#list) | **GET** /pulp/api/v3/publications/python/pypi/ | List python publications
|
10
|
+
[**read**](PublicationsPypiApi.md#read) | **GET** {python_publication_href} | Inspect a python publication
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## create
|
15
|
+
|
16
|
+
> AsyncOperationResponse create(data)
|
17
|
+
|
18
|
+
Create a python publication
|
19
|
+
|
20
|
+
Trigger an asynchronous task to publish python content.
|
21
|
+
|
22
|
+
### Example
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
# load the gem
|
26
|
+
require 'pulp_python_client'
|
27
|
+
# setup authorization
|
28
|
+
PulpPythonClient.configure do |config|
|
29
|
+
# Configure HTTP basic authorization: Basic
|
30
|
+
config.username = 'YOUR USERNAME'
|
31
|
+
config.password = 'YOUR PASSWORD'
|
32
|
+
end
|
33
|
+
|
34
|
+
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
35
|
+
data = PulpPythonClient::PythonPythonPublication.new # PythonPythonPublication |
|
36
|
+
|
37
|
+
begin
|
38
|
+
#Create a python publication
|
39
|
+
result = api_instance.create(data)
|
40
|
+
p result
|
41
|
+
rescue PulpPythonClient::ApiError => e
|
42
|
+
puts "Exception when calling PublicationsPypiApi->create: #{e}"
|
43
|
+
end
|
44
|
+
```
|
45
|
+
|
46
|
+
### Parameters
|
47
|
+
|
48
|
+
|
49
|
+
Name | Type | Description | Notes
|
50
|
+
------------- | ------------- | ------------- | -------------
|
51
|
+
**data** | [**PythonPythonPublication**](PythonPythonPublication.md)| |
|
52
|
+
|
53
|
+
### Return type
|
54
|
+
|
55
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
56
|
+
|
57
|
+
### Authorization
|
58
|
+
|
59
|
+
[Basic](../README.md#Basic)
|
60
|
+
|
61
|
+
### HTTP request headers
|
62
|
+
|
63
|
+
- **Content-Type**: application/json
|
64
|
+
- **Accept**: application/json
|
65
|
+
|
66
|
+
|
67
|
+
## delete
|
68
|
+
|
69
|
+
> delete(python_publication_href)
|
70
|
+
|
71
|
+
Delete a python publication
|
72
|
+
|
73
|
+
Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
74
|
+
|
75
|
+
### Example
|
76
|
+
|
77
|
+
```ruby
|
78
|
+
# load the gem
|
79
|
+
require 'pulp_python_client'
|
80
|
+
# setup authorization
|
81
|
+
PulpPythonClient.configure do |config|
|
82
|
+
# Configure HTTP basic authorization: Basic
|
83
|
+
config.username = 'YOUR USERNAME'
|
84
|
+
config.password = 'YOUR PASSWORD'
|
85
|
+
end
|
86
|
+
|
87
|
+
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
88
|
+
python_publication_href = 'python_publication_href_example' # String | URI of Python Publication. e.g.: /pulp/api/v3/publications/python/pypi/1/
|
89
|
+
|
90
|
+
begin
|
91
|
+
#Delete a python publication
|
92
|
+
api_instance.delete(python_publication_href)
|
93
|
+
rescue PulpPythonClient::ApiError => e
|
94
|
+
puts "Exception when calling PublicationsPypiApi->delete: #{e}"
|
95
|
+
end
|
96
|
+
```
|
97
|
+
|
98
|
+
### Parameters
|
99
|
+
|
100
|
+
|
101
|
+
Name | Type | Description | Notes
|
102
|
+
------------- | ------------- | ------------- | -------------
|
103
|
+
**python_publication_href** | **String**| URI of Python Publication. e.g.: /pulp/api/v3/publications/python/pypi/1/ |
|
104
|
+
|
105
|
+
### Return type
|
106
|
+
|
107
|
+
nil (empty response body)
|
108
|
+
|
109
|
+
### Authorization
|
110
|
+
|
111
|
+
[Basic](../README.md#Basic)
|
112
|
+
|
113
|
+
### HTTP request headers
|
114
|
+
|
115
|
+
- **Content-Type**: Not defined
|
116
|
+
- **Accept**: Not defined
|
117
|
+
|
118
|
+
|
119
|
+
## list
|
120
|
+
|
121
|
+
> InlineResponse2002 list(opts)
|
122
|
+
|
123
|
+
List python publications
|
124
|
+
|
125
|
+
Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
126
|
+
|
127
|
+
### Example
|
128
|
+
|
129
|
+
```ruby
|
130
|
+
# load the gem
|
131
|
+
require 'pulp_python_client'
|
132
|
+
# setup authorization
|
133
|
+
PulpPythonClient.configure do |config|
|
134
|
+
# Configure HTTP basic authorization: Basic
|
135
|
+
config.username = 'YOUR USERNAME'
|
136
|
+
config.password = 'YOUR PASSWORD'
|
137
|
+
end
|
138
|
+
|
139
|
+
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
140
|
+
opts = {
|
141
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
142
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
143
|
+
pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
|
144
|
+
pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
|
145
|
+
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
146
|
+
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
147
|
+
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
148
|
+
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
149
|
+
limit: 56, # Integer | Number of results to return per page.
|
150
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
151
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
152
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
153
|
+
}
|
154
|
+
|
155
|
+
begin
|
156
|
+
#List python publications
|
157
|
+
result = api_instance.list(opts)
|
158
|
+
p result
|
159
|
+
rescue PulpPythonClient::ApiError => e
|
160
|
+
puts "Exception when calling PublicationsPypiApi->list: #{e}"
|
161
|
+
end
|
162
|
+
```
|
163
|
+
|
164
|
+
### Parameters
|
165
|
+
|
166
|
+
|
167
|
+
Name | Type | Description | Notes
|
168
|
+
------------- | ------------- | ------------- | -------------
|
169
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
170
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
171
|
+
**pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
|
172
|
+
**pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
|
173
|
+
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
174
|
+
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
175
|
+
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
176
|
+
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
177
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
178
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
179
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
180
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
181
|
+
|
182
|
+
### Return type
|
183
|
+
|
184
|
+
[**InlineResponse2002**](InlineResponse2002.md)
|
185
|
+
|
186
|
+
### Authorization
|
187
|
+
|
188
|
+
[Basic](../README.md#Basic)
|
189
|
+
|
190
|
+
### HTTP request headers
|
191
|
+
|
192
|
+
- **Content-Type**: Not defined
|
193
|
+
- **Accept**: application/json
|
194
|
+
|
195
|
+
|
196
|
+
## read
|
197
|
+
|
198
|
+
> PythonPythonPublicationRead read(python_publication_href, opts)
|
199
|
+
|
200
|
+
Inspect a python publication
|
201
|
+
|
202
|
+
Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
203
|
+
|
204
|
+
### Example
|
205
|
+
|
206
|
+
```ruby
|
207
|
+
# load the gem
|
208
|
+
require 'pulp_python_client'
|
209
|
+
# setup authorization
|
210
|
+
PulpPythonClient.configure do |config|
|
211
|
+
# Configure HTTP basic authorization: Basic
|
212
|
+
config.username = 'YOUR USERNAME'
|
213
|
+
config.password = 'YOUR PASSWORD'
|
214
|
+
end
|
215
|
+
|
216
|
+
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
217
|
+
python_publication_href = 'python_publication_href_example' # String | URI of Python Publication. e.g.: /pulp/api/v3/publications/python/pypi/1/
|
218
|
+
opts = {
|
219
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
220
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
221
|
+
}
|
222
|
+
|
223
|
+
begin
|
224
|
+
#Inspect a python publication
|
225
|
+
result = api_instance.read(python_publication_href, opts)
|
226
|
+
p result
|
227
|
+
rescue PulpPythonClient::ApiError => e
|
228
|
+
puts "Exception when calling PublicationsPypiApi->read: #{e}"
|
229
|
+
end
|
230
|
+
```
|
231
|
+
|
232
|
+
### Parameters
|
233
|
+
|
234
|
+
|
235
|
+
Name | Type | Description | Notes
|
236
|
+
------------- | ------------- | ------------- | -------------
|
237
|
+
**python_publication_href** | **String**| URI of Python Publication. e.g.: /pulp/api/v3/publications/python/pypi/1/ |
|
238
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
239
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
240
|
+
|
241
|
+
### Return type
|
242
|
+
|
243
|
+
[**PythonPythonPublicationRead**](PythonPythonPublicationRead.md)
|
244
|
+
|
245
|
+
### Authorization
|
246
|
+
|
247
|
+
[Basic](../README.md#Basic)
|
248
|
+
|
249
|
+
### HTTP request headers
|
250
|
+
|
251
|
+
- **Content-Type**: Not defined
|
252
|
+
- **Accept**: application/json
|
253
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# PulpPythonClient::PythonPythonDistribution
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**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
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
|
+
**publication** | **String** | Publication to be served | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'PulpPythonClient'
|
19
|
+
|
20
|
+
instance = PulpPythonClient::PythonPythonDistribution.new(pulp_href: null,
|
21
|
+
pulp_created: null,
|
22
|
+
base_path: null,
|
23
|
+
base_url: null,
|
24
|
+
content_guard: null,
|
25
|
+
name: null,
|
26
|
+
publication: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# PulpPythonClient::PythonPythonDistributionRead
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**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
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
|
+
**publication** | **String** | Publication to be served | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'PulpPythonClient'
|
19
|
+
|
20
|
+
instance = PulpPythonClient::PythonPythonDistributionRead.new(pulp_href: null,
|
21
|
+
pulp_created: null,
|
22
|
+
base_path: null,
|
23
|
+
base_url: null,
|
24
|
+
content_guard: null,
|
25
|
+
name: null,
|
26
|
+
publication: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# PulpPythonClient::PythonPythonPackageContentRead
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
|
+
**filename** | **String** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} |
|
11
|
+
**packagetype** | **String** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional] [readonly]
|
12
|
+
**name** | **String** | The name of the python project. | [optional] [readonly]
|
13
|
+
**version** | **String** | The packages version number. | [optional] [readonly]
|
14
|
+
**metadata_version** | **String** | Version of the file format | [optional] [readonly]
|
15
|
+
**summary** | **String** | A one-line summary of what the package does. | [optional]
|
16
|
+
**description** | **String** | A longer description of the package that can run to several paragraphs. | [optional]
|
17
|
+
**keywords** | **String** | Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
|
18
|
+
**home_page** | **String** | The URL for the package's home page. | [optional]
|
19
|
+
**download_url** | **String** | Legacy field denoting the URL from which this package can be downloaded. | [optional]
|
20
|
+
**author** | **String** | Text containing the author's name. Contact information can also be added, separated with newlines. | [optional]
|
21
|
+
**author_email** | **String** | The author's e-mail address. | [optional]
|
22
|
+
**maintainer** | **String** | The maintainer's name at a minimum; additional contact information may be provided. | [optional]
|
23
|
+
**maintainer_email** | **String** | The maintainer's e-mail address. | [optional]
|
24
|
+
**license** | **String** | Text indicating the license covering the distribution | [optional]
|
25
|
+
**requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
26
|
+
**project_url** | **String** | A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
27
|
+
**platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
28
|
+
**supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
29
|
+
**requires_dist** | [**Object**](.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
30
|
+
**provides_dist** | [**Object**](.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
31
|
+
**obsoletes_dist** | [**Object**](.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
|
32
|
+
**requires_external** | [**Object**](.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
33
|
+
**classifiers** | [**Object**](.md) | A JSON list containing classification values for a Python package. | [optional]
|
34
|
+
|
35
|
+
## Code Sample
|
36
|
+
|
37
|
+
```ruby
|
38
|
+
require 'PulpPythonClient'
|
39
|
+
|
40
|
+
instance = PulpPythonClient::PythonPythonPackageContentRead.new(pulp_href: null,
|
41
|
+
pulp_created: null,
|
42
|
+
artifact: null,
|
43
|
+
filename: null,
|
44
|
+
packagetype: null,
|
45
|
+
name: null,
|
46
|
+
version: null,
|
47
|
+
metadata_version: null,
|
48
|
+
summary: null,
|
49
|
+
description: null,
|
50
|
+
keywords: null,
|
51
|
+
home_page: null,
|
52
|
+
download_url: null,
|
53
|
+
author: null,
|
54
|
+
author_email: null,
|
55
|
+
maintainer: null,
|
56
|
+
maintainer_email: null,
|
57
|
+
license: null,
|
58
|
+
requires_python: null,
|
59
|
+
project_url: null,
|
60
|
+
platform: null,
|
61
|
+
supported_platform: null,
|
62
|
+
requires_dist: null,
|
63
|
+
provides_dist: null,
|
64
|
+
obsoletes_dist: null,
|
65
|
+
requires_external: null,
|
66
|
+
classifiers: null)
|
67
|
+
```
|
68
|
+
|
69
|
+
|