pulp_ostree_client 2.0.0a6 → 2.0.0a7.dev1676689690

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 (57) 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 +18 -12
  9. data/docs/OstreeOstreeDistribution.md +1 -1
  10. data/docs/OstreeOstreeDistributionResponse.md +1 -1
  11. data/docs/OstreeOstreeRemote.md +1 -1
  12. data/docs/OstreeOstreeRemoteResponse.md +3 -1
  13. data/docs/OstreeOstreeRemoteResponseHiddenFields.md +19 -0
  14. data/docs/OstreeOstreeRepository.md +1 -1
  15. data/docs/OstreeOstreeRepositoryResponse.md +1 -1
  16. data/docs/PatchedostreeOstreeDistribution.md +1 -1
  17. data/docs/PatchedostreeOstreeRemote.md +1 -1
  18. data/docs/PatchedostreeOstreeRepository.md +1 -1
  19. data/docs/RemotesOstreeApi.md +12 -12
  20. data/docs/RepositoriesOstreeApi.md +28 -10
  21. data/docs/RepositoriesOstreeVersionsApi.md +12 -12
  22. data/lib/pulp_ostree_client/api/content_commits_api.rb +13 -13
  23. data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -12
  24. data/lib/pulp_ostree_client/api/content_objects_api.rb +13 -13
  25. data/lib/pulp_ostree_client/api/content_refs_api.rb +13 -13
  26. data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -12
  27. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +26 -17
  28. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +17 -17
  29. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +42 -15
  30. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +17 -17
  31. data/lib/pulp_ostree_client/api_client.rb +1 -1
  32. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +4 -2
  33. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +4 -2
  34. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +4 -2
  35. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +17 -3
  36. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb +215 -0
  37. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +4 -2
  38. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +4 -2
  39. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +4 -2
  40. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +4 -2
  41. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +4 -2
  42. data/lib/pulp_ostree_client/version.rb +1 -1
  43. data/lib/pulp_ostree_client.rb +1 -0
  44. data/pulp_ostree_client.gemspec +3 -3
  45. data/spec/api/content_commits_api_spec.rb +4 -4
  46. data/spec/api/content_configs_api_spec.rb +4 -4
  47. data/spec/api/content_objects_api_spec.rb +4 -4
  48. data/spec/api/content_refs_api_spec.rb +4 -4
  49. data/spec/api/content_summaries_api_spec.rb +4 -4
  50. data/spec/api/distributions_ostree_api_spec.rb +9 -6
  51. data/spec/api/remotes_ostree_api_spec.rb +6 -6
  52. data/spec/api/repositories_ostree_api_spec.rb +14 -5
  53. data/spec/api/repositories_ostree_versions_api_spec.rb +6 -6
  54. data/spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb +47 -0
  55. data/spec/models/ostree_ostree_remote_response_spec.rb +6 -0
  56. metadata +41 -38
  57. data/git_push.sh +0 -58
@@ -256,7 +256,7 @@ end
256
256
  api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
