pulp_container_client 2.4.0.dev01613445646 → 2.4.0.dev01614050467

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_container_client might be problematic. Click here for more details.

Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -16
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +7 -7
  5. data/docs/ContentBlobsApi.md +12 -12
  6. data/docs/ContentManifestsApi.md +12 -12
  7. data/docs/ContentTagsApi.md +14 -14
  8. data/docs/{ContentGuardsContentRedirectApi.md → ContentguardsContentRedirectApi.md} +29 -29
  9. data/docs/DistributionsContainerApi.md +22 -22
  10. data/docs/ManifestCopy.md +1 -1
  11. data/docs/MediaTypesEnum.md +16 -0
  12. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  13. data/docs/PulpContainerNamespacesApi.md +10 -10
  14. data/docs/RemotesContainerApi.md +24 -24
  15. data/docs/RepositoriesContainerApi.md +12 -12
  16. data/docs/RepositoriesContainerPushApi.md +12 -12
  17. data/docs/RepositoriesContainerVersionsApi.md +56 -56
  18. data/lib/pulp_container_client.rb +2 -1
  19. data/lib/pulp_container_client/api/content_blobs_api.rb +14 -14
  20. data/lib/pulp_container_client/api/content_manifests_api.rb +14 -14
  21. data/lib/pulp_container_client/api/content_tags_api.rb +17 -17
  22. data/lib/pulp_container_client/api/{content_guards_content_redirect_api.rb → contentguards_content_redirect_api.rb} +33 -33
  23. data/lib/pulp_container_client/api/distributions_container_api.rb +24 -24
  24. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +11 -11
  25. data/lib/pulp_container_client/api/remotes_container_api.rb +26 -26
  26. data/lib/pulp_container_client/api/repositories_container_api.rb +13 -13
  27. data/lib/pulp_container_client/api/repositories_container_push_api.rb +13 -13
  28. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +100 -60
  29. data/lib/pulp_container_client/models/container_container_distribution.rb +27 -27
  30. data/lib/pulp_container_client/models/container_container_distribution_response.rb +30 -30
  31. data/lib/pulp_container_client/models/manifest_copy.rb +1 -23
  32. data/lib/pulp_container_client/models/media_types_enum.rb +39 -0
  33. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +27 -27
  34. data/lib/pulp_container_client/version.rb +1 -1
  35. data/spec/api/content_blobs_api_spec.rb +6 -6
  36. data/spec/api/content_manifests_api_spec.rb +6 -6
  37. data/spec/api/content_tags_api_spec.rb +7 -7
  38. data/spec/api/{content_guards_content_redirect_api_spec.rb → contentguards_content_redirect_api_spec.rb} +11 -11
  39. data/spec/api/distributions_container_api_spec.rb +11 -11
  40. data/spec/api/pulp_container_namespaces_api_spec.rb +5 -5
  41. data/spec/api/remotes_container_api_spec.rb +12 -12
  42. data/spec/api/repositories_container_api_spec.rb +6 -6
  43. data/spec/api/repositories_container_push_api_spec.rb +6 -6
  44. data/spec/api/repositories_container_versions_api_spec.rb +28 -28
  45. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  46. data/spec/models/container_container_distribution_spec.rb +6 -6
  47. data/spec/models/manifest_copy_spec.rb +0 -4
  48. data/spec/models/media_types_enum_spec.rb +35 -0
  49. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  50. metadata +10 -6
@@ -149,11 +149,11 @@ module PulpContainerClient
149
149
  # ViewSet for ContainerNamespaces.
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__contains name__contains
154
- # @option opts [String] :name__icontains name__icontains
155
- # @option opts [String] :name__in name__in
156
- # @option opts [String] :name__startswith name__startswith
152
+ # @option opts [String] :name Filter results where name matches value
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
159
  # @option opts [String] :fields A list of fields to include in the response.
@@ -168,11 +168,11 @@ module PulpContainerClient
168
168
  # ViewSet for ContainerNamespaces.
169
169
  # @param [Hash] opts the optional parameters
170
170
  # @option opts [Integer] :limit Number of results to return per page.
171
- # @option opts [String] :name name
172
- # @option opts [String] :name__contains name__contains
173
- # @option opts [String] :name__icontains name__icontains
174
- # @option opts [String] :name__in name__in
175
- # @option opts [String] :name__startswith name__startswith
171
+ # @option opts [String] :name Filter results where name matches value
172
+ # @option opts [String] :name__contains Filter results where name contains value
173
+ # @option opts [String] :name__icontains Filter results where name contains value
174
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
175
+ # @option opts [String] :name__startswith Filter results where name starts with value
176
176
  # @option opts [Integer] :offset The initial index from which to return the results.
