pulp_python_client 3.0.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/docs/ContentPackagesApi.md +34 -28
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +3 -3
  6. data/docs/DistributionsPypiApi.md +20 -12
  7. data/docs/ExcludePlatformsEnum.md +16 -0
  8. data/docs/PackageTypesEnum.md +16 -0
  9. data/docs/PatchedpythonPythonDistribution.md +2 -0
  10. data/docs/PatchedpythonPythonRemote.md +18 -2
  11. data/docs/PatchedpythonPythonRepository.md +3 -1
  12. data/docs/PublicationsPypiApi.md +14 -14
  13. data/docs/PythonPythonDistribution.md +2 -0
  14. data/docs/PythonPythonDistributionResponse.md +2 -0
  15. data/docs/PythonPythonRemote.md +18 -2
  16. data/docs/PythonPythonRemoteResponse.md +14 -8
  17. data/docs/PythonPythonRepository.md +3 -1
  18. data/docs/PythonPythonRepositoryResponse.md +2 -0
  19. data/docs/RemotesPythonApi.md +24 -16
  20. data/docs/RepositoriesPythonApi.md +12 -4
  21. data/docs/RepositoriesPythonVersionsApi.md +28 -28
  22. data/lib/pulp_python_client/api/content_packages_api.rb +42 -33
  23. data/lib/pulp_python_client/api/distributions_pypi_api.rb +26 -14
  24. data/lib/pulp_python_client/api/publications_pypi_api.rb +15 -15
  25. data/lib/pulp_python_client/api/remotes_python_api.rb +30 -18
  26. data/lib/pulp_python_client/api/repositories_python_api.rb +17 -5
  27. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +30 -30
  28. data/lib/pulp_python_client/models/content_summary.rb +12 -6
  29. data/lib/pulp_python_client/models/content_summary_response.rb +12 -6
  30. data/lib/pulp_python_client/models/exclude_platforms_enum.rb +38 -0
  31. data/lib/pulp_python_client/models/package_types_enum.rb +42 -0
  32. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +10 -1
  33. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +95 -5
  34. data/lib/pulp_python_client/models/patchedpython_python_repository.rb +10 -1
  35. data/lib/pulp_python_client/models/python_python_distribution.rb +10 -1
  36. data/lib/pulp_python_client/models/python_python_distribution_response.rb +10 -1
  37. data/lib/pulp_python_client/models/python_python_remote.rb +95 -5
  38. data/lib/pulp_python_client/models/python_python_remote_response.rb +70 -35
  39. data/lib/pulp_python_client/models/python_python_repository.rb +10 -1
  40. data/lib/pulp_python_client/models/python_python_repository_response.rb +10 -1
  41. data/lib/pulp_python_client/version.rb +1 -1
  42. data/lib/pulp_python_client.rb +2 -0
  43. data/spec/api/content_packages_api_spec.rb +17 -14
  44. data/spec/api/distributions_pypi_api_spec.rb +10 -6
  45. data/spec/api/publications_pypi_api_spec.rb +7 -7
  46. data/spec/api/remotes_python_api_spec.rb +12 -8
  47. data/spec/api/repositories_python_api_spec.rb +6 -2
  48. data/spec/api/repositories_python_versions_api_spec.rb +14 -14
  49. data/spec/models/exclude_platforms_enum_spec.rb +35 -0
  50. data/spec/models/package_types_enum_spec.rb +35 -0
  51. data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
  52. data/spec/models/patchedpython_python_remote_spec.rb +48 -0
  53. data/spec/models/patchedpython_python_repository_spec.rb +6 -0
  54. data/spec/models/python_python_distribution_response_spec.rb +6 -0
  55. data/spec/models/python_python_distribution_spec.rb +6 -0
  56. data/spec/models/python_python_remote_response_spec.rb +30 -12
  57. data/spec/models/python_python_remote_spec.rb +48 -0
  58. data/spec/models/python_python_repository_response_spec.rb +6 -0
  59. data/spec/models/python_python_repository_spec.rb +6 -0
  60. metadata +30 -22
@@ -202,16 +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 | name
206
- name__in: 'name__in_example', # String | name__in
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
207
210
  offset: 56, # Integer | The initial index from which to return the results.
208
211
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
209
- pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
210
- pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
211
- pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
212
- pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
213
- pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
214
- pulp_last_updated__range: 'pulp_last_updated__range_example', # String | 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
215
219
  fields: 'fields_example', # String | A list of fields to include in the response.
216
220
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
217
221
  }
@@ -231,16 +235,20 @@ end
231
235
  Name | Type | Description | Notes
232
236
  ------------- | ------------- | ------------- | -------------
233
237
  **limit** | **Integer**| Number of results to return per page. | [optional]
