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.
- checksums.yaml +4 -4
- data/README.md +23 -17
- data/docs/ContentFilesApi.md +5 -5
- data/docs/DistributionsFileApi.md +3 -3
- data/docs/{Export.md → ExportRead.md} +4 -4
- data/docs/ExportersFileExportsApi.md +16 -16
- data/docs/ExportersFilesystemApi.md +52 -52
- data/docs/{FileFileContent.md → FileFileContentRead.md} +2 -2
- data/docs/FileFileDistributionRead.md +29 -0
- data/docs/{FileFileFileSystemExporter.md → FileFileFilesystemExporter.md} +2 -2
- data/docs/FileFileFilesystemExporterRead.md +23 -0
- data/docs/FileFilePublicationRead.md +27 -0
- data/docs/FileFileRemote.md +7 -3
- data/docs/FileFileRemoteRead.md +43 -0
- data/docs/FileFileRepositoryRead.md +27 -0
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/PublicationsFileApi.md +3 -3
- data/docs/RemotesFileApi.md +5 -5
- data/docs/RepositoriesFileApi.md +10 -10
- data/docs/RepositoriesFileVersionsApi.md +3 -3
- data/docs/RepositoryVersionRead.md +25 -0
- data/lib/pulp_file_client/api/content_files_api.rb +5 -5
- data/lib/pulp_file_client/api/distributions_file_api.rb +3 -3
- data/lib/pulp_file_client/api/exporters_file_exports_api.rb +27 -27
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +78 -78
- data/lib/pulp_file_client/api/publications_file_api.rb +3 -3
- data/lib/pulp_file_client/api/remotes_file_api.rb +6 -6
- data/lib/pulp_file_client/api/repositories_file_api.rb +15 -15
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +3 -3
- data/lib/pulp_file_client/configuration.rb +2 -2
- data/lib/pulp_file_client/models/{export.rb → export_read.rb} +4 -13
- data/lib/pulp_file_client/models/{file_file_content.rb → file_file_content_read.rb} +3 -3
- data/lib/pulp_file_client/models/file_file_distribution_read.rb +331 -0
- data/lib/pulp_file_client/models/{file_file_file_system_exporter.rb → file_file_filesystem_exporter.rb} +3 -3
- data/lib/pulp_file_client/models/file_file_filesystem_exporter_read.rb +284 -0
- data/lib/pulp_file_client/models/file_file_publication_read.rb +274 -0
- data/lib/pulp_file_client/models/file_file_remote.rb +56 -4
- data/lib/pulp_file_client/models/file_file_remote_read.rb +531 -0
- data/lib/pulp_file_client/models/file_file_repository_read.rb +294 -0
- data/lib/pulp_file_client/models/inline_response200.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_file_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_file_client/models/repository_version_read.rb +244 -0
- data/lib/pulp_file_client/version.rb +1 -1
- data/lib/pulp_file_client.rb +9 -3
- data/spec/api/content_files_api_spec.rb +2 -2
- data/spec/api/distributions_file_api_spec.rb +1 -1
- data/spec/api/exporters_file_exports_api_spec.rb +6 -6
- data/spec/api/exporters_filesystem_api_spec.rb +20 -20
- data/spec/api/publications_file_api_spec.rb +1 -1
- data/spec/api/remotes_file_api_spec.rb +2 -2
- data/spec/api/repositories_file_api_spec.rb +6 -6
- data/spec/api/repositories_file_versions_api_spec.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/{export_spec.rb → export_read_spec.rb} +6 -6
- data/spec/models/{file_file_content_spec.rb → file_file_content_read_spec.rb} +6 -6
- data/spec/models/file_file_distribution_read_spec.rb +77 -0
- data/spec/models/file_file_filesystem_exporter_read_spec.rb +59 -0
- data/spec/models/{file_file_file_system_exporter_spec.rb → file_file_filesystem_exporter_spec.rb} +6 -6
- data/spec/models/file_file_publication_read_spec.rb +71 -0
- data/spec/models/file_file_remote_read_spec.rb +123 -0
- data/spec/models/file_file_remote_spec.rb +12 -0
- data/spec/models/file_file_repository_read_spec.rb +71 -0
- data/spec/models/repository_version_read_spec.rb +65 -0
- 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
|
+
|
data/docs/FileFileRemote.md
CHANGED
@@ -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.
|
12
|
-
**client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped.
|
13
|
-
**client_key** | **String** | A PEM encoded private key used for authentication.
|
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
|
+
|
data/docs/InlineResponse200.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<FileFileContentRead>**](FileFileContentRead.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2001.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<FileFileDistributionRead>**](FileFileDistributionRead.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2002.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<FileFileFilesystemExporterRead>**](FileFileFilesystemExporterRead.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2003.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<ExportRead>**](ExportRead.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2004.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<FileFilePublicationRead>**](FileFilePublicationRead.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2005.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<FileFileRemoteRead>**](FileFileRemoteRead.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2006.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<FileFileRepositoryRead>**](FileFileRepositoryRead.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2007.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<RepositoryVersionRead>**](RepositoryVersionRead.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/PublicationsFileApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpFileClient::PublicationsFileApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
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
|
-
>
|
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
|
-
[**
|
243
|
+
[**FileFilePublicationRead**](FileFilePublicationRead.md)
|
244
244
|
|
245
245
|
### Authorization
|
246
246
|
|
data/docs/RemotesFileApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpFileClient::RemotesFileApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
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
|
-
>
|
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
|
-
[**
|
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
|
-
>
|
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
|
-
[**
|
303
|
+
[**FileFileRemoteRead**](FileFileRemoteRead.md)
|
304
304
|
|
305
305
|
### Authorization
|
306
306
|
|
data/docs/RepositoriesFileApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpFileClient::RepositoriesFileApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
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
|
-
>
|
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
|
-
[**
|
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
|
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
|
-
>
|
248
|
+
> AsyncOperationResponse partial_update(file_repository_href, data)
|
249
249
|
|
250
250
|
Partially update a file repository
|
251
251
|
|
252
|
-
|
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
|
-
[**
|
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
|
-
>
|
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
|
-
[**
|
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
|
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://
|
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
|
-
>
|
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
|
-
[**
|
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
|
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
|
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 [
|
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<(
|
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] || '
|
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 [
|
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<(
|
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] || '
|
354
|
+
return_type = opts[:return_type] || 'FileFileDistributionRead'
|
355
355
|
|
356
356
|
# auth_names
|
357
357
|
auth_names = opts[:auth_names] || ['Basic']
|