177
177
  # @option opts [String] :ordering Which field to use when ordering the results.
178
178
  # @option opts [String] :fields A list of fields to include in the response.
@@ -191,7 +191,7 @@ module PulpContainerClient
191
191
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
192
192
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
193
193
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
194
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
194
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
195
195
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
196
196
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
197
197
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -149,20 +149,20 @@ module PulpContainerClient
149
149
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
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__contains name__contains
154
- # @option opts [String] :name__icontains name__icontains
155
- # @option opts [String] :name__in name__in
156
- # @option opts [String] :name__startswith 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 pulp_label_select
160
- # @option opts [String] :pulp_last_updated pulp_last_updated
161
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
162
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
163
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
164
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
165
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
159
+ # @option opts [String] :pulp_label_select Filter labels by search string
160
+ # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
161
+ # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
162
+ # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
163
+ # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
164
+ # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
165
+ # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
166
166
  # @option opts [String] :fields A list of fields to include in the response.
167
167
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
168
168
  # @return [PaginatedcontainerContainerRemoteResponseList]
@@ -175,20 +175,20 @@ module PulpContainerClient
175
175
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the &#x60;&#x60;policy&#x60;&#x60; field. &#x60;&#x60;on_demand&#x60;&#x60; and &#x60;&#x60;streamed&#x60;&#x60; policies can provide significant disk space savings.
176
176
  # @param [Hash] opts the optional parameters
177
177
  # @option opts [Integer] :limit Number of results to return per page.
178
- # @option opts [String] :name name
179
- # @option opts [String] :name__contains name__contains
180
- # @option opts [String] :name__icontains name__icontains
181
- # @option opts [String] :name__in name__in
182
- # @option opts [String] :name__startswith name__startswith
178
+ # @option opts [String] :name
179
+ # @option opts [String] :name__contains Filter results where name contains value
180
+ # @option opts [String] :name__icontains Filter results where name contains value
181
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
182
+ # @option opts [String] :name__startswith Filter results where name starts with value
183
183
  # @option opts [Integer] :offset The initial index from which to return the results.
184
184
  # @option opts [String] :ordering Which field to use when ordering the results.
185
- # @option opts [String] :pulp_label_select pulp_label_select
186
- # @option opts [String] :pulp_last_updated pulp_last_updated
187
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
188
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
189
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
190
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
191
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
185
+ # @option opts [String] :pulp_label_select Filter labels by search string
186
+ # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
187
+ # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
188
+ # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
189
+ # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
190
+ # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
191
+ # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
192
192
  # @option opts [String] :fields A list of fields to include in the response.
193
193
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
194
194
  # @return [Array<(PaginatedcontainerContainerRemoteResponseList, Integer, Hash)>] PaginatedcontainerContainerRemoteResponseList data, response status code and response headers
@@ -205,7 +205,7 @@ module PulpContainerClient
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?
@@ -215,7 +215,7 @@ module PulpContainerClient
215
215
  query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
216
216
  query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
217
217
  query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
218
- query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
218
+ query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
219
219
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
220
220
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
221
221
 
@@ -435,14 +435,14 @@ module PulpContainerClient
435
435
  # ViewSet for container repo.
436
436
  # @param [Hash] opts the optional parameters
437
437
  # @option opts [Integer] :limit Number of results to return per page.
438
- # @option opts [String] :name name
439
- # @option opts [String] :name__contains name__contains
440
- # @option opts [String] :name__icontains name__icontains
441
- # @option opts [String] :name__in name__in
442
- # @option opts [String] :name__startswith name__startswith
438
+ # @option opts [String] :name
439
+ # @option opts [String] :name__contains Filter results where name contains value
440
+ # @option opts [String] :name__icontains Filter results where name contains value
441
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
442
+ # @option opts [String] :name__startswith Filter results where name starts with value
443
443
  # @option opts [Integer] :offset The initial index from which to return the results.
444
444
  # @option opts [String] :ordering Which field to use when ordering the results.
445
- # @option opts [String] :pulp_label_select pulp_label_select
445
+ # @option opts [String] :pulp_label_select Filter labels by search string
446
446
  # @option opts [String] :fields A list of fields to include in the response.
447
447
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
448
448
  # @return [PaginatedcontainerContainerRepositoryResponseList]