234
- **name** | **String**| name | [optional]
235
- **name__in** | **String**| name__in | [optional]
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&lt;String&gt;**](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]
236
243
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
237
244
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
238
- **pulp_last_updated** | **String**| pulp_last_updated | [optional]
239
- **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
240
- **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
241
- **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
242
- **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
243
- **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
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&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
244
252
  **fields** | **String**| A list of fields to include in the response. | [optional]
245
253
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
246
254
 
@@ -144,10 +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 | name
148
- name__in: 'name__in_example', # String | name__in
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
149
152
  offset: 56, # Integer | The initial index from which to return the results.
150
153
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
154
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
151
155
  fields: 'fields_example', # String | A list of fields to include in the response.
152
156
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
153
157
  }
@@ -167,10 +171,14 @@ end
167
171
  Name | Type | Description | Notes
168
172
  ------------- | ------------- | ------------- | -------------
169
173
  **limit** | **Integer**| Number of results to return per page. | [optional]
170
- **name** | **String**| name | [optional]
171
- **name__in** | **String**| name__in | [optional]
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&lt;String&gt;**](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]
172
179
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
173
180
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
181
+ **pulp_label_select** | **String**| Filter labels by search string | [optional]
174
182
  **fields** | **String**| A list of fields to include in the response. | [optional]
