pulp_container_client 2.14.13 → 2.15.0.dev1661401897

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 (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -10
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPushRepository.md +7 -7
  6. data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
  7. data/docs/ContainerContainerRemote.md +2 -2
  8. data/docs/ContainerContainerRemoteResponse.md +2 -4
  9. data/docs/ContainerContainerRepository.md +2 -2
  10. data/docs/ContainerContainerRepositoryResponse.md +2 -2
  11. data/docs/ContentBlobsApi.md +10 -14
  12. data/docs/ContentManifestsApi.md +12 -16
  13. data/docs/ContentSignaturesApi.md +10 -14
  14. data/docs/ContentTagsApi.md +12 -16
  15. data/docs/DistributionsContainerApi.md +22 -30
  16. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  17. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  18. data/docs/PatchedcontainerContainerRemote.md +2 -2
  19. data/docs/PatchedcontainerContainerRepository.md +2 -2
  20. data/docs/PulpContainerNamespacesApi.md +18 -22
  21. data/docs/RemotesContainerApi.md +22 -26
  22. data/docs/RepositoriesContainerApi.md +21 -41
  23. data/docs/RepositoriesContainerPushApi.md +21 -41
  24. data/docs/RepositoriesContainerPushVersionsApi.md +14 -16
  25. data/docs/RepositoriesContainerVersionsApi.md +14 -16
  26. data/lib/pulp_container_client/api/content_blobs_api.rb +15 -21
  27. data/lib/pulp_container_client/api/content_manifests_api.rb +17 -23
  28. data/lib/pulp_container_client/api/content_signatures_api.rb +15 -21
  29. data/lib/pulp_container_client/api/content_tags_api.rb +17 -23
  30. data/lib/pulp_container_client/api/distributions_container_api.rb +31 -43
  31. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +27 -33
  32. data/lib/pulp_container_client/api/remotes_container_api.rb +31 -37
  33. data/lib/pulp_container_client/api/repositories_container_api.rb +29 -59
  34. data/lib/pulp_container_client/api/repositories_container_push_api.rb +29 -59
  35. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +19 -22
  36. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +19 -22
  37. data/lib/pulp_container_client/models/container_container_distribution.rb +48 -50
  38. data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -40
  39. data/lib/pulp_container_client/models/container_container_push_repository.rb +25 -27
  40. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +47 -49
  41. data/lib/pulp_container_client/models/container_container_remote.rb +3 -5
  42. data/lib/pulp_container_client/models/container_container_remote_response.rb +4 -18
  43. data/lib/pulp_container_client/models/container_container_repository.rb +3 -5
  44. data/lib/pulp_container_client/models/container_container_repository_response.rb +3 -5
  45. data/lib/pulp_container_client/models/nested_role.rb +0 -19
  46. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +39 -41
  47. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +25 -27
  48. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +3 -5
  49. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +3 -5
  50. data/lib/pulp_container_client/version.rb +1 -1
  51. data/lib/pulp_container_client.rb +0 -1
  52. data/spec/api/content_blobs_api_spec.rb +5 -7
  53. data/spec/api/content_manifests_api_spec.rb +6 -8
  54. data/spec/api/content_signatures_api_spec.rb +5 -7
  55. data/spec/api/content_tags_api_spec.rb +6 -8
  56. data/spec/api/distributions_container_api_spec.rb +11 -15
  57. data/spec/api/pulp_container_namespaces_api_spec.rb +9 -11
  58. data/spec/api/remotes_container_api_spec.rb +11 -13
  59. data/spec/api/repositories_container_api_spec.rb +10 -20
  60. data/spec/api/repositories_container_push_api_spec.rb +10 -20
  61. data/spec/api/repositories_container_push_versions_api_spec.rb +7 -8
  62. data/spec/api/repositories_container_versions_api_spec.rb +7 -8
  63. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  64. data/spec/models/container_container_distribution_spec.rb +5 -5
  65. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  66. data/spec/models/container_container_push_repository_spec.rb +5 -5
  67. data/spec/models/container_container_remote_response_spec.rb +0 -6
  68. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  69. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  70. metadata +46 -50
  71. data/docs/ContainerContainerRemoteResponseHiddenFields.md +0 -19
  72. data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -215
  73. data/spec/models/container_container_remote_response_hidden_fields_spec.rb +0 -47
@@ -34,14 +34,12 @@ module PulpContainerClient
34
34
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
35
35
  # @option opts [String] :name__startswith Filter results where name starts with value
36
36
  # @option opts [Integer] :offset The initial index from which to return the results.
37
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
38
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
39
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
37
+ # @option opts [Array<String>] :ordering Ordering
40
38
  # @option opts [String] :repository_version Repository Version referenced by HREF
41
39
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
42
40
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
43
- # @option opts [Array<String>] :fields A list of fields to include in the response.
44
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
41
+ # @option opts [String] :fields A list of fields to include in the response.
42
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
45
43
  # @return [PaginatedcontainerManifestSignatureResponseList]
46
44
  def list(opts = {})
47
45
  data, _status_code, _headers = list_with_http_info(opts)
@@ -63,20 +61,18 @@ module PulpContainerClient
63
61
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
64
62
  # @option opts [String] :name__startswith Filter results where name starts with value
65
63
  # @option opts [Integer] :offset The initial index from which to return the results.
66
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
67
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
68
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
64
+ # @option opts [Array<String>] :ordering Ordering
69
65
  # @option opts [String] :repository_version Repository Version referenced by HREF
70
66
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
71
67
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
72
- # @option opts [Array<String>] :fields A list of fields to include in the response.
73
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
68
+ # @option opts [String] :fields A list of fields to include in the response.
69
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
74
70
  # @return [Array<(PaginatedcontainerManifestSignatureResponseList, Integer, Hash)>] PaginatedcontainerManifestSignatureResponseList data, response status code and response headers
75
71
  def list_with_http_info(opts = {})
76
72
  if @api_client.config.debugging
77
73
  @api_client.config.logger.debug 'Calling API: ContentSignaturesApi.list ...'
78
74
  end
79
- allowable_values = ["-creator", "-data", "-digest", "-key_id", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp", "-timestamp_of_interest", "-type", "-upstream_id", "creator", "data", "digest", "key_id", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp", "timestamp_of_interest", "type", "upstream_id"]
75
+ allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-creator", "-data", "-digest", "-group_roles", "-key_id", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-signed_manifest", "-timestamp", "-timestamp_of_interest", "-type", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "creator", "data", "digest", "group_roles", "key_id", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "signed_manifest", "timestamp", "timestamp_of_interest", "type", "upstream_id", "user_roles", "version_memberships"]
80
76
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
81
77
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
82
78
  end
