pulp_ostree_client 2.0.0a6 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -7
  3. data/docs/ContentCommitsApi.md +8 -8
  4. data/docs/ContentConfigsApi.md +8 -8
  5. data/docs/ContentContentApi.md +138 -0
  6. data/docs/ContentObjectsApi.md +8 -8
  7. data/docs/ContentRefsApi.md +8 -8
  8. data/docs/ContentSummariesApi.md +8 -8
  9. data/docs/DistributionsOstreeApi.md +18 -12
  10. data/docs/OstreeOstreeContentResponse.md +25 -0
  11. data/docs/OstreeOstreeDistribution.md +1 -1
  12. data/docs/OstreeOstreeDistributionResponse.md +1 -1
  13. data/docs/OstreeOstreeRemote.md +1 -1
  14. data/docs/OstreeOstreeRemoteResponse.md +3 -1
  15. data/docs/OstreeOstreeRemoteResponseHiddenFields.md +19 -0
  16. data/docs/OstreeOstreeRepository.md +5 -3
  17. data/docs/OstreeOstreeRepositoryResponse.md +5 -3
  18. data/docs/PaginatedostreeOstreeContentResponseList.md +23 -0
  19. data/docs/PatchedostreeOstreeDistribution.md +1 -1
  20. data/docs/PatchedostreeOstreeRemote.md +1 -1
  21. data/docs/PatchedostreeOstreeRepository.md +5 -3
  22. data/docs/RemotesOstreeApi.md +12 -12
  23. data/docs/RepositoriesOstreeApi.md +32 -14
  24. data/docs/RepositoriesOstreeVersionsApi.md +12 -12
  25. data/docs/RepositoryAddRemoveContent.md +21 -0
  26. data/lib/pulp_ostree_client/api/content_commits_api.rb +13 -13
  27. data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -12
  28. data/lib/pulp_ostree_client/api/content_content_api.rb +174 -0
  29. data/lib/pulp_ostree_client/api/content_objects_api.rb +13 -13
  30. data/lib/pulp_ostree_client/api/content_refs_api.rb +13 -13
  31. data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -12
  32. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +26 -17
  33. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +17 -17
  34. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +51 -24
  35. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +17 -17
  36. data/lib/pulp_ostree_client/api_client.rb +1 -1
  37. data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +260 -0
  38. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +4 -2
  39. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +4 -2
  40. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +4 -2
  41. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +17 -3
  42. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb +215 -0
  43. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +21 -8
  44. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +21 -8
  45. data/lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb +237 -0
  46. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +4 -2
  47. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +4 -2
  48. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +21 -8
  49. data/lib/pulp_ostree_client/models/{ostree_repository_add_remove_content.rb → repository_add_remove_content.rb} +6 -6
  50. data/lib/pulp_ostree_client/version.rb +1 -1
  51. data/lib/pulp_ostree_client.rb +5 -1
  52. data/pulp_ostree_client.gemspec +3 -3
  53. data/spec/api/content_commits_api_spec.rb +4 -4
  54. data/spec/api/content_configs_api_spec.rb +4 -4
  55. data/spec/api/content_content_api_spec.rb +68 -0
  56. data/spec/api/content_objects_api_spec.rb +4 -4
  57. data/spec/api/content_refs_api_spec.rb +4 -4
  58. data/spec/api/content_summaries_api_spec.rb +4 -4
  59. data/spec/api/distributions_ostree_api_spec.rb +9 -6
  60. data/spec/api/remotes_ostree_api_spec.rb +6 -6
  61. data/spec/api/repositories_ostree_api_spec.rb +15 -6
  62. data/spec/api/repositories_ostree_versions_api_spec.rb +6 -6
  63. data/spec/models/ostree_ostree_content_response_spec.rb +65 -0
  64. data/spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb +47 -0
  65. data/spec/models/ostree_ostree_remote_response_spec.rb +6 -0
  66. data/spec/models/ostree_ostree_repository_response_spec.rb +6 -0
  67. data/spec/models/ostree_ostree_repository_spec.rb +6 -0
  68. data/spec/models/paginatedostree_ostree_content_response_list_spec.rb +59 -0
  69. data/spec/models/patchedostree_ostree_repository_spec.rb +6 -0
  70. data/spec/models/{ostree_repository_add_remove_content_spec.rb → repository_add_remove_content_spec.rb} +6 -6
  71. metadata +60 -45
  72. data/docs/OstreeRepositoryAddRemoveContent.md +0 -21
  73. data/git_push.sh +0 -58
