pulp_ostree_client 2.0.0a6 → 2.0.0a7.dev1668569524

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 +10 -8
  9. data/docs/OstreeOstreeRemoteResponse.md +2 -0
  10. data/docs/OstreeOstreeRemoteResponseHiddenFields.md +19 -0
  11. data/docs/RemotesOstreeApi.md +8 -8
  12. data/docs/RepositoriesOstreeApi.md +10 -8
  13. data/docs/RepositoriesOstreeVersionsApi.md +8 -8
  14. data/lib/pulp_ostree_client/api/content_commits_api.rb +12 -12
  15. data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -12
  16. data/lib/pulp_ostree_client/api/content_objects_api.rb +12 -12
  17. data/lib/pulp_ostree_client/api/content_refs_api.rb +12 -12
  18. data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -12
  19. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +16 -13
  20. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +12 -12
  21. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +15 -12
  22. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +13 -13
  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 +5 -4
  35. data/spec/api/remotes_ostree_api_spec.rb +4 -4
  36. data/spec/api/repositories_ostree_api_spec.rb +5 -4
  37. data/spec/api/repositories_ostree_versions_api_spec.rb +4 -4
  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 +43 -40
  41. data/git_push.sh +0 -58
@@ -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,8 +47,8 @@ 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
@@ -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,8 +57,8 @@ 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
@@ -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] || {}
@@ -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)
@@ -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", "-content_guard", "-core_artifactdistribution", "-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", "core_artifactdistribution", "group_roles", "name", "ostree_ostreedistribution", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "remote", "repository", "repository_version", "user_roles"]
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] || {}
@@ -163,8 +163,8 @@ module PulpOstreeClient
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)
@@ -189,8 +189,8 @@ module PulpOstreeClient
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
@@ -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] || {}
@@ -297,8 +297,9 @@ module PulpOstreeClient
297
297
  # @option opts [Integer] :offset The initial index from which to return the results.
298
298
  # @option opts [Array<String>] :ordering Ordering
299
299
  # @option opts [String] :pulp_label_select Filter labels by search string
300
- # @option opts [String] :fields A list of fields to include in the response.
301
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
300
+ # @option opts [String] :remote Foreign Key referenced by HREF
301
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
302
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
302
303
  # @return [PaginatedostreeOstreeRepositoryResponseList]
303
304
  def list(opts = {})
304
305
  data, _status_code, _headers = list_with_http_info(opts)
@@ -317,8 +318,9 @@ module PulpOstreeClient
317
318
  # @option opts [Integer] :offset The initial index from which to return the results.
318
319
  # @option opts [Array<String>] :ordering Ordering
319
320
  # @option opts [String] :pulp_label_select Filter labels by search string
320
- # @option opts [String] :fields A list of fields to include in the response.
321
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
321
+ # @option opts [String] :remote Foreign Key referenced by HREF
322
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
323
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
322
324
  # @return [Array<(PaginatedostreeOstreeRepositoryResponseList, Integer, Hash)>] PaginatedostreeOstreeRepositoryResponseList data, response status code and response headers
323
325
  def list_with_http_info(opts = {})
324
326
  if @api_client.config.debugging
@@ -342,8 +344,9 @@ module PulpOstreeClient
342
344
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
343
345
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
344
346
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
345
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
346
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
347
+ query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
348
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
349
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
347
350
 
348
351
  # header parameters
349
352
  header_params = opts[:header_params] || {}
@@ -522,8 +525,8 @@ module PulpOstreeClient
522
525
  # A ViewSet class for OSTree repositories.
523
526
  # @param ostree_ostree_repository_href [String]
524
527
  # @param [Hash] opts the optional parameters
525
- # @option opts [String] :fields A list of fields to include in the response.
526
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
528
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
529
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
527
530
  # @return [OstreeOstreeRepositoryResponse]
528
531
  def read(ostree_ostree_repository_href, opts = {})
529
532
  data, _status_code, _headers = read_with_http_info(ostree_ostree_repository_href, opts)
@@ -534,8 +537,8 @@ module PulpOstreeClient
534
537
  # A ViewSet class for OSTree repositories.