@@ -98,13 +94,11 @@ module PulpContainerClient
98
94
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
99
95
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
100
96
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
101
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
102
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
103
97
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
104
98
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
105
99
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
106
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
107
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
100
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
101
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
108
102
 
109
103
  # header parameters
110
104
  header_params = opts[:header_params] || {}
@@ -143,8 +137,8 @@ module PulpContainerClient
143
137
  # ViewSet for image signatures.
144
138
  # @param container_manifest_signature_href [String]
145
139
  # @param [Hash] opts the optional parameters
146
- # @option opts [Array<String>] :fields A list of fields to include in the response.
147
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
140
+ # @option opts [String] :fields A list of fields to include in the response.
141
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
148
142
  # @return [ContainerManifestSignatureResponse]
149
143
  def read(container_manifest_signature_href, opts = {})
150
144
  data, _status_code, _headers = read_with_http_info(container_manifest_signature_href, opts)
@@ -155,8 +149,8 @@ module PulpContainerClient
155
149
  # ViewSet for image signatures.
156
150
  # @param container_manifest_signature_href [String]
157
151
  # @param [Hash] opts the optional parameters
158
- # @option opts [Array<String>] :fields A list of fields to include in the response.
159
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
152
+ # @option opts [String] :fields A list of fields to include in the response.
153
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
160
154
  # @return [Array<(ContainerManifestSignatureResponse, Integer, Hash)>] ContainerManifestSignatureResponse data, response status code and response headers