257
257
  opts = {
258
258
  limit: 56, # Integer | Number of results to return per page.
259
- name: 'name_example', # String |
259
+ name: 'name_example', # String | Filter results where name matches value
260
260
  name__contains: 'name__contains_example', # String | Filter results where name contains value
261
261
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
262
262
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
@@ -264,8 +264,17 @@ opts = {
264
264
  offset: 56, # Integer | The initial index from which to return the results.
265
265
  ordering: ['ordering_example'], # Array<String> | Ordering
266
266
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
267
- fields: 'fields_example', # String | A list of fields to include in the response.
268
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
267
+ remote: 'remote_example', # String | Foreign Key referenced by HREF
268
+ retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
269
+ retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
270
+ retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
271
+ retain_repo_versions__isnull: true, # Boolean | Filter results where retain_repo_versions has a null value
272
+ retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
273
+ retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
274
+ retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
275
+ retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
276
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
277
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
269
278
  }
270
279
 
271
280
  begin
@@ -283,7 +292,7 @@ end
283
292
  Name | Type | Description | Notes
284
293
  ------------- | ------------- | ------------- | -------------
285
294
  **limit** | **Integer**| Number of results to return per page. | [optional]
286
- **name** | **String**| | [optional]
295
+ **name** | **String**| Filter results where name matches value | [optional]
287
296
  **name__contains** | **String**| Filter results where name contains value | [optional]
288
297
  **name__icontains** | **String**| Filter results where name contains value | [optional]
289
298
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
@@ -291,8 +300,17 @@ Name | Type | Description | Notes
291
300
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
292
301
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
293
302
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
294
- **fields** | **String**| A list of fields to include in the response. | [optional]
295
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
303
+ **remote** | **String**| Foreign Key referenced by HREF | [optional]
304
+ **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
305
+ **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
306
+ **retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
307
+ **retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
308
+ **retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
309
+ **retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
310
+ **retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
311
+ **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
312
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
313
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
296
314
 
297
315
  ### Return type
298
316
 
@@ -441,8 +459,8 @@ end
441
459
  api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
442
460
  ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
443
461
  opts = {
444
- fields: 'fields_example', # String | A list of fields to include in the response.
445
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
462
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
463
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
446
464
  }
447
465
 
448
466
  begin
@@ -460,8 +478,8 @@ end
460
478
  Name | Type | Description | Notes
461
479
  ------------- | ------------- | ------------- | -------------
462
480
  **ostree_ostree_repository_href** | **String**| |
463
- **fields** | **String**| A list of fields to include in the response. | [optional]
464
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
481
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
482
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
465
483
 
466
484
  ### Return type
467
485
 
@@ -90,7 +90,7 @@ opts = {
90
90
  content: 'content_example', # String | Content Unit referenced by HREF
91
91
  content__in: 'content__in_example', # String | Content Unit referenced by HREF
92
92
  limit: 56, # Integer | Number of results to return per page.
93
- number: 56, # Integer |
93
+ number: 56, # Integer | Filter results where number matches value
94
94
  number__gt: 56, # Integer | Filter results where number is greater than value
95
95
  number__gte: 56, # Integer | Filter results where number is greater than or equal to value
96
96
  number__lt: 56, # Integer | Filter results where number is less than value
@@ -98,14 +98,14 @@ opts = {
98
98
  number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
99
99
  offset: 56, # Integer | The initial index from which to return the results.
100
100
  ordering: ['ordering_example'], # Array<String> | Ordering
101
- pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
101
+ pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
102
102
  pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
103
103
  pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
104
104
  pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
105
105
  pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
106
106
  pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
107
- fields: 'fields_example', # String | A list of fields to include in the response.
108
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
107
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
108
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
109
109
  }
110
110
 
111
111
  begin
@@ -126,7 +126,7 @@ Name | Type | Description | Notes
126
126
  **content** | **String**| Content Unit referenced by HREF | [optional]
127
127
  **content__in** | **String**| Content Unit referenced by HREF | [optional]
128
128
  **limit** | **Integer**| Number of results to return per page. | [optional]
129
- **number** | **Integer**| | [optional]
129
+ **number** | **Integer**| Filter results where number matches value | [optional]
130
130
  **number__gt** | **Integer**| Filter results where number is greater than value | [optional]
131
131
  **number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
132
132
  **number__lt** | **Integer**| Filter results where number is less than value | [optional]
@@ -134,14 +134,14 @@ Name | Type | Description | Notes
134
134
  **number__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where number is between two comma separated values | [optional]
135
135
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
136
136
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
137
- **pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
137
+ **pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
138
138
  **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
139
139
  **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
140
140
  **pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
141
141
  **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
142
142
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
143
- **fields** | **String**| A list of fields to include in the response. | [optional]
144
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
143
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
144
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
145
145
 
146
146
  ### Return type
147
147
 
@@ -180,8 +180,8 @@ end
180
180
  api_instance = PulpOstreeClient::RepositoriesOstreeVersionsApi.new
181
181
  ostree_ostree_repository_version_href = 'ostree_ostree_repository_version_href_example' # String |
182
182
  opts = {
183
- fields: 'fields_example', # String | A list of fields to include in the response.
184
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
183
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
184
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
185
185
  }
186
186
 
187
187
  begin
@@ -199,8 +199,8 @@ end
199
199
  Name | Type | Description | Notes
200
200
  ------------- | ------------- | ------------- | -------------
201
201
  **ostree_ostree_repository_version_href** | **String**| |
202
- **fields** | **String**| A list of fields to include in the response. | [optional]
203
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
202
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
203
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
204
204
 
205
205
  ### Return type
206
206
 
@@ -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] || {}