535
538
  # @param ostree_ostree_repository_href [String]
536
539
  # @param [Hash] opts the optional parameters
537
- # @option opts [String] :fields A list of fields to include in the response.
538
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
540
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
541
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
539
542
  # @return [Array<(OstreeOstreeRepositoryResponse, Integer, Hash)>] OstreeOstreeRepositoryResponse data, response status code and response headers
540
543
  def read_with_http_info(ostree_ostree_repository_href, opts = {})
541
544
  if @api_client.config.debugging
@@ -550,8 +553,8 @@ module PulpOstreeClient
550
553
 
551
554
  # query parameters
552
555
  query_params = opts[:query_params] || {}
553
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
554
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
556
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
557
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
555
558
 
556
559
  # header parameters
557
560
  header_params = opts[:header_params] || {}
@@ -102,8 +102,8 @@ module PulpOstreeClient
102
102
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
103
103
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
104
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
- # @option opts [String] :fields A list of fields to include in the response.
106
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
105
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
106
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
107
107
  # @return [PaginatedRepositoryVersionResponseList]
108
108
  def list(ostree_ostree_repository_href, opts = {})
109
109
  data, _status_code, _headers = list_with_http_info(ostree_ostree_repository_href, opts)
@@ -131,8 +131,8 @@ module PulpOstreeClient
131
131
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
132
132
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
133
133
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
134
- # @option opts [String] :fields A list of fields to include in the response.
135
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
134
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
135
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
136
136
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
137
137
  def list_with_http_info(ostree_ostree_repository_href, opts = {})
138
138
  if @api_client.config.debugging
@@ -142,7 +142,7 @@ module PulpOstreeClient
142
142
  if @api_client.config.client_side_validation && ostree_ostree_repository_href.nil?
143
143
  fail ArgumentError, "Missing the required parameter 'ostree_ostree_repository_href' when calling RepositoriesOstreeVersionsApi.list"
144
144
  end
145
- allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
145
+ allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-info", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "info", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
146
146
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
147
147
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
148
148
  end
@@ -168,8 +168,8 @@ module PulpOstreeClient
168
168
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
169
169
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
170
170
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
171
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
172
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
171
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
172
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
173
173
 
174
174
  # header parameters
175
175
  header_params = opts[:header_params] || {}
@@ -208,8 +208,8 @@ module PulpOstreeClient
208
208
  # A ViewSet class that represents a single OSTree repository version.
209
209
  # @param ostree_ostree_repository_version_href [String]
210
210
  # @param [Hash] opts the optional parameters
211
- # @option opts [String] :fields A list of fields to include in the response.
212
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
211
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
212
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
213
213
  # @return [RepositoryVersionResponse]
214
214
  def read(ostree_ostree_repository_version_href, opts = {})
215
215
  data, _status_code, _headers = read_with_http_info(ostree_ostree_repository_version_href, opts)
@@ -220,8 +220,8 @@ module PulpOstreeClient
220
220
  # A ViewSet class that represents a single OSTree repository version.
221
221
  # @param ostree_ostree_repository_version_href [String]
222
222
  # @param [Hash] opts the optional parameters
223
- # @option opts [String] :fields A list of fields to include in the response.
224
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
223
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
224
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
225
225
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
226
226
  def read_with_http_info(ostree_ostree_repository_version_href, opts = {})
227
227
  if @api_client.config.debugging
@@ -236,8 +236,8 @@ module PulpOstreeClient
236
236
 
237
237
  # query parameters
238
238
  query_params = opts[:query_params] || {}
239
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
240
- query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
239
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
240
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
241
241
 
242
242
  # header parameters
243
243
  header_params = opts[:header_params] || {}
@@ -154,7 +154,7 @@ module PulpOstreeClient
154
154
  case value
155
155
  when ::File, ::Tempfile
156
156
  # TODO hardcode to application/octet-stream, need better way to detect content type
157
- data[key] = Faraday::UploadIO.new(value.path, 'application/octet-stream', value.path)
157
+ data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path)
158
158
  when ::Array, nil
159
159
  # let Faraday handle Array and nil parameters
160
160
  data[key] = value