pulp_file_client 0.3.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -17
  3. data/docs/ContentFilesApi.md +5 -5
  4. data/docs/DistributionsFileApi.md +3 -3
  5. data/docs/{Export.md → ExportRead.md} +4 -4
  6. data/docs/ExportersFileExportsApi.md +16 -16
  7. data/docs/ExportersFilesystemApi.md +52 -52
  8. data/docs/{FileFileContent.md → FileFileContentRead.md} +2 -2
  9. data/docs/FileFileDistributionRead.md +29 -0
  10. data/docs/{FileFileFileSystemExporter.md → FileFileFilesystemExporter.md} +2 -2
  11. data/docs/FileFileFilesystemExporterRead.md +23 -0
  12. data/docs/FileFilePublicationRead.md +27 -0
  13. data/docs/FileFileRemote.md +7 -3
  14. data/docs/FileFileRemoteRead.md +43 -0
  15. data/docs/FileFileRepositoryRead.md +27 -0
  16. data/docs/InlineResponse200.md +1 -1
  17. data/docs/InlineResponse2001.md +1 -1
  18. data/docs/InlineResponse2002.md +1 -1
  19. data/docs/InlineResponse2003.md +1 -1
  20. data/docs/InlineResponse2004.md +1 -1
  21. data/docs/InlineResponse2005.md +1 -1
  22. data/docs/InlineResponse2006.md +1 -1
  23. data/docs/InlineResponse2007.md +1 -1
  24. data/docs/PublicationsFileApi.md +3 -3
  25. data/docs/RemotesFileApi.md +5 -5
  26. data/docs/RepositoriesFileApi.md +10 -10
  27. data/docs/RepositoriesFileVersionsApi.md +3 -3
  28. data/docs/RepositoryVersionRead.md +25 -0
  29. data/lib/pulp_file_client/api/content_files_api.rb +5 -5
  30. data/lib/pulp_file_client/api/distributions_file_api.rb +3 -3
  31. data/lib/pulp_file_client/api/exporters_file_exports_api.rb +27 -27
  32. data/lib/pulp_file_client/api/exporters_filesystem_api.rb +78 -78
  33. data/lib/pulp_file_client/api/publications_file_api.rb +3 -3
  34. data/lib/pulp_file_client/api/remotes_file_api.rb +6 -6
  35. data/lib/pulp_file_client/api/repositories_file_api.rb +15 -15
  36. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +3 -3
  37. data/lib/pulp_file_client/configuration.rb +2 -2
  38. data/lib/pulp_file_client/models/{export.rb → export_read.rb} +4 -13
  39. data/lib/pulp_file_client/models/{file_file_content.rb → file_file_content_read.rb} +3 -3
  40. data/lib/pulp_file_client/models/file_file_distribution_read.rb +331 -0
  41. data/lib/pulp_file_client/models/{file_file_file_system_exporter.rb → file_file_filesystem_exporter.rb} +3 -3
  42. data/lib/pulp_file_client/models/file_file_filesystem_exporter_read.rb +284 -0
  43. data/lib/pulp_file_client/models/file_file_publication_read.rb +274 -0
  44. data/lib/pulp_file_client/models/file_file_remote.rb +56 -4
  45. data/lib/pulp_file_client/models/file_file_remote_read.rb +531 -0
  46. data/lib/pulp_file_client/models/file_file_repository_read.rb +294 -0
  47. data/lib/pulp_file_client/models/inline_response200.rb +1 -1
  48. data/lib/pulp_file_client/models/inline_response2001.rb +1 -1
  49. data/lib/pulp_file_client/models/inline_response2002.rb +1 -1
  50. data/lib/pulp_file_client/models/inline_response2003.rb +1 -1
  51. data/lib/pulp_file_client/models/inline_response2004.rb +1 -1
  52. data/lib/pulp_file_client/models/inline_response2005.rb +1 -1
  53. data/lib/pulp_file_client/models/inline_response2006.rb +1 -1
  54. data/lib/pulp_file_client/models/inline_response2007.rb +1 -1
  55. data/lib/pulp_file_client/models/repository_version_read.rb +244 -0
  56. data/lib/pulp_file_client/version.rb +1 -1
  57. data/lib/pulp_file_client.rb +9 -3
  58. data/spec/api/content_files_api_spec.rb +2 -2
  59. data/spec/api/distributions_file_api_spec.rb +1 -1
  60. data/spec/api/exporters_file_exports_api_spec.rb +6 -6
  61. data/spec/api/exporters_filesystem_api_spec.rb +20 -20
  62. data/spec/api/publications_file_api_spec.rb +1 -1
  63. data/spec/api/remotes_file_api_spec.rb +2 -2
  64. data/spec/api/repositories_file_api_spec.rb +6 -6
  65. data/spec/api/repositories_file_versions_api_spec.rb +1 -1
  66. data/spec/configuration_spec.rb +3 -3
  67. data/spec/models/{export_spec.rb → export_read_spec.rb} +6 -6
  68. data/spec/models/{file_file_content_spec.rb → file_file_content_read_spec.rb} +6 -6
  69. data/spec/models/file_file_distribution_read_spec.rb +77 -0
  70. data/spec/models/file_file_filesystem_exporter_read_spec.rb +59 -0
  71. data/spec/models/{file_file_file_system_exporter_spec.rb → file_file_filesystem_exporter_spec.rb} +6 -6
  72. data/spec/models/file_file_publication_read_spec.rb +71 -0
  73. data/spec/models/file_file_remote_read_spec.rb +123 -0
  74. data/spec/models/file_file_remote_spec.rb +12 -0
  75. data/spec/models/file_file_repository_read_spec.rb +71 -0
  76. data/spec/models/repository_version_read_spec.rb +65 -0
  77. metadata +38 -14
