pulp_python_client 3.1.0.dev01613619223 → 3.1.0.dev01613705623
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.
Potentially problematic release.
This version of pulp_python_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentPackagesApi.md +34 -34
- data/docs/DistributionsPypiApi.md +20 -20
- data/docs/PublicationsPypiApi.md +14 -14
- data/docs/RemotesPythonApi.md +24 -24
- data/docs/RepositoriesPythonApi.md +12 -12
- data/docs/RepositoriesPythonVersionsApi.md +28 -28
- data/lib/pulp_python_client/api/content_packages_api.rb +44 -40
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +22 -22
- data/lib/pulp_python_client/api/publications_pypi_api.rb +15 -15
- data/lib/pulp_python_client/api/remotes_python_api.rb +26 -26
- data/lib/pulp_python_client/api/repositories_python_api.rb +13 -13
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +50 -30
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +17 -17
- data/spec/api/distributions_pypi_api_spec.rb +10 -10
- data/spec/api/publications_pypi_api_spec.rb +7 -7
- data/spec/api/remotes_python_api_spec.rb +12 -12
- data/spec/api/repositories_python_api_spec.rb +6 -6
- data/spec/api/repositories_python_versions_api_spec.rb +14 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfd4e37d6aea2a602887878adcf9698a40d23a241b4e744d37ef6a7669254db0
|
4
|
+
data.tar.gz: '02830578c971bed534bdcd92ff2676999b0fbf1d53424473a7c0bc1f33f2fa18'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d46de2bc241bc5b445679371bc12b5496563b5110adb8c49f616357bbaf0d8335144f99e17ac5147af67926610c2df28bc066c301c4deacf13a5c534f41e5101
|
7
|
+
data.tar.gz: fd3ffe9e02cdf3e99f30acff743d92f7926e3f881ee09fa5b5c7d2ad7b6a92e473a0aa371e4ca54fc1145f4354b19ee3a291426c43cf6d72a0cc8e4481159f6d
|
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.1.0.
|
10
|
+
- Package version: 3.1.0.dev01613705623
|
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.1.0.
|
27
|
+
gem install ./pulp_python_client-3.1.0.dev01613705623.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.1.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.1.0.dev01613705623.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.1.0.
|
36
|
+
gem 'pulp_python_client', '~> 3.1.0.dev01613705623'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -131,26 +131,26 @@ end
|
|
131
131
|
|
132
132
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
133
133
|
opts = {
|
134
|
-
author: 'author_example', # String | author
|
135
|
-
author__in: 'author__in_example', # String |
|
136
|
-
filename: 'filename_example', # String | filename
|
137
|
-
filename__contains: 'filename__contains_example', # String |
|
138
|
-
filename__in: 'filename__in_example', # String |
|
139
|
-
keywords__contains: 'keywords__contains_example', # String |
|
140
|
-
keywords__in: 'keywords__in_example', # String |
|
134
|
+
author: 'author_example', # String | Filter results where author matches value
|
135
|
+
author__in: ['author__in_example'], # Array<String> | Filter results where author is in a comma-separated list of values
|
136
|
+
filename: 'filename_example', # String | Filter results where filename matches value
|
137
|
+
filename__contains: 'filename__contains_example', # String | Filter results where filename contains value
|
138
|
+
filename__in: ['filename__in_example'], # Array<String> | Filter results where filename is in a comma-separated list of values
|
139
|
+
keywords__contains: 'keywords__contains_example', # String | Filter results where keywords contains value
|
140
|
+
keywords__in: ['keywords__in_example'], # Array<String> | Filter results where keywords is in a comma-separated list of values
|
141
141
|
limit: 56, # Integer | Number of results to return per page.
|
142
|
-
name: 'name_example', # String | name
|
143
|
-
name__in: 'name__in_example', # String |
|
142
|
+
name: 'name_example', # String | Filter results where name matches value
|
143
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
144
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
145
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
146
|
-
packagetype: 'packagetype_example', # String | packagetype
|
147
|
-
packagetype__in: 'packagetype__in_example', # String |
|
148
|
-
repository_version: 'repository_version_example', # String |
|
149
|
-
repository_version_added: 'repository_version_added_example', # String |
|
150
|
-
repository_version_removed: 'repository_version_removed_example', # String |
|
151
|
-
requires_python: 'requires_python_example', # String | requires_python
|
152
|
-
requires_python__contains: 'requires_python__contains_example', # String |
|
153
|
-
requires_python__in: 'requires_python__in_example', # String |
|
146
|
+
packagetype: 'packagetype_example', # String | Filter results where packagetype matches value
|
147
|
+
packagetype__in: ['packagetype__in_example'], # Array<String> | Filter results where packagetype is in a comma-separated list of values
|
148
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
149
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
150
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
151
|
+
requires_python: 'requires_python_example', # String | Filter results where requires_python matches value
|
152
|
+
requires_python__contains: 'requires_python__contains_example', # String | Filter results where requires_python contains value
|
153
|
+
requires_python__in: ['requires_python__in_example'], # Array<String> | Filter results where requires_python is in a comma-separated list of values
|
154
154
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
155
155
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
156
156
|
}
|
@@ -169,26 +169,26 @@ end
|
|
169
169
|
|
170
170
|
Name | Type | Description | Notes
|
171
171
|
------------- | ------------- | ------------- | -------------
|
172
|
-
**author** | **String**| author | [optional]
|
173
|
-
**author__in** | **String
|
174
|
-
**filename** | **String**| filename | [optional]
|
175
|
-
**filename__contains** | **String**|
|
176
|
-
**filename__in** | **String
|
177
|
-
**keywords__contains** | **String**|
|
178
|
-
**keywords__in** | **String
|
172
|
+
**author** | **String**| Filter results where author matches value | [optional]
|
173
|
+
**author__in** | [**Array<String>**](String.md)| Filter results where author is in a comma-separated list of values | [optional]
|
174
|
+
**filename** | **String**| Filter results where filename matches value | [optional]
|
175
|
+
**filename__contains** | **String**| Filter results where filename contains value | [optional]
|
176
|
+
**filename__in** | [**Array<String>**](String.md)| Filter results where filename is in a comma-separated list of values | [optional]
|
177
|
+
**keywords__contains** | **String**| Filter results where keywords contains value | [optional]
|
178
|
+
**keywords__in** | [**Array<String>**](String.md)| Filter results where keywords is in a comma-separated list of values | [optional]
|
179
179
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
180
|
-
**name** | **String**| name | [optional]
|
181
|
-
**name__in** | **String
|
180
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
181
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
182
182
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
183
183
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
184
|
-
**packagetype** | **String**| packagetype | [optional]
|
185
|
-
**packagetype__in** | **String
|
186
|
-
**repository_version** | **String**|
|
187
|
-
**repository_version_added** | **String**|
|
188
|
-
**repository_version_removed** | **String**|
|
189
|
-
**requires_python** | **String**| requires_python | [optional]
|
190
|
-
**requires_python__contains** | **String**|
|
191
|
-
**requires_python__in** | **String
|
184
|
+
**packagetype** | **String**| Filter results where packagetype matches value | [optional]
|
185
|
+
**packagetype__in** | [**Array<String>**](String.md)| Filter results where packagetype is in a comma-separated list of values | [optional]
|
186
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
187
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
188
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
189
|
+
**requires_python** | **String**| Filter results where requires_python matches value | [optional]
|
190
|
+
**requires_python__contains** | **String**| Filter results where requires_python contains value | [optional]
|
191
|
+
**requires_python__in** | [**Array<String>**](String.md)| Filter results where requires_python is in a comma-separated list of values | [optional]
|
192
192
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
193
193
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
194
194
|
|
@@ -141,19 +141,19 @@ end
|
|
141
141
|
|
142
142
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
143
143
|
opts = {
|
144
|
-
base_path: 'base_path_example', # String |
|
145
|
-
base_path__contains: 'base_path__contains_example', # String |
|
146
|
-
base_path__icontains: 'base_path__icontains_example', # String |
|
147
|
-
base_path__in: 'base_path__in_example', # String |
|
144
|
+
base_path: 'base_path_example', # String |
|
145
|
+
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
146
|
+
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
147
|
+
base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
148
148
|
limit: 56, # Integer | Number of results to return per page.
|
149
|
-
name: 'name_example', # String |
|
150
|
-
name__contains: 'name__contains_example', # String |
|
151
|
-
name__icontains: 'name__icontains_example', # String |
|
152
|
-
name__in: 'name__in_example', # String |
|
153
|
-
name__startswith: 'name__startswith_example', # String |
|
149
|
+
name: 'name_example', # String |
|
150
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
151
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
152
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
155
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
156
|
-
pulp_label_select: 'pulp_label_select_example', # String |
|
156
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
157
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
158
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
159
159
|
}
|
@@ -172,19 +172,19 @@ end
|
|
172
172
|
|
173
173
|
Name | Type | Description | Notes
|
174
174
|
------------- | ------------- | ------------- | -------------
|
175
|
-
**base_path** | **String**|
|
176
|
-
**base_path__contains** | **String**|
|
177
|
-
**base_path__icontains** | **String**|
|
178
|
-
**base_path__in** | **String
|
175
|
+
**base_path** | **String**| | [optional]
|
176
|
+
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
177
|
+
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
178
|
+
**base_path__in** | [**Array<String>**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
|
179
179
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
180
|
-
**name** | **String**|
|
181
|
-
**name__contains** | **String**|
|
182
|
-
**name__icontains** | **String**|
|
183
|
-
**name__in** | **String
|
184
|
-
**name__startswith** | **String**|
|
180
|
+
**name** | **String**| | [optional]
|
181
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
182
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
183
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
184
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
185
185
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
186
186
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
187
|
-
**pulp_label_select** | **String**|
|
187
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
188
188
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
189
189
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
190
190
|
|
data/docs/PublicationsPypiApi.md
CHANGED
@@ -141,13 +141,13 @@ opts = {
|
|
141
141
|
limit: 56, # Integer | Number of results to return per page.
|
142
142
|
offset: 56, # Integer | The initial index from which to return the results.
|
143
143
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
144
|
-
pulp_created: '
|
145
|
-
pulp_created__gt: '
|
146
|
-
pulp_created__gte: '
|
147
|
-
pulp_created__lt: '
|
148
|
-
pulp_created__lte: '
|
149
|
-
pulp_created__range: '
|
150
|
-
repository_version: 'repository_version_example', # String |
|
144
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
145
|
+
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
146
|
+
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
147
|
+
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
148
|
+
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
149
|
+
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
|
150
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
151
151
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
152
152
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
153
153
|
}
|
@@ -169,13 +169,13 @@ Name | Type | Description | Notes
|
|
169
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
170
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
171
171
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
172
|
-
**pulp_created** | **
|
173
|
-
**pulp_created__gt** | **
|
174
|
-
**pulp_created__gte** | **
|
175
|
-
**pulp_created__lt** | **
|
176
|
-
**pulp_created__lte** | **
|
177
|
-
**pulp_created__range** | **
|
178
|
-
**repository_version** | **String
|
172
|
+
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
173
|
+
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
174
|
+
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
175
|
+
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
176
|
+
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
177
|
+
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
178
|
+
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
179
179
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
180
180
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
181
181
|
|
data/docs/RemotesPythonApi.md
CHANGED
@@ -202,20 +202,20 @@ end
|
|
202
202
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
203
203
|
opts = {
|
204
204
|
limit: 56, # Integer | Number of results to return per page.
|
205
|
-
name: 'name_example', # String |
|
206
|
-
name__contains: 'name__contains_example', # String |
|
207
|
-
name__icontains: 'name__icontains_example', # String |
|
208
|
-
name__in: 'name__in_example', # String |
|
209
|
-
name__startswith: 'name__startswith_example', # String |
|
205
|
+
name: 'name_example', # String |
|
206
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
207
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
208
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
209
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
210
210
|
offset: 56, # Integer | The initial index from which to return the results.
|
211
211
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
212
|
-
pulp_label_select: 'pulp_label_select_example', # String |
|
213
|
-
pulp_last_updated: '
|
214
|
-
pulp_last_updated__gt: '
|
215
|
-
pulp_last_updated__gte: '
|
216
|
-
pulp_last_updated__lt: '
|
217
|
-
pulp_last_updated__lte: '
|
218
|
-
pulp_last_updated__range: '
|
212
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
213
|
+
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
214
|
+
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
215
|
+
pulp_last_updated__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than or equal to value
|
216
|
+
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
217
|
+
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
218
|
+
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
219
219
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
220
220
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
221
221
|
}
|
@@ -235,20 +235,20 @@ end
|
|
235
235
|
Name | Type | Description | Notes
|
236
236
|
------------- | ------------- | ------------- | -------------
|
237
237
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
238
|
-
**name** | **String**|
|
239
|
-
**name__contains** | **String**|
|
240
|
-
**name__icontains** | **String**|
|
241
|
-
**name__in** | **String
|
242
|
-
**name__startswith** | **String**|
|
238
|
+
**name** | **String**| | [optional]
|
239
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
240
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
241
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
242
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
243
243
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
244
244
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
245
|
-
**pulp_label_select** | **String**|
|
246
|
-
**pulp_last_updated** | **
|
247
|
-
**pulp_last_updated__gt** | **
|
248
|
-
**pulp_last_updated__gte** | **
|
249
|
-
**pulp_last_updated__lt** | **
|
250
|
-
**pulp_last_updated__lte** | **
|
251
|
-
**pulp_last_updated__range** | **
|
245
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
246
|
+
**pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
247
|
+
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
248
|
+
**pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
|
249
|
+
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
250
|
+
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
251
|
+
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
252
252
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
253
253
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
254
254
|
|
@@ -144,14 +144,14 @@ end
|
|
144
144
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
145
145
|
opts = {
|
146
146
|
limit: 56, # Integer | Number of results to return per page.
|
147
|
-
name: 'name_example', # String |
|
148
|
-
name__contains: 'name__contains_example', # String |
|
149
|
-
name__icontains: 'name__icontains_example', # String |
|
150
|
-
name__in: 'name__in_example', # String |
|
151
|
-
name__startswith: 'name__startswith_example', # String |
|
147
|
+
name: 'name_example', # String |
|
148
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
149
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
150
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
151
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
152
152
|
offset: 56, # Integer | The initial index from which to return the results.
|
153
153
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
154
|
-
pulp_label_select: 'pulp_label_select_example', # String |
|
154
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
155
155
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
156
156
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
157
157
|
}
|
@@ -171,14 +171,14 @@ end
|
|
171
171
|
Name | Type | Description | Notes
|
172
172
|
------------- | ------------- | ------------- | -------------
|
173
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
|
-
**name** | **String**|
|
175
|
-
**name__contains** | **String**|
|
176
|
-
**name__icontains** | **String**|
|
177
|
-
**name__in** | **String
|
178
|
-
**name__startswith** | **String**|
|
174
|
+
**name** | **String**| | [optional]
|
175
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
176
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
177
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
178
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
179
179
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
180
180
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
181
|
-
**pulp_label_select** | **String**|
|
181
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
182
182
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
183
183
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
184
184
|
|
@@ -87,23 +87,23 @@ end
|
|
87
87
|
api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
|
88
88
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
89
89
|
opts = {
|
90
|
-
content: 'content_example', # String |
|
91
|
-
content__in: 'content__in_example', # String |
|
90
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
91
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
92
92
|
limit: 56, # Integer | Number of results to return per page.
|
93
|
-
number:
|
94
|
-
number__gt:
|
95
|
-
number__gte:
|
96
|
-
number__lt:
|
97
|
-
number__lte:
|
98
|
-
number__range:
|
93
|
+
number: 56, # Integer |
|
94
|
+
number__gt: 56, # Integer | Filter results where number is greater than value
|
95
|
+
number__gte: 56, # Integer | Filter results where number is greater than or equal to value
|
96
|
+
number__lt: 56, # Integer | Filter results where number is less than value
|
97
|
+
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
98
|
+
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
99
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
100
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
101
|
-
pulp_created: '
|
102
|
-
pulp_created__gt: '
|
103
|
-
pulp_created__gte: '
|
104
|
-
pulp_created__lt: '
|
105
|
-
pulp_created__lte: '
|
106
|
-
pulp_created__range: '
|
101
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
102
|
+
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
|
+
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
104
|
+
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
105
|
+
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
106
|
+
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
|
107
107
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
108
108
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
109
109
|
}
|
@@ -123,23 +123,23 @@ end
|
|
123
123
|
Name | Type | Description | Notes
|
124
124
|
------------- | ------------- | ------------- | -------------
|
125
125
|
**python_python_repository_href** | **String**| |
|
126
|
-
**content** | **String**|
|
127
|
-
**content__in** | **String**|
|
126
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
127
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
128
128
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
129
|
-
**number** | **
|
130
|
-
**number__gt** | **
|
131
|
-
**number__gte** | **
|
132
|
-
**number__lt** | **
|
133
|
-
**number__lte** | **
|
134
|
-
**number__range** | **
|
129
|
+
**number** | **Integer**| | [optional]
|
130
|
+
**number__gt** | **Integer**| Filter results where number is greater than value | [optional]
|
131
|
+
**number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
|
132
|
+
**number__lt** | **Integer**| Filter results where number is less than value | [optional]
|
133
|
+
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
134
|
+
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
135
135
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
136
136
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
137
|
-
**pulp_created** | **
|
138
|
-
**pulp_created__gt** | **
|
139
|
-
**pulp_created__gte** | **
|
140
|
-
**pulp_created__lt** | **
|
141
|
-
**pulp_created__lte** | **
|
142
|
-
**pulp_created__range** | **
|
137
|
+
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
138
|
+
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
139
|
+
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
140
|
+
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
141
|
+
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
142
|
+
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
143
143
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
144
144
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
145
145
|
|
@@ -153,26 +153,26 @@ module PulpPythonClient
|
|
153
153
|
# List python package contents
|
154
154
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
155
155
|
# @param [Hash] opts the optional parameters
|
156
|
-
# @option opts [String] :author author
|
157
|
-
# @option opts [String] :author__in
|
158
|
-
# @option opts [String] :filename filename
|
159
|
-
# @option opts [String] :filename__contains
|
160
|
-
# @option opts [String] :filename__in
|
161
|
-
# @option opts [String] :keywords__contains
|
162
|
-
# @option opts [String] :keywords__in
|
156
|
+
# @option opts [String] :author Filter results where author matches value
|
157
|
+
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
158
|
+
# @option opts [String] :filename Filter results where filename matches value
|
159
|
+
# @option opts [String] :filename__contains Filter results where filename contains value
|
160
|
+
# @option opts [Array<String>] :filename__in Filter results where filename is in a comma-separated list of values
|
161
|
+
# @option opts [String] :keywords__contains Filter results where keywords contains value
|
162
|
+
# @option opts [Array<String>] :keywords__in Filter results where keywords is in a comma-separated list of values
|
163
163
|
# @option opts [Integer] :limit Number of results to return per page.
|
164
|
-
# @option opts [String] :name name
|
165
|
-
# @option opts [String] :name__in
|
164
|
+
# @option opts [String] :name Filter results where name matches value
|
165
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
166
166
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
167
167
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
168
|
-
# @option opts [String] :packagetype packagetype
|
169
|
-
# @option opts [String] :packagetype__in
|
170
|
-
# @option opts [String] :repository_version
|
171
|
-
# @option opts [String] :repository_version_added
|
172
|
-
# @option opts [String] :repository_version_removed
|
173
|
-
# @option opts [String] :requires_python requires_python
|
174
|
-
# @option opts [String] :requires_python__contains
|
175
|
-
# @option opts [String] :requires_python__in
|
168
|
+
# @option opts [String] :packagetype Filter results where packagetype matches value
|
169
|
+
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
170
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
171
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
172
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
173
|
+
# @option opts [String] :requires_python Filter results where requires_python matches value
|
174
|
+
# @option opts [String] :requires_python__contains Filter results where requires_python contains value
|
175
|
+
# @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
|
176
176
|
# @option opts [String] :fields A list of fields to include in the response.
|
177
177
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
178
178
|
# @return [PaginatedpythonPythonPackageContentResponseList]
|
@@ -184,26 +184,26 @@ module PulpPythonClient
|
|
184
184
|
# List python package contents
|
185
185
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
186
186
|
# @param [Hash] opts the optional parameters
|
187
|
-
# @option opts [String] :author author
|
188
|
-
# @option opts [String] :author__in
|
189
|
-
# @option opts [String] :filename filename
|
190
|
-
# @option opts [String] :filename__contains
|
191
|
-
# @option opts [String] :filename__in
|
192
|
-
# @option opts [String] :keywords__contains
|
193
|
-
# @option opts [String] :keywords__in
|
187
|
+
# @option opts [String] :author Filter results where author matches value
|
188
|
+
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
189
|
+
# @option opts [String] :filename Filter results where filename matches value
|
190
|
+
# @option opts [String] :filename__contains Filter results where filename contains value
|
191
|
+
# @option opts [Array<String>] :filename__in Filter results where filename is in a comma-separated list of values
|
192
|
+
# @option opts [String] :keywords__contains Filter results where keywords contains value
|
193
|
+
# @option opts [Array<String>] :keywords__in Filter results where keywords is in a comma-separated list of values
|
194
194
|
# @option opts [Integer] :limit Number of results to return per page.
|
195
|
-
# @option opts [String] :name name
|
196
|
-
# @option opts [String] :name__in
|
195
|
+
# @option opts [String] :name Filter results where name matches value
|
196
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
197
197
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
198
198
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
199
|
-
# @option opts [String] :packagetype packagetype
|
200
|
-
# @option opts [String] :packagetype__in
|
201
|
-
# @option opts [String] :repository_version
|
202
|
-
# @option opts [String] :repository_version_added
|
203
|
-
# @option opts [String] :repository_version_removed
|
204
|
-
# @option opts [String] :requires_python requires_python
|
205
|
-
# @option opts [String] :requires_python__contains
|
206
|
-
# @option opts [String] :requires_python__in
|
199
|
+
# @option opts [String] :packagetype Filter results where packagetype matches value
|
200
|
+
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
201
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
202
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
203
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
204
|
+
# @option opts [String] :requires_python Filter results where requires_python matches value
|
205
|
+
# @option opts [String] :requires_python__contains Filter results where requires_python contains value
|
206
|
+
# @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
|
207
207
|
# @option opts [String] :fields A list of fields to include in the response.
|
208
208
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
209
209
|
# @return [Array<(PaginatedpythonPythonPackageContentResponseList, Integer, Hash)>] PaginatedpythonPythonPackageContentResponseList data, response status code and response headers
|
@@ -215,31 +215,35 @@ module PulpPythonClient
|
|
215
215
|
if @api_client.config.client_side_validation && opts[:'packagetype'] && !allowable_values.include?(opts[:'packagetype'])
|
216
216
|
fail ArgumentError, "invalid value for \"packagetype\", must be one of #{allowable_values}"
|
217
217
|
end
|
218
|
+
allowable_values = ["bdist_dmg", "bdist_dumb", "bdist_egg", "bdist_msi", "bdist_rpm", "bdist_wheel", "bdist_wininst", "sdist"]
|
219
|
+
if @api_client.config.client_side_validation && opts[:'packagetype__in'] && !opts[:'packagetype__in'].all? { |item| allowable_values.include?(item) }
|
220
|
+
fail ArgumentError, "invalid value for \"packagetype__in\", must include one of #{allowable_values}"
|
221
|
+
end
|
218
222
|
# resource path
|
219
223
|
local_var_path = '/pulp/api/v3/content/python/packages/'
|
220
224
|
|
221
225
|
# query parameters
|
222
226
|
query_params = opts[:query_params] || {}
|
223
227
|
query_params[:'author'] = opts[:'author'] if !opts[:'author'].nil?
|
224
|
-
query_params[:'author__in'] = opts[:'author__in'] if !opts[:'author__in'].nil?
|
228
|
+
query_params[:'author__in'] = @api_client.build_collection_param(opts[:'author__in'], :csv) if !opts[:'author__in'].nil?
|
225
229
|
query_params[:'filename'] = opts[:'filename'] if !opts[:'filename'].nil?
|
226
230
|
query_params[:'filename__contains'] = opts[:'filename__contains'] if !opts[:'filename__contains'].nil?
|
227
|
-
query_params[:'filename__in'] = opts[:'filename__in'] if !opts[:'filename__in'].nil?
|
231
|
+
query_params[:'filename__in'] = @api_client.build_collection_param(opts[:'filename__in'], :csv) if !opts[:'filename__in'].nil?
|
228
232
|
query_params[:'keywords__contains'] = opts[:'keywords__contains'] if !opts[:'keywords__contains'].nil?
|
229
|
-
query_params[:'keywords__in'] = opts[:'keywords__in'] if !opts[:'keywords__in'].nil?
|
233
|
+
query_params[:'keywords__in'] = @api_client.build_collection_param(opts[:'keywords__in'], :csv) if !opts[:'keywords__in'].nil?
|
230
234
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
231
235
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
232
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
236
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
233
237
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
234
238
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
235
239
|
query_params[:'packagetype'] = opts[:'packagetype'] if !opts[:'packagetype'].nil?
|
236
|
-
query_params[:'packagetype__in'] = opts[:'packagetype__in'] if !opts[:'packagetype__in'].nil?
|
240
|
+
query_params[:'packagetype__in'] = @api_client.build_collection_param(opts[:'packagetype__in'], :csv) if !opts[:'packagetype__in'].nil?
|
237
241
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
238
242
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
239
243
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
240
244
|
query_params[:'requires_python'] = opts[:'requires_python'] if !opts[:'requires_python'].nil?
|
241
245
|
query_params[:'requires_python__contains'] = opts[:'requires_python__contains'] if !opts[:'requires_python__contains'].nil?
|
242
|
-
query_params[:'requires_python__in'] = opts[:'requires_python__in'] if !opts[:'requires_python__in'].nil?
|
246
|
+
query_params[:'requires_python__in'] = @api_client.build_collection_param(opts[:'requires_python__in'], :csv) if !opts[:'requires_python__in'].nil?
|
243
247
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
244
248
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
245
249
|
|