175
183
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
176
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 | content
91
- content__in: 'content__in_example', # String | content__in
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: 'number_example', # String | number
94
- number__gt: 'number__gt_example', # String | number__gt
95
- number__gte: 'number__gte_example', # String | number__gte
96
- number__lt: 'number__lt_example', # String | number__lt
97
- number__lte: 'number__lte_example', # String | number__lte
98
- number__range: 'number__range_example', # String | 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: 'pulp_created_example', # String | pulp_created
102
- pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
103
- pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
104
- pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
105
- pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
106
- pulp_created__range: 'pulp_created__range_example', # String | 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**| content | [optional]
127
- **content__in** | **String**| content__in | [optional]
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** | **String**| number | [optional]
130
- **number__gt** | **String**| number__gt | [optional]
131
- **number__gte** | **String**| number__gte | [optional]
132
- **number__lt** | **String**| number__lt | [optional]
133
- **number__lte** | **String**| number__lte | [optional]
134
- **number__range** | **String**| number__range | [optional]
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&lt;Integer&gt;**](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** | **String**| pulp_created | [optional]
138
- **pulp_created__gt** | **String**| pulp_created__gt | [optional]
139
- **pulp_created__gte** | **String**| pulp_created__gte | [optional]
140
- **pulp_created__lt** | **String**| pulp_created__lt | [optional]
141
- **pulp_created__lte** | **String**| pulp_created__lte | [optional]
142
- **pulp_created__range** | **String**| pulp_created__range | [optional]
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&lt;DateTime&gt;**](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,23 +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 author__in
158
- # @option opts [String] :filename filename
159
- # @option opts [String] :filename__contains filename__contains
160
- # @option opts [String] :filename__in filename__in
161
- # @option opts [String] :keywords__contains keywords__contains
162
- # @option opts [String] :keywords__in 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 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 packagetype__in
170
- # @option opts [String] :repository_version repository_version
171
- # @option opts [String] :repository_version_added repository_version_added
172
- # @option opts [String] :repository_version_removed repository_version_removed
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
173
176
  # @option opts [String] :fields A list of fields to include in the response.
174
177
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
175
178
  # @return [PaginatedpythonPythonPackageContentResponseList]
@@ -181,23 +184,26 @@ module PulpPythonClient
181
184
  # List python package contents
182
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 &#x60;pulpcore-3.0.0rc1-py3-none-any.whl&#x60; or &#x60;pulpcore-3.0.0rc1.tar.gz&#x60;.
183
186
  # @param [Hash] opts the optional parameters
184
- # @option opts [String] :author author
185
- # @option opts [String] :author__in author__in
186
- # @option opts [String] :filename filename
187
- # @option opts [String] :filename__contains filename__contains
188
- # @option opts [String] :filename__in filename__in
189
- # @option opts [String] :keywords__contains keywords__contains
190
- # @option opts [String] :keywords__in 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
191
194
  # @option opts [Integer] :limit Number of results to return per page.
192
- # @option opts [String] :name name
193
- # @option opts [String] :name__in 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
194
197
  # @option opts [Integer] :offset The initial index from which to return the results.
195
198
  # @option opts [String] :ordering Which field to use when ordering the results.
196
- # @option opts [String] :packagetype packagetype
197
- # @option opts [String] :packagetype__in packagetype__in
198
- # @option opts [String] :repository_version repository_version
199
- # @option opts [String] :repository_version_added repository_version_added
200
- # @option opts [String] :repository_version_removed repository_version_removed
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
201
207
  # @option opts [String] :fields A list of fields to include in the response.
202
208
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
203
209
  # @return [Array<(PaginatedpythonPythonPackageContentResponseList, Integer, Hash)>] PaginatedpythonPythonPackageContentResponseList data, response status code and response headers
@@ -215,22 +221,25 @@ module PulpPythonClient
215
221
  # query parameters
216
222
  query_params = opts[:query_params] || {}
217
223
  query_params[:'author'] = opts[:'author'] if !opts[:'author'].nil?
218
- query_params[:'author__in'] = opts[:'author__in'] if !opts[:'author__in'].nil?
224
+ query_params[:'author__in'] = @api_client.build_collection_param(opts[:'author__in'], :csv) if !opts[:'author__in'].nil?
219
225
  query_params[:'filename'] = opts[:'filename'] if !opts[:'filename'].nil?
220
226
  query_params[:'filename__contains'] = opts[:'filename__contains'] if !opts[:'filename__contains'].nil?
221
- query_params[:'filename__in'] = opts[:'filename__in'] if !opts[:'filename__in'].nil?
227
+ query_params[:'filename__in'] = @api_client.build_collection_param(opts[:'filename__in'], :csv) if !opts[:'filename__in'].nil?
222
228
  query_params[:'keywords__contains'] = opts[:'keywords__contains'] if !opts[:'keywords__contains'].nil?
223
- query_params[:'keywords__in'] = opts[:'keywords__in'] if !opts[:'keywords__in'].nil?
229
+ query_params[:'keywords__in'] = @api_client.build_collection_param(opts[:'keywords__in'], :csv) if !opts[:'keywords__in'].nil?
224
230
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
225
231
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
226
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
232
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
227
233
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
228
234
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
229
235
  query_params[:'packagetype'] = opts[:'packagetype'] if !opts[:'packagetype'].nil?
230
- query_params[:'packagetype__in'] = opts[:'packagetype__in'] if !opts[:'packagetype__in'].nil?
236
+ query_params[:'packagetype__in'] = @api_client.build_collection_param(opts[:'packagetype__in'], :csv) if !opts[:'packagetype__in'].nil?
231
237
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
232
238
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
233
239
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
240
+ query_params[:'requires_python'] = opts[:'requires_python'] if !opts[:'requires_python'].nil?
241
+ query_params[:'requires_python__contains'] = opts[:'requires_python__contains'] if !opts[:'requires_python__contains'].nil?
242
+ query_params[:'requires_python__in'] = @api_client.build_collection_param(opts[:'requires_python__in'], :csv) if !opts[:'requires_python__in'].nil?
234
243
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
235
244
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
236
245
 
@@ -148,15 +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 base_path
152
- # @option opts [String] :base_path__contains base_path__contains
153
- # @option opts [String] :base_path__icontains base_path__icontains
154
- # @option opts [String] :base_path__in 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 name
157
- # @option opts [String] :name__in name__in
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
158
161
  # @option opts [Integer] :offset The initial index from which to return the results.
159
162
  # @option opts [String] :ordering Which field to use when ordering the results.
163
+ # @option opts [String] :pulp_label_select Filter labels by search string
160
164
  # @option opts [String] :fields A list of fields to include in the response.
161
165
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
162
166
  # @return [PaginatedpythonPythonDistributionResponseList]
@@ -168,15 +172,19 @@ module PulpPythonClient
168
172
  # List python distributions
169
173
  # Pulp Python Distributions are used to distribute Python Publications. Pulp Python Distributions should not be confused with \&quot;Python Distribution\&quot; as defined by the Python community. In Pulp usage, Python content is refered to as Python Package Content.
170
174
  # @param [Hash] opts the optional parameters
171
- # @option opts [String] :base_path base_path
172
- # @option opts [String] :base_path__contains base_path__contains
173
- # @option opts [String] :base_path__icontains base_path__icontains
174
- # @option opts [String] :base_path__in 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
175
179
  # @option opts [Integer] :limit Number of results to return per page.
176
- # @option opts [String] :name name
177
- # @option opts [String] :name__in name__in
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
178
185
  # @option opts [Integer] :offset The initial index from which to return the results.
179
186
  # @option opts [String] :ordering Which field to use when ordering the results.
187
+ # @option opts [String] :pulp_label_select Filter labels by search string
180
188
  # @option opts [String] :fields A list of fields to include in the response.
181
189
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
182
190
  # @return [Array<(PaginatedpythonPythonDistributionResponseList, Integer, Hash)>] PaginatedpythonPythonDistributionResponseList data, response status code and response headers
@@ -192,12 +200,16 @@ module PulpPythonClient
192
200
  query_params[:'base_path'] = opts[:'base_path'] if !opts[:'base_path'].nil?
193
201
  query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
194
202
  query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
195
- 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?
196
204
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
197
205
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
198
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
206
+ query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
207
+ query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
208
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
209
+ query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
199
210
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
200
211
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
212
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
201
213
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
202
214
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
203
215
 
@@ -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 [String] :pulp_created pulp_created
153
- # @option opts [String] :pulp_created__gt pulp_created__gt
154
- # @option opts [String] :pulp_created__gte pulp_created__gte
155
- # @option opts [String] :pulp_created__lt pulp_created__lt
156
- # @option opts [String] :pulp_created__lte pulp_created__lte
157
- # @option opts [String] :pulp_created__range pulp_created__range
158
- # @option opts [String] :repository_version 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 [String] :pulp_created pulp_created
174
- # @option opts [String] :pulp_created__gt pulp_created__gt
175
- # @option opts [String] :pulp_created__gte pulp_created__gte
176
- # @option opts [String] :pulp_created__lt pulp_created__lt
177
- # @option opts [String] :pulp_created__lte pulp_created__lte
178
- # @option opts [String] :pulp_created__range pulp_created__range
179
- # @option opts [String] :repository_version 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,16 +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 name
228
- # @option opts [String] :name__in name__in
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
229
232
  # @option opts [Integer] :offset The initial index from which to return the results.
230
233
  # @option opts [String] :ordering Which field to use when ordering the results.
231
- # @option opts [String] :pulp_last_updated pulp_last_updated
232
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
233
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
234
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
235
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
236
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
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
237
241
  # @option opts [String] :fields A list of fields to include in the response.
238
242
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
239
243
  # @return [PaginatedpythonPythonRemoteResponseList]
@@ -246,16 +250,20 @@ module PulpPythonClient
246
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 &#x60;sync&#x60; from upstream repositories, and contains sync settings.
247
251
  # @param [Hash] opts the optional parameters
248
252
  # @option opts [Integer] :limit Number of results to return per page.
249
- # @option opts [String] :name name
250
- # @option opts [String] :name__in name__in
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
251
258
  # @option opts [Integer] :offset The initial index from which to return the results.
252
259
  # @option opts [String] :ordering Which field to use when ordering the results.
253
- # @option opts [String] :pulp_last_updated pulp_last_updated
254
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
255
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
256
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
257
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
258
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
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
259
267
  # @option opts [String] :fields A list of fields to include in the response.
260
268
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
261
269
  # @return [Array<(PaginatedpythonPythonRemoteResponseList, Integer, Hash)>] PaginatedpythonPythonRemoteResponseList data, response status code and response headers
@@ -270,15 +278,19 @@ module PulpPythonClient
270
278
  query_params = opts[:query_params] || {}
271
279
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
272
280
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
273
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
281
+ query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
282
+ query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
283
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
284
+ query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
274
285
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
275
286
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
287
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
276
288
  query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
277
289
  query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
278
290
  query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
279
291
  query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
280
292
  query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
281
- 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?
282
294
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
283
295
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
284
296
 
@@ -149,10 +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 name
153
- # @option opts [String] :name__in name__in
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
154
157
  # @option opts [Integer] :offset The initial index from which to return the results.
155
158
  # @option opts [String] :ordering Which field to use when ordering the results.
159
+ # @option opts [String] :pulp_label_select Filter labels by search string
156
160
  # @option opts [String] :fields A list of fields to include in the response.
157
161
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
158
162
  # @return [PaginatedpythonPythonRepositoryResponseList]
@@ -165,10 +169,14 @@ module PulpPythonClient
165
169
  # A ViewSet for PythonRepository.
166
170
  # @param [Hash] opts the optional parameters
167
171
  # @option opts [Integer] :limit Number of results to return per page.
168
- # @option opts [String] :name name
169
- # @option opts [String] :name__in name__in
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
170
177
  # @option opts [Integer] :offset The initial index from which to return the results.
171
178
  # @option opts [String] :ordering Which field to use when ordering the results.
179
+ # @option opts [String] :pulp_label_select Filter labels by search string
172
180
  # @option opts [String] :fields A list of fields to include in the response.
173
181
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
174
182
  # @return [Array<(PaginatedpythonPythonRepositoryResponseList, Integer, Hash)>] PaginatedpythonPythonRepositoryResponseList data, response status code and response headers
@@ -183,9 +191,13 @@ module PulpPythonClient
183
191
  query_params = opts[:query_params] || {}
184
192
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
185
193
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
186
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
194
+ query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
195
+ query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
196
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
197
+ query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
187
198
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
188
199
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
200
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
189
201
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
190
202
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
191
203