161
155
  def read_with_http_info(container_manifest_signature_href, opts = {})
162
156
  if @api_client.config.debugging
@@ -171,8 +165,8 @@ module PulpContainerClient
171
165
 
172
166
  # query parameters
173
167
  query_params = opts[:query_params] || {}
174
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
175
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
168
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
169
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
176
170
 
177
171
  # header parameters
178
172
  header_params = opts[:header_params] || {}
@@ -24,18 +24,16 @@ module PulpContainerClient
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :digest Multiple values may be separated by commas.
26
26
  # @option opts [Integer] :limit Number of results to return per page.
27
- # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
27
+ # @option opts [Array<String>] :media_type
28
28
  # @option opts [String] :name Filter results where name matches value
29
29
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
30
30
  # @option opts [Integer] :offset The initial index from which to return the results.
31
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
32
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
33
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
31
+ # @option opts [Array<String>] :ordering Ordering
34
32
  # @option opts [String] :repository_version Repository Version referenced by HREF
35
33
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
36
34
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
37
- # @option opts [Array<String>] :fields A list of fields to include in the response.
38
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
35
+ # @option opts [String] :fields A list of fields to include in the response.
36
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
39
37
  # @return [PaginatedcontainerTagResponseList]
40
38
  def list(opts = {})
41
39
  data, _status_code, _headers = list_with_http_info(opts)
@@ -47,18 +45,16 @@ module PulpContainerClient
47
45
  # @param [Hash] opts the optional parameters
48
46
  # @option opts [Array<String>] :digest Multiple values may be separated by commas.
49
47
  # @option opts [Integer] :limit Number of results to return per page.
50
- # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
48
+ # @option opts [Array<String>] :media_type
51
49
  # @option opts [String] :name Filter results where name matches value
52
50
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
53
51
  # @option opts [Integer] :offset The initial index from which to return the results.
54
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
55
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
56
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
52
+ # @option opts [Array<String>] :ordering Ordering
57
53
  # @option opts [String] :repository_version Repository Version referenced by HREF
58
54
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
59
55
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
60
- # @option opts [Array<String>] :fields A list of fields to include in the response.
61
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
56
+ # @option opts [String] :fields A list of fields to include in the response.
57
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
62
58
  # @return [Array<(PaginatedcontainerTagResponseList, Integer, Hash)>] PaginatedcontainerTagResponseList data, response status code and response headers
63
59
  def list_with_http_info(opts = {})
64
60
  if @api_client.config.debugging
@@ -68,7 +64,7 @@ module PulpContainerClient
68
64
  if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
69
65
  fail ArgumentError, "invalid value for \"media_type\", must include one of #{allowable_values}"
70
66
  end
71
- allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
67
+ allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-tagged_manifest", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "tagged_manifest", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
72
68
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
73
69
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
74
70
  end
@@ -84,13 +80,11 @@ module PulpContainerClient
84
80
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
85
81
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
86
82
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
87
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
88
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
89
83
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
90
84
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
91
85
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
92
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
93
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
86
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
87
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
94
88
 
95
89
  # header parameters
96
90
  header_params = opts[:header_params] || {}
@@ -129,8 +123,8 @@ module PulpContainerClient
129
123
  # ViewSet for Tag.
130
124
  # @param container_tag_href [String]
131
125
  # @param [Hash] opts the optional parameters
132
- # @option opts [Array<String>] :fields A list of fields to include in the response.
133
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
126
+ # @option opts [String] :fields A list of fields to include in the response.
127
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
134
128
  # @return [ContainerTagResponse]
135
129
  def read(container_tag_href, opts = {})
136
130
  data, _status_code, _headers = read_with_http_info(container_tag_href, opts)
@@ -141,8 +135,8 @@ module PulpContainerClient
141
135
  # ViewSet for Tag.
142
136
  # @param container_tag_href [String]
143
137
  # @param [Hash] opts the optional parameters
144
- # @option opts [Array<String>] :fields A list of fields to include in the response.
145
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
138
+ # @option opts [String] :fields A list of fields to include in the response.
139
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
146
140
  # @return [Array<(ContainerTagResponse, Integer, Hash)>] ContainerTagResponse data, response status code and response headers