@@ -455,14 +455,14 @@ module PulpContainerClient
455
455
  # ViewSet for container repo.
456
456
  # @param [Hash] opts the optional parameters
457
457
  # @option opts [Integer] :limit Number of results to return per page.
458
- # @option opts [String] :name name
459
- # @option opts [String] :name__contains name__contains
460
- # @option opts [String] :name__icontains name__icontains
461
- # @option opts [String] :name__in name__in
462
- # @option opts [String] :name__startswith name__startswith
458
+ # @option opts [String] :name
459
+ # @option opts [String] :name__contains Filter results where name contains value
460
+ # @option opts [String] :name__icontains Filter results where name contains value
461
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
462
+ # @option opts [String] :name__startswith Filter results where name starts with value
463
463
  # @option opts [Integer] :offset The initial index from which to return the results.
464
464
  # @option opts [String] :ordering Which field to use when ordering the results.
465
- # @option opts [String] :pulp_label_select pulp_label_select
465
+ # @option opts [String] :pulp_label_select Filter labels by search string
466
466
  # @option opts [String] :fields A list of fields to include in the response.
467
467
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
468
468
  # @return [Array<(PaginatedcontainerContainerRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerRepositoryResponseList data, response status code and response headers
@@ -479,7 +479,7 @@ module PulpContainerClient
479
479
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
480
480
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
481
481
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
482
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
482
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
483
483
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
484
484
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
485
485
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -23,14 +23,14 @@ module PulpContainerClient
23
23
  # ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
- # @option opts [String] :name name
27
- # @option opts [String] :name__contains name__contains
28
- # @option opts [String] :name__icontains name__icontains
29
- # @option opts [String] :name__in name__in
30
- # @option opts [String] :name__startswith name__startswith
26
+ # @option opts [String] :name
27
+ # @option opts [String] :name__contains Filter results where name contains value
28
+ # @option opts [String] :name__icontains Filter results where name contains value
29
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
30
+ # @option opts [String] :name__startswith Filter results where name starts with value
31
31
  # @option opts [Integer] :offset The initial index from which to return the results.
32
32
  # @option opts [String] :ordering Which field to use when ordering the results.
33
- # @option opts [String] :pulp_label_select pulp_label_select
33
+ # @option opts [String] :pulp_label_select Filter labels by search string
34
34
  # @option opts [String] :fields A list of fields to include in the response.
35
35
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
36
36
  # @return [PaginatedcontainerContainerPushRepositoryResponseList]
@@ -43,14 +43,14 @@ module PulpContainerClient
43
43
  # ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
44
44
  # @param [Hash] opts the optional parameters
45
45
  # @option opts [Integer] :limit Number of results to return per page.
46
- # @option opts [String] :name name
47
- # @option opts [String] :name__contains name__contains
48
- # @option opts [String] :name__icontains name__icontains
49
- # @option opts [String] :name__in name__in
50
- # @option opts [String] :name__startswith name__startswith
46
+ # @option opts [String] :name
47
+ # @option opts [String] :name__contains Filter results where name contains value
48
+ # @option opts [String] :name__icontains Filter results where name contains value
49
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
50
+ # @option opts [String] :name__startswith Filter results where name starts with value
51
51
  # @option opts [Integer] :offset The initial index from which to return the results.
52
52
  # @option opts [String] :ordering Which field to use when ordering the results.
53
- # @option opts [String] :pulp_label_select pulp_label_select
53
+ # @option opts [String] :pulp_label_select Filter labels by search string
54
54
  # @option opts [String] :fields A list of fields to include in the response.
55
55
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
56
56
  # @return [Array<(PaginatedcontainerContainerPushRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerPushRepositoryResponseList data, response status code and response headers
@@ -67,7 +67,7 @@ module PulpContainerClient
67
67
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
68
68
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
69
69
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
70
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
70
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
71
71
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
72
72
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
73
73
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -147,23 +147,23 @@ module PulpContainerClient
147
147
  # ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
148
148
  # @param container_container_push_repository_href [String]
149
149
  # @param [Hash] opts the optional parameters
150
- # @option opts [String] :content content
151
- # @option opts [String] :content__in content__in
150
+ # @option opts [String] :content Content Unit referenced by HREF
151
+ # @option opts [String] :content__in Content Unit referenced by HREF
152
152
  # @option opts [Integer] :limit Number of results to return per page.
