pulp_file_client 0.1.0b4 → 0.1.0rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -9
  3. data/docs/ContentFilesApi.md +2 -2
  4. data/docs/ContentSummary.md +21 -0
  5. data/docs/DistributionsFileApi.md +8 -8
  6. data/docs/FileExportersFileApi.md +408 -0
  7. data/docs/{FileContent.md → FileFileContent.md} +2 -6
  8. data/docs/{FileDistribution.md → FileFileDistribution.md} +2 -2
  9. data/docs/FileFileFileSystemExporter.md +23 -0
  10. data/docs/{FilePublication.md → FileFilePublication.md} +2 -2
  11. data/docs/{FileRemote.md → FileFileRemote.md} +10 -14
  12. data/docs/FileFileRepository.md +27 -0
  13. data/docs/InlineResponse200.md +1 -1
  14. data/docs/InlineResponse2001.md +1 -1
  15. data/docs/InlineResponse2002.md +1 -1
  16. data/docs/InlineResponse2003.md +1 -1
  17. data/docs/InlineResponse2004.md +23 -0
  18. data/docs/InlineResponse2005.md +23 -0
  19. data/docs/InlineResponse2006.md +23 -0
  20. data/docs/PublicationExport.md +17 -0
  21. data/docs/PublicationsFileApi.md +9 -9
  22. data/docs/RemotesFileApi.md +12 -67
  23. data/docs/RepositoriesFileApi.md +464 -0
  24. data/docs/RepositoriesFileVersionsApi.md +214 -0
  25. data/docs/RepositoryAddRemoveContent.md +21 -0
  26. data/docs/RepositorySyncURL.md +2 -2
  27. data/docs/RepositoryVersion.md +25 -0
  28. data/lib/pulp_file_client/api/content_files_api.rb +4 -4
  29. data/lib/pulp_file_client/api/distributions_file_api.rb +10 -10
  30. data/lib/pulp_file_client/api/file_exporters_file_api.rb +496 -0
  31. data/lib/pulp_file_client/api/publications_file_api.rb +15 -15
  32. data/lib/pulp_file_client/api/remotes_file_api.rb +16 -84
  33. data/lib/pulp_file_client/api/repositories_file_api.rb +566 -0
  34. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +268 -0
  35. data/lib/pulp_file_client/api_client.rb +1 -1
  36. data/lib/pulp_file_client/api_error.rb +1 -1
  37. data/lib/pulp_file_client/configuration.rb +1 -1
  38. data/lib/pulp_file_client/models/async_operation_response.rb +12 -2
  39. data/lib/pulp_file_client/models/content_summary.rb +246 -0
  40. data/lib/pulp_file_client/models/{file_content.rb → file_file_content.rb} +16 -26
  41. data/lib/pulp_file_client/models/{file_distribution.rb → file_file_distribution.rb} +17 -23
  42. data/lib/pulp_file_client/models/file_file_file_system_exporter.rb +284 -0
  43. data/lib/pulp_file_client/models/{file_publication.rb → file_file_publication.rb} +16 -5
  44. data/lib/pulp_file_client/models/{file_remote.rb → file_file_remote.rb} +69 -105
  45. data/lib/pulp_file_client/models/file_file_repository.rb +294 -0
  46. data/lib/pulp_file_client/models/inline_response200.rb +15 -3
  47. data/lib/pulp_file_client/models/inline_response2001.rb +15 -3
  48. data/lib/pulp_file_client/models/inline_response2002.rb +15 -3
  49. data/lib/pulp_file_client/models/inline_response2003.rb +15 -3
  50. data/lib/pulp_file_client/models/inline_response2004.rb +247 -0
  51. data/lib/pulp_file_client/models/inline_response2005.rb +247 -0
  52. data/lib/pulp_file_client/models/inline_response2006.rb +247 -0
  53. data/lib/pulp_file_client/models/publication_export.rb +212 -0
  54. data/lib/pulp_file_client/models/repository_add_remove_content.rb +231 -0
  55. data/lib/pulp_file_client/models/repository_sync_url.rb +22 -12
  56. data/lib/pulp_file_client/models/repository_version.rb +244 -0
  57. data/lib/pulp_file_client/version.rb +2 -2
  58. data/lib/pulp_file_client.rb +17 -5
  59. data/pulp_file_client.gemspec +1 -1
  60. data/spec/api/content_files_api_spec.rb +2 -2
  61. data/spec/api/distributions_file_api_spec.rb +2 -2
  62. data/spec/api/file_exporters_file_api_spec.rb +128 -0
  63. data/spec/api/publications_file_api_spec.rb +6 -6
  64. data/spec/api/remotes_file_api_spec.rb +4 -16
  65. data/spec/api/repositories_file_api_spec.rb +140 -0
  66. data/spec/api/repositories_file_versions_api_spec.rb +91 -0
  67. data/spec/api_client_spec.rb +1 -1
  68. data/spec/configuration_spec.rb +1 -1
  69. data/spec/models/async_operation_response_spec.rb +1 -1
  70. data/spec/models/content_summary_spec.rb +53 -0
  71. data/spec/models/{file_content_spec.rb → file_file_content_spec.rb} +7 -19
  72. data/spec/models/{file_distribution_spec.rb → file_file_distribution_spec.rb} +7 -7
  73. data/spec/models/file_file_file_system_exporter_spec.rb +59 -0
  74. data/spec/models/{file_publication_spec.rb → file_file_publication_spec.rb} +7 -7
  75. data/spec/models/{file_remote_spec.rb → file_file_remote_spec.rb} +11 -23
  76. data/spec/models/file_file_repository_spec.rb +71 -0
  77. data/spec/models/inline_response2001_spec.rb +1 -1
  78. data/spec/models/inline_response2002_spec.rb +1 -1
  79. data/spec/models/inline_response2003_spec.rb +1 -1
  80. data/spec/models/inline_response2004_spec.rb +59 -0
  81. data/spec/models/inline_response2005_spec.rb +59 -0
  82. data/spec/models/inline_response2006_spec.rb +59 -0
  83. data/spec/models/inline_response200_spec.rb +1 -1
  84. data/spec/models/publication_export_spec.rb +41 -0
  85. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  86. data/spec/models/repository_sync_url_spec.rb +2 -2
  87. data/spec/models/repository_version_spec.rb +65 -0
  88. data/spec/spec_helper.rb +1 -1
  89. metadata +66 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d213e72c4ed42db6ad69d923d9aea90ca48c97d3c687458c7651c340b22e0f5
