pulp_container_client 2.14.3 → 2.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -6
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPushRepository.md +6 -6
  6. data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
  7. data/docs/ContainerContainerRemote.md +1 -1
  8. data/docs/ContainerContainerRemoteResponse.md +3 -1
  9. data/docs/ContainerContainerRemoteResponseHiddenFields.md +19 -0
  10. data/docs/ContainerContainerRepository.md +2 -2
  11. data/docs/ContainerContainerRepositoryResponse.md +2 -2
  12. data/docs/ContentBlobsApi.md +8 -8
  13. data/docs/ContentManifestsApi.md +8 -8
  14. data/docs/ContentSignaturesApi.md +8 -8
  15. data/docs/ContentTagsApi.md +8 -8
  16. data/docs/DistributionsContainerApi.md +24 -20
  17. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  18. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  19. data/docs/PatchedcontainerContainerRemote.md +1 -1
  20. data/docs/PatchedcontainerContainerRepository.md +2 -2
  21. data/docs/PulpContainerNamespacesApi.md +16 -16
  22. data/docs/RemotesContainerApi.md +20 -20
  23. data/docs/RepositoriesContainerApi.md +35 -19
  24. data/docs/RepositoriesContainerPushApi.md +35 -19
  25. data/docs/RepositoriesContainerPushVersionsApi.md +12 -12
  26. data/docs/RepositoriesContainerVersionsApi.md +12 -12
  27. data/lib/pulp_container_client/api/content_blobs_api.rb +13 -13
  28. data/lib/pulp_container_client/api/content_manifests_api.rb +13 -13
  29. data/lib/pulp_container_client/api/content_signatures_api.rb +13 -13
  30. data/lib/pulp_container_client/api/content_tags_api.rb +13 -13
  31. data/lib/pulp_container_client/api/distributions_container_api.rb +35 -29
  32. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +25 -25
  33. data/lib/pulp_container_client/api/remotes_container_api.rb +29 -29
  34. data/lib/pulp_container_client/api/repositories_container_api.rb +51 -27
  35. data/lib/pulp_container_client/api/repositories_container_push_api.rb +51 -27
  36. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +17 -17
  37. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +17 -17
  38. data/lib/pulp_container_client/models/container_container_distribution.rb +50 -48
  39. data/lib/pulp_container_client/models/container_container_distribution_response.rb +47 -45
  40. data/lib/pulp_container_client/models/container_container_push_repository.rb +42 -40
  41. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +51 -49
  42. data/lib/pulp_container_client/models/container_container_remote.rb +4 -2
  43. data/lib/pulp_container_client/models/container_container_remote_response.rb +17 -3
  44. data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +215 -0
  45. data/lib/pulp_container_client/models/container_container_repository.rb +5 -3
  46. data/lib/pulp_container_client/models/container_container_repository_response.rb +5 -3
  47. data/lib/pulp_container_client/models/nested_role.rb +19 -0
  48. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +41 -39
  49. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +42 -40
  50. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +4 -2
  51. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +5 -3
  52. data/lib/pulp_container_client/version.rb +1 -1
  53. data/lib/pulp_container_client.rb +1 -0
  54. data/spec/api/content_blobs_api_spec.rb +4 -4
  55. data/spec/api/content_manifests_api_spec.rb +4 -4
  56. data/spec/api/content_signatures_api_spec.rb +4 -4
  57. data/spec/api/content_tags_api_spec.rb +4 -4
  58. data/spec/api/distributions_container_api_spec.rb +12 -10
  59. data/spec/api/pulp_container_namespaces_api_spec.rb +8 -8
  60. data/spec/api/remotes_container_api_spec.rb +10 -10
  61. data/spec/api/repositories_container_api_spec.rb +17 -9
  62. data/spec/api/repositories_container_push_api_spec.rb +17 -9
  63. data/spec/api/repositories_container_push_versions_api_spec.rb +6 -6
  64. data/spec/api/repositories_container_versions_api_spec.rb +6 -6
  65. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  66. data/spec/models/container_container_distribution_spec.rb +4 -4
  67. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  68. data/spec/models/container_container_push_repository_spec.rb +4 -4
  69. data/spec/models/container_container_remote_response_hidden_fields_spec.rb +47 -0
  70. data/spec/models/container_container_remote_response_spec.rb +6 -0
  71. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  72. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  73. metadata +52 -48