@@ -0,0 +1,23 @@
1
+ # PulpFileClient::FileFileFilesystemExporterRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **name** | **String** | Unique name of the file system exporter. |
10
+ **path** | **String** | File system location to export to. |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpFileClient'
16
+
17
+ instance = PulpFileClient::FileFileFilesystemExporterRead.new(pulp_href: null,
18
+ pulp_created: null,
19
+ name: null,
20
+ path: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,27 @@
1
+ # PulpFileClient::FileFilePublicationRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **repository_version** | **String** | | [optional]
10
+ **repository** | **String** | A URI of the repository to be published. | [optional]
11
+ **distributions** | **Array<String>** | This publication is currently hosted as defined by these distributions. | [optional] [readonly]
12
+ **manifest** | **String** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'PulpFileClient'
18
+
19
+ instance = PulpFileClient::FileFilePublicationRead.new(pulp_href: null,
20
+ pulp_created: null,
21
+ repository_version: null,
22
+ repository: null,
23
+ distributions: null,
24
+ manifest: null)
25
+ ```
26
+
27
+
@@ -8,11 +8,13 @@ Name | Type | Description | Notes
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **name** | **String** | A unique name for this remote. |
10
10
  **url** | **String** | The URL of an external content source. |
11
- **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET. | [optional]
12
- **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET. | [optional]
13
- **client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 checksum of the certificate file on GET. | [optional]
11
+ **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. | [optional]
12
+ **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. | [optional]
13
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
14
14
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
15
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
16
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
+ **password** | **String** | The password to be used for authentication when syncing. | [optional]
16
18
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
17
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
18
20
  **policy** | **String** | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional] [default to 'immediate']
@@ -31,6 +33,8 @@ instance = PulpFileClient::FileFileRemote.new(pulp_href: null,
31
33
  client_key: null,
32
34
  tls_validation: null,
33
35
  proxy_url: null,
36
+ username: null,
37
+ password: null,
34
38
  pulp_last_updated: null,
35
39
  download_concurrency: null,
36
40
  policy: null)
@@ -0,0 +1,43 @@
1
+ # PulpFileClient::FileFileRemoteRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **name** | **String** | A unique name for this remote. |
10
+ **url** | **String** | The URL of an external content source. |
11
+ **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. | [optional]
12
+ **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. | [optional]
13
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
14
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
+ **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
16
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
+ **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
20
+ **policy** | **String** | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional] [default to 'immediate']
21
+
22
+ ## Code Sample
23
+
24
+ ```ruby
25
+ require 'PulpFileClient'
26
+
27
+ instance = PulpFileClient::FileFileRemoteRead.new(pulp_href: null,
28
+ pulp_created: null,
29
+ name: null,
30
+ url: null,
31
+ ca_cert: null,
32
+ client_cert: null,
33
+ client_key: null,
34
+ tls_validation: null,
35
+ proxy_url: null,
36
+ username: null,
37
+ password: null,
38
+ pulp_last_updated: null,
39
+ download_concurrency: null,
40
+ policy: null)
41
+ ```
42
+
43
+
@@ -0,0 +1,27 @@
1
+ # PulpFileClient::FileFileRepositoryRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **versions_href** | **String** | | [optional] [readonly]
10
+ **latest_version_href** | **String** | | [optional] [readonly]
11
+ **name** | **String** | A unique name for this repository. |
12
+ **description** | **String** | An optional description. | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'PulpFileClient'
18
+
19
+ instance = PulpFileClient::FileFileRepositoryRead.new(pulp_href: null,
20
+ pulp_created: null,
21
+ versions_href: null,
22
+ latest_version_href: null,
23
+ name: null,
24
+ description: null)
25
+ ```
26
+
27
+
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<FileFileContent>**](FileFileContent.md) | |
10
+ **results** | [**Array<FileFileContentRead>**](FileFileContentRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<FileFileDistribution>**](FileFileDistribution.md) | |
10
+ **results** | [**Array<FileFileDistributionRead>**](FileFileDistributionRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<FileFileFileSystemExporter>**](FileFileFileSystemExporter.md) | |
10
+ **results** | [**Array<FileFileFilesystemExporterRead>**](FileFileFilesystemExporterRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<Export>**](Export.md) | |
10
+ **results** | [**Array<ExportRead>**](ExportRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<FileFilePublication>**](FileFilePublication.md) | |
10
+ **results** | [**Array<FileFilePublicationRead>**](FileFilePublicationRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<FileFileRemote>**](FileFileRemote.md) | |
10
+ **results** | [**Array<FileFileRemoteRead>**](FileFileRemoteRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<FileFileRepository>**](FileFileRepository.md) | |
10
+ **results** | [**Array<FileFileRepositoryRead>**](FileFileRepositoryRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<RepositoryVersion>**](RepositoryVersion.md) | |
10
+ **results** | [**Array<RepositoryVersionRead>**](RepositoryVersionRead.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -1,6 +1,6 @@
1
1
  # PulpFileClient::PublicationsFileApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -195,7 +195,7 @@ Name | Type | Description | Notes
195
195
 
196
196
  ## read
197
197
 
198
- > FileFilePublication read(file_publication_href, opts)
198
+ > FileFilePublicationRead read(file_publication_href, opts)
199
199
 
200
200
  Inspect a file publication
201
201
 
@@ -240,7 +240,7 @@ Name | Type | Description | Notes
240
240
 
241
241
  ### Return type
242
242
 
243
- [**FileFilePublication**](FileFilePublication.md)
243
+ [**FileFilePublicationRead**](FileFilePublicationRead.md)
244
244
 
245
245
  ### Authorization
246
246
 
@@ -1,6 +1,6 @@
1
1
  # PulpFileClient::RemotesFileApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -15,7 +15,7 @@ Method | HTTP request | Description
15
15
 
16
16
  ## create
17
17
 
18
- > FileFileRemote create(data)
18
+ > FileFileRemoteRead create(data)
19
19
 
20
20
  Create a file remote
21
21
 
@@ -54,7 +54,7 @@ Name | Type | Description | Notes
54
54
 
55
55
  ### Return type
56
56
 
57
- [**FileFileRemote**](FileFileRemote.md)
57
+ [**FileFileRemoteRead**](FileFileRemoteRead.md)
58
58
 
59
59
  ### Authorization
60
60
 
@@ -255,7 +255,7 @@ Name | Type | Description | Notes
255
255
 
256
256
  ## read
257
257
 
258
- > FileFileRemote read(file_remote_href, opts)
258
+ > FileFileRemoteRead read(file_remote_href, opts)
259
259
 
260
260
  Inspect a file remote
261
261
 
@@ -300,7 +300,7 @@ Name | Type | Description | Notes
300
300
 
301
301
  ### Return type
302
302
 
303
- [**FileFileRemote**](FileFileRemote.md)
303
+ [**FileFileRemoteRead**](FileFileRemoteRead.md)
304
304
 
305
305
  ### Authorization
306
306
 
@@ -1,6 +1,6 @@
1
1
  # PulpFileClient::RepositoriesFileApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -17,7 +17,7 @@ Method | HTTP request | Description
17
17
 
18
18
  ## create
19
19
 
20
- > FileFileRepository create(data)
20
+ > FileFileRepositoryRead create(data)
21
21
 
22
22
  Create a file repository
23
23
 
@@ -56,7 +56,7 @@ Name | Type | Description | Notes
56
56
 
57
57
  ### Return type
58
58
 
59
- [**FileFileRepository**](FileFileRepository.md)
59
+ [**FileFileRepositoryRead**](FileFileRepositoryRead.md)
60
60
 
61
61
  ### Authorization
62
62
 
@@ -74,7 +74,7 @@ Name | Type | Description | Notes
74
74
 
75
75
  Delete a file repository
76
76
 
77
- Trigger an asynchronous task to delete a repository.
77
+ Trigger an asynchronous delete task
78
78
 
79
79
  ### Example
80
80
 
@@ -245,11 +245,11 @@ Name | Type | Description | Notes
245
245
 
246
246
  ## partial_update
247
247
 
248
- > FileFileRepository partial_update(file_repository_href, data)
248
+ > AsyncOperationResponse partial_update(file_repository_href, data)
249
249
 
250
250
  Partially update a file repository
251
251
 
252
- FileRepository represents a single file repository, to which content can be synced, added, or removed.
252
+ Trigger an asynchronous partial update task
253
253
 
254
254
  ### Example
255
255
 
@@ -286,7 +286,7 @@ Name | Type | Description | Notes
286
286
 
287
287
  ### Return type
288
288
 
289
- [**FileFileRepository**](FileFileRepository.md)
289
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
290
290
 
291
291
  ### Authorization
292
292
 
@@ -300,7 +300,7 @@ Name | Type | Description | Notes
300
300
 
301
301
  ## read
302
302
 
303
- > FileFileRepository read(file_repository_href, opts)
303
+ > FileFileRepositoryRead read(file_repository_href, opts)
304
304
 
305
305
  Inspect a file repository
306
306
 
@@ -345,7 +345,7 @@ Name | Type | Description | Notes
345
345
 
346
346
  ### Return type
347
347
 
348
- [**FileFileRepository**](FileFileRepository.md)
348
+ [**FileFileRepositoryRead**](FileFileRepositoryRead.md)
349
349
 
350
350
  ### Authorization
351
351
 
@@ -417,7 +417,7 @@ Name | Type | Description | Notes
417
417
 
418
418
  Update a file repository
419
419
 
420
- Trigger an asynchronous task to update a repository.
420
+ Trigger an asynchronous update task
421
421
 
422
422
  ### Example
423
423
 
@@ -1,6 +1,6 @@
1
1
  # PulpFileClient::RepositoriesFileVersionsApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -157,7 +157,7 @@ Name | Type | Description | Notes
157
157
 
158
158
  ## read
159
159
 
160
- > RepositoryVersion read(file_repository_version_href, opts)
160
+ > RepositoryVersionRead read(file_repository_version_href, opts)
161
161
 
162
162
  Inspect a repository version
163
163
 
@@ -202,7 +202,7 @@ Name | Type | Description | Notes
202
202
 
203
203
  ### Return type
204
204
 
205
- [**RepositoryVersion**](RepositoryVersion.md)
205
+ [**RepositoryVersionRead**](RepositoryVersionRead.md)
206
206
 
207
207
  ### Authorization
208
208
 
@@ -0,0 +1,25 @@
1
+ # PulpFileClient::RepositoryVersionRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **number** | **Integer** | | [optional] [readonly]
10
+ **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
+ **content_summary** | [**ContentSummary**](ContentSummary.md) | | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpFileClient'
17
+
18
+ instance = PulpFileClient::RepositoryVersionRead.new(pulp_href: null,
19
+ pulp_created: null,
20
+ number: null,
21
+ base_version: null,
22
+ content_summary: null)
23
+ ```
24
+
25
+
@@ -24,7 +24,7 @@ module PulpFileClient
24
24
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [String] :artifact Artifact file representing the physical content
27
- # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
27
+ # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
28
28
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
29
29
  # @return [AsyncOperationResponse]
30
30
  def create(relative_path, opts = {})
@@ -37,7 +37,7 @@ module PulpFileClient
37
37
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :artifact Artifact file representing the physical content
40
- # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
40
+ # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
41
41
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
42
42
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
43
43
  def create_with_http_info(relative_path, opts = {})
@@ -189,7 +189,7 @@ module PulpFileClient
189
189
  # @param [Hash] opts the optional parameters
190
190
  # @option opts [String] :fields A list of fields to include in the response.
191
191
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
192
- # @return [FileFileContent]
192
+ # @return [FileFileContentRead]
193
193
  def read(file_content_href, opts = {})
194
194
  data, _status_code, _headers = read_with_http_info(file_content_href, opts)
195
195
  data
@@ -201,7 +201,7 @@ module PulpFileClient
201
201
  # @param [Hash] opts the optional parameters
202
202
  # @option opts [String] :fields A list of fields to include in the response.
203
203
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
204
- # @return [Array<(FileFileContent, Integer, Hash)>] FileFileContent data, response status code and response headers
204
+ # @return [Array<(FileFileContentRead, Integer, Hash)>] FileFileContentRead data, response status code and response headers
205
205
  def read_with_http_info(file_content_href, opts = {})
206
206
  if @api_client.config.debugging
207
207
  @api_client.config.logger.debug 'Calling API: ContentFilesApi.read ...'
@@ -230,7 +230,7 @@ module PulpFileClient
230
230
  post_body = opts[:body]
231
231
 
232
232
  # return_type
233
- return_type = opts[:return_type] || 'FileFileContent'
233
+ return_type = opts[:return_type] || 'FileFileContentRead'
234
234
 
235
235
  # auth_names
236
236
  auth_names = opts[:auth_names] || ['Basic']
@@ -310,7 +310,7 @@ module PulpFileClient
310
310
  # @param [Hash] opts the optional parameters
311
311
  # @option opts [String] :fields A list of fields to include in the response.
312
312
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
313
- # @return [FileFileDistribution]
313
+ # @return [FileFileDistributionRead]
314
314
  def read(file_distribution_href, opts = {})
315
315
  data, _status_code, _headers = read_with_http_info(file_distribution_href, opts)
316
316
  data
@@ -322,7 +322,7 @@ module PulpFileClient
322
322
  # @param [Hash] opts the optional parameters
323
323
  # @option opts [String] :fields A list of fields to include in the response.
324
324
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
325
- # @return [Array<(FileFileDistribution, Integer, Hash)>] FileFileDistribution data, response status code and response headers
325
+ # @return [Array<(FileFileDistributionRead, Integer, Hash)>] FileFileDistributionRead data, response status code and response headers
326
326
  def read_with_http_info(file_distribution_href, opts = {})
327
327
  if @api_client.config.debugging
328
328
  @api_client.config.logger.debug 'Calling API: DistributionsFileApi.read ...'
@@ -351,7 +351,7 @@ module PulpFileClient
351
351
  post_body = opts[:body]
352
352
 
353
353
  # return_type
354
- return_type = opts[:return_type] || 'FileFileDistribution'
354
+ return_type = opts[:return_type] || 'FileFileDistributionRead'
355
355
 
356
356
  # auth_names
357
357
  auth_names = opts[:auth_names] || ['Basic']