pulp_file_client 1.10.5 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -12
  3. data/docs/AcsFileApi.md +235 -8
  4. data/docs/ContentFilesApi.md +5 -3
  5. data/docs/DistributionsFileApi.md +230 -2
  6. data/docs/FileFileContent.md +3 -1
  7. data/docs/FileFileRemote.md +3 -3
  8. data/docs/FileFileRemoteResponse.md +1 -1
  9. data/docs/MyPermissionsResponse.md +17 -0
  10. data/docs/NestedRole.md +21 -0
  11. data/docs/NestedRoleResponse.md +21 -0
  12. data/docs/ObjectRolesResponse.md +17 -0
  13. data/docs/PatchedfileFileRemote.md +3 -3
  14. data/docs/PublicationsFileApi.md +232 -2
  15. data/docs/RemotesFileApi.md +230 -2
  16. data/docs/Repair.md +17 -0
  17. data/docs/RepositoriesFileApi.md +233 -4
  18. data/docs/RepositoriesFileVersionsApi.md +6 -6
  19. data/lib/pulp_file_client/api/acs_file_api.rb +281 -15
  20. data/lib/pulp_file_client/api/content_files_api.rb +14 -3
  21. data/lib/pulp_file_client/api/distributions_file_api.rb +275 -3
  22. data/lib/pulp_file_client/api/publications_file_api.rb +278 -3
  23. data/lib/pulp_file_client/api/remotes_file_api.rb +275 -3
  24. data/lib/pulp_file_client/api/repositories_file_api.rb +277 -3
  25. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +16 -12
  26. data/lib/pulp_file_client/api_client.rb +1 -1
  27. data/lib/pulp_file_client/models/file_file_alternate_content_source.rb +19 -0
  28. data/lib/pulp_file_client/models/file_file_content.rb +33 -4
  29. data/lib/pulp_file_client/models/file_file_distribution.rb +38 -0
  30. data/lib/pulp_file_client/models/file_file_publication.rb +15 -0
  31. data/lib/pulp_file_client/models/file_file_remote.rb +161 -3
  32. data/lib/pulp_file_client/models/file_file_remote_response.rb +1 -1
  33. data/lib/pulp_file_client/models/file_file_repository.rb +49 -0
  34. data/lib/pulp_file_client/models/{repository_version.rb → my_permissions_response.rb} +17 -12
  35. data/lib/pulp_file_client/models/{content_summary.rb → nested_role.rb} +28 -40
  36. data/lib/pulp_file_client/models/nested_role_response.rb +234 -0
  37. data/lib/pulp_file_client/models/object_roles_response.rb +213 -0
  38. data/lib/pulp_file_client/models/patchedfile_file_alternate_content_source.rb +15 -0
  39. data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +30 -0
  40. data/lib/pulp_file_client/models/patchedfile_file_remote.rb +153 -3
  41. data/lib/pulp_file_client/models/patchedfile_file_repository.rb +45 -0
  42. data/lib/pulp_file_client/models/repair.rb +209 -0
  43. data/lib/pulp_file_client/version.rb +1 -1
  44. data/lib/pulp_file_client.rb +5 -2
  45. data/pulp_file_client.gemspec +1 -1
  46. data/spec/api/acs_file_api_spec.rb +52 -2
  47. data/spec/api/content_files_api_spec.rb +2 -1
  48. data/spec/api/distributions_file_api_spec.rb +51 -1
  49. data/spec/api/publications_file_api_spec.rb +52 -1
  50. data/spec/api/remotes_file_api_spec.rb +51 -1
  51. data/spec/api/repositories_file_api_spec.rb +52 -1
  52. data/spec/api/repositories_file_versions_api_spec.rb +2 -2
  53. data/spec/models/file_file_content_spec.rb +6 -0
  54. data/spec/models/my_permissions_response_spec.rb +41 -0
  55. data/spec/models/nested_role_response_spec.rb +53 -0
  56. data/spec/models/{content_summary_spec.rb → nested_role_spec.rb} +9 -9
  57. data/spec/models/object_roles_response_spec.rb +41 -0
  58. data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
  59. metadata +48 -36
  60. data/docs/ContentSummary.md +0 -21
  61. data/docs/RepositoryVersion.md +0 -17