4
- data.tar.gz: 689b45102722d6ddd6da5f80e0f5591c2a60d62eba9b60c154a6bac865baa09d
3
+ metadata.gz: 608f4825ea9d31964eb8aaa257c54bef3c8931f0f255360dbd81eb0da2fae983
4
+ data.tar.gz: 8d1991204997f0993ddcca3adbe59ebbeb1f8d37697be0c3f02b7d498e732011
5
5
  SHA512:
6
- metadata.gz: ae8734585ba01154800023b9dec7cc1bc6a0d9fd2d1ce9792d8527301652423d9f5eb5f8e0011f363ed1b0fe465d079b31f7a83d9d35c912e9f46036fea38dd1
7
- data.tar.gz: d030d6eba8c4a9c0d9fc4816e274baf6b730f4fd3569fcb43174c481285bdd84ae7c09824efa2e9b2a5e382f94dee6de7f0588d47d1b3efaeb77cd92d8d80483
6
+ metadata.gz: e923cfba9dbb53ebda3d3498c3dc8ab85c3c7b9cb8594b76b4ddaed9eb8ff175a957a97bd942b55a781bb6e51f299c676f4ab8db16e8a7e2ed9797018298625d
7
+ data.tar.gz: 89bab3e11ae26ea476c5bf57c29e4a07e5cf1c6b0131c6bd51e2a21f1aa6f7951d73bd9b0f57bf4c98f04e34e89fb7a83953d93545c3ce1e985a6411acbef123
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.1.0b4
10
+ - Package version: 0.1.0rc1
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_file_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_file_client-0.1.0b4.gem
26
+ gem install ./pulp_file_client-0.1.0rc1.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_file_client-0.1.0b4.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_file_client-0.1.0rc1.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulp_file_client', '~> 0.1.0b4'
35
+ gem 'pulp_file_client', '~> 0.1.0rc1'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -96,6 +96,13 @@ Class | Method | HTTP request | Description
96
96
  *PulpFileClient::DistributionsFileApi* | [**partial_update**](docs/DistributionsFileApi.md#partial_update) | **PATCH** {file_distribution_href} | Partially update a file distribution
97
97
  *PulpFileClient::DistributionsFileApi* | [**read**](docs/DistributionsFileApi.md#read) | **GET** {file_distribution_href} | Inspect a file distribution
98
98
  *PulpFileClient::DistributionsFileApi* | [**update**](docs/DistributionsFileApi.md#update) | **PUT** {file_distribution_href} | Update a file distribution
99
+ *PulpFileClient::FileExportersFileApi* | [**create**](docs/FileExportersFileApi.md#create) | **POST** /pulp/api/v3/file_exporters/file/file/ | Create a file file system exporter
100
+ *PulpFileClient::FileExportersFileApi* | [**delete**](docs/FileExportersFileApi.md#delete) | **DELETE** {file_file_system_exporter_href} | Delete a file file system exporter
101
+ *PulpFileClient::FileExportersFileApi* | [**export**](docs/FileExportersFileApi.md#export) | **POST** {file_file_system_exporter_href}export/ |
102
+ *PulpFileClient::FileExportersFileApi* | [**list**](docs/FileExportersFileApi.md#list) | **GET** /pulp/api/v3/file_exporters/file/file/ | List file file system exporters
103
+ *PulpFileClient::FileExportersFileApi* | [**partial_update**](docs/FileExportersFileApi.md#partial_update) | **PATCH** {file_file_system_exporter_href} | Partially update a file file system exporter
104
+ *PulpFileClient::FileExportersFileApi* | [**read**](docs/FileExportersFileApi.md#read) | **GET** {file_file_system_exporter_href} | Inspect a file file system exporter
105
+ *PulpFileClient::FileExportersFileApi* | [**update**](docs/FileExportersFileApi.md#update) | **PUT** {file_file_system_exporter_href} | Update a file file system exporter
99
106
  *PulpFileClient::PublicationsFileApi* | [**create**](docs/PublicationsFileApi.md#create) | **POST** /pulp/api/v3/publications/file/file/ | Create a file publication
100
107
  *PulpFileClient::PublicationsFileApi* | [**delete**](docs/PublicationsFileApi.md#delete) | **DELETE** {file_publication_href} | Delete a file publication
101
108
  *PulpFileClient::PublicationsFileApi* | [**list**](docs/PublicationsFileApi.md#list) | **GET** /pulp/api/v3/publications/file/file/ | List file publications
@@ -105,22 +112,41 @@ Class | Method | HTTP request | Description
105
112
  *PulpFileClient::RemotesFileApi* | [**list**](docs/RemotesFileApi.md#list) | **GET** /pulp/api/v3/remotes/file/file/ | List file remotes
106
113
  *PulpFileClient::RemotesFileApi* | [**partial_update**](docs/RemotesFileApi.md#partial_update) | **PATCH** {file_remote_href} | Partially update a file remote
107
114
  *PulpFileClient::RemotesFileApi* | [**read**](docs/RemotesFileApi.md#read) | **GET** {file_remote_href} | Inspect a file remote
108
- *PulpFileClient::RemotesFileApi* | [**sync**](docs/RemotesFileApi.md#sync) | **POST** {file_remote_href}sync/ |
109
115
  *PulpFileClient::RemotesFileApi* | [**update**](docs/RemotesFileApi.md#update) | **PUT** {file_remote_href} | Update a file remote
116
+ *PulpFileClient::RepositoriesFileApi* | [**create**](docs/RepositoriesFileApi.md#create) | **POST** /pulp/api/v3/repositories/file/file/ | Create a file repository
117
+ *PulpFileClient::RepositoriesFileApi* | [**delete**](docs/RepositoriesFileApi.md#delete) | **DELETE** {file_repository_href} | Delete a file repository
118
+ *PulpFileClient::RepositoriesFileApi* | [**list**](docs/RepositoriesFileApi.md#list) | **GET** /pulp/api/v3/repositories/file/file/ | List file repositorys
119
+ *PulpFileClient::RepositoriesFileApi* | [**modify**](docs/RepositoriesFileApi.md#modify) | **POST** {file_repository_href}modify/ |
120
+ *PulpFileClient::RepositoriesFileApi* | [**partial_update**](docs/RepositoriesFileApi.md#partial_update) | **PATCH** {file_repository_href} | Partially update a file repository
121
+ *PulpFileClient::RepositoriesFileApi* | [**read**](docs/RepositoriesFileApi.md#read) | **GET** {file_repository_href} | Inspect a file repository
122
+ *PulpFileClient::RepositoriesFileApi* | [**sync**](docs/RepositoriesFileApi.md#sync) | **POST** {file_repository_href}sync/ |
123
+ *PulpFileClient::RepositoriesFileApi* | [**update**](docs/RepositoriesFileApi.md#update) | **PUT** {file_repository_href} | Update a file repository
124
+ *PulpFileClient::RepositoriesFileVersionsApi* | [**delete**](docs/RepositoriesFileVersionsApi.md#delete) | **DELETE** {file_repository_version_href} | Delete a repository version
125
+ *PulpFileClient::RepositoriesFileVersionsApi* | [**list**](docs/RepositoriesFileVersionsApi.md#list) | **GET** {file_repository_href}versions/ | List repository versions
126
+ *PulpFileClient::RepositoriesFileVersionsApi* | [**read**](docs/RepositoriesFileVersionsApi.md#read) | **GET** {file_repository_version_href} | Inspect a repository version
110
127
 
111
128
 
112
129
  ## Documentation for Models
113
130
 
114
131
  - [PulpFileClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
115
- - [PulpFileClient::FileContent](docs/FileContent.md)
116
- - [PulpFileClient::FileDistribution](docs/FileDistribution.md)
117
- - [PulpFileClient::FilePublication](docs/FilePublication.md)
118
- - [PulpFileClient::FileRemote](docs/FileRemote.md)
132
+ - [PulpFileClient::ContentSummary](docs/ContentSummary.md)
133
+ - [PulpFileClient::FileFileContent](docs/FileFileContent.md)
134
+ - [PulpFileClient::FileFileDistribution](docs/FileFileDistribution.md)
135
+ - [PulpFileClient::FileFileFileSystemExporter](docs/FileFileFileSystemExporter.md)
136
+ - [PulpFileClient::FileFilePublication](docs/FileFilePublication.md)
137
+ - [PulpFileClient::FileFileRemote](docs/FileFileRemote.md)
138
+ - [PulpFileClient::FileFileRepository](docs/FileFileRepository.md)
119
139
  - [PulpFileClient::InlineResponse200](docs/InlineResponse200.md)
120
140
  - [PulpFileClient::InlineResponse2001](docs/InlineResponse2001.md)
121
141
  - [PulpFileClient::InlineResponse2002](docs/InlineResponse2002.md)
122
142
  - [PulpFileClient::InlineResponse2003](docs/InlineResponse2003.md)
143
+ - [PulpFileClient::InlineResponse2004](docs/InlineResponse2004.md)
144
+ - [PulpFileClient::InlineResponse2005](docs/InlineResponse2005.md)
145
+ - [PulpFileClient::InlineResponse2006](docs/InlineResponse2006.md)
146
+ - [PulpFileClient::PublicationExport](docs/PublicationExport.md)
147
+ - [PulpFileClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
123
148
  - [PulpFileClient::RepositorySyncURL](docs/RepositorySyncURL.md)
149
+ - [PulpFileClient::RepositoryVersion](docs/RepositoryVersion.md)
124
150
 
125
151
 
126
152
  ## Documentation for Authorization
@@ -144,7 +144,7 @@ Name | Type | Description | Notes
144
144
 
145
145
  ## read
146
146
 
147
- > FileContent read(file_content_href, opts)
147
+ > FileFileContent read(file_content_href, opts)
148
148
 
149
149
  Inspect a file content
150
150
 
@@ -189,7 +189,7 @@ Name | Type | Description | Notes
189
189
 
190
190
  ### Return type
191
191
 
192
- [**FileContent**](FileContent.md)
192
+ [**FileFileContent**](FileFileContent.md)
193
193
 
194
194
  ### Authorization
195
195
 
@@ -0,0 +1,21 @@
1
+ # PulpFileClient::ContentSummary
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **added** | **Hash<String, Hash<String, String>>** | |
8
+ **removed** | **Hash<String, Hash<String, String>>** | |
9
+ **present** | **Hash<String, Hash<String, String>>** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpFileClient'
15
+
16
+ instance = PulpFileClient::ContentSummary.new(added: null,
17
+ removed: null,
18
+ present: null)
19
+ ```
20
+
21
+
@@ -34,7 +34,7 @@ PulpFileClient.configure do |config|
34
34
  end
35
35
 
36
36
  api_instance = PulpFileClient::DistributionsFileApi.new
37
- data = PulpFileClient::FileDistribution.new # FileDistribution |
37
+ data = PulpFileClient::FileFileDistribution.new # FileFileDistribution |
38
38
 
39
39
  begin
40
40
  #Create a file distribution
@@ -50,7 +50,7 @@ end
50
50
 
51
51
  Name | Type | Description | Notes
52
52
  ------------- | ------------- | ------------- | -------------
53
- **data** | [**FileDistribution**](FileDistribution.md)| |
53
+ **data** | [**FileFileDistribution**](FileFileDistribution.md)| |
54
54
 
55
55
  ### Return type
56
56
 
@@ -214,7 +214,7 @@ end
214
214
 
215
215
  api_instance = PulpFileClient::DistributionsFileApi.new
216
216
  file_distribution_href = 'file_distribution_href_example' # String | URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/
217
- data = PulpFileClient::FileDistribution.new # FileDistribution |
217
+ data = PulpFileClient::FileFileDistribution.new # FileFileDistribution |
218
218
 
219
219
  begin
220
220
  #Partially update a file distribution
@@ -231,7 +231,7 @@ end
231
231
  Name | Type | Description | Notes
232
232
  ------------- | ------------- | ------------- | -------------
233
233
  **file_distribution_href** | **String**| URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/ |
234
- **data** | [**FileDistribution**](FileDistribution.md)| |
234
+ **data** | [**FileFileDistribution**](FileFileDistribution.md)| |
235
235
 
236
236
  ### Return type
237
237
 
@@ -249,7 +249,7 @@ Name | Type | Description | Notes
249
249
 
250
250
  ## read
251
251
 
252
- > FileDistribution read(file_distribution_href, opts)
252
+ > FileFileDistribution read(file_distribution_href, opts)
253
253
 
254
254
  Inspect a file distribution
255
255
 
@@ -294,7 +294,7 @@ Name | Type | Description | Notes
294
294
 
295
295
  ### Return type
296
296
 
297
- [**FileDistribution**](FileDistribution.md)
297
+ [**FileFileDistribution**](FileFileDistribution.md)
298
298
 
299
299
  ### Authorization
300
300
 
@@ -328,7 +328,7 @@ end
328
328
 
329
329
  api_instance = PulpFileClient::DistributionsFileApi.new
330
330
  file_distribution_href = 'file_distribution_href_example' # String | URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/
331
- data = PulpFileClient::FileDistribution.new # FileDistribution |
331
+ data = PulpFileClient::FileFileDistribution.new # FileFileDistribution |
332
332
 
333
333
  begin
334
334
  #Update a file distribution
@@ -345,7 +345,7 @@ end
345
345
  Name | Type | Description | Notes
346
346
  ------------- | ------------- | ------------- | -------------
347
347
  **file_distribution_href** | **String**| URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/ |
348
- **data** | [**FileDistribution**](FileDistribution.md)| |
348
+ **data** | [**FileFileDistribution**](FileFileDistribution.md)| |
349
349
 
350
350
  ### Return type
351
351
 
@@ -0,0 +1,408 @@
1
+ # PulpFileClient::FileExportersFileApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](FileExportersFileApi.md#create) | **POST** /pulp/api/v3/file_exporters/file/file/ | Create a file file system exporter
8
+ [**delete**](FileExportersFileApi.md#delete) | **DELETE** {file_file_system_exporter_href} | Delete a file file system exporter
9
+ [**export**](FileExportersFileApi.md#export) | **POST** {file_file_system_exporter_href}export/ |
10
+ [**list**](FileExportersFileApi.md#list) | **GET** /pulp/api/v3/file_exporters/file/file/ | List file file system exporters
11
+ [**partial_update**](FileExportersFileApi.md#partial_update) | **PATCH** {file_file_system_exporter_href} | Partially update a file file system exporter
12
+ [**read**](FileExportersFileApi.md#read) | **GET** {file_file_system_exporter_href} | Inspect a file file system exporter
13
+ [**update**](FileExportersFileApi.md#update) | **PUT** {file_file_system_exporter_href} | Update a file file system exporter
14
+
15
+
16
+
17
+ ## create
18
+
19
+ > FileFileFileSystemExporter create(data)
20
+
21
+ Create a file file system exporter
22
+
23
+ FileSystemExporters export content from a publication to a path on the file system.
24
+
25
+ ### Example
26
+
27
+ ```ruby
28
+ # load the gem
29
+ require 'pulp_file_client'
30
+ # setup authorization
31
+ PulpFileClient.configure do |config|
32
+ # Configure HTTP basic authorization: Basic
33
+ config.username = 'YOUR USERNAME'
34
+ config.password = 'YOUR PASSWORD'
35
+ end
36
+
37
+ api_instance = PulpFileClient::FileExportersFileApi.new
38
+ data = PulpFileClient::FileFileFileSystemExporter.new # FileFileFileSystemExporter |
39
+
40
+ begin
41
+ #Create a file file system exporter
42
+ result = api_instance.create(data)
43
+ p result
44
+ rescue PulpFileClient::ApiError => e
45
+ puts "Exception when calling FileExportersFileApi->create: #{e}"
46
+ end
47
+ ```
48
+
49
+ ### Parameters
50
+
51
+
52
+ Name | Type | Description | Notes
53
+ ------------- | ------------- | ------------- | -------------
54
+ **data** | [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)| |
55
+
56
+ ### Return type
57
+
58
+ [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)
59
+
60
+ ### Authorization
61
+
62
+ [Basic](../README.md#Basic)
63
+
64
+ ### HTTP request headers
65
+
66
+ - **Content-Type**: application/json
67
+ - **Accept**: application/json
68
+
69
+
70
+ ## delete
71
+
72
+ > delete(file_file_system_exporter_href)
73
+
74
+ Delete a file file system exporter
75
+
76
+ FileSystemExporters export content from a publication to a path on the file system.
77
+
78
+ ### Example
79
+
80
+ ```ruby
81
+ # load the gem
82
+ require 'pulp_file_client'
83
+ # setup authorization
84
+ PulpFileClient.configure do |config|
85
+ # Configure HTTP basic authorization: Basic
86
+ config.username = 'YOUR USERNAME'
87
+ config.password = 'YOUR PASSWORD'
88
+ end
89
+
90
+ api_instance = PulpFileClient::FileExportersFileApi.new
91
+ file_file_system_exporter_href = 'file_file_system_exporter_href_example' # String | URI of File File System Exporter. e.g.: /pulp/api/v3/file_exporters/file/file/1/
92
+
93
+ begin
94
+ #Delete a file file system exporter
95
+ api_instance.delete(file_file_system_exporter_href)
96
+ rescue PulpFileClient::ApiError => e
97
+ puts "Exception when calling FileExportersFileApi->delete: #{e}"
98
+ end
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **file_file_system_exporter_href** | **String**| URI of File File System Exporter. e.g.: /pulp/api/v3/file_exporters/file/file/1/ |
107
+
108
+ ### Return type
109
+
110
+ nil (empty response body)
111
+
112
+ ### Authorization
113
+
114
+ [Basic](../README.md#Basic)
115
+
116
+ ### HTTP request headers
117
+
118
+ - **Content-Type**: Not defined
119
+ - **Accept**: Not defined
120
+
121
+
122
+ ## export
123
+
124
+ > AsyncOperationResponse export(file_file_system_exporter_href, data)
125
+
126
+
127
+
128
+ Trigger an asynchronous task to export a file publication.
129
+
130
+ ### Example
131
+
132
+ ```ruby
133
+ # load the gem
134
+ require 'pulp_file_client'
135
+ # setup authorization
136
+ PulpFileClient.configure do |config|
137
+ # Configure HTTP basic authorization: Basic
138
+ config.username = 'YOUR USERNAME'
139
+ config.password = 'YOUR PASSWORD'
140
+ end
141
+
142
+ api_instance = PulpFileClient::FileExportersFileApi.new
143
+ file_file_system_exporter_href = 'file_file_system_exporter_href_example' # String | URI of File File System Exporter. e.g.: /pulp/api/v3/file_exporters/file/file/1/
144
+ data = PulpFileClient::PublicationExport.new # PublicationExport |
145
+
146
+ begin
147
+ result = api_instance.export(file_file_system_exporter_href, data)
148
+ p result
149
+ rescue PulpFileClient::ApiError => e
150
+ puts "Exception when calling FileExportersFileApi->export: #{e}"
151
+ end
152
+ ```
153
+
154
+ ### Parameters
155
+
156
+
157
+ Name | Type | Description | Notes
158
+ ------------- | ------------- | ------------- | -------------
159
+ **file_file_system_exporter_href** | **String**| URI of File File System Exporter. e.g.: /pulp/api/v3/file_exporters/file/file/1/ |
160
+ **data** | [**PublicationExport**](PublicationExport.md)| |
161
+
162
+ ### Return type
163
+
164
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
165
+
166
+ ### Authorization
167
+
168
+ [Basic](../README.md#Basic)
169
+
170
+ ### HTTP request headers
171
+
172
+ - **Content-Type**: application/json
173
+ - **Accept**: application/json
174
+
175
+
176
+ ## list
177
+
178
+ > InlineResponse2002 list(opts)
179
+
180
+ List file file system exporters
181
+
182
+ FileSystemExporters export content from a publication to a path on the file system.
183
+
184
+ ### Example
185
+
186
+ ```ruby
187
+ # load the gem
188
+ require 'pulp_file_client'
189
+ # setup authorization
190
+ PulpFileClient.configure do |config|
191
+ # Configure HTTP basic authorization: Basic
192
+ config.username = 'YOUR USERNAME'
193
+ config.password = 'YOUR PASSWORD'
194
+ end
195
+
196
+ api_instance = PulpFileClient::FileExportersFileApi.new
197
+ opts = {
198
+ name: 'name_example', # String |
199
+ name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
200
+ limit: 56, # Integer | Number of results to return per page.
201
+ offset: 56, # Integer | The initial index from which to return the results.
202
+ fields: 'fields_example', # String | A list of fields to include in the response.
203
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
204
+ }
205
+
206
+ begin
207
+ #List file file system exporters
208
+ result = api_instance.list(opts)
209
+ p result
210
+ rescue PulpFileClient::ApiError => e
211
+ puts "Exception when calling FileExportersFileApi->list: #{e}"
212
+ end
213
+ ```
214
+
215
+ ### Parameters
216
+
217
+
218
+ Name | Type | Description | Notes
219
+ ------------- | ------------- | ------------- | -------------
220
+ **name** | **String**| | [optional]
221
+ **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
222
+ **limit** | **Integer**| Number of results to return per page. | [optional]
223
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
224
+ **fields** | **String**| A list of fields to include in the response. | [optional]
225
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
226
+
227
+ ### Return type
228
+
229
+ [**InlineResponse2002**](InlineResponse2002.md)
230
+
231
+ ### Authorization
232
+
233
+ [Basic](../README.md#Basic)
234
+
235
+ ### HTTP request headers
236
+
237
+ - **Content-Type**: Not defined
238
+ - **Accept**: application/json
239
+
240
+
241
+ ## partial_update
242
+
243
+ > FileFileFileSystemExporter partial_update(file_file_system_exporter_href, data)
244
+
245
+ Partially update a file file system exporter
246
+
247
+ FileSystemExporters export content from a publication to a path on the file system.
248
+
249
+ ### Example
250
+
251
+ ```ruby
252
+ # load the gem
253
+ require 'pulp_file_client'
254
+ # setup authorization
255
+ PulpFileClient.configure do |config|
256
+ # Configure HTTP basic authorization: Basic
257
+ config.username = 'YOUR USERNAME'
258
+ config.password = 'YOUR PASSWORD'
259
+ end
260
+
261
+ api_instance = PulpFileClient::FileExportersFileApi.new
262
+ file_file_system_exporter_href = 'file_file_system_exporter_href_example' # String | URI of File File System Exporter. e.g.: /pulp/api/v3/file_exporters/file/file/1/
263
+ data = PulpFileClient::FileFileFileSystemExporter.new # FileFileFileSystemExporter |
264
+
265
+ begin
266
+ #Partially update a file file system exporter
267
+ result = api_instance.partial_update(file_file_system_exporter_href, data)
268
+ p result
269
+ rescue PulpFileClient::ApiError => e
270
+ puts "Exception when calling FileExportersFileApi->partial_update: #{e}"
271
+ end
272
+ ```
273
+
274
+ ### Parameters
275
+
276
+
277
+ Name | Type | Description | Notes
278
+ ------------- | ------------- | ------------- | -------------
279
+ **file_file_system_exporter_href** | **String**| URI of File File System Exporter. e.g.: /pulp/api/v3/file_exporters/file/file/1/ |
280
+ **data** | [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)| |
281
+
282
+ ### Return type
283
+
284
+ [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)
285
+
286
+ ### Authorization
287
+
288
+ [Basic](../README.md#Basic)
289
+
290
+ ### HTTP request headers
291
+
292
+ - **Content-Type**: application/json
293
+ - **Accept**: application/json
294
+
295
+
296
+ ## read
297
+
298
+ > FileFileFileSystemExporter read(file_file_system_exporter_href, opts)
299
+
300
+ Inspect a file file system exporter
301
+
302
+ FileSystemExporters export content from a publication to a path on the file system.
303
+
304
+ ### Example
305
+
306
+ ```ruby
307
+ # load the gem
308
+ require 'pulp_file_client'
309
+ # setup authorization
310
+ PulpFileClient.configure do |config|
311
+ # Configure HTTP basic authorization: Basic
312
+ config.username = 'YOUR USERNAME'
313
+ config.password = 'YOUR PASSWORD'
314
+ end
315
+
316
+ api_instance = PulpFileClient::FileExportersFileApi.new
317
+ file_file_system_exporter_href = 'file_file_system_exporter_href_example' # String | URI of File File System Exporter. e.g.: /pulp/api/v3/file_exporters/file/file/1/
318
+ opts = {
319
+ fields: 'fields_example', # String | A list of fields to include in the response.
320
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
321
+ }
322
+
323
+ begin
324
+ #Inspect a file file system exporter
325
+ result = api_instance.read(file_file_system_exporter_href, opts)
326
+ p result
327
+ rescue PulpFileClient::ApiError => e
328
+ puts "Exception when calling FileExportersFileApi->read: #{e}"
329
+ end
330
+ ```
331
+
332
+ ### Parameters
333
+
334
+
335
+ Name | Type | Description | Notes
336
+ ------------- | ------------- | ------------- | -------------
337
+ **file_file_system_exporter_href** | **String**| URI of File File System Exporter. e.g.: /pulp/api/v3/file_exporters/file/file/1/ |
338
+ **fields** | **String**| A list of fields to include in the response. | [optional]
339
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
340
+
341
+ ### Return type
342
+
343
+ [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)
344
+
345
+ ### Authorization
346
+
347
+ [Basic](../README.md#Basic)
348
+
349
+ ### HTTP request headers
350
+
351
+ - **Content-Type**: Not defined
352
+ - **Accept**: application/json
353
+
354
+
355
+ ## update
356
+
357
+ > FileFileFileSystemExporter update(file_file_system_exporter_href, data)
358
+
359
+ Update a file file system exporter
360
+
361
+ FileSystemExporters export content from a publication to a path on the file system.
362
+
363
+ ### Example
364
+
365
+ ```ruby
366
+ # load the gem
367
+ require 'pulp_file_client'
368
+ # setup authorization
369
+ PulpFileClient.configure do |config|
370
+ # Configure HTTP basic authorization: Basic
371
+ config.username = 'YOUR USERNAME'
372
+ config.password = 'YOUR PASSWORD'
373
+ end
374
+
375
+ api_instance = PulpFileClient::FileExportersFileApi.new
376
+ file_file_system_exporter_href = 'file_file_system_exporter_href_example' # String | URI of File File System Exporter. e.g.: /pulp/api/v3/file_exporters/file/file/1/
377
+ data = PulpFileClient::FileFileFileSystemExporter.new # FileFileFileSystemExporter |
378
+
379
+ begin
380
+ #Update a file file system exporter
381
+ result = api_instance.update(file_file_system_exporter_href, data)
382
+ p result
383
+ rescue PulpFileClient::ApiError => e
384
+ puts "Exception when calling FileExportersFileApi->update: #{e}"
385
+ end
386
+ ```
387
+
388
+ ### Parameters
389
+
390
+
391
+ Name | Type | Description | Notes
392
+ ------------- | ------------- | ------------- | -------------
393
+ **file_file_system_exporter_href** | **String**| URI of File File System Exporter. e.g.: /pulp/api/v3/file_exporters/file/file/1/ |
394
+ **data** | [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)| |
395
+
396
+ ### Return type
397
+
398
+ [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)
399
+
400
+ ### Authorization
401
+
402
+ [Basic](../README.md#Basic)
403
+
404
+ ### HTTP request headers
405
+
406
+ - **Content-Type**: application/json
407
+ - **Accept**: application/json
408
+
@@ -1,4 +1,4 @@
1
- # PulpFileClient::FileContent
1
+ # PulpFileClient::FileFileContent
2
2
 
3
3
  ## Properties
4
4
 
@@ -8,8 +8,6 @@ Name | Type | Description | Notes
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **artifact** | **String** | Artifact file representing the physical content | [optional]
10
10
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
11
- **file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional] [readonly]
12
- **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
13
11
  **md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
14
12
  **sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
15
13
  **sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
@@ -22,12 +20,10 @@ Name | Type | Description | Notes
22
20
  ```ruby
23
21
  require 'PulpFileClient'
24
22
 
25
- instance = PulpFileClient::FileContent.new(pulp_href: null,
23
+ instance = PulpFileClient::FileFileContent.new(pulp_href: null,
26
24
  pulp_created: null,
27
25
  artifact: null,
28
26
  relative_path: null,
29
- file: null,
30
- repository: null,
31
27
  md5: null,
32
28
  sha1: null,
33
29
  sha224: null,
@@ -1,4 +1,4 @@
1
- # PulpFileClient::FileDistribution
1
+ # PulpFileClient::FileFileDistribution
2
2
 
3
3
  ## Properties
4
4
 
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
17
17
  ```ruby
18
18
  require 'PulpFileClient'
19
19
 
20
- instance = PulpFileClient::FileDistribution.new(pulp_href: null,
20
+ instance = PulpFileClient::FileFileDistribution.new(pulp_href: null,
21
21
  pulp_created: null,
22
22
  base_path: null,
23
23
  base_url: null,