147
141
  def read_with_http_info(container_tag_href, opts = {})
148
142
  if @api_client.config.debugging
@@ -157,8 +151,8 @@ module PulpContainerClient
157
151
 
158
152
  # query parameters
159
153
  query_params = opts[:query_params] || {}
160
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
161
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
154
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
155
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
162
156
 
163
157
  # header parameters
164
158
  header_params = opts[:header_params] || {}
@@ -216,27 +216,23 @@ module PulpContainerClient
216
216
  # List container distributions
217
217
  # The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
218
218
  # @param [Hash] opts the optional parameters
219
- # @option opts [String] :base_path Filter results where base_path matches value
219
+ # @option opts [String] :base_path
220
220
  # @option opts [String] :base_path__contains Filter results where base_path contains value
221
221
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
222
222
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
223
223
  # @option opts [Integer] :limit Number of results to return per page.
224
- # @option opts [String] :name Filter results where name matches value
224
+ # @option opts [String] :name
225
225
  # @option opts [String] :name__contains Filter results where name contains value
226
226
  # @option opts [String] :name__icontains Filter results where name contains value
227
227
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
228
228
  # @option opts [String] :name__startswith Filter results where name starts with value
229
229
  # @option opts [String] :namespace__name
230
230
  # @option opts [Integer] :offset The initial index from which to return the results.
231
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;private&#x60; - Private * &#x60;-private&#x60; - Private (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
232
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
233
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
231
+ # @option opts [Array<String>] :ordering Ordering
234
232
  # @option opts [String] :pulp_label_select Filter labels by search string
235
- # @option opts [String] :repository Filter results where repository matches value
236
- # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
237
233
  # @option opts [String] :with_content Filter distributions based on the content served by them
238
- # @option opts [Array<String>] :fields A list of fields to include in the response.
239
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
234
+ # @option opts [String] :fields A list of fields to include in the response.
235
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
240
236
  # @return [PaginatedcontainerContainerDistributionResponseList]
241
237
  def list(opts = {})
242
238
  data, _status_code, _headers = list_with_http_info(opts)
@@ -246,33 +242,29 @@ module PulpContainerClient
246
242
  # List container distributions
247
243
  # The Container Distribution will serve the latest version of a Repository if &#x60;&#x60;repository&#x60;&#x60; is specified. The Container Distribution will serve a specific repository version if &#x60;&#x60;repository_version&#x60;&#x60;. Note that **either** &#x60;&#x60;repository&#x60;&#x60; or &#x60;&#x60;repository_version&#x60;&#x60; can be set on a Container Distribution, but not both.
248
244
  # @param [Hash] opts the optional parameters
249
- # @option opts [String] :base_path Filter results where base_path matches value
245
+ # @option opts [String] :base_path
250
246
  # @option opts [String] :base_path__contains Filter results where base_path contains value
251
247
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
252
248
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
253
249
  # @option opts [Integer] :limit Number of results to return per page.
254
- # @option opts [String] :name Filter results where name matches value
250
+ # @option opts [String] :name
255
251
  # @option opts [String] :name__contains Filter results where name contains value
256
252
  # @option opts [String] :name__icontains Filter results where name contains value
257
253
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
258
254
  # @option opts [String] :name__startswith Filter results where name starts with value
259
255
  # @option opts [String] :namespace__name
260
256
  # @option opts [Integer] :offset The initial index from which to return the results.
261
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;private&#x60; - Private * &#x60;-private&#x60; - Private (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
262
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
263
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
257
+ # @option opts [Array<String>] :ordering Ordering
264
258
  # @option opts [String] :pulp_label_select Filter labels by search string
265
- # @option opts [String] :repository Filter results where repository matches value
266
- # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
267
259
  # @option opts [String] :with_content Filter distributions based on the content served by them
268
- # @option opts [Array<String>] :fields A list of fields to include in the response.
269
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
260
+ # @option opts [String] :fields A list of fields to include in the response.
261
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
270
262
  # @return [Array<(PaginatedcontainerContainerDistributionResponseList, Integer, Hash)>] PaginatedcontainerContainerDistributionResponseList data, response status code and response headers
