pulp_ostree_client 2.0.0a6 → 2.0.0a7.dev1670123313

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.

Potentially problematic release.


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

Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -6
  3. data/docs/ContentCommitsApi.md +8 -8
  4. data/docs/ContentConfigsApi.md +8 -8
  5. data/docs/ContentObjectsApi.md +8 -8
  6. data/docs/ContentRefsApi.md +8 -8
  7. data/docs/ContentSummariesApi.md +8 -8
  8. data/docs/DistributionsOstreeApi.md +14 -12
  9. data/docs/OstreeOstreeRemoteResponse.md +2 -0
  10. data/docs/OstreeOstreeRemoteResponseHiddenFields.md +19 -0
  11. data/docs/RemotesOstreeApi.md +12 -12
  12. data/docs/RepositoriesOstreeApi.md +12 -10
  13. data/docs/RepositoriesOstreeVersionsApi.md +12 -12
  14. data/lib/pulp_ostree_client/api/content_commits_api.rb +13 -13
  15. data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -12
  16. data/lib/pulp_ostree_client/api/content_objects_api.rb +13 -13
  17. data/lib/pulp_ostree_client/api/content_refs_api.rb +13 -13
  18. data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -12
  19. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +20 -17
  20. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +17 -17
  21. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +18 -15
  22. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +17 -17
  23. data/lib/pulp_ostree_client/api_client.rb +1 -1
  24. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +13 -1
  25. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb +215 -0
  26. data/lib/pulp_ostree_client/version.rb +1 -1
  27. data/lib/pulp_ostree_client.rb +1 -0
  28. data/pulp_ostree_client.gemspec +3 -3
  29. data/spec/api/content_commits_api_spec.rb +4 -4
  30. data/spec/api/content_configs_api_spec.rb +4 -4
  31. data/spec/api/content_objects_api_spec.rb +4 -4
  32. data/spec/api/content_refs_api_spec.rb +4 -4
  33. data/spec/api/content_summaries_api_spec.rb +4 -4
  34. data/spec/api/distributions_ostree_api_spec.rb +7 -6
  35. data/spec/api/remotes_ostree_api_spec.rb +6 -6
  36. data/spec/api/repositories_ostree_api_spec.rb +6 -5
  37. data/spec/api/repositories_ostree_versions_api_spec.rb +6 -6
  38. data/spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb +47 -0
  39. data/spec/models/ostree_ostree_remote_response_spec.rb +6 -0
  40. metadata +41 -38
  41. data/git_push.sh +0 -58
@@ -29,8 +29,8 @@ module PulpOstreeClient
29
29
  # @option opts [String] :repository_version Repository Version referenced by HREF
30
30
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
31
31
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
32
- # @option opts [String] :fields A list of fields to include in the response.
33
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
32
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
33
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
34
34
  # @return [PaginatedostreeOstreeCommitResponseList]
35
35
  def list(opts = {})
36
36
  data, _status_code, _headers = list_with_http_info(opts)
@@ -47,14 +47,14 @@ module PulpOstreeClient
47
47
  # @option opts [String] :repository_version Repository Version referenced by HREF
48
48
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
49
49
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
50
- # @option opts [String] :fields A list of fields to include in the response.
51
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
50
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
51
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
52
52
  # @return [Array<(PaginatedostreeOstreeCommitResponseList, Integer, Hash)>] PaginatedostreeOstreeCommitResponseList data, response status code and response headers
53
53
  def list_with_http_info(opts = {})
54
54
  if @api_client.config.debugging
55
55
  @api_client.config.logger.debug 'Calling API: ContentCommitsApi.list ...'
56
56
  end
