pulp_python_client 3.1.0.dev01613446410 → 3.1.0.dev01613878414
Sign up to get free protection for your applications and to get access to all the features.
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
@@ -148,19 +148,19 @@ module PulpPythonClient
|
|
148
148
|
# List python distributions
|
149
149
|
# Pulp Python Distributions are used to distribute Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is refered to as Python Package Content.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
|
-
# @option opts [String] :base_path
|
152
|
-
# @option opts [String] :base_path__contains
|
153
|
-
# @option opts [String] :base_path__icontains
|
154
|
-
# @option opts [String] :base_path__in
|
151
|
+
# @option opts [String] :base_path
|
152
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
153
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
154
|
+
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
155
155
|
# @option opts [Integer] :limit Number of results to return per page.
|
156
|
-
# @option opts [String] :name
|
157
|
-
# @option opts [String] :name__contains
|
158
|
-
# @option opts [String] :name__icontains
|
159
|
-
# @option opts [String] :name__in
|
160
|
-
# @option opts [String] :name__startswith
|
156
|
+
# @option opts [String] :name
|
157
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
158
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
159
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
160
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
161
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
162
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
163
|
-
# @option opts [String] :pulp_label_select
|
163
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
164
164
|
# @option opts [String] :fields A list of fields to include in the response.
|
165
165
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
166
166
|
# @return [PaginatedpythonPythonDistributionResponseList]
|
@@ -172,19 +172,19 @@ module PulpPythonClient
|
|
172
172
|
# List python distributions
|
173
173
|
# Pulp Python Distributions are used to distribute Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is refered to as Python Package Content.
|
174
174
|
# @param [Hash] opts the optional parameters
|
175
|
-
# @option opts [String] :base_path
|
176
|
-
# @option opts [String] :base_path__contains
|
177
|
-
# @option opts [String] :base_path__icontains
|
178
|
-
# @option opts [String] :base_path__in
|
175
|
+
# @option opts [String] :base_path
|
176
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
177
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
178
|
+
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
179
179
|
# @option opts [Integer] :limit Number of results to return per page.
|
180
|
-
# @option opts [String] :name
|
181
|
-
# @option opts [String] :name__contains
|
182
|
-
# @option opts [String] :name__icontains
|
183
|
-
# @option opts [String] :name__in
|
184
|
-
# @option opts [String] :name__startswith
|
180
|
+
# @option opts [String] :name
|
181
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
182
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
183
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
184
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
185
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
186
186
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
187
|
-
# @option opts [String] :pulp_label_select
|
187
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
188
188
|
# @option opts [String] :fields A list of fields to include in the response.
|
189
189
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
190
190
|
# @return [Array<(PaginatedpythonPythonDistributionResponseList, Integer, Hash)>] PaginatedpythonPythonDistributionResponseList data, response status code and response headers
|
@@ -200,12 +200,12 @@ module PulpPythonClient
|
|
200
200
|
query_params[:'base_path'] = opts[:'base_path'] if !opts[:'base_path'].nil?
|
201
201
|
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
202
202
|
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
203
|
-
query_params[:'base_path__in'] = opts[:'base_path__in'] if !opts[:'base_path__in'].nil?
|
203
|
+
query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
|
204
204
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
205
205
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
206
206
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
207
207
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
208
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
208
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
209
209
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
210
210
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
211
211
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -149,13 +149,13 @@ module PulpPythonClient
|
|
149
149
|
# @option opts [Integer] :limit Number of results to return per page.
|
150
150
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
151
151
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
152
|
-
# @option opts [
|
153
|
-
# @option opts [
|
154
|
-
# @option opts [
|
155
|
-
# @option opts [
|
156
|
-
# @option opts [
|
157
|
-
# @option opts [
|
158
|
-
# @option opts [String] :repository_version
|
152
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
153
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
154
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
155
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
156
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
157
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
158
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
159
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
160
160
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
161
161
|
# @return [PaginatedpythonPythonPublicationResponseList]
|
@@ -170,13 +170,13 @@ module PulpPythonClient
|
|
170
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
172
172
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
173
|
-
# @option opts [
|
174
|
-
# @option opts [
|
175
|
-
# @option opts [
|
176
|
-
# @option opts [
|
177
|
-
# @option opts [
|
178
|
-
# @option opts [
|
179
|
-
# @option opts [String] :repository_version
|
173
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
174
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
175
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
176
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
177
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
178
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
179
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
180
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
181
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
182
182
|
# @return [Array<(PaginatedpythonPythonPublicationResponseList, Integer, Hash)>] PaginatedpythonPythonPublicationResponseList data, response status code and response headers
|
@@ -197,7 +197,7 @@ module PulpPythonClient
|
|
197
197
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
198
198
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
199
199
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
200
|
-
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
200
|
+
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
201
201
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
202
202
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
203
203
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
@@ -224,20 +224,20 @@ module PulpPythonClient
|
|
224
224
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
225
225
|
# @param [Hash] opts the optional parameters
|
226
226
|
# @option opts [Integer] :limit Number of results to return per page.
|
227
|
-
# @option opts [String] :name
|
228
|
-
# @option opts [String] :name__contains
|
229
|
-
# @option opts [String] :name__icontains
|
230
|
-
# @option opts [String] :name__in
|
231
|
-
# @option opts [String] :name__startswith
|
227
|
+
# @option opts [String] :name
|
228
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
229
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
230
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
231
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
232
232
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
233
233
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
234
|
-
# @option opts [String] :pulp_label_select
|
235
|
-
# @option opts [
|
236
|
-
# @option opts [
|
237
|
-
# @option opts [
|
238
|
-
# @option opts [
|
239
|
-
# @option opts [
|
240
|
-
# @option opts [
|
234
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
235
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
236
|
+
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
237
|
+
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
238
|
+
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
239
|
+
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
240
|
+
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
241
241
|
# @option opts [String] :fields A list of fields to include in the response.
|
242
242
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
243
243
|
# @return [PaginatedpythonPythonRemoteResponseList]
|
@@ -250,20 +250,20 @@ module PulpPythonClient
|
|
250
250
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
251
251
|
# @param [Hash] opts the optional parameters
|
252
252
|
# @option opts [Integer] :limit Number of results to return per page.
|
253
|
-
# @option opts [String] :name
|
254
|
-
# @option opts [String] :name__contains
|
255
|
-
# @option opts [String] :name__icontains
|
256
|
-
# @option opts [String] :name__in
|
257
|
-
# @option opts [String] :name__startswith
|
253
|
+
# @option opts [String] :name
|
254
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
255
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
256
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
257
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
258
258
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
259
259
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
260
|
-
# @option opts [String] :pulp_label_select
|
261
|
-
# @option opts [
|
262
|
-
# @option opts [
|
263
|
-
# @option opts [
|
264
|
-
# @option opts [
|
265
|
-
# @option opts [
|
266
|
-
# @option opts [
|
260
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
261
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
262
|
+
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
263
|
+
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
264
|
+
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
265
|
+
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
266
|
+
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
267
267
|
# @option opts [String] :fields A list of fields to include in the response.
|
268
268
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
269
269
|
# @return [Array<(PaginatedpythonPythonRemoteResponseList, Integer, Hash)>] PaginatedpythonPythonRemoteResponseList data, response status code and response headers
|
@@ -280,7 +280,7 @@ module PulpPythonClient
|
|
280
280
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
281
281
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
282
282
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
283
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
283
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
284
284
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
285
285
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
286
286
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -290,7 +290,7 @@ module PulpPythonClient
|
|
290
290
|
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
291
291
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
292
292
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
293
|
-
query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
|
293
|
+
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
294
294
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
295
295
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
296
296
|
|
@@ -149,14 +149,14 @@ module PulpPythonClient
|
|
149
149
|
# A ViewSet for PythonRepository.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name
|
153
|
-
# @option opts [String] :name__contains
|
154
|
-
# @option opts [String] :name__icontains
|
155
|
-
# @option opts [String] :name__in
|
156
|
-
# @option opts [String] :name__startswith
|
152
|
+
# @option opts [String] :name
|
153
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
154
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
155
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
159
|
-
# @option opts [String] :pulp_label_select
|
159
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
160
|
# @option opts [String] :fields A list of fields to include in the response.
|
161
161
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
162
162
|
# @return [PaginatedpythonPythonRepositoryResponseList]
|
@@ -169,14 +169,14 @@ module PulpPythonClient
|
|
169
169
|
# A ViewSet for PythonRepository.
|
170
170
|
# @param [Hash] opts the optional parameters
|
171
171
|
# @option opts [Integer] :limit Number of results to return per page.
|
172
|
-
# @option opts [String] :name
|
173
|
-
# @option opts [String] :name__contains
|
174
|
-
# @option opts [String] :name__icontains
|
175
|
-
# @option opts [String] :name__in
|
176
|
-
# @option opts [String] :name__startswith
|
172
|
+
# @option opts [String] :name
|
173
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
174
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
175
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
176
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
177
177
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
178
178
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
179
|
-
# @option opts [String] :pulp_label_select
|
179
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
180
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
181
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
182
182
|
# @return [Array<(PaginatedpythonPythonRepositoryResponseList, Integer, Hash)>] PaginatedpythonPythonRepositoryResponseList data, response status code and response headers
|
@@ -193,7 +193,7 @@ module PulpPythonClient
|
|
193
193
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
194
194
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
195
195
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
196
|
-
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
196
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
197
197
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
198
198
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
199
199
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -85,23 +85,23 @@ module PulpPythonClient
|
|
85
85
|
# PythonRepositoryVersion represents a single Python repository version.
|
86
86
|
# @param python_python_repository_href [String]
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :content
|
89
|
-
# @option opts [String] :content__in
|
88
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
89
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
|
-
# @option opts [
|
92
|
-
# @option opts [
|
93
|
-
# @option opts [
|
94
|
-
# @option opts [
|
95
|
-
# @option opts [
|
96
|
-
# @option opts [
|
91
|
+
# @option opts [Integer] :number
|
92
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
93
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
94
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
95
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
96
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
98
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
99
|
-
# @option opts [
|
100
|
-
# @option opts [
|
101
|
-
# @option opts [
|
102
|
-
# @option opts [
|
103
|
-
# @option opts [
|
104
|
-
# @option opts [
|
99
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
100
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
102
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
105
|
# @option opts [String] :fields A list of fields to include in the response.
|
106
106
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -114,23 +114,23 @@ module PulpPythonClient
|
|
114
114
|
# PythonRepositoryVersion represents a single Python repository version.
|
115
115
|
# @param python_python_repository_href [String]
|
116
116
|
# @param [Hash] opts the optional parameters
|
117
|
-
# @option opts [String] :content
|
118
|
-
# @option opts [String] :content__in
|
117
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
118
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
119
119
|
# @option opts [Integer] :limit Number of results to return per page.
|
120
|
-
# @option opts [
|
121
|
-
# @option opts [
|
122
|
-
# @option opts [
|
123
|
-
# @option opts [
|
124
|
-
# @option opts [
|
125
|
-
# @option opts [
|
120
|
+
# @option opts [Integer] :number
|
121
|
+
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
122
|
+
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
123
|
+
# @option opts [Integer] :number__lt Filter results where number is less than value
|
124
|
+
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
125
|
+
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
126
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
127
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
128
|
-
# @option opts [
|
129
|
-
# @option opts [
|
130
|
-
# @option opts [
|
131
|
-
# @option opts [
|
132
|
-
# @option opts [
|
133
|
-
# @option opts [
|
128
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
129
|
+
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
130
|
+
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
131
|
+
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
132
|
+
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
133
|
+
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
134
134
|
# @option opts [String] :fields A list of fields to include in the response.
|
135
135
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
136
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -142,6 +142,26 @@ module PulpPythonClient
|
|
142
142
|
if @api_client.config.client_side_validation && python_python_repository_href.nil?
|
143
143
|
fail ArgumentError, "Missing the required parameter 'python_python_repository_href' when calling RepositoriesPythonVersionsApi.list"
|
144
144
|
end
|
145
|
+
if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
|
146
|
+
fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesPythonVersionsApi.list, must be smaller than or equal to 2147483647.'
|
147
|
+
end
|
148
|
+
|
149
|
+
if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
|
150
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesPythonVersionsApi.list, must be smaller than or equal to 2147483647.'
|
151
|
+
end
|
152
|
+
|
153
|
+
if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
|
154
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesPythonVersionsApi.list, must be smaller than or equal to 2147483647.'
|
155
|
+
end
|
156
|
+
|
157
|
+
if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
|
158
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesPythonVersionsApi.list, must be smaller than or equal to 2147483647.'
|
159
|
+
end
|
160
|
+
|
161
|
+
if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
|
162
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesPythonVersionsApi.list, must be smaller than or equal to 2147483647.'
|
163
|
+
end
|
164
|
+
|
145
165
|
# resource path
|
146
166
|
local_var_path = '{python_python_repository_href}versions/'.sub('{' + 'python_python_repository_href' + '}', CGI.escape(python_python_repository_href.to_s).gsub('%2F', '/'))
|
147
167
|
|
@@ -155,7 +175,7 @@ module PulpPythonClient
|
|
155
175
|
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
156
176
|
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
157
177
|
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
158
|
-
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
178
|
+
query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
|
159
179
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
160
180
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
161
181
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
@@ -163,7 +183,7 @@ module PulpPythonClient
|
|
163
183
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
164
184
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
165
185
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
166
|
-
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
186
|
+
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
167
187
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
168
188
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
169
189
|
|
@@ -70,26 +70,26 @@ describe 'ContentPackagesApi' do
|
|
70
70
|
# List python package contents
|
71
71
|
# 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`.
|
72
72
|
# @param [Hash] opts the optional parameters
|
73
|
-
# @option opts [String] :author author
|
74
|
-
# @option opts [String] :author__in
|
75
|
-
# @option opts [String] :filename filename
|
76
|
-
# @option opts [String] :filename__contains
|
77
|
-
# @option opts [String] :filename__in
|
78
|
-
# @option opts [String] :keywords__contains
|
79
|
-
# @option opts [String] :keywords__in
|
73
|
+
# @option opts [String] :author Filter results where author matches value
|
74
|
+
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
75
|
+
# @option opts [String] :filename Filter results where filename matches value
|
76
|
+
# @option opts [String] :filename__contains Filter results where filename contains value
|
77
|
+
# @option opts [Array<String>] :filename__in Filter results where filename is in a comma-separated list of values
|
78
|
+
# @option opts [String] :keywords__contains Filter results where keywords contains value
|
79
|
+
# @option opts [Array<String>] :keywords__in Filter results where keywords is in a comma-separated list of values
|
80
80
|
# @option opts [Integer] :limit Number of results to return per page.
|
81
|
-
# @option opts [String] :name name
|
82
|
-
# @option opts [String] :name__in
|
81
|
+
# @option opts [String] :name Filter results where name matches value
|
82
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
83
83
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
84
84
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
85
|
-
# @option opts [String] :packagetype packagetype
|
86
|
-
# @option opts [String] :packagetype__in
|
87
|
-
# @option opts [String] :repository_version
|
88
|
-
# @option opts [String] :repository_version_added
|
89
|
-
# @option opts [String] :repository_version_removed
|
90
|
-
# @option opts [String] :requires_python requires_python
|
91
|
-
# @option opts [String] :requires_python__contains
|
92
|
-
# @option opts [String] :requires_python__in
|
85
|
+
# @option opts [String] :packagetype Filter results where packagetype matches value
|
86
|
+
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
87
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
88
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
89
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
90
|
+
# @option opts [String] :requires_python Filter results where requires_python matches value
|
91
|
+
# @option opts [String] :requires_python__contains Filter results where requires_python contains value
|
92
|
+
# @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
|
93
93
|
# @option opts [String] :fields A list of fields to include in the response.
|
94
94
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
95
95
|
# @return [PaginatedpythonPythonPackageContentResponseList]
|
@@ -60,19 +60,19 @@ describe 'DistributionsPypiApi' do
|
|
60
60
|
# List python distributions
|
61
61
|
# Pulp Python Distributions are used to distribute Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is refered to as Python Package Content.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :base_path
|
64
|
-
# @option opts [String] :base_path__contains
|
65
|
-
# @option opts [String] :base_path__icontains
|
66
|
-
# @option opts [String] :base_path__in
|
63
|
+
# @option opts [String] :base_path
|
64
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
65
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
66
|
+
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
67
67
|
# @option opts [Integer] :limit Number of results to return per page.
|
68
|
-
# @option opts [String] :name
|
69
|
-
# @option opts [String] :name__contains
|
70
|
-
# @option opts [String] :name__icontains
|
71
|
-
# @option opts [String] :name__in
|
72
|
-
# @option opts [String] :name__startswith
|
68
|
+
# @option opts [String] :name
|
69
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
70
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
71
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
72
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
75
|
-
# @option opts [String] :pulp_label_select
|
75
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
76
76
|
# @option opts [String] :fields A list of fields to include in the response.
|
77
77
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
78
78
|
# @return [PaginatedpythonPythonDistributionResponseList]
|