271
263
  def list_with_http_info(opts = {})
272
264
  if @api_client.config.debugging
273
265
  @api_client.config.logger.debug 'Calling API: DistributionsContainerApi.list ...'
274
266
  end
275
- allowable_values = ["-base_path", "-description", "-name", "-pk", "-private", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "description", "name", "pk", "private", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
267
+ allowable_values = ["-base_path", "-content_guard", "-description", "-distribution_ptr", "-group_roles", "-name", "-namespace", "-pk", "-private", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-remote", "-repository", "-repository_version", "-user_roles", "base_path", "content_guard", "description", "distribution_ptr", "group_roles", "name", "namespace", "pk", "private", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "remote", "repository", "repository_version", "user_roles"]
276
268
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
277
269
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
278
270
  end
@@ -294,14 +286,10 @@ module PulpContainerClient
294
286
  query_params[:'namespace__name'] = opts[:'namespace__name'] if !opts[:'namespace__name'].nil?
295
287
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
296
288
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
297
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
298
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
299
289
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
300
- query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
301
- query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
302
290
  query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
303
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
304
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
291
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
292
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
305
293
 
306
294
  # header parameters
307
295
  header_params = opts[:header_params] || {}
@@ -339,8 +327,8 @@ module PulpContainerClient
339
327
  # List roles assigned to this object.
340
328
  # @param container_container_distribution_href [String]
341
329
  # @param [Hash] opts the optional parameters
342
- # @option opts [Array<String>] :fields A list of fields to include in the response.
343
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
330
+ # @option opts [String] :fields A list of fields to include in the response.
331
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
344
332
  # @return [ObjectRolesResponse]
345
333
  def list_roles(container_container_distribution_href, opts = {})
346
334
  data, _status_code, _headers = list_roles_with_http_info(container_container_distribution_href, opts)
@@ -350,8 +338,8 @@ module PulpContainerClient
350
338
  # List roles assigned to this object.
351
339
  # @param container_container_distribution_href [String]
352
340
  # @param [Hash] opts the optional parameters
353
- # @option opts [Array<String>] :fields A list of fields to include in the response.
354
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
341
+ # @option opts [String] :fields A list of fields to include in the response.
342
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
355
343
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
356
344
  def list_roles_with_http_info(container_container_distribution_href, opts = {})
357
345
  if @api_client.config.debugging
@@ -366,8 +354,8 @@ module PulpContainerClient
366
354
 
367
355
  # query parameters
368
356
  query_params = opts[:query_params] || {}
369
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
370
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
357
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
358
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
371
359
 
372
360
  # header parameters
373
361
  header_params = opts[:header_params] || {}
@@ -405,8 +393,8 @@ module PulpContainerClient
405
393
  # List permissions available to the current user on this object.
406
394
  # @param container_container_distribution_href [String]
407
395
  # @param [Hash] opts the optional parameters
408
- # @option opts [Array<String>] :fields A list of fields to include in the response.
409
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
396
+ # @option opts [String] :fields A list of fields to include in the response.
397
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
410
398
  # @return [MyPermissionsResponse]
411
399
  def my_permissions(container_container_distribution_href, opts = {})
412
400
  data, _status_code, _headers = my_permissions_with_http_info(container_container_distribution_href, opts)
@@ -416,8 +404,8 @@ module PulpContainerClient
416
404
  # List permissions available to the current user on this object.
417
405
  # @param container_container_distribution_href [String]
418
406
  # @param [Hash] opts the optional parameters
419
- # @option opts [Array<String>] :fields A list of fields to include in the response.
420
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
407
+ # @option opts [String] :fields A list of fields to include in the response.
408
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
421
409
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
422
410
  def my_permissions_with_http_info(container_container_distribution_href, opts = {})
423
411
  if @api_client.config.debugging
@@ -432,8 +420,8 @@ module PulpContainerClient
432
420
 
433
421
  # query parameters
434
422
  query_params = opts[:query_params] || {}
435
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
436
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
423
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
424
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
437
425
 
438
426
  # header parameters
439
427
  header_params = opts[:header_params] || {}
@@ -542,8 +530,8 @@ module PulpContainerClient
542
530
  # The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
543
531
  # @param container_container_distribution_href [String]
544
532
  # @param [Hash] opts the optional parameters
545
- # @option opts [Array<String>] :fields A list of fields to include in the response.
546
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
533
+ # @option opts [String] :fields A list of fields to include in the response.
534
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
547
535
  # @return [ContainerContainerDistributionResponse]
548
536
  def read(container_container_distribution_href, opts = {})
549
537
  data, _status_code, _headers = read_with_http_info(container_container_distribution_href, opts)
@@ -554,8 +542,8 @@ module PulpContainerClient
554
542
  # The Container Distribution will serve the latest version of a Repository if &#x60;&#x60;repository&#x60;&#x60; is specified. The Container Distribution will serve a specific repository version if &#x60;&#x60;repository_version&#x60;&#x60;. Note that **either** &#x60;&#x60;repository&#x60;&#x60; or &#x60;&#x60;repository_version&#x60;&#x60; can be set on a Container Distribution, but not both.
555
543
  # @param container_container_distribution_href [String]
556
544
  # @param [Hash] opts the optional parameters
557
- # @option opts [Array<String>] :fields A list of fields to include in the response.
558
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
545
+ # @option opts [String] :fields A list of fields to include in the response.
546
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
559
547
  # @return [Array<(ContainerContainerDistributionResponse, Integer, Hash)>] ContainerContainerDistributionResponse data, response status code and response headers
560
548
  def read_with_http_info(container_container_distribution_href, opts = {})
561
549
  if @api_client.config.debugging
@@ -570,8 +558,8 @@ module PulpContainerClient
570
558
 
571
559
  # query parameters
572
560
  query_params = opts[:query_params] || {}
573
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
574
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
561
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
562
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
575
563
 
576
564
  # header parameters
577
565
  header_params = opts[:header_params] || {}
@@ -223,11 +223,9 @@ module PulpContainerClient
223
223
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
224
224
  # @option opts [String] :name__startswith Filter results where name starts with value
225
225
  # @option opts [Integer] :offset The initial index from which to return the results.
226
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
227
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
228
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
229
- # @option opts [Array<String>] :fields A list of fields to include in the response.
230
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
226
+ # @option opts [Array<String>] :ordering Ordering
227
+ # @option opts [String] :fields A list of fields to include in the response.
228
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
231
229
  # @return [PaginatedcontainerContainerNamespaceResponseList]
232
230
  def list(opts = {})
233
231
  data, _status_code, _headers = list_with_http_info(opts)
@@ -244,17 +242,15 @@ module PulpContainerClient
244
242
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
245
243
  # @option opts [String] :name__startswith Filter results where name starts with value
246
244
  # @option opts [Integer] :offset The initial index from which to return the results.
247
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
248
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
249
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
250
- # @option opts [Array<String>] :fields A list of fields to include in the response.
251
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
245
+ # @option opts [Array<String>] :ordering Ordering
246
+ # @option opts [String] :fields A list of fields to include in the response.
247
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
252
248
  # @return [Array<(PaginatedcontainerContainerNamespaceResponseList, Integer, Hash)>] PaginatedcontainerContainerNamespaceResponseList data, response status code and response headers
253
249
  def list_with_http_info(opts = {})
254
250
  if @api_client.config.debugging
255
251
  @api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.list ...'
256
252
  end
257
- allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
253
+ allowable_values = ["-container_distributions", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "container_distributions", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles"]
258
254
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
259
255
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
260
256
  end
@@ -271,10 +267,8 @@ module PulpContainerClient
271
267
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
272
268
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
273
269
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
274
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
275
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
276
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
277
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
270
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
271
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
278
272
 
279
273
  # header parameters
280
274
  header_params = opts[:header_params] || {}
@@ -312,8 +306,8 @@ module PulpContainerClient
312
306
  # List roles assigned to this object.
313
307
  # @param container_container_namespace_href [String]
314
308
  # @param [Hash] opts the optional parameters
315
- # @option opts [Array<String>] :fields A list of fields to include in the response.
316
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
309
+ # @option opts [String] :fields A list of fields to include in the response.
310
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
317
311
  # @return [ObjectRolesResponse]
318
312
  def list_roles(container_container_namespace_href, opts = {})
319
313
  data, _status_code, _headers = list_roles_with_http_info(container_container_namespace_href, opts)
@@ -323,8 +317,8 @@ module PulpContainerClient
323
317
  # List roles assigned to this object.
324
318
  # @param container_container_namespace_href [String]
325
319
  # @param [Hash] opts the optional parameters
326
- # @option opts [Array<String>] :fields A list of fields to include in the response.
327
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
320
+ # @option opts [String] :fields A list of fields to include in the response.
321
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
328
322
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
329
323
  def list_roles_with_http_info(container_container_namespace_href, opts = {})
330
324
  if @api_client.config.debugging
@@ -339,8 +333,8 @@ module PulpContainerClient
339
333
 
340
334
  # query parameters
341
335
  query_params = opts[:query_params] || {}
342
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
343
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
336
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
337
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
344
338
 
345
339
  # header parameters
346
340
  header_params = opts[:header_params] || {}
@@ -378,8 +372,8 @@ module PulpContainerClient
378
372
  # List permissions available to the current user on this object.
379
373
  # @param container_container_namespace_href [String]
380
374
  # @param [Hash] opts the optional parameters
381
- # @option opts [Array<String>] :fields A list of fields to include in the response.
382
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
375
+ # @option opts [String] :fields A list of fields to include in the response.
376
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
383
377
  # @return [MyPermissionsResponse]
384
378
  def my_permissions(container_container_namespace_href, opts = {})
385
379
  data, _status_code, _headers = my_permissions_with_http_info(container_container_namespace_href, opts)
@@ -389,8 +383,8 @@ module PulpContainerClient
389
383
  # List permissions available to the current user on this object.
390
384
  # @param container_container_namespace_href [String]
391
385
  # @param [Hash] opts the optional parameters
392
- # @option opts [Array<String>] :fields A list of fields to include in the response.
393
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
386
+ # @option opts [String] :fields A list of fields to include in the response.
387
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
394
388
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
395
389
  def my_permissions_with_http_info(container_container_namespace_href, opts = {})
396
390
  if @api_client.config.debugging
@@ -405,8 +399,8 @@ module PulpContainerClient
405
399
 
406
400
  # query parameters
407
401
  query_params = opts[:query_params] || {}
408
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
409
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
402
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
403
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
410
404
 
411
405
  # header parameters
412
406
  header_params = opts[:header_params] || {}
@@ -445,8 +439,8 @@ module PulpContainerClient
445
439
  # ViewSet for ContainerNamespaces.
446
440
  # @param container_container_namespace_href [String]
447
441
  # @param [Hash] opts the optional parameters
448
- # @option opts [Array<String>] :fields A list of fields to include in the response.
449
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
442
+ # @option opts [String] :fields A list of fields to include in the response.
443
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
450
444
  # @return [ContainerContainerNamespaceResponse]
451
445
  def read(container_container_namespace_href, opts = {})
452
446
  data, _status_code, _headers = read_with_http_info(container_container_namespace_href, opts)
@@ -457,8 +451,8 @@ module PulpContainerClient
457
451
  # ViewSet for ContainerNamespaces.
458
452
  # @param container_container_namespace_href [String]
459
453
  # @param [Hash] opts the optional parameters
460
- # @option opts [Array<String>] :fields A list of fields to include in the response.
461
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
454
+ # @option opts [String] :fields A list of fields to include in the response.
455
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
462
456
  # @return [Array<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
463
457
  def read_with_http_info(container_container_namespace_href, opts = {})
464
458
  if @api_client.config.debugging
@@ -473,8 +467,8 @@ module PulpContainerClient
473
467
 
474
468
  # query parameters
475
469
  query_params = opts[:query_params] || {}
476
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
477
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
470
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
471
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
478
472
 
479
473
  # header parameters
480
474
  header_params = opts[:header_params] || {}