@@ -4,11 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | [**Object**](.md) | | [optional]
7
+ **pulp_labels** | **Hash<String, String>** | | [optional]
8
8
  **name** | **String** | A unique name for this repository. |
9
9
  **description** | **String** | An optional description. | [optional]
10
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
11
  **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
+ **compute_delta** | **Boolean** | | [optional] [default to true]
12
13
 
13
14
  ## Code Sample
14
15
 
@@ -19,7 +20,8 @@ instance = PulpOstreeClient::OstreeOstreeRepository.new(pulp_labels: null,
19
20
  name: null,
20
21
  description: null,
21
22
  retain_repo_versions: null,
22
- remote: null)
23
+ remote: null,
24
+ compute_delta: null)
23
25
  ```
24
26
 
25
27
 
@@ -7,12 +7,13 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **versions_href** | **String** | | [optional] [readonly]
10
- **pulp_labels** | [**Object**](.md) | | [optional]
10
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
11
  **latest_version_href** | **String** | | [optional] [readonly]
12
12
  **name** | **String** | A unique name for this repository. |
13
13
  **description** | **String** | An optional description. | [optional]
14
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
14
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
15
15
  **remote** | **String** | An optional remote to use by default when syncing. | [optional]
16
+ **compute_delta** | **Boolean** | | [optional] [default to true]
16
17
 
17
18
  ## Code Sample
18
19
 
@@ -27,7 +28,8 @@ instance = PulpOstreeClient::OstreeOstreeRepositoryResponse.new(pulp_href: null,
27
28
  name: null,
28
29
  description: null,
29
30
  retain_repo_versions: null,
30
- remote: null)
31
+ remote: null,
32
+ compute_delta: null)
31
33
  ```
32
34
 
33
35
 