@@ -90,7 +90,7 @@ opts = {
90
90
  content: 'content_example', # String | Content Unit referenced by HREF
91
91
  content__in: 'content__in_example', # String | Content Unit referenced by HREF
92
92
  limit: 56, # Integer | Number of results to return per page.
93
- number: 56, # Integer |
93
+ number: 56, # Integer | Filter results where number matches value
94
94
  number__gt: 56, # Integer | Filter results where number is greater than value
95
95
  number__gte: 56, # Integer | Filter results where number is greater than or equal to value
96
96
  number__lt: 56, # Integer | Filter results where number is less than value
@@ -98,14 +98,14 @@ opts = {
98
98
  number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
99
99
  offset: 56, # Integer | The initial index from which to return the results.
100
100
  ordering: ['ordering_example'], # Array<String> | Ordering
101
- pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
101
+ pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
102
102
  pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
103
103
  pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
104
104
  pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
105
105
  pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
106
106
  pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
107
- fields: 'fields_example', # String | A list of fields to include in the response.
108
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
107
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
108
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
109
109
  }
110
110
 
111
111
  begin
@@ -126,7 +126,7 @@ Name | Type | Description | Notes
126
126
  **content** | **String**| Content Unit referenced by HREF | [optional]
127
127
  **content__in** | **String**| Content Unit referenced by HREF | [optional]
128
128
  **limit** | **Integer**| Number of results to return per page. | [optional]
129
- **number** | **Integer**| | [optional]
129
+ **number** | **Integer**| Filter results where number matches value | [optional]
130
130
  **number__gt** | **Integer**| Filter results where number is greater than value | [optional]
131
131
  **number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
132
132
  **number__lt** | **Integer**| Filter results where number is less than value | [optional]
@@ -134,14 +134,14 @@ Name | Type | Description | Notes
134
134
  **number__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where number is between two comma separated values | [optional]
135
135
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
136
136
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
137
- **pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
137
+ **pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
138
138
  **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
139
139
  **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
140
140
  **pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
141
141
  **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
142
142
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
143
- **fields** | **String**| A list of fields to include in the response. | [optional]
144
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
143
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
144
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
145
145
 
146
146
  ### Return type
147
147
 
@@ -180,8 +180,8 @@ end
180
180
  api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
181
181
  container_container_repository_version_href = 'container_container_repository_version_href_example' # String |
182
182
  opts = {
183
- fields: 'fields_example', # String | A list of fields to include in the response.
184
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
183
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
184
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
185
185
  }
186
186
 
187
187
  begin
@@ -199,8 +199,8 @@ end
199
199
  Name | Type | Description | Notes
200
200
  ------------- | ------------- | ------------- | -------------
201
201
  **container_container_repository_version_href** | **String**| |
202
- **fields** | **String**| A list of fields to include in the response. | [optional]
203
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
202
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
203
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
204
204
 
205
205
  ### Return type
206
206
 
@@ -30,8 +30,8 @@ module PulpContainerClient
30
30
  # @option opts [String] :repository_version Repository Version referenced by HREF
31
31
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
32
32
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
33
- # @option opts [String] :fields A list of fields to include in the response.
34
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
33
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
34
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
35
35
  # @return [PaginatedcontainerBlobResponseList]
36
36
  def list(opts = {})
37
37
  data, _status_code, _headers = list_with_http_info(opts)
@@ -49,14 +49,14 @@ module PulpContainerClient
49
49
  # @option opts [String] :repository_version Repository Version referenced by HREF
50
50
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
51
51
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
52
- # @option opts [String] :fields A list of fields to include in the response.
53
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
52
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
53
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
54
54
  # @return [Array<(PaginatedcontainerBlobResponseList, Integer, Hash)>] PaginatedcontainerBlobResponseList data, response status code and response headers
55
55
  def list_with_http_info(opts = {})
56
56
  if @api_client.config.debugging
57
57
  @api_client.config.logger.debug 'Calling API: ContentBlobsApi.list ...'
58
58
  end
59
- allowable_values = ["-_artifacts", "-config_blob", "-container_manifest", "-content_ptr", "-contentartifact", "-digest", "-group_roles", "-manifest_blobs", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "config_blob", "container_manifest", "content_ptr", "contentartifact", "digest", "group_roles", "manifest_blobs", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
59
+ allowable_values = ["-digest", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "digest", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
60
60
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
61
61
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
62
62
  end
@@ -73,8 +73,8 @@ module PulpContainerClient
73
73
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
74
74
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
75
75
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
76
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
77
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
76
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
77
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
78
78
 
79
79
  # header parameters
80
80
  header_params = opts[:header_params] || {}
@@ -113,8 +113,8 @@ module PulpContainerClient
113
113
  # ViewSet for Blobs.
114
114
  # @param container_blob_href [String]
115
115
  # @param [Hash] opts the optional parameters
116
- # @option opts [String] :fields A list of fields to include in the response.
117
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
116
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
117
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
118
118
  # @return [ContainerBlobResponse]
119
119
  def read(container_blob_href, opts = {})
120
120
  data, _status_code, _headers = read_with_http_info(container_blob_href, opts)
@@ -125,8 +125,8 @@ module PulpContainerClient
125
125
  # ViewSet for Blobs.
126
126
  # @param container_blob_href [String]
127
127
  # @param [Hash] opts the optional parameters
128
- # @option opts [String] :fields A list of fields to include in the response.
129
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
128
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
129
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
130
130
  # @return [Array<(ContainerBlobResponse, Integer, Hash)>] ContainerBlobResponse data, response status code and response headers
131
131
  def read_with_http_info(container_blob_href, opts = {})
132
132
  if @api_client.config.debugging
@@ -141,8 +141,8 @@ module PulpContainerClient
141
141
 
142
142
  # query parameters
143
143
  query_params = opts[:query_params] || {}
144
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
145
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
144
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
145
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
146
146
 
147
147
  # header parameters
148
148
  header_params = opts[:header_params] || {}
@@ -31,8 +31,8 @@ module PulpContainerClient
31
31
  # @option opts [String] :repository_version Repository Version referenced by HREF
32
32
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
33
33
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
34
- # @option opts [String] :fields A list of fields to include in the response.
35
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
34
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
35
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
36
36
  # @return [PaginatedcontainerManifestResponseList]
37
37
  def list(opts = {})
38
38
  data, _status_code, _headers = list_with_http_info(opts)
@@ -51,8 +51,8 @@ module PulpContainerClient
51
51
  # @option opts [String] :repository_version Repository Version referenced by HREF
52
52
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
53
53
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
54
- # @option opts [String] :fields A list of fields to include in the response.
55
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
54
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
55
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
56
56
  # @return [Array<(PaginatedcontainerManifestResponseList, Integer, Hash)>] PaginatedcontainerManifestResponseList data, response status code and response headers
57
57
  def list_with_http_info(opts = {})
58
58
  if @api_client.config.debugging
@@ -62,7 +62,7 @@ module PulpContainerClient
62
62
  if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
63
63
  fail ArgumentError, "invalid value for \"media_type\", must include one of #{allowable_values}"
64
64
  end
65
- allowable_values = ["-_artifacts", "-blob_manifests", "-blobs", "-config_blob", "-container_manifest", "-content_ptr", "-contentartifact", "-digest", "-group_roles", "-image_manifests", "-listed_manifests", "-manifest_lists", "-media_type", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-schema_version", "-signed_manifests", "-tagged_manifests", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "blob_manifests", "blobs", "config_blob", "container_manifest", "content_ptr", "contentartifact", "digest", "group_roles", "image_manifests", "listed_manifests", "manifest_lists", "media_type", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "schema_version", "signed_manifests", "tagged_manifests", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
65
+ allowable_values = ["-digest", "-media_type", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-schema_version", "-timestamp_of_interest", "-upstream_id", "digest", "media_type", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "schema_version", "timestamp_of_interest", "upstream_id"]
66
66
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
67
67
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
68
68
  end
@@ -80,8 +80,8 @@ module PulpContainerClient
80
80
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
81
81
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
82
82
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
83
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
84
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
83
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
84
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
85
85
 
86
86
  # header parameters
87
87
  header_params = opts[:header_params] || {}
@@ -120,8 +120,8 @@ module PulpContainerClient
120
120
  # ViewSet for Manifest.
121
121
  # @param container_manifest_href [String]
122
122
  # @param [Hash] opts the optional parameters
123
- # @option opts [String] :fields A list of fields to include in the response.
124
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
123
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
124
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
125
125
  # @return [ContainerManifestResponse]
126
126
  def read(container_manifest_href, opts = {})
127
127
  data, _status_code, _headers = read_with_http_info(container_manifest_href, opts)
@@ -132,8 +132,8 @@ module PulpContainerClient
132
132
  # ViewSet for Manifest.
133
133
  # @param container_manifest_href [String]
134
134
  # @param [Hash] opts the optional parameters
135
- # @option opts [String] :fields A list of fields to include in the response.
136
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
135
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
136
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
137
137
  # @return [Array<(ContainerManifestResponse, Integer, Hash)>] ContainerManifestResponse data, response status code and response headers
138
138
  def read_with_http_info(container_manifest_href, opts = {})
139
139
  if @api_client.config.debugging
@@ -148,8 +148,8 @@ module PulpContainerClient
148
148
 
149
149
  # query parameters
150
150
  query_params = opts[:query_params] || {}
151
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
152
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
151
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
152
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
153
153
 
154
154
  # header parameters
155
155
  header_params = opts[:header_params] || {}
@@ -38,8 +38,8 @@ module PulpContainerClient
38
38
  # @option opts [String] :repository_version Repository Version referenced by HREF
39
39
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
40
40
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
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.
41
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
42
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
43
43
  # @return [PaginatedcontainerManifestSignatureResponseList]
44
44
  def list(opts = {})
45
45
  data, _status_code, _headers = list_with_http_info(opts)
@@ -65,14 +65,14 @@ module PulpContainerClient
65
65
  # @option opts [String] :repository_version Repository Version referenced by HREF
66
66
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
67
67
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
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.
68
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
69
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
70
70
  # @return [Array<(PaginatedcontainerManifestSignatureResponseList, Integer, Hash)>] PaginatedcontainerManifestSignatureResponseList data, response status code and response headers
71
71
  def list_with_http_info(opts = {})
72
72
  if @api_client.config.debugging
73
73
  @api_client.config.logger.debug 'Calling API: ContentSignaturesApi.list ...'
74
74
  end
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"]
75
+ 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"]
76
76
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
77
77
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
78
78
  end
@@ -97,8 +97,8 @@ module PulpContainerClient
97
97
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
98
98
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
99
99
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
100
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
101
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
100
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
101
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
102
102
 
103
103
  # header parameters
104
104
  header_params = opts[:header_params] || {}
@@ -137,8 +137,8 @@ module PulpContainerClient
137
137
  # ViewSet for image signatures.
138
138
  # @param container_manifest_signature_href [String]
139
139
  # @param [Hash] opts the optional parameters
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.
140
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
141
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
142
142
  # @return [ContainerManifestSignatureResponse]
143
143
  def read(container_manifest_signature_href, opts = {})
144
144
  data, _status_code, _headers = read_with_http_info(container_manifest_signature_href, opts)
@@ -149,8 +149,8 @@ module PulpContainerClient
149
149
  # ViewSet for image signatures.
150
150
  # @param container_manifest_signature_href [String]
151
151
  # @param [Hash] opts the optional parameters
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.
152
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
153
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
154
154
  # @return [Array<(ContainerManifestSignatureResponse, Integer, Hash)>] ContainerManifestSignatureResponse data, response status code and response headers
155
155
  def read_with_http_info(container_manifest_signature_href, opts = {})
156
156
  if @api_client.config.debugging
@@ -165,8 +165,8 @@ module PulpContainerClient
165
165
 
166
166
  # query parameters
167
167
  query_params = opts[:query_params] || {}
168
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
169
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
168
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
169
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
170
170
 
171
171
  # header parameters
172
172
  header_params = opts[:header_params] || {}
@@ -32,8 +32,8 @@ module PulpContainerClient
32
32
  # @option opts [String] :repository_version Repository Version referenced by HREF
33
33
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
34
34
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
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.
35
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
36
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
37
37
  # @return [PaginatedcontainerTagResponseList]
38
38
  def list(opts = {})
39
39
  data, _status_code, _headers = list_with_http_info(opts)
@@ -53,8 +53,8 @@ module PulpContainerClient
53
53
  # @option opts [String] :repository_version Repository Version referenced by HREF
54
54
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
55
55
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
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.
56
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
57
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
58
58
  # @return [Array<(PaginatedcontainerTagResponseList, Integer, Hash)>] PaginatedcontainerTagResponseList data, response status code and response headers
59
59
  def list_with_http_info(opts = {})
60
60
  if @api_client.config.debugging
@@ -64,7 +64,7 @@ module PulpContainerClient
64
64
  if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
65
65
  fail ArgumentError, "invalid value for \"media_type\", must include one of #{allowable_values}"
66
66
  end
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"]
67
+ 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"]
68
68
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
69
69
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
70
70
  end
@@ -83,8 +83,8 @@ module PulpContainerClient
83
83
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
84
84
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
85
85
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
86
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
87
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
86
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
87
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
88
88
 
89
89
  # header parameters
90
90
  header_params = opts[:header_params] || {}
@@ -123,8 +123,8 @@ module PulpContainerClient
123
123
  # ViewSet for Tag.
124
124
  # @param container_tag_href [String]
125
125
  # @param [Hash] opts the optional parameters
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.
126
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
127
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
128
128
  # @return [ContainerTagResponse]
129
129
  def read(container_tag_href, opts = {})
130
130
  data, _status_code, _headers = read_with_http_info(container_tag_href, opts)
@@ -135,8 +135,8 @@ module PulpContainerClient
135
135
  # ViewSet for Tag.
136
136
  # @param container_tag_href [String]
137
137
  # @param [Hash] opts the optional parameters
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.
138
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
139
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
140
140
  # @return [Array<(ContainerTagResponse, Integer, Hash)>] ContainerTagResponse data, response status code and response headers
141
141
  def read_with_http_info(container_tag_href, opts = {})
142
142
  if @api_client.config.debugging
@@ -151,8 +151,8 @@ module PulpContainerClient
151
151
 
152
152
  # query parameters
153
153
  query_params = opts[:query_params] || {}
154
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
155
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
154
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
155
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
156
156
 
157
157
  # header parameters
158
158
  header_params = opts[:header_params] || {}
@@ -216,12 +216,12 @@ 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
219
+ # @option opts [String] :base_path Filter results where base_path matches value
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
224
+ # @option opts [String] :name Filter results where name matches value
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
@@ -230,9 +230,11 @@ module PulpContainerClient
230
230
  # @option opts [Integer] :offset The initial index from which to return the results.
231
231
  # @option opts [Array<String>] :ordering Ordering
232
232
  # @option opts [String] :pulp_label_select Filter labels by search string
233
+ # @option opts [String] :repository Filter results where repository matches value
234
+ # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
233
235
  # @option opts [String] :with_content Filter distributions based on the content served by them
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.
236
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
237
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
236
238
  # @return [PaginatedcontainerContainerDistributionResponseList]
237
239
  def list(opts = {})
238
240
  data, _status_code, _headers = list_with_http_info(opts)
@@ -242,12 +244,12 @@ module PulpContainerClient
242
244
  # List container distributions
243
245
  # 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.
244
246
  # @param [Hash] opts the optional parameters
245
- # @option opts [String] :base_path
247
+ # @option opts [String] :base_path Filter results where base_path matches value
246
248
  # @option opts [String] :base_path__contains Filter results where base_path contains value
247
249
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
248
250
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
249
251
  # @option opts [Integer] :limit Number of results to return per page.
250
- # @option opts [String] :name
252
+ # @option opts [String] :name Filter results where name matches value
251
253
  # @option opts [String] :name__contains Filter results where name contains value
252
254
  # @option opts [String] :name__icontains Filter results where name contains value
253
255
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -256,15 +258,17 @@ module PulpContainerClient
256
258
  # @option opts [Integer] :offset The initial index from which to return the results.
257
259
  # @option opts [Array<String>] :ordering Ordering
258
260
  # @option opts [String] :pulp_label_select Filter labels by search string
261
+ # @option opts [String] :repository Filter results where repository matches value
262
+ # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
259
263
  # @option opts [String] :with_content Filter distributions based on the content served by them
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.
264
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
265
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
262
266
  # @return [Array<(PaginatedcontainerContainerDistributionResponseList, Integer, Hash)>] PaginatedcontainerContainerDistributionResponseList data, response status code and response headers
263
267
  def list_with_http_info(opts = {})
264
268
  if @api_client.config.debugging
265
269
  @api_client.config.logger.debug 'Calling API: DistributionsContainerApi.list ...'
266
270
  end
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"]
271
+ 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"]
268
272
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
269
273
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
270
274
  end
@@ -287,9 +291,11 @@ module PulpContainerClient
287
291
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
288
292
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
289
293
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
294
+ query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
295
+ query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
290
296
  query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
291
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
292
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
297
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
298
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
293
299
 
294
300
  # header parameters
295
301
  header_params = opts[:header_params] || {}
@@ -327,8 +333,8 @@ module PulpContainerClient
327
333
  # List roles assigned to this object.
328
334
  # @param container_container_distribution_href [String]
329
335
  # @param [Hash] opts the optional parameters
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.
336
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
337
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
332
338
  # @return [ObjectRolesResponse]
333
339
  def list_roles(container_container_distribution_href, opts = {})
334
340
  data, _status_code, _headers = list_roles_with_http_info(container_container_distribution_href, opts)
@@ -338,8 +344,8 @@ module PulpContainerClient
338
344
  # List roles assigned to this object.
339
345
  # @param container_container_distribution_href [String]
340
346
  # @param [Hash] opts the optional parameters
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.
347
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
348
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
343
349
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
344
350
  def list_roles_with_http_info(container_container_distribution_href, opts = {})
345
351
  if @api_client.config.debugging
@@ -354,8 +360,8 @@ module PulpContainerClient
354
360
 
355
361
  # query parameters
356
362
  query_params = opts[:query_params] || {}
357
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
358
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
363
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
364
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
359
365
 
360
366
  # header parameters
361
367
  header_params = opts[:header_params] || {}
@@ -393,8 +399,8 @@ module PulpContainerClient
393
399
  # List permissions available to the current user on this object.
394
400
  # @param container_container_distribution_href [String]
395
401
  # @param [Hash] opts the optional parameters
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.
402
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
403
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
398
404
  # @return [MyPermissionsResponse]
399
405
  def my_permissions(container_container_distribution_href, opts = {})
400
406
  data, _status_code, _headers = my_permissions_with_http_info(container_container_distribution_href, opts)
@@ -404,8 +410,8 @@ module PulpContainerClient
404
410
  # List permissions available to the current user on this object.
405
411
  # @param container_container_distribution_href [String]
406
412
  # @param [Hash] opts the optional parameters
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.
413
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
414
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
409
415
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
410
416
  def my_permissions_with_http_info(container_container_distribution_href, opts = {})
411
417
  if @api_client.config.debugging
@@ -420,8 +426,8 @@ module PulpContainerClient
420
426
 
421
427
  # query parameters
422
428
  query_params = opts[:query_params] || {}
423
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
424
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
429
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
430
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
425
431
 
426
432
  # header parameters
427
433
  header_params = opts[:header_params] || {}
@@ -530,8 +536,8 @@ module PulpContainerClient
530
536
  # 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.
531
537
  # @param container_container_distribution_href [String]
532
538
  # @param [Hash] opts the optional parameters
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.
539
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
540
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
535
541
  # @return [ContainerContainerDistributionResponse]
536
542
  def read(container_container_distribution_href, opts = {})
537
543
  data, _status_code, _headers = read_with_http_info(container_container_distribution_href, opts)
@@ -542,8 +548,8 @@ module PulpContainerClient
542
548
  # 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.
543
549
  # @param container_container_distribution_href [String]
544
550
  # @param [Hash] opts the optional parameters
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.
551
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
552
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
547
553
  # @return [Array<(ContainerContainerDistributionResponse, Integer, Hash)>] ContainerContainerDistributionResponse data, response status code and response headers
548
554
  def read_with_http_info(container_container_distribution_href, opts = {})
549
555
  if @api_client.config.debugging
@@ -558,8 +564,8 @@ module PulpContainerClient
558
564
 
559
565
  # query parameters
560
566
  query_params = opts[:query_params] || {}
561
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
562
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
567
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
568
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
563
569
 
564
570
  # header parameters
565
571
  header_params = opts[:header_params] || {}