153
- # @option opts [String] :number number
154
- # @option opts [String] :number__gt number__gt
155
- # @option opts [String] :number__gte number__gte
156
- # @option opts [String] :number__lt number__lt
157
- # @option opts [String] :number__lte number__lte
158
- # @option opts [String] :number__range number__range
153
+ # @option opts [Integer] :number
154
+ # @option opts [Integer] :number__gt Filter results where number is greater than value
155
+ # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
156
+ # @option opts [Integer] :number__lt Filter results where number is less than value
157
+ # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
158
+ # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
159
159
  # @option opts [Integer] :offset The initial index from which to return the results.
160
160
  # @option opts [String] :ordering Which field to use when ordering the results.
161
- # @option opts [String] :pulp_created pulp_created
162
- # @option opts [String] :pulp_created__gt pulp_created__gt
163
- # @option opts [String] :pulp_created__gte pulp_created__gte
164
- # @option opts [String] :pulp_created__lt pulp_created__lt
165
- # @option opts [String] :pulp_created__lte pulp_created__lte
166
- # @option opts [String] :pulp_created__range pulp_created__range
161
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
162
+ # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
163
+ # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
164
+ # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
165
+ # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
166
+ # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
167
167
  # @option opts [String] :fields A list of fields to include in the response.
168
168
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
169
169
  # @return [PaginatedRepositoryVersionResponseList]
@@ -176,23 +176,23 @@ module PulpContainerClient
176
176
  # ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
177
177
  # @param container_container_push_repository_href [String]
178
178
  # @param [Hash] opts the optional parameters
179
- # @option opts [String] :content content
180
- # @option opts [String] :content__in content__in
179
+ # @option opts [String] :content Content Unit referenced by HREF
180
+ # @option opts [String] :content__in Content Unit referenced by HREF
181
181
  # @option opts [Integer] :limit Number of results to return per page.
182
- # @option opts [String] :number number
183
- # @option opts [String] :number__gt number__gt
184
- # @option opts [String] :number__gte number__gte
185
- # @option opts [String] :number__lt number__lt
186
- # @option opts [String] :number__lte number__lte
187
- # @option opts [String] :number__range number__range
182
+ # @option opts [Integer] :number
183
+ # @option opts [Integer] :number__gt Filter results where number is greater than value
184
+ # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
185
+ # @option opts [Integer] :number__lt Filter results where number is less than value
186
+ # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
187
+ # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
188
188
  # @option opts [Integer] :offset The initial index from which to return the results.
189
189
  # @option opts [String] :ordering Which field to use when ordering the results.
190
- # @option opts [String] :pulp_created pulp_created
191
- # @option opts [String] :pulp_created__gt pulp_created__gt
192
- # @option opts [String] :pulp_created__gte pulp_created__gte
193
- # @option opts [String] :pulp_created__lt pulp_created__lt
194
- # @option opts [String] :pulp_created__lte pulp_created__lte
195
- # @option opts [String] :pulp_created__range pulp_created__range
190
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
191
+ # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
192
+ # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
193
+ # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
194
+ # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
195
+ # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
196
196
  # @option opts [String] :fields A list of fields to include in the response.
197
197
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
198
198
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -204,6 +204,26 @@ module PulpContainerClient
204
204
  if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
205
205
  fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerVersionsApi.list"
206
206
  end
207
+ if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
208
+ fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
209
+ end
210
+
211
+ if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
212
+ fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
213
+ end
214
+
215
+ if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
216
+ fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
217
+ end
218
+
219
+ if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
220
+ fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
221
+ end
222
+
223
+ if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
224
+ fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesContainerVersionsApi.list, must be smaller than or equal to 2147483647.'
225
+ end
226
+
207
227
  # resource path
208
228
  local_var_path = '{container_container_push_repository_href}versions/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
209
229
 
@@ -217,7 +237,7 @@ module PulpContainerClient
217
237
  query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
218
238
  query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
219
239
  query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
220
- query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
240
+ query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
221
241
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
222
242
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
223
243
  query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
@@ -225,7 +245,7 @@ module PulpContainerClient
225
245
  query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
226
246
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
227
247
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
228
- query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
248
+ query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
229
249
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
230
250
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
231
251
 
@@ -266,23 +286,23 @@ module PulpContainerClient
266
286
  # ContainerRepositoryVersion represents a single container repository version.
267
287
  # @param container_container_repository_href [String]
268
288
  # @param [Hash] opts the optional parameters