@@ -4,13 +4,71 @@ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**add_role**](PublicationsFileApi.md#add_role) | **POST** {file_file_publication_href}add_role/ |
7
8
  [**create**](PublicationsFileApi.md#create) | **POST** /pulp/api/v3/publications/file/file/ | Create a file publication
8
9
  [**delete**](PublicationsFileApi.md#delete) | **DELETE** {file_file_publication_href} | Delete a file publication
9
10
  [**list**](PublicationsFileApi.md#list) | **GET** /pulp/api/v3/publications/file/file/ | List file publications
11
+ [**list_roles**](PublicationsFileApi.md#list_roles) | **GET** {file_file_publication_href}list_roles/ |
12
+ [**my_permissions**](PublicationsFileApi.md#my_permissions) | **GET** {file_file_publication_href}my_permissions/ |
10
13
  [**read**](PublicationsFileApi.md#read) | **GET** {file_file_publication_href} | Inspect a file publication
14
+ [**remove_role**](PublicationsFileApi.md#remove_role) | **POST** {file_file_publication_href}remove_role/ |
11
15
 
12
16
 
13
17
 
18
+ ## add_role
19
+
20
+ > NestedRoleResponse add_role(file_file_publication_href, nested_role)
21
+
22
+
23
+
24
+ Add a role for this object to users/groups.
25
+
26
+ ### Example
27
+
28
+ ```ruby
29
+ # load the gem
30
+ require 'pulp_file_client'
31
+ # setup authorization
32
+ PulpFileClient.configure do |config|
33
+ # Configure HTTP basic authorization: basicAuth
34
+ config.username = 'YOUR USERNAME'
35
+ config.password = 'YOUR PASSWORD'
36
+ end
37
+
38
+ api_instance = PulpFileClient::PublicationsFileApi.new
39
+ file_file_publication_href = 'file_file_publication_href_example' # String |
40
+ nested_role = PulpFileClient::NestedRole.new # NestedRole |
41
+
42
+ begin
43
+ result = api_instance.add_role(file_file_publication_href, nested_role)
44
+ p result
45
+ rescue PulpFileClient::ApiError => e
46
+ puts "Exception when calling PublicationsFileApi->add_role: #{e}"
47
+ end
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+
53
+ Name | Type | Description | Notes
54
+ ------------- | ------------- | ------------- | -------------
55
+ **file_file_publication_href** | **String**| |
56
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
57
+
58
+ ### Return type
59
+
60
+ [**NestedRoleResponse**](NestedRoleResponse.md)
61
+
62
+ ### Authorization
63
+
64
+ [basicAuth](../README.md#basicAuth)
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
69
+ - **Accept**: application/json
70
+
71
+
14
72
  ## create
15
73
 
16
74
  > AsyncOperationResponse create(file_file_publication)
@@ -142,13 +200,14 @@ opts = {
142
200
  content__in: 'content__in_example', # String | Content Unit referenced by HREF
143
201
  limit: 56, # Integer | Number of results to return per page.
144
202
  offset: 56, # Integer | The initial index from which to return the results.
145
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
203
+ ordering: ['ordering_example'], # Array<String> | Ordering
146
204
  pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
147
205
  pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
148
206
  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
149
207
  pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
150
208
  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
151
209
  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
210
+ repository: 'repository_example', # String | Repository referenced by HREF
152
211
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
153
212
  fields: 'fields_example', # String | A list of fields to include in the response.
154
213
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -172,13 +231,14 @@ Name | Type | Description | Notes
172
231
  **content__in** | **String**| Content Unit referenced by HREF | [optional]
173
232
  **limit** | **Integer**| Number of results to return per page. | [optional]
174
233
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
175
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
234
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
176
235
  **pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
177
236
  **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
178
237
  **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
179
238
  **pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
180
239
  **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
181
240
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
241
+ **repository** | **String**| Repository referenced by HREF | [optional]
182
242
  **repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
183
243
  **fields** | **String**| A list of fields to include in the response. | [optional]
184
244
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
@@ -197,6 +257,122 @@ Name | Type | Description | Notes
197
257
  - **Accept**: application/json
198
258
 
199
259
 
260
+ ## list_roles
261
+
262
+ > ObjectRolesResponse list_roles(file_file_publication_href, opts)
263
+
264
+
265
+
266
+ List roles assigned to this object.
267
+
268
+ ### Example
269
+
270
+ ```ruby
271
+ # load the gem
272
+ require 'pulp_file_client'
273
+ # setup authorization
274
+ PulpFileClient.configure do |config|
275
+ # Configure HTTP basic authorization: basicAuth
276
+ config.username = 'YOUR USERNAME'
277
+ config.password = 'YOUR PASSWORD'
278
+ end
279
+
280
+ api_instance = PulpFileClient::PublicationsFileApi.new
281
+ file_file_publication_href = 'file_file_publication_href_example' # String |
282
+ opts = {
283
+ fields: 'fields_example', # String | A list of fields to include in the response.
284
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
285
+ }
286
+
287
+ begin
288
+ result = api_instance.list_roles(file_file_publication_href, opts)
289
+ p result
290
+ rescue PulpFileClient::ApiError => e
291
+ puts "Exception when calling PublicationsFileApi->list_roles: #{e}"
292
+ end
293
+ ```
294
+
295
+ ### Parameters
296
+
297
+
298
+ Name | Type | Description | Notes
299
+ ------------- | ------------- | ------------- | -------------
300
+ **file_file_publication_href** | **String**| |
301
+ **fields** | **String**| A list of fields to include in the response. | [optional]
302
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
303
+
304
+ ### Return type
305
+
306
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
307
+
308
+ ### Authorization
309
+
310
+ [basicAuth](../README.md#basicAuth)
311
+
312
+ ### HTTP request headers
313
+
314
+ - **Content-Type**: Not defined
315
+ - **Accept**: application/json
316
+
317
+
318
+ ## my_permissions
319
+
320
+ > MyPermissionsResponse my_permissions(file_file_publication_href, opts)
321
+
322
+
323
+
324
+ List permissions available to the current user on this object.
325
+
326
+ ### Example
327
+
328
+ ```ruby
329
+ # load the gem
330
+ require 'pulp_file_client'
331
+ # setup authorization
332
+ PulpFileClient.configure do |config|
333
+ # Configure HTTP basic authorization: basicAuth
334
+ config.username = 'YOUR USERNAME'
335
+ config.password = 'YOUR PASSWORD'
336
+ end
337
+
338
+ api_instance = PulpFileClient::PublicationsFileApi.new
339
+ file_file_publication_href = 'file_file_publication_href_example' # String |
340
+ opts = {
341
+ fields: 'fields_example', # String | A list of fields to include in the response.
342
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
343
+ }
344
+
345
+ begin
346
+ result = api_instance.my_permissions(file_file_publication_href, opts)
347
+ p result
348
+ rescue PulpFileClient::ApiError => e
349
+ puts "Exception when calling PublicationsFileApi->my_permissions: #{e}"
350
+ end
351
+ ```
352
+
353
+ ### Parameters
354
+
355
+
356
+ Name | Type | Description | Notes
357
+ ------------- | ------------- | ------------- | -------------
358
+ **file_file_publication_href** | **String**| |
359
+ **fields** | **String**| A list of fields to include in the response. | [optional]
360
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
361
+
362
+ ### Return type
363
+
364
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
365
+
366
+ ### Authorization
367
+
368
+ [basicAuth](../README.md#basicAuth)
369
+
370
+ ### HTTP request headers
371
+
372
+ - **Content-Type**: Not defined
373
+ - **Accept**: application/json
374
+
375
+
200
376
  ## read
201
377
 
202
378
  > FileFilePublicationResponse read(file_file_publication_href, opts)
@@ -255,3 +431,57 @@ Name | Type | Description | Notes
255
431
  - **Content-Type**: Not defined
256
432
  - **Accept**: application/json
257
433
 
434
+
435
+ ## remove_role
436
+
437
+ > NestedRoleResponse remove_role(file_file_publication_href, nested_role)
438
+
439
+
440
+
441
+ Remove a role for this object from users/groups.
442
+
443
+ ### Example
444
+
445
+ ```ruby
446
+ # load the gem
447
+ require 'pulp_file_client'
448
+ # setup authorization
449
+ PulpFileClient.configure do |config|
450
+ # Configure HTTP basic authorization: basicAuth
451
+ config.username = 'YOUR USERNAME'
452
+ config.password = 'YOUR PASSWORD'
453
+ end
454
+
455
+ api_instance = PulpFileClient::PublicationsFileApi.new
456
+ file_file_publication_href = 'file_file_publication_href_example' # String |
457
+ nested_role = PulpFileClient::NestedRole.new # NestedRole |
458
+
459
+ begin
460
+ result = api_instance.remove_role(file_file_publication_href, nested_role)
461
+ p result
462
+ rescue PulpFileClient::ApiError => e
463
+ puts "Exception when calling PublicationsFileApi->remove_role: #{e}"
464
+ end
465
+ ```
466
+
467
+ ### Parameters
468
+
469
+
470
+ Name | Type | Description | Notes
471
+ ------------- | ------------- | ------------- | -------------
472
+ **file_file_publication_href** | **String**| |
473
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
474
+
475
+ ### Return type
476
+
477
+ [**NestedRoleResponse**](NestedRoleResponse.md)
478
+
479
+ ### Authorization
480
+
481
+ [basicAuth](../README.md#basicAuth)
482
+
483
+ ### HTTP request headers
484
+
485
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
486
+ - **Accept**: application/json
487
+
@@ -4,15 +4,73 @@ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**add_role**](RemotesFileApi.md#add_role) | **POST** {file_file_remote_href}add_role/ |
7
8
  [**create**](RemotesFileApi.md#create) | **POST** /pulp/api/v3/remotes/file/file/ | Create a file remote
8
9
  [**delete**](RemotesFileApi.md#delete) | **DELETE** {file_file_remote_href} | Delete a file remote
9
10
  [**list**](RemotesFileApi.md#list) | **GET** /pulp/api/v3/remotes/file/file/ | List file remotes
11
+ [**list_roles**](RemotesFileApi.md#list_roles) | **GET** {file_file_remote_href}list_roles/ |
12
+ [**my_permissions**](RemotesFileApi.md#my_permissions) | **GET** {file_file_remote_href}my_permissions/ |
10
13
  [**partial_update**](RemotesFileApi.md#partial_update) | **PATCH** {file_file_remote_href} | Update a file remote
11
14
  [**read**](RemotesFileApi.md#read) | **GET** {file_file_remote_href} | Inspect a file remote
15
+ [**remove_role**](RemotesFileApi.md#remove_role) | **POST** {file_file_remote_href}remove_role/ |
12
16
  [**update**](RemotesFileApi.md#update) | **PUT** {file_file_remote_href} | Update a file remote
13
17
 
14
18
 
15
19
 
20
+ ## add_role
21
+
22
+ > NestedRoleResponse add_role(file_file_remote_href, nested_role)
23
+
24
+
25
+
26
+ Add a role for this object to users/groups.
27
+
28
+ ### Example
29
+
30
+ ```ruby
31
+ # load the gem
32
+ require 'pulp_file_client'
33
+ # setup authorization
34
+ PulpFileClient.configure do |config|
35
+ # Configure HTTP basic authorization: basicAuth
36
+ config.username = 'YOUR USERNAME'
37
+ config.password = 'YOUR PASSWORD'
38
+ end
39
+
40
+ api_instance = PulpFileClient::RemotesFileApi.new
41
+ file_file_remote_href = 'file_file_remote_href_example' # String |
42
+ nested_role = PulpFileClient::NestedRole.new # NestedRole |
43
+
44
+ begin
45
+ result = api_instance.add_role(file_file_remote_href, nested_role)
46
+ p result
47
+ rescue PulpFileClient::ApiError => e
48
+ puts "Exception when calling RemotesFileApi->add_role: #{e}"
49
+ end
50
+ ```
51
+
52
+ ### Parameters
53
+
54
+
55
+ Name | Type | Description | Notes
56
+ ------------- | ------------- | ------------- | -------------
57
+ **file_file_remote_href** | **String**| |
58
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
59
+
60
+ ### Return type
61
+
62
+ [**NestedRoleResponse**](NestedRoleResponse.md)
63
+
64
+ ### Authorization
65
+
66
+ [basicAuth](../README.md#basicAuth)
67
+
68
+ ### HTTP request headers
69
+
70
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
71
+ - **Accept**: application/json
72
+
73
+
16
74
  ## create
17
75
 
18
76
  > FileFileRemoteResponse create(file_file_remote)
@@ -148,7 +206,7 @@ opts = {
148
206
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
149
207
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
208
  offset: 56, # Integer | The initial index from which to return the results.
151
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
209
+ ordering: ['ordering_example'], # Array<String> | Ordering
152
210
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
153
211
  pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
154
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
@@ -181,7 +239,7 @@ Name | Type | Description | Notes
181
239
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
182
240
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
183
241
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
184
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
242
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
185
243
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
186
244
  **pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
187
245
  **pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
@@ -206,6 +264,122 @@ Name | Type | Description | Notes
206
264
  - **Accept**: application/json
207
265
 
208
266
 
267
+ ## list_roles
268
+
269
+ > ObjectRolesResponse list_roles(file_file_remote_href, opts)
270
+
271
+
272
+
273
+ List roles assigned to this object.
274
+
275
+ ### Example
276
+
277
+ ```ruby
278
+ # load the gem
279
+ require 'pulp_file_client'
280
+ # setup authorization
281
+ PulpFileClient.configure do |config|
282
+ # Configure HTTP basic authorization: basicAuth
283
+ config.username = 'YOUR USERNAME'
284
+ config.password = 'YOUR PASSWORD'
285
+ end
286
+
287
+ api_instance = PulpFileClient::RemotesFileApi.new
288
+ file_file_remote_href = 'file_file_remote_href_example' # String |
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.
292
+ }
293
+
294
+ begin
295
+ result = api_instance.list_roles(file_file_remote_href, opts)
296
+ p result
297
+ rescue PulpFileClient::ApiError => e
298
+ puts "Exception when calling RemotesFileApi->list_roles: #{e}"
299
+ end
300
+ ```
301
+
302
+ ### Parameters
303
+
304
+
305
+ Name | Type | Description | Notes
306
+ ------------- | ------------- | ------------- | -------------
307
+ **file_file_remote_href** | **String**| |
308
+ **fields** | **String**| A list of fields to include in the response. | [optional]
309
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
310
+
311
+ ### Return type
312
+
313
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
314
+
315
+ ### Authorization
316
+
317
+ [basicAuth](../README.md#basicAuth)
318
+
319
+ ### HTTP request headers
320
+
321
+ - **Content-Type**: Not defined
322
+ - **Accept**: application/json
323
+
324
+
325
+ ## my_permissions
326
+
327
+ > MyPermissionsResponse my_permissions(file_file_remote_href, opts)
328
+
329
+
330
+
331
+ List permissions available to the current user on this object.
332
+
333
+ ### Example
334
+
335
+ ```ruby
336
+ # load the gem
337
+ require 'pulp_file_client'
338
+ # setup authorization
339
+ PulpFileClient.configure do |config|
340
+ # Configure HTTP basic authorization: basicAuth
341
+ config.username = 'YOUR USERNAME'
342
+ config.password = 'YOUR PASSWORD'
343
+ end
344
+
345
+ api_instance = PulpFileClient::RemotesFileApi.new
346
+ file_file_remote_href = 'file_file_remote_href_example' # String |
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.
350
+ }
351
+
352
+ begin
353
+ result = api_instance.my_permissions(file_file_remote_href, opts)
354
+ p result
355
+ rescue PulpFileClient::ApiError => e
356
+ puts "Exception when calling RemotesFileApi->my_permissions: #{e}"
357
+ end
358
+ ```
359
+
360
+ ### Parameters
361
+
362
+
363
+ Name | Type | Description | Notes
364
+ ------------- | ------------- | ------------- | -------------
365
+ **file_file_remote_href** | **String**| |
366
+ **fields** | **String**| A list of fields to include in the response. | [optional]
367
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
368
+
369
+ ### Return type
370
+
371
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
372
+
373
+ ### Authorization
374
+
375
+ [basicAuth](../README.md#basicAuth)
376
+
377
+ ### HTTP request headers
378
+
379
+ - **Content-Type**: Not defined
380
+ - **Accept**: application/json
381
+
382
+
209
383
  ## partial_update
210
384
 
211
385
  > AsyncOperationResponse partial_update(file_file_remote_href, patchedfile_file_remote)
@@ -320,6 +494,60 @@ Name | Type | Description | Notes
320
494
  - **Accept**: application/json
321
495
 
322
496
 
497
+ ## remove_role
498
+
499
+ > NestedRoleResponse remove_role(file_file_remote_href, nested_role)
500
+
501
+
502
+
503
+ Remove a role for this object from users/groups.
504
+
505
+ ### Example
506
+
507
+ ```ruby
508
+ # load the gem
509
+ require 'pulp_file_client'
510
+ # setup authorization
511
+ PulpFileClient.configure do |config|
512
+ # Configure HTTP basic authorization: basicAuth
513
+ config.username = 'YOUR USERNAME'
514
+ config.password = 'YOUR PASSWORD'
515
+ end
516
+
517
+ api_instance = PulpFileClient::RemotesFileApi.new
518
+ file_file_remote_href = 'file_file_remote_href_example' # String |
519
+ nested_role = PulpFileClient::NestedRole.new # NestedRole |
520
+
521
+ begin
522
+ result = api_instance.remove_role(file_file_remote_href, nested_role)
523
+ p result
524
+ rescue PulpFileClient::ApiError => e
525
+ puts "Exception when calling RemotesFileApi->remove_role: #{e}"
526
+ end
527
+ ```
528
+
529
+ ### Parameters
530
+
531
+
532
+ Name | Type | Description | Notes
533
+ ------------- | ------------- | ------------- | -------------
534
+ **file_file_remote_href** | **String**| |
535
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
536
+
537
+ ### Return type
538
+
539
+ [**NestedRoleResponse**](NestedRoleResponse.md)
540
+
541
+ ### Authorization
542
+
543
+ [basicAuth](../README.md#basicAuth)
544
+
545
+ ### HTTP request headers
546
+
547
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
548
+ - **Accept**: application/json
549
+
550
+
323
551
  ## update
324
552
 
325
553
  > AsyncOperationResponse update(file_file_remote_href, file_file_remote)
data/docs/Repair.md ADDED
@@ -0,0 +1,17 @@
1
+ # PulpFileClient::Repair
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **verify_checksums** | **Boolean** | Will verify that the checksum of all stored files matches what saved in the database. Otherwise only the existence of the files will be checked. Enabled by default | [optional] [default to true]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpFileClient'
13
+
14
+ instance = PulpFileClient::Repair.new(verify_checksums: null)
15
+ ```
16
+
17
+