57
- allowable_values = ["-_artifacts", "-checksum", "-content_ptr", "-contentartifact", "-group_roles", "-object_commit", "-objs", "-ostree_ostreecommit", "-parent_commit", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-refs_commit", "-relative_path", "-repositories", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "checksum", "content_ptr", "contentartifact", "group_roles", "object_commit", "objs", "ostree_ostreecommit", "parent_commit", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "refs_commit", "relative_path", "repositories", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
57
+ allowable_values = ["-checksum", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-timestamp_of_interest", "-upstream_id", "checksum", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "timestamp_of_interest", "upstream_id"]
58
58
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
59
59
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
60
60
  end
@@ -70,8 +70,8 @@ module PulpOstreeClient
70
70
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
71
71
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
72
72
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
73
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
74
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
73
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
74
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
75
75
 
76
76
  # header parameters
77
77
  header_params = opts[:header_params] || {}
@@ -110,8 +110,8 @@ module PulpOstreeClient
110
110
  # A ViewSet class for OSTree commits.
111
111
  # @param ostree_ostree_commit_href [String]
112
112
  # @param [Hash] opts the optional parameters
113
- # @option opts [String] :fields A list of fields to include in the response.
114
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
113
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
114
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
115
115
  # @return [OstreeOstreeCommitResponse]
116
116
  def read(ostree_ostree_commit_href, opts = {})
117
117
  data, _status_code, _headers = read_with_http_info(ostree_ostree_commit_href, opts)
@@ -122,8 +122,8 @@ module PulpOstreeClient
122
122
  # A ViewSet class for OSTree commits.
123
123
  # @param ostree_ostree_commit_href [String]
124
124
  # @param [Hash] opts the optional parameters
125
- # @option opts [String] :fields A list of fields to include in the response.
126
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
125
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
126
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
127
127
  # @return [Array<(OstreeOstreeCommitResponse, Integer, Hash)>] OstreeOstreeCommitResponse data, response status code and response headers
128
128
  def read_with_http_info(ostree_ostree_commit_href, opts = {})
129
129
  if @api_client.config.debugging
@@ -138,8 +138,8 @@ module PulpOstreeClient
138
138
 
139
139
  # query parameters
140
140
  query_params = opts[:query_params] || {}
141
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
142
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
141
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
142
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
143
143
 
144
144
  # header parameters
145
145
  header_params = opts[:header_params] || {}
@@ -28,8 +28,8 @@ module PulpOstreeClient
28
28
  # @option opts [String] :repository_version Repository Version referenced by HREF
29
29
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
30
30
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
31
- # @option opts [String] :fields A list of fields to include in the response.
32
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
31
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
32
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
33
33
  # @return [PaginatedostreeOstreeConfigResponseList]
34
34
  def list(opts = {})
35
35
  data, _status_code, _headers = list_with_http_info(opts)
@@ -45,8 +45,8 @@ module PulpOstreeClient
45
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
46
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
47
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
48
- # @option opts [String] :fields A list of fields to include in the response.
49
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
48
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
49
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
50
50
  # @return [Array<(PaginatedostreeOstreeConfigResponseList, Integer, Hash)>] PaginatedostreeOstreeConfigResponseList data, response status code and response headers
51
51
  def list_with_http_info(opts = {})
52
52
  if @api_client.config.debugging
@@ -67,8 +67,8 @@ module PulpOstreeClient
67
67
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
68
68
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
69
69
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
70
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
71
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
70
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
71
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
72
72
 
73
73
  # header parameters
74
74
  header_params = opts[:header_params] || {}
@@ -107,8 +107,8 @@ module PulpOstreeClient
107
107
  # A ViewSet class for OSTree repository configurations.
108
108
  # @param ostree_ostree_config_href [String]
109
109
  # @param [Hash] opts the optional parameters
110
- # @option opts [String] :fields A list of fields to include in the response.
111
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
111
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
112
112
  # @return [OstreeOstreeConfigResponse]
113
113
  def read(ostree_ostree_config_href, opts = {})
114
114
  data, _status_code, _headers = read_with_http_info(ostree_ostree_config_href, opts)
@@ -119,8 +119,8 @@ module PulpOstreeClient
119
119
  # A ViewSet class for OSTree repository configurations.
120
120
  # @param ostree_ostree_config_href [String]
121
121
  # @param [Hash] opts the optional parameters
122
- # @option opts [String] :fields A list of fields to include in the response.
123
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
122
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
123
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
124
124
  # @return [Array<(OstreeOstreeConfigResponse, Integer, Hash)>] OstreeOstreeConfigResponse data, response status code and response headers
125
125
  def read_with_http_info(ostree_ostree_config_href, opts = {})
126
126
  if @api_client.config.debugging
@@ -135,8 +135,8 @@ module PulpOstreeClient
135
135
 
136
136
  # query parameters
137
137
  query_params = opts[:query_params] || {}
138
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
139
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
138
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
139
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
140
140
 
141
141
  # header parameters
142
142
  header_params = opts[:header_params] || {}
@@ -29,8 +29,8 @@ module PulpOstreeClient
29
29
  # @option opts [String] :repository_version Repository Version referenced by HREF
30
30
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
31
31
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
32
- # @option opts [String] :fields A list of fields to include in the response.
33
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
32
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
33
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
34
34
  # @return [PaginatedostreeOstreeObjectResponseList]
35
35
  def list(opts = {})
36
36
  data, _status_code, _headers = list_with_http_info(opts)
@@ -47,14 +47,14 @@ module PulpOstreeClient
47
47
  # @option opts [String] :repository_version Repository Version referenced by HREF
48
48
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
49
49
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
50
- # @option opts [String] :fields A list of fields to include in the response.
51
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
50
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
51
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
52
52
  # @return [Array<(PaginatedostreeOstreeObjectResponseList, Integer, Hash)>] PaginatedostreeOstreeObjectResponseList data, response status code and response headers
53
53
  def list_with_http_info(opts = {})
54
54
  if @api_client.config.debugging
55
55
  @api_client.config.logger.debug 'Calling API: ContentObjectsApi.list ...'
56
56
  end
57
- allowable_values = ["-_artifacts", "-checksum", "-commit_object", "-content_ptr", "-contentartifact", "-group_roles", "-ostree_ostreecommit", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-repositories", "-timestamp_of_interest", "-typ", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "checksum", "commit_object", "content_ptr", "contentartifact", "group_roles", "ostree_ostreecommit", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "repositories", "timestamp_of_interest", "typ", "upstream_id", "user_roles", "version_memberships"]
57
+ allowable_values = ["-checksum", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-timestamp_of_interest", "-typ", "-upstream_id", "checksum", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "timestamp_of_interest", "typ", "upstream_id"]
58
58
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
59
59
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
60
60
  end
@@ -70,8 +70,8 @@ module PulpOstreeClient
70
70
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
71
71
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
72
72
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
73
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
74
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
73
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
74
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
75
75
 
76
76
  # header parameters
77
77
  header_params = opts[:header_params] || {}
@@ -110,8 +110,8 @@ module PulpOstreeClient
110
110
  # A ViewSet class for OSTree objects (e.g., dirtree, dirmeta, file).
111
111
  # @param ostree_ostree_object_href [String]
112
112
  # @param [Hash] opts the optional parameters
113
- # @option opts [String] :fields A list of fields to include in the response.
114
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
113
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
114
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
115
115
  # @return [OstreeOstreeObjectResponse]
116
116
  def read(ostree_ostree_object_href, opts = {})
117
117
  data, _status_code, _headers = read_with_http_info(ostree_ostree_object_href, opts)
@@ -122,8 +122,8 @@ module PulpOstreeClient
122
122
  # A ViewSet class for OSTree objects (e.g., dirtree, dirmeta, file).
123
123
  # @param ostree_ostree_object_href [String]
124
124
  # @param [Hash] opts the optional parameters
125
- # @option opts [String] :fields A list of fields to include in the response.
126
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
125
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
126
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
127
127
  # @return [Array<(OstreeOstreeObjectResponse, Integer, Hash)>] OstreeOstreeObjectResponse data, response status code and response headers
128
128
  def read_with_http_info(ostree_ostree_object_href, opts = {})
129
129
  if @api_client.config.debugging
@@ -138,8 +138,8 @@ module PulpOstreeClient
138
138
 
139
139
  # query parameters
140
140
  query_params = opts[:query_params] || {}
141
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
142
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
141
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
142
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
143
143
 
144
144
  # header parameters
145
145
  header_params = opts[:header_params] || {}
@@ -34,8 +34,8 @@ module PulpOstreeClient
34
34
  # @option opts [String] :repository_version Repository Version referenced by HREF
35
35
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
36
36
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
37
- # @option opts [String] :fields A list of fields to include in the response.
38
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
39
39
  # @return [PaginatedostreeOstreeRefResponseList]
40
40
  def list(opts = {})
41
41
  data, _status_code, _headers = list_with_http_info(opts)
@@ -57,14 +57,14 @@ module PulpOstreeClient
57
57
  # @option opts [String] :repository_version Repository Version referenced by HREF
58
58
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
59
59
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
60
- # @option opts [String] :fields A list of fields to include in the response.
61
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
62
62
  # @return [Array<(PaginatedostreeOstreeRefResponseList, Integer, Hash)>] PaginatedostreeOstreeRefResponseList data, response status code and response headers
63
63
  def list_with_http_info(opts = {})
64
64
  if @api_client.config.debugging
65
65
  @api_client.config.logger.debug 'Calling API: ContentRefsApi.list ...'
66
66
  end
67
- allowable_values = ["-_artifacts", "-commit", "-content_ptr", "-contentartifact", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-repositories", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "commit", "content_ptr", "contentartifact", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "repositories", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
67
+ allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-timestamp_of_interest", "-upstream_id", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "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
@@ -85,8 +85,8 @@ module PulpOstreeClient
85
85
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
86
86
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
87
87
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
88
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
89
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
88
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
89
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
90
90
 
91
91
  # header parameters
92
92
  header_params = opts[:header_params] || {}
@@ -125,8 +125,8 @@ module PulpOstreeClient
125
125
  # A ViewSet class for OSTree head commits.
126
126
  # @param ostree_ostree_ref_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 [OstreeOstreeRefResponse]
131
131
  def read(ostree_ostree_ref_href, opts = {})
132
132
  data, _status_code, _headers = read_with_http_info(ostree_ostree_ref_href, opts)
@@ -137,8 +137,8 @@ module PulpOstreeClient
137
137
  # A ViewSet class for OSTree head commits.
138
138
  # @param ostree_ostree_ref_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 [Array<(OstreeOstreeRefResponse, Integer, Hash)>] OstreeOstreeRefResponse data, response status code and response headers
143
143
  def read_with_http_info(ostree_ostree_ref_href, opts = {})
144
144
  if @api_client.config.debugging
@@ -153,8 +153,8 @@ module PulpOstreeClient
153
153
 
154
154
  # query parameters
155
155
  query_params = opts[:query_params] || {}
156
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
157
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
156
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
157
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
158
158
 
159
159
  # header parameters
160
160
  header_params = opts[:header_params] || {}
@@ -28,8 +28,8 @@ module PulpOstreeClient
28
28
  # @option opts [String] :repository_version Repository Version referenced by HREF
29
29
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
30
30
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
31
- # @option opts [String] :fields A list of fields to include in the response.
32
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
31
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
32
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
33
33
  # @return [PaginatedostreeOstreeSummaryResponseList]
34
34
  def list(opts = {})
35
35
  data, _status_code, _headers = list_with_http_info(opts)
@@ -45,8 +45,8 @@ module PulpOstreeClient
45
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
46
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
47
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
48
- # @option opts [String] :fields A list of fields to include in the response.
49
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
48
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
49
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
50
50
  # @return [Array<(PaginatedostreeOstreeSummaryResponseList, Integer, Hash)>] PaginatedostreeOstreeSummaryResponseList data, response status code and response headers
51
51
  def list_with_http_info(opts = {})
52
52
  if @api_client.config.debugging
@@ -67,8 +67,8 @@ module PulpOstreeClient
67
67
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
68
68
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
69
69
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
70
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
71
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
70
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
71
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
72
72
 
73
73
  # header parameters
74
74
  header_params = opts[:header_params] || {}
@@ -107,8 +107,8 @@ module PulpOstreeClient
107
107
  # A ViewSet class for OSTree repository summary files.
108
108
  # @param ostree_ostree_summary_href [String]
109
109
  # @param [Hash] opts the optional parameters
110
- # @option opts [String] :fields A list of fields to include in the response.
111
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
111
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
112
112
  # @return [OstreeOstreeSummaryResponse]
113
113
  def read(ostree_ostree_summary_href, opts = {})
114
114
  data, _status_code, _headers = read_with_http_info(ostree_ostree_summary_href, opts)
@@ -119,8 +119,8 @@ module PulpOstreeClient
119
119
  # A ViewSet class for OSTree repository summary files.
120
120
  # @param ostree_ostree_summary_href [String]
121
121
  # @param [Hash] opts the optional parameters
122
- # @option opts [String] :fields A list of fields to include in the response.
123
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
122
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
123
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
124
124
  # @return [Array<(OstreeOstreeSummaryResponse, Integer, Hash)>] OstreeOstreeSummaryResponse data, response status code and response headers
125
125
  def read_with_http_info(ostree_ostree_summary_href, opts = {})
126
126
  if @api_client.config.debugging
@@ -135,8 +135,8 @@ module PulpOstreeClient
135
135
 
136
136
  # query parameters
137
137
  query_params = opts[:query_params] || {}
138
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
139
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
138
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
139
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
140
140
 
141
141
  # header parameters
142
142
  header_params = opts[:header_params] || {}
@@ -148,12 +148,12 @@ module PulpOstreeClient
148
148
  # List ostree distributions
149
149
  # A ViewSet class for OSTree distributions.
150
150
  # @param [Hash] opts the optional parameters
151
- # @option opts [String] :base_path
151
+ # @option opts [String] :base_path Filter results where base_path matches value
152
152
  # @option opts [String] :base_path__contains Filter results where base_path contains value
153
153
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
154
154
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
155
155
  # @option opts [Integer] :limit Number of results to return per page.
156
- # @option opts [String] :name
156
+ # @option opts [String] :name Filter results where name matches value
157
157
  # @option opts [String] :name__contains Filter results where name contains value
158
158
  # @option opts [String] :name__icontains Filter results where name contains value
159
159
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -161,8 +161,9 @@ module PulpOstreeClient
161
161
  # @option opts [Integer] :offset The initial index from which to return the results.
162
162
  # @option opts [Array<String>] :ordering Ordering
163
163
  # @option opts [String] :pulp_label_select Filter labels by search string
164
- # @option opts [String] :fields A list of fields to include in the response.
165
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
164
+ # @option opts [String] :with_content Filter distributions based on the content served by them
165
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
166
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
166
167
  # @return [PaginatedostreeOstreeDistributionResponseList]
167
168
  def list(opts = {})
168
169
  data, _status_code, _headers = list_with_http_info(opts)
@@ -172,12 +173,12 @@ module PulpOstreeClient
172
173
  # List ostree distributions
173
174
  # A ViewSet class for OSTree distributions.
174
175
  # @param [Hash] opts the optional parameters
175
- # @option opts [String] :base_path
176
+ # @option opts [String] :base_path Filter results where base_path matches value
176
177
  # @option opts [String] :base_path__contains Filter results where base_path contains value
177
178
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
178
179
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
179
180
  # @option opts [Integer] :limit Number of results to return per page.
180
- # @option opts [String] :name
181
+ # @option opts [String] :name Filter results where name matches value
181
182
  # @option opts [String] :name__contains Filter results where name contains value
182
183
  # @option opts [String] :name__icontains Filter results where name contains value
183
184
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -185,14 +186,15 @@ module PulpOstreeClient
185
186
  # @option opts [Integer] :offset The initial index from which to return the results.
186
187
  # @option opts [Array<String>] :ordering Ordering
187
188
  # @option opts [String] :pulp_label_select Filter labels by search string
188
- # @option opts [String] :fields A list of fields to include in the response.
189
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
189
+ # @option opts [String] :with_content Filter distributions based on the content served by them
190
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
191
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
190
192
  # @return [Array<(PaginatedostreeOstreeDistributionResponseList, Integer, Hash)>] PaginatedostreeOstreeDistributionResponseList data, response status code and response headers
191
193
  def list_with_http_info(opts = {})
192
194
  if @api_client.config.debugging
193
195
  @api_client.config.logger.debug 'Calling API: DistributionsOstreeApi.list ...'
194
196
  end
195
- allowable_values = ["-base_path", "-content_guard", "-group_roles", "-name", "-ostree_ostreedistribution", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-remote", "-repository", "-repository_version", "-user_roles", "base_path", "content_guard", "group_roles", "name", "ostree_ostreedistribution", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "remote", "repository", "repository_version", "user_roles"]
197
+ allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
196
198
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
197
199
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
198
200
  end
@@ -214,8 +216,9 @@ module PulpOstreeClient
214
216
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
215
217
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
216
218
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
217
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
218
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
219
+ query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
220
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
221
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
219
222
 
220
223
  # header parameters
221
224
  header_params = opts[:header_params] || {}
@@ -324,8 +327,8 @@ module PulpOstreeClient
324
327
  # A ViewSet class for OSTree distributions.
325
328
  # @param ostree_ostree_distribution_href [String]
326
329
  # @param [Hash] opts the optional parameters
327
- # @option opts [String] :fields A list of fields to include in the response.
328
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
330
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
331
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
329
332
  # @return [OstreeOstreeDistributionResponse]
330
333
  def read(ostree_ostree_distribution_href, opts = {})
331
334
  data, _status_code, _headers = read_with_http_info(ostree_ostree_distribution_href, opts)
@@ -336,8 +339,8 @@ module PulpOstreeClient
336
339
  # A ViewSet class for OSTree distributions.
337
340
  # @param ostree_ostree_distribution_href [String]
338
341
  # @param [Hash] opts the optional parameters
339
- # @option opts [String] :fields A list of fields to include in the response.
340
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
341
344
  # @return [Array<(OstreeOstreeDistributionResponse, Integer, Hash)>] OstreeOstreeDistributionResponse data, response status code and response headers
342
345
  def read_with_http_info(ostree_ostree_distribution_href, opts = {})
343
346
  if @api_client.config.debugging
@@ -352,8 +355,8 @@ module PulpOstreeClient
352
355
 
353
356
  # query parameters
354
357
  query_params = opts[:query_params] || {}
355
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
356
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
358
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
359
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
357
360
 
358
361
  # header parameters
359
362
  header_params = opts[:header_params] || {}
@@ -149,7 +149,7 @@ module PulpOstreeClient
149
149
  # A ViewSet class for OSTree remote repositories.
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
- # @option opts [String] :name
152
+ # @option opts [String] :name Filter results where name matches value
153
153
  # @option opts [String] :name__contains Filter results where name contains value
154
154
  # @option opts [String] :name__icontains Filter results where name contains value
155
155
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -157,14 +157,14 @@ module PulpOstreeClient
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
158
  # @option opts [Array<String>] :ordering Ordering
159
159
  # @option opts [String] :pulp_label_select Filter labels by search string
160
- # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
160
+ # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
161
161
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
162
162
  # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
163
163
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
164
164
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
165
165
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
166
- # @option opts [String] :fields A list of fields to include in the response.
167
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
166
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
167
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
168
168
  # @return [PaginatedostreeOstreeRemoteResponseList]
169
169
  def list(opts = {})
170
170
  data, _status_code, _headers = list_with_http_info(opts)
@@ -175,7 +175,7 @@ module PulpOstreeClient
175
175
  # A ViewSet class for OSTree remote repositories.
176
176
  # @param [Hash] opts the optional parameters
177
177
  # @option opts [Integer] :limit Number of results to return per page.
178
- # @option opts [String] :name
178
+ # @option opts [String] :name Filter results where name matches value
179
179
  # @option opts [String] :name__contains Filter results where name contains value
180
180
  # @option opts [String] :name__icontains Filter results where name contains value
181
181
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -183,20 +183,20 @@ module PulpOstreeClient
183
183
  # @option opts [Integer] :offset The initial index from which to return the results.
184
184
  # @option opts [Array<String>] :ordering Ordering
185
185
  # @option opts [String] :pulp_label_select Filter labels by search string
186
- # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
186
+ # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
187
187
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
188
188
  # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
189
189
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
190
190
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
191
191
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
192
- # @option opts [String] :fields A list of fields to include in the response.
193
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
192
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
193
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
194
194
  # @return [Array<(PaginatedostreeOstreeRemoteResponseList, Integer, Hash)>] PaginatedostreeOstreeRemoteResponseList data, response status code and response headers
195
195
  def list_with_http_info(opts = {})
196
196
  if @api_client.config.debugging
197
197
  @api_client.config.logger.debug 'Calling API: RemotesOstreeApi.list ...'
198
198
  end
199
- allowable_values = ["-alternatecontentsource", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-distribution", "-download_concurrency", "-group_roles", "-headers", "-max_retries", "-name", "-ostree_ostreeremote", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "distribution", "download_concurrency", "group_roles", "headers", "max_retries", "name", "ostree_ostreeremote", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
199
+ allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
200
200
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
201
201
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
202
202
  end
@@ -220,8 +220,8 @@ module PulpOstreeClient
220
220
  query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
221
221
  query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
222
222
  query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
223
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
224
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
223
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
224
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
225
225
 
226
226
  # header parameters
227
227
  header_params = opts[:header_params] || {}
@@ -330,8 +330,8 @@ module PulpOstreeClient
330
330
  # A ViewSet class for OSTree remote repositories.
331
331
  # @param ostree_ostree_remote_href [String]
332
332
  # @param [Hash] opts the optional parameters
333
- # @option opts [String] :fields A list of fields to include in the response.
334
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
333
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
334
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
335
335
  # @return [OstreeOstreeRemoteResponse]
336
336
  def read(ostree_ostree_remote_href, opts = {})
337
337
  data, _status_code, _headers = read_with_http_info(ostree_ostree_remote_href, opts)
@@ -342,8 +342,8 @@ module PulpOstreeClient
342
342
  # A ViewSet class for OSTree remote repositories.
343
343
  # @param ostree_ostree_remote_href [String]
344
344
  # @param [Hash] opts the optional parameters
345
- # @option opts [String] :fields A list of fields to include in the response.
346
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
345
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
346
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
347
347
  # @return [Array<(OstreeOstreeRemoteResponse, Integer, Hash)>] OstreeOstreeRemoteResponse data, response status code and response headers
348
348
  def read_with_http_info(ostree_ostree_remote_href, opts = {})
349
349
  if @api_client.config.debugging
@@ -358,8 +358,8 @@ module PulpOstreeClient
358
358
 
359
359
  # query parameters
360
360
  query_params = opts[:query_params] || {}
361
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
362
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
361
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
362
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
363
363
 
364
364
  # header parameters
365
365
  header_params = opts[:header_params] || {}