@@ -0,0 +1,23 @@
1
+ # PulpOstreeClient::PaginatedostreeOstreeContentResponseList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional]
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array<OstreeOstreeContentResponse>**](OstreeOstreeContentResponse.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpOstreeClient'
16
+
17
+ instance = PulpOstreeClient::PaginatedostreeOstreeContentResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
8
8
  **content_guard** | **String** | An optional content-guard. | [optional]
9
- **pulp_labels** | [**Object**](.md) | | [optional]
9
+ **pulp_labels** | **Hash<String, String>** | | [optional]
10
10
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
11
11
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
12
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
16
16
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
17
  **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
18
- **pulp_labels** | [**Object**](.md) | | [optional]
18
+ **pulp_labels** | **Hash<String, String>** | | [optional]
19
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
20
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
21
21
  **policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All OSTree objects are downloaded and saved during synchronization. on_demand - Only commits, dirtrees, and refs are downloaded. Other OSTree objects are not downloaded until they are requested for the first time by a client. | [optional]
@@ -4,11 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | [**Object**](.md) | | [optional]
7
+ **pulp_labels** | **Hash<String, String>** | | [optional]
8
8
  **name** | **String** | A unique name for this repository. | [optional]
9
9
  **description** | **String** | An optional description. | [optional]
10
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
11
  **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
+ **compute_delta** | **Boolean** | | [optional] [default to true]
12
13
 
13
14
  ## Code Sample
14
15
 
@@ -19,7 +20,8 @@ instance = PulpOstreeClient::PatchedostreeOstreeRepository.new(pulp_labels: null
19
20
  name: null,
20
21
  description: null,
21
22
  retain_repo_versions: null,
22
- remote: null)
23
+ remote: null,
24
+ compute_delta: null)
23
25
  ```
24
26
 
25
27
 
@@ -142,7 +142,7 @@ end
142
142
  api_instance = PulpOstreeClient::RemotesOstreeApi.new
143
143
  opts = {
144
144
  limit: 56, # Integer | Number of results to return per page.
145
- name: 'name_example', # String |
145
+ name: 'name_example', # String | Filter results where name matches value
146
146
  name__contains: 'name__contains_example', # String | Filter results where name contains value
147
147
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
148
148
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
@@ -150,14 +150,14 @@ opts = {
150
150
  offset: 56, # Integer | The initial index from which to return the results.
151
151
  ordering: ['ordering_example'], # Array<String> | Ordering
152
152
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
153
- pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
153
+ pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
154
154
  pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
155
155
  pulp_last_updated__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than or equal to value
156
156
  pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
157
157
  pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
158
158
  pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
159
- fields: 'fields_example', # String | A list of fields to include in the response.
160
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
159
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
160
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
161
161
  }
162
162
 
163
163
  begin
@@ -175,7 +175,7 @@ end
175
175
  Name | Type | Description | Notes
176
176
  ------------- | ------------- | ------------- | -------------
177
177
  **limit** | **Integer**| Number of results to return per page. | [optional]
178
- **name** | **String**| | [optional]
178
+ **name** | **String**| Filter results where name matches value | [optional]
179
179
  **name__contains** | **String**| Filter results where name contains value | [optional]
180
180
  **name__icontains** | **String**| Filter results where name contains value | [optional]
181
181
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
@@ -183,14 +183,14 @@ Name | Type | Description | Notes
183
183
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
184
184
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
185
185
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
186
- **pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
186
+ **pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
187
187
  **pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
188
188
  **pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
189
189
  **pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
190
190
  **pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
191
191
  **pulp_last_updated__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
192
- **fields** | **String**| A list of fields to include in the response. | [optional]
193
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
192
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
193
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
194
194
 
195
195
  ### Return type
196
196
 
@@ -284,8 +284,8 @@ end
284
284
  api_instance = PulpOstreeClient::RemotesOstreeApi.new
285
285
  ostree_ostree_remote_href = 'ostree_ostree_remote_href_example' # String |
286
286
  opts = {
287
- fields: 'fields_example', # String | A list of fields to include in the response.
288
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
287
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
288
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
289
289
  }
290
290
 
291
291
  begin
@@ -303,8 +303,8 @@ end
303
303
  Name | Type | Description | Notes
304
304
  ------------- | ------------- | ------------- | -------------
305
305
  **ostree_ostree_remote_href** | **String**| |
306
- **fields** | **String**| A list of fields to include in the response. | [optional]
307
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
306
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
307
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
308
308
 
309
309
  ### Return type
310
310
 
@@ -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
 
@@ -310,7 +328,7 @@ Name | Type | Description | Notes
310
328
 
311
329
  ## modify
312
330
 
313
- > AsyncOperationResponse modify(ostree_ostree_repository_href, ostree_repository_add_remove_content)
331
+ > AsyncOperationResponse modify(ostree_ostree_repository_href, repository_add_remove_content)
314
332
 
315
333
  Modify repository
316
334
 
@@ -330,11 +348,11 @@ end
330
348
 
331
349
  api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
332
350
  ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
333
- ostree_repository_add_remove_content = PulpOstreeClient::OstreeRepositoryAddRemoveContent.new # OstreeRepositoryAddRemoveContent |
351
+ repository_add_remove_content = PulpOstreeClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
334
352
 
335
353
  begin
336
354
  #Modify repository
337
- result = api_instance.modify(ostree_ostree_repository_href, ostree_repository_add_remove_content)
355
+ result = api_instance.modify(ostree_ostree_repository_href, repository_add_remove_content)
338
356
  p result
339
357
  rescue PulpOstreeClient::ApiError => e
340
358
  puts "Exception when calling RepositoriesOstreeApi->modify: #{e}"
@@ -347,7 +365,7 @@ end
347
365
  Name | Type | Description | Notes
348
366
  ------------- | ------------- | ------------- | -------------
349
367
  **ostree_ostree_repository_href** | **String**| |
350
- **ostree_repository_add_remove_content** | [**OstreeRepositoryAddRemoveContent**](OstreeRepositoryAddRemoveContent.md)| |
368
+ **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
351
369
 
352
370
  ### Return type
353
371
 
@@ -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
 
@@ -0,0 +1,21 @@
1
+ # PulpOstreeClient::RepositoryAddRemoveContent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **add_content_units** | **Array&lt;String&gt;** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
8
+ **remove_content_units** | **Array&lt;String&gt;** | A list of content units to remove from the latest repository version. You may also specify &#39;*&#39; as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
9
+ **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpOstreeClient'
15
+
16
+ instance = PulpOstreeClient::RepositoryAddRemoveContent.new(add_content_units: null,
17
+ remove_content_units: null,
18
+ base_version: null)
19
+ ```
20
+
21
+
@@ -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] || {}