pulp_file_client 1.11.2 → 1.11.3
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.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/AcsFileApi.md +18 -18
- data/docs/ContentFilesApi.md +8 -8
- data/docs/DistributionsFileApi.md +20 -20
- data/docs/FileFileDistribution.md +1 -1
- data/docs/FileFileDistributionResponse.md +1 -1
- data/docs/FileFileRemote.md +1 -1
- data/docs/FileFileRemoteResponse.md +4 -2
- data/docs/FileFileRemoteResponseHiddenFields.md +19 -0
- data/docs/FileFileRepository.md +1 -1
- data/docs/FileFileRepositoryResponse.md +1 -1
- data/docs/PatchedfileFileDistribution.md +1 -1
- data/docs/PatchedfileFileRemote.md +1 -1
- data/docs/PatchedfileFileRepository.md +1 -1
- data/docs/PublicationsFileApi.md +18 -18
- data/docs/RemotesFileApi.md +20 -20
- data/docs/RepositoriesFileApi.md +19 -19
- data/docs/RepositoriesFileVersionsApi.md +12 -12
- data/lib/pulp_file_client/api/acs_file_api.rb +27 -27
- data/lib/pulp_file_client/api/content_files_api.rb +13 -13
- data/lib/pulp_file_client/api/distributions_file_api.rb +29 -29
- data/lib/pulp_file_client/api/publications_file_api.rb +27 -27
- data/lib/pulp_file_client/api/remotes_file_api.rb +29 -29
- data/lib/pulp_file_client/api/repositories_file_api.rb +27 -27
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +17 -17
- data/lib/pulp_file_client/models/file_file_distribution.rb +4 -2
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +4 -2
- data/lib/pulp_file_client/models/file_file_remote.rb +4 -2
- data/lib/pulp_file_client/models/file_file_remote_response.rb +21 -7
- data/lib/pulp_file_client/models/file_file_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_file_client/models/file_file_repository.rb +4 -2
- data/lib/pulp_file_client/models/file_file_repository_response.rb +4 -2
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +4 -2
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +4 -2
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +4 -2
- data/lib/pulp_file_client/version.rb +1 -1
- data/lib/pulp_file_client.rb +1 -0
- data/spec/api/acs_file_api_spec.rb +9 -9
- data/spec/api/content_files_api_spec.rb +4 -4
- data/spec/api/distributions_file_api_spec.rb +10 -10
- data/spec/api/publications_file_api_spec.rb +9 -9
- data/spec/api/remotes_file_api_spec.rb +10 -10
- data/spec/api/repositories_file_api_spec.rb +9 -9
- data/spec/api/repositories_file_versions_api_spec.rb +6 -6
- data/spec/models/file_file_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/file_file_remote_response_spec.rb +6 -0
- metadata +37 -33
data/docs/RemotesFileApi.md
CHANGED
@@ -200,7 +200,7 @@ end
|
|
200
200
|
api_instance = PulpFileClient::RemotesFileApi.new
|
201
201
|
opts = {
|
202
202
|
limit: 56, # Integer | Number of results to return per page.
|
203
|
-
name: 'name_example', # String |
|
203
|
+
name: 'name_example', # String | Filter results where name matches value
|
204
204
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
205
205
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
206
206
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -208,14 +208,14 @@ opts = {
|
|
208
208
|
offset: 56, # Integer | The initial index from which to return the results.
|
209
209
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
210
210
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
211
|
-
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime |
|
211
|
+
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
|
212
212
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
213
213
|
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
|
214
214
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
215
215
|
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
|
216
216
|
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
|
217
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
218
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
217
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
218
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
219
219
|
}
|
220
220
|
|
221
221
|
begin
|
@@ -233,7 +233,7 @@ end
|
|
233
233
|
Name | Type | Description | Notes
|
234
234
|
------------- | ------------- | ------------- | -------------
|
235
235
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
236
|
-
**name** | **String**|
|
236
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
237
237
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
238
238
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
239
239
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -241,14 +241,14 @@ Name | Type | Description | Notes
|
|
241
241
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
242
242
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
243
243
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
244
|
-
**pulp_last_updated** | **DateTime**|
|
244
|
+
**pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
|
245
245
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
246
246
|
**pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
|
247
247
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
248
248
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
249
249
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
250
|
-
**fields** | **String
|
251
|
-
**exclude_fields** | **String
|
250
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
251
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
252
252
|
|
253
253
|
### Return type
|
254
254
|
|
@@ -287,8 +287,8 @@ end
|
|
287
287
|
api_instance = PulpFileClient::RemotesFileApi.new
|
288
288
|
file_file_remote_href = 'file_file_remote_href_example' # String |
|
289
289
|
opts = {
|
290
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
291
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
290
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
291
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
292
292
|
}
|
293
293
|
|
294
294
|
begin
|
@@ -305,8 +305,8 @@ end
|
|
305
305
|
Name | Type | Description | Notes
|
306
306
|
------------- | ------------- | ------------- | -------------
|
307
307
|
**file_file_remote_href** | **String**| |
|
308
|
-
**fields** | **String
|
309
|
-
**exclude_fields** | **String
|
308
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
309
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
310
310
|
|
311
311
|
### Return type
|
312
312
|
|
@@ -345,8 +345,8 @@ end
|
|
345
345
|
api_instance = PulpFileClient::RemotesFileApi.new
|
346
346
|
file_file_remote_href = 'file_file_remote_href_example' # String |
|
347
347
|
opts = {
|
348
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
349
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
348
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
349
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
350
350
|
}
|
351
351
|
|
352
352
|
begin
|
@@ -363,8 +363,8 @@ end
|
|
363
363
|
Name | Type | Description | Notes
|
364
364
|
------------- | ------------- | ------------- | -------------
|
365
365
|
**file_file_remote_href** | **String**| |
|
366
|
-
**fields** | **String
|
367
|
-
**exclude_fields** | **String
|
366
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
367
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
368
368
|
|
369
369
|
### Return type
|
370
370
|
|
@@ -458,8 +458,8 @@ end
|
|
458
458
|
api_instance = PulpFileClient::RemotesFileApi.new
|
459
459
|
file_file_remote_href = 'file_file_remote_href_example' # String |
|
460
460
|
opts = {
|
461
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
462
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
461
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
462
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
463
463
|
}
|
464
464
|
|
465
465
|
begin
|
@@ -477,8 +477,8 @@ end
|
|
477
477
|
Name | Type | Description | Notes
|
478
478
|
------------- | ------------- | ------------- | -------------
|
479
479
|
**file_file_remote_href** | **String**| |
|
480
|
-
**fields** | **String
|
481
|
-
**exclude_fields** | **String
|
480
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
481
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
482
482
|
|
483
483
|
### Return type
|
484
484
|
|
data/docs/RepositoriesFileApi.md
CHANGED
@@ -202,7 +202,7 @@ end
|
|
202
202
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
203
203
|
opts = {
|
204
204
|
limit: 56, # Integer | Number of results to return per page.
|
205
|
-
name: 'name_example', # String |
|
205
|
+
name: 'name_example', # String | Filter results where name matches value
|
206
206
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
207
207
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
208
208
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
@@ -211,8 +211,8 @@ opts = {
|
|
211
211
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
212
212
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
213
213
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
214
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
215
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
214
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
215
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
216
216
|
}
|
217
217
|
|
218
218
|
begin
|
@@ -230,7 +230,7 @@ end
|
|
230
230
|
Name | Type | Description | Notes
|
231
231
|
------------- | ------------- | ------------- | -------------
|
232
232
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
233
|
-
**name** | **String**|
|
233
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
234
234
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
235
235
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
236
236
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
@@ -238,9 +238,9 @@ Name | Type | Description | Notes
|
|
238
238
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
239
239
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
240
240
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
241
|
-
**remote** |
|
242
|
-
**fields** | **String
|
243
|
-
**exclude_fields** | **String
|
241
|
+
**remote** | **String**| Foreign Key referenced by HREF | [optional]
|
242
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
243
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
244
244
|
|
245
245
|
### Return type
|
246
246
|
|
@@ -279,8 +279,8 @@ end
|
|
279
279
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
280
280
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
281
281
|
opts = {
|
282
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
283
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
282
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
283
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
284
284
|
}
|
285
285
|
|
286
286
|
begin
|
@@ -297,8 +297,8 @@ end
|
|
297
297
|
Name | Type | Description | Notes
|
298
298
|
------------- | ------------- | ------------- | -------------
|
299
299
|
**file_file_repository_href** | **String**| |
|
300
|
-
**fields** | **String
|
301
|
-
**exclude_fields** | **String
|
300
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
301
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
302
302
|
|
303
303
|
### Return type
|
304
304
|
|
@@ -392,8 +392,8 @@ end
|
|
392
392
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
393
393
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
394
394
|
opts = {
|
395
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
396
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
395
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
396
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
397
397
|
}
|
398
398
|
|
399
399
|
begin
|
@@ -410,8 +410,8 @@ end
|
|
410
410
|
Name | Type | Description | Notes
|
411
411
|
------------- | ------------- | ------------- | -------------
|
412
412
|
**file_file_repository_href** | **String**| |
|
413
|
-
**fields** | **String
|
414
|
-
**exclude_fields** | **String
|
413
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
414
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
415
415
|
|
416
416
|
### Return type
|
417
417
|
|
@@ -505,8 +505,8 @@ end
|
|
505
505
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
506
506
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
507
507
|
opts = {
|
508
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
509
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
508
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
509
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
510
510
|
}
|
511
511
|
|
512
512
|
begin
|
@@ -524,8 +524,8 @@ end
|
|
524
524
|
Name | Type | Description | Notes
|
525
525
|
------------- | ------------- | ------------- | -------------
|
526
526
|
**file_file_repository_href** | **String**| |
|
527
|
-
**fields** | **String
|
528
|
-
**exclude_fields** | **String
|
527
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
528
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
529
529
|
|
530
530
|
### Return type
|
531
531
|
|
@@ -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 |
|
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**|
|
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<Integer>**](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<String>**](String.md)| Ordering | [optional]
|
137
|
-
**pulp_created** | **DateTime**|
|
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<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
143
|
-
**fields** | **String
|
144
|
-
**exclude_fields** | **String
|
143
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
144
|
+
**exclude_fields** | [**Array<String>**](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 = PulpFileClient::RepositoriesFileVersionsApi.new
|
181
181
|
file_file_repository_version_href = 'file_file_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
|
**file_file_repository_version_href** | **String**| |
|
202
|
-
**fields** | **String
|
203
|
-
**exclude_fields** | **String
|
202
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
203
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
204
204
|
|
205
205
|
### Return type
|
206
206
|
|
@@ -217,15 +217,15 @@ module PulpFileClient
|
|
217
217
|
# Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
|
218
218
|
# @param [Hash] opts the optional parameters
|
219
219
|
# @option opts [Integer] :limit Number of results to return per page.
|
220
|
-
# @option opts [String] :name
|
220
|
+
# @option opts [String] :name Filter results where name matches value
|
221
221
|
# @option opts [String] :name__contains Filter results where name contains value
|
222
222
|
# @option opts [String] :name__icontains Filter results where name contains value
|
223
223
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
224
224
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
225
225
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
226
226
|
# @option opts [Array<String>] :ordering Ordering
|
227
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
228
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
227
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
228
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
229
229
|
# @return [PaginatedfileFileAlternateContentSourceResponseList]
|
230
230
|
def list(opts = {})
|
231
231
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -236,21 +236,21 @@ module PulpFileClient
|
|
236
236
|
# Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
|
237
237
|
# @param [Hash] opts the optional parameters
|
238
238
|
# @option opts [Integer] :limit Number of results to return per page.
|
239
|
-
# @option opts [String] :name
|
239
|
+
# @option opts [String] :name Filter results where name matches value
|
240
240
|
# @option opts [String] :name__contains Filter results where name contains value
|
241
241
|
# @option opts [String] :name__icontains Filter results where name contains value
|
242
242
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
243
243
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
244
244
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
245
245
|
# @option opts [Array<String>] :ordering Ordering
|
246
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
247
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
246
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
247
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
248
248
|
# @return [Array<(PaginatedfileFileAlternateContentSourceResponseList, Integer, Hash)>] PaginatedfileFileAlternateContentSourceResponseList data, response status code and response headers
|
249
249
|
def list_with_http_info(opts = {})
|
250
250
|
if @api_client.config.debugging
|
251
251
|
@api_client.config.logger.debug 'Calling API: AcsFileApi.list ...'
|
252
252
|
end
|
253
|
-
allowable_values = ["-
|
253
|
+
allowable_values = ["-last_refreshed", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "last_refreshed", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
254
254
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
255
255
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
256
256
|
end
|
@@ -267,8 +267,8 @@ module PulpFileClient
|
|
267
267
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
268
268
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
269
269
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
270
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
271
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
270
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
271
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
272
272
|
|
273
273
|
# header parameters
|
274
274
|
header_params = opts[:header_params] || {}
|
@@ -306,8 +306,8 @@ module PulpFileClient
|
|
306
306
|
# List roles assigned to this object.
|
307
307
|
# @param file_file_alternate_content_source_href [String]
|
308
308
|
# @param [Hash] opts the optional parameters
|
309
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
310
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
309
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
310
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
311
311
|
# @return [ObjectRolesResponse]
|
312
312
|
def list_roles(file_file_alternate_content_source_href, opts = {})
|
313
313
|
data, _status_code, _headers = list_roles_with_http_info(file_file_alternate_content_source_href, opts)
|
@@ -317,8 +317,8 @@ module PulpFileClient
|
|
317
317
|
# List roles assigned to this object.
|
318
318
|
# @param file_file_alternate_content_source_href [String]
|
319
319
|
# @param [Hash] opts the optional parameters
|
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.
|
320
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
321
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
322
322
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
323
323
|
def list_roles_with_http_info(file_file_alternate_content_source_href, opts = {})
|
324
324
|
if @api_client.config.debugging
|
@@ -333,8 +333,8 @@ module PulpFileClient
|
|
333
333
|
|
334
334
|
# query parameters
|
335
335
|
query_params = opts[:query_params] || {}
|
336
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
337
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
336
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
337
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
338
338
|
|
339
339
|
# header parameters
|
340
340
|
header_params = opts[:header_params] || {}
|
@@ -372,8 +372,8 @@ module PulpFileClient
|
|
372
372
|
# List permissions available to the current user on this object.
|
373
373
|
# @param file_file_alternate_content_source_href [String]
|
374
374
|
# @param [Hash] opts the optional parameters
|
375
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
376
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
375
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
376
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
377
377
|
# @return [MyPermissionsResponse]
|
378
378
|
def my_permissions(file_file_alternate_content_source_href, opts = {})
|
379
379
|
data, _status_code, _headers = my_permissions_with_http_info(file_file_alternate_content_source_href, opts)
|
@@ -383,8 +383,8 @@ module PulpFileClient
|
|
383
383
|
# List permissions available to the current user on this object.
|
384
384
|
# @param file_file_alternate_content_source_href [String]
|
385
385
|
# @param [Hash] opts the optional parameters
|
386
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
387
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
386
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
387
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
388
388
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
389
389
|
def my_permissions_with_http_info(file_file_alternate_content_source_href, opts = {})
|
390
390
|
if @api_client.config.debugging
|
@@ -399,8 +399,8 @@ module PulpFileClient
|
|
399
399
|
|
400
400
|
# query parameters
|
401
401
|
query_params = opts[:query_params] || {}
|
402
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
403
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
402
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
403
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
404
404
|
|
405
405
|
# header parameters
|
406
406
|
header_params = opts[:header_params] || {}
|
@@ -509,8 +509,8 @@ module PulpFileClient
|
|
509
509
|
# Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
|
510
510
|
# @param file_file_alternate_content_source_href [String]
|
511
511
|
# @param [Hash] opts the optional parameters
|
512
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
513
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
512
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
513
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
514
514
|
# @return [FileFileAlternateContentSourceResponse]
|
515
515
|
def read(file_file_alternate_content_source_href, opts = {})
|
516
516
|
data, _status_code, _headers = read_with_http_info(file_file_alternate_content_source_href, opts)
|
@@ -521,8 +521,8 @@ module PulpFileClient
|
|
521
521
|
# Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
|
522
522
|
# @param file_file_alternate_content_source_href [String]
|
523
523
|
# @param [Hash] opts the optional parameters
|
524
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
525
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
524
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
525
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
526
526
|
# @return [Array<(FileFileAlternateContentSourceResponse, Integer, Hash)>] FileFileAlternateContentSourceResponse data, response status code and response headers
|
527
527
|
def read_with_http_info(file_file_alternate_content_source_href, opts = {})
|
528
528
|
if @api_client.config.debugging
|
@@ -537,8 +537,8 @@ module PulpFileClient
|
|
537
537
|
|
538
538
|
# query parameters
|
539
539
|
query_params = opts[:query_params] || {}
|
540
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
541
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
540
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
541
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
542
542
|
|
543
543
|
# header parameters
|
544
544
|
header_params = opts[:header_params] || {}
|
@@ -111,8 +111,8 @@ module PulpFileClient
|
|
111
111
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
112
112
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
113
113
|
# @option opts [String] :sha256
|
114
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
115
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
114
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
115
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
116
116
|
# @return [PaginatedfileFileContentResponseList]
|
117
117
|
def list(opts = {})
|
118
118
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -130,14 +130,14 @@ module PulpFileClient
|
|
130
130
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
131
131
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
132
132
|
# @option opts [String] :sha256
|
133
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
134
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
133
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
134
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
135
135
|
# @return [Array<(PaginatedfileFileContentResponseList, Integer, Hash)>] PaginatedfileFileContentResponseList data, response status code and response headers
|
136
136
|
def list_with_http_info(opts = {})
|
137
137
|
if @api_client.config.debugging
|
138
138
|
@api_client.config.logger.debug 'Calling API: ContentFilesApi.list ...'
|
139
139
|
end
|
140
|
-
allowable_values = ["-
|
140
|
+
allowable_values = ["-digest", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-timestamp_of_interest", "-upstream_id", "digest", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "timestamp_of_interest", "upstream_id"]
|
141
141
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
142
142
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
143
143
|
end
|
@@ -154,8 +154,8 @@ module PulpFileClient
|
|
154
154
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
155
155
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
156
156
|
query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
157
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
158
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
157
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
158
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
159
159
|
|
160
160
|
# header parameters
|
161
161
|
header_params = opts[:header_params] || {}
|
@@ -194,8 +194,8 @@ module PulpFileClient
|
|
194
194
|
# FileContent represents a single file and its metadata, which can be added and removed from repositories.
|
195
195
|
# @param file_file_content_href [String]
|
196
196
|
# @param [Hash] opts the optional parameters
|
197
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
198
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
197
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
198
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
199
199
|
# @return [FileFileContentResponse]
|
200
200
|
def read(file_file_content_href, opts = {})
|
201
201
|
data, _status_code, _headers = read_with_http_info(file_file_content_href, opts)
|
@@ -206,8 +206,8 @@ module PulpFileClient
|
|
206
206
|
# FileContent represents a single file and its metadata, which can be added and removed from repositories.
|
207
207
|
# @param file_file_content_href [String]
|
208
208
|
# @param [Hash] opts the optional parameters
|
209
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
210
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
209
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
210
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
211
211
|
# @return [Array<(FileFileContentResponse, Integer, Hash)>] FileFileContentResponse data, response status code and response headers
|
212
212
|
def read_with_http_info(file_file_content_href, opts = {})
|
213
213
|
if @api_client.config.debugging
|
@@ -222,8 +222,8 @@ module PulpFileClient
|
|
222
222
|
|
223
223
|
# query parameters
|
224
224
|
query_params = opts[:query_params] || {}
|
225
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
226
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
225
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
226
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
227
227
|
|
228
228
|
# header parameters
|
229
229
|
header_params = opts[:header_params] || {}
|