269
- # @option opts [String] :content content
270
- # @option opts [String] :content__in content__in
289
+ # @option opts [String] :content Content Unit referenced by HREF
290
+ # @option opts [String] :content__in Content Unit referenced by HREF
271
291
  # @option opts [Integer] :limit Number of results to return per page.
272
- # @option opts [String] :number number
273
- # @option opts [String] :number__gt number__gt
274
- # @option opts [String] :number__gte number__gte
275
- # @option opts [String] :number__lt number__lt
276
- # @option opts [String] :number__lte number__lte
277
- # @option opts [String] :number__range number__range
292
+ # @option opts [Integer] :number
293
+ # @option opts [Integer] :number__gt Filter results where number is greater than value
294
+ # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
295
+ # @option opts [Integer] :number__lt Filter results where number is less than value
296
+ # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
297
+ # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
278
298
  # @option opts [Integer] :offset The initial index from which to return the results.
279
299
  # @option opts [String] :ordering Which field to use when ordering the results.
280
- # @option opts [String] :pulp_created pulp_created
281
- # @option opts [String] :pulp_created__gt pulp_created__gt
282
- # @option opts [String] :pulp_created__gte pulp_created__gte
283
- # @option opts [String] :pulp_created__lt pulp_created__lt
284
- # @option opts [String] :pulp_created__lte pulp_created__lte
285
- # @option opts [String] :pulp_created__range pulp_created__range
300
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
301
+ # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
302
+ # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
303
+ # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
304
+ # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
305
+ # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
286
306
  # @option opts [String] :fields A list of fields to include in the response.
287
307
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
288
308
  # @return [PaginatedRepositoryVersionResponseList]
@@ -295,23 +315,23 @@ module PulpContainerClient
295
315
  # ContainerRepositoryVersion represents a single container repository version.
296
316
  # @param container_container_repository_href [String]
297
317
  # @param [Hash] opts the optional parameters
298
- # @option opts [String] :content content
299
- # @option opts [String] :content__in content__in
318
+ # @option opts [String] :content Content Unit referenced by HREF
319
+ # @option opts [String] :content__in Content Unit referenced by HREF
300
320
  # @option opts [Integer] :limit Number of results to return per page.
301
- # @option opts [String] :number number
302
- # @option opts [String] :number__gt number__gt
303
- # @option opts [String] :number__gte number__gte
304
- # @option opts [String] :number__lt number__lt
305
- # @option opts [String] :number__lte number__lte
306
- # @option opts [String] :number__range number__range
321
+ # @option opts [Integer] :number
322
+ # @option opts [Integer] :number__gt Filter results where number is greater than value
323
+ # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
324
+ # @option opts [Integer] :number__lt Filter results where number is less than value
325
+ # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
326
+ # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
307
327
  # @option opts [Integer] :offset The initial index from which to return the results.
308
328
  # @option opts [String] :ordering Which field to use when ordering the results.
309
- # @option opts [String] :pulp_created pulp_created
310
- # @option opts [String] :pulp_created__gt pulp_created__gt
311
- # @option opts [String] :pulp_created__gte pulp_created__gte
312
- # @option opts [String] :pulp_created__lt pulp_created__lt
313
- # @option opts [String] :pulp_created__lte pulp_created__lte
314
- # @option opts [String] :pulp_created__range pulp_created__range
329
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
330
+ # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
331
+ # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
332
+ # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
333
+ # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
334
+ # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
315
335
  # @option opts [String] :fields A list of fields to include in the response.
316
336
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
317
337
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -323,6 +343,26 @@ module PulpContainerClient
323
343
  if @api_client.config.client_side_validation && container_container_repository_href.nil?
324
344
  fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerVersionsApi.list_0"
325
345
  end
346
+ if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
347
+ fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
348
+ end
349
+
350
+ if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
351
+ fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
352
+ end
353
+
354
+ if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
355
+ fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
356
+ end
357
+
358
+ if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
359
+ fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
360
+ end
361
+
362
+ if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
363
+ fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesContainerVersionsApi.list_0, must be smaller than or equal to 2147483647.'
364
+ end
365
+
326
366
  # resource path
327
367
  local_var_path = '{container_container_repository_href}versions/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
328
368
 
@@ -336,7 +376,7 @@ module PulpContainerClient
336
376
  query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
337
377
  query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
338
378
  query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
339
- query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
379
+ query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
340
380
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
341
381
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
342
382
  query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
@@ -344,7 +384,7 @@ module PulpContainerClient
344
384
  query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
345
385
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
346
386
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
347
- query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
387
+ query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
348
388
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
349
389
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
350
390