pulp_file_client 0.3.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16ca09f59608b4ef08ad2bb8accc7cb14b37e3160b390807b4cecd83855099a8
4
- data.tar.gz: 24881275197dc8144c2cecdd81a29b682b5291c6b7888e54f329b542ed151696
3
+ metadata.gz: 6b9f1ee343fa0224b23eed5cb044389d67bc94017de5f0c878e5413ada5ff263
4
+ data.tar.gz: ebe27a76fd741dd31f0a572d67df53b6ae0e81e81accdc101f7b1762f23e335f
5
5
  SHA512:
6
- metadata.gz: 6618243ca35881d1f9882098a7d2429299b2008bfc34b1857744b61bc949bb29a9e3d52137b6827a0c1b02ecf981178ef0edd738c5dd64e7a34a8c83ddb574df
7
- data.tar.gz: 60484e0ddc45ec988412cf1fdd62a7c86b7792b66fab7f4ca47b80fce6a84d133629403a2bec86c8b596d5bdc25f1d80bb4358406740f226aceb5696700291b9
6
+ metadata.gz: 96796ace213402ef8e76959044260d37125a520c1de1ad1dc73961d01420e1266a553591d23d74fcfd602ef8a2bb9267b56a807b6ac0d5f75aac5e7cb4698ac2
7
+ data.tar.gz: 9126dd8afb5ad4ded51ffee4ea05ee1a693602fe510c9a002050095d8b0f124d086996f634409798ff1d7332d6b0aaaac99dbc4380704368476bbd8f96e084c2
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.3.0
10
+ - Package version: 1.0.0
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.3.0.gem
26
+ gem install ./pulp_file_client-1.0.0.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_file_client-0.3.0.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_file_client-1.0.0.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.3.0'
35
+ gem 'pulp_file_client', '~> 1.0.0'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -67,7 +67,7 @@ api_instance = PulpFileClient::ContentFilesApi.new
67
67
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
68
68
  opts = {
69
69
  artifact: 'artifact_example', # String | Artifact file representing the physical content
70
- file: File.new('/path/to/file'), # File | An uploaded file that should be turned into the artifact of the content unit.
70
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
71
71
  repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
72
72
  }
73
73
 
@@ -83,7 +83,7 @@ end
83
83
 
84
84
  ## Documentation for API Endpoints
85
85
 
86
- All URIs are relative to *http://localhost:24817*
86
+ All URIs are relative to *http://pulp*
87
87
 
88
88
  Class | Method | HTTP request | Description
89
89
  ------------ | ------------- | ------------- | -------------
@@ -96,16 +96,16 @@ 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::ExportersFileExportsApi* | [**create**](docs/ExportersFileExportsApi.md#create) | **POST** /pulp/api/v3/exporters/file/filesystem/{exporter_pk}/exports/ | Create an export
99
+ *PulpFileClient::ExportersFileExportsApi* | [**create**](docs/ExportersFileExportsApi.md#create) | **POST** {file_filesystem_exporter_href}exports/ | Create an export
100
100
  *PulpFileClient::ExportersFileExportsApi* | [**delete**](docs/ExportersFileExportsApi.md#delete) | **DELETE** {export_href} | Delete an export
101
- *PulpFileClient::ExportersFileExportsApi* | [**list**](docs/ExportersFileExportsApi.md#list) | **GET** /pulp/api/v3/exporters/file/filesystem/{exporter_pk}/exports/ | List exports
101
+ *PulpFileClient::ExportersFileExportsApi* | [**list**](docs/ExportersFileExportsApi.md#list) | **GET** {file_filesystem_exporter_href}exports/ | List exports
102
102
  *PulpFileClient::ExportersFileExportsApi* | [**read**](docs/ExportersFileExportsApi.md#read) | **GET** {export_href} | Inspect an export
103
- *PulpFileClient::ExportersFilesystemApi* | [**create**](docs/ExportersFilesystemApi.md#create) | **POST** /pulp/api/v3/exporters/file/filesystem/ | Create a file file system exporter
104
- *PulpFileClient::ExportersFilesystemApi* | [**delete**](docs/ExportersFilesystemApi.md#delete) | **DELETE** {file_file_system_exporter_href} | Delete a file file system exporter
105
- *PulpFileClient::ExportersFilesystemApi* | [**list**](docs/ExportersFilesystemApi.md#list) | **GET** /pulp/api/v3/exporters/file/filesystem/ | List file file system exporters
106
- *PulpFileClient::ExportersFilesystemApi* | [**partial_update**](docs/ExportersFilesystemApi.md#partial_update) | **PATCH** {file_file_system_exporter_href} | Partially update a file file system exporter
107
- *PulpFileClient::ExportersFilesystemApi* | [**read**](docs/ExportersFilesystemApi.md#read) | **GET** {file_file_system_exporter_href} | Inspect a file file system exporter
108
- *PulpFileClient::ExportersFilesystemApi* | [**update**](docs/ExportersFilesystemApi.md#update) | **PUT** {file_file_system_exporter_href} | Update a file file system exporter
103
+ *PulpFileClient::ExportersFilesystemApi* | [**create**](docs/ExportersFilesystemApi.md#create) | **POST** /pulp/api/v3/exporters/file/filesystem/ | Create a file filesystem exporter
104
+ *PulpFileClient::ExportersFilesystemApi* | [**delete**](docs/ExportersFilesystemApi.md#delete) | **DELETE** {file_filesystem_exporter_href} | Delete a file filesystem exporter
105
+ *PulpFileClient::ExportersFilesystemApi* | [**list**](docs/ExportersFilesystemApi.md#list) | **GET** /pulp/api/v3/exporters/file/filesystem/ | List file filesystem exporters
106
+ *PulpFileClient::ExportersFilesystemApi* | [**partial_update**](docs/ExportersFilesystemApi.md#partial_update) | **PATCH** {file_filesystem_exporter_href} | Partially update a file filesystem exporter
107
+ *PulpFileClient::ExportersFilesystemApi* | [**read**](docs/ExportersFilesystemApi.md#read) | **GET** {file_filesystem_exporter_href} | Inspect a file filesystem exporter
108
+ *PulpFileClient::ExportersFilesystemApi* | [**update**](docs/ExportersFilesystemApi.md#update) | **PUT** {file_filesystem_exporter_href} | Update a file filesystem exporter
109
109
  *PulpFileClient::PublicationsFileApi* | [**create**](docs/PublicationsFileApi.md#create) | **POST** /pulp/api/v3/publications/file/file/ | Create a file publication
110
110
  *PulpFileClient::PublicationsFileApi* | [**delete**](docs/PublicationsFileApi.md#delete) | **DELETE** {file_publication_href} | Delete a file publication
111
111
  *PulpFileClient::PublicationsFileApi* | [**list**](docs/PublicationsFileApi.md#list) | **GET** /pulp/api/v3/publications/file/file/ | List file publications
@@ -134,13 +134,18 @@ Class | Method | HTTP request | Description
134
134
 
135
135
  - [PulpFileClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
136
136
  - [PulpFileClient::ContentSummary](docs/ContentSummary.md)
137
- - [PulpFileClient::Export](docs/Export.md)
138
- - [PulpFileClient::FileFileContent](docs/FileFileContent.md)
137
+ - [PulpFileClient::ExportRead](docs/ExportRead.md)
138
+ - [PulpFileClient::FileFileContentRead](docs/FileFileContentRead.md)
139
139
  - [PulpFileClient::FileFileDistribution](docs/FileFileDistribution.md)
140
- - [PulpFileClient::FileFileFileSystemExporter](docs/FileFileFileSystemExporter.md)
140
+ - [PulpFileClient::FileFileDistributionRead](docs/FileFileDistributionRead.md)
141
+ - [PulpFileClient::FileFileFilesystemExporter](docs/FileFileFilesystemExporter.md)
142
+ - [PulpFileClient::FileFileFilesystemExporterRead](docs/FileFileFilesystemExporterRead.md)
141
143
  - [PulpFileClient::FileFilePublication](docs/FileFilePublication.md)
144
+ - [PulpFileClient::FileFilePublicationRead](docs/FileFilePublicationRead.md)
142
145
  - [PulpFileClient::FileFileRemote](docs/FileFileRemote.md)
146
+ - [PulpFileClient::FileFileRemoteRead](docs/FileFileRemoteRead.md)
143
147
  - [PulpFileClient::FileFileRepository](docs/FileFileRepository.md)
148
+ - [PulpFileClient::FileFileRepositoryRead](docs/FileFileRepositoryRead.md)
144
149
  - [PulpFileClient::InlineResponse200](docs/InlineResponse200.md)
145
150
  - [PulpFileClient::InlineResponse2001](docs/InlineResponse2001.md)
146
151
  - [PulpFileClient::InlineResponse2002](docs/InlineResponse2002.md)
@@ -153,6 +158,7 @@ Class | Method | HTTP request | Description
153
158
  - [PulpFileClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
154
159
  - [PulpFileClient::RepositorySyncURL](docs/RepositorySyncURL.md)
155
160
  - [PulpFileClient::RepositoryVersion](docs/RepositoryVersion.md)
161
+ - [PulpFileClient::RepositoryVersionRead](docs/RepositoryVersionRead.md)
156
162
 
157
163
 
158
164
  ## Documentation for Authorization
@@ -1,6 +1,6 @@
1
1
  # PulpFileClient::ContentFilesApi
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
  ------------- | ------------- | -------------
@@ -34,7 +34,7 @@ api_instance = PulpFileClient::ContentFilesApi.new
34
34
  relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
35
35
  opts = {
36
36
  artifact: 'artifact_example', # String | Artifact file representing the physical content
37
- file: File.new('/path/to/file'), # File | An uploaded file that should be turned into the artifact of the content unit.
37
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
38
38
  repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
39
39
  }
40
40
 
@@ -54,7 +54,7 @@ Name | Type | Description | Notes
54
54
  ------------- | ------------- | ------------- | -------------
55
55
  **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
56
56
  **artifact** | **String**| Artifact file representing the physical content | [optional]
57
- **file** | **File**| An uploaded file that should be turned into the artifact of the content unit. | [optional]
57
+ **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
58
58
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
59
59
 
60
60
  ### Return type
@@ -146,7 +146,7 @@ Name | Type | Description | Notes
146
146
 
147
147
  ## read
148
148
 
149
- > FileFileContent read(file_content_href, opts)
149
+ > FileFileContentRead read(file_content_href, opts)
150
150
 
151
151
  Inspect a file content
152
152
 
@@ -191,7 +191,7 @@ Name | Type | Description | Notes
191
191
 
192
192
  ### Return type
193
193
 
194
- [**FileFileContent**](FileFileContent.md)
194
+ [**FileFileContentRead**](FileFileContentRead.md)
195
195
 
196
196
  ### Authorization
197
197
 
@@ -1,6 +1,6 @@
1
1
  # PulpFileClient::DistributionsFileApi
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
  ------------- | ------------- | -------------
@@ -251,7 +251,7 @@ Name | Type | Description | Notes
251
251
 
252
252
  ## read
253
253
 
254
- > FileFileDistribution read(file_distribution_href, opts)
254
+ > FileFileDistributionRead read(file_distribution_href, opts)
255
255
 
256
256
  Inspect a file distribution
257
257
 
@@ -296,7 +296,7 @@ Name | Type | Description | Notes
296
296
 
297
297
  ### Return type
298
298
 
299
- [**FileFileDistribution**](FileFileDistribution.md)
299
+ [**FileFileDistributionRead**](FileFileDistributionRead.md)
300
300
 
301
301
  ### Authorization
302
302
 
@@ -1,4 +1,4 @@
1
- # PulpFileClient::Export
1
+ # PulpFileClient::ExportRead
2
2
 
3
3
  ## Properties
4
4
 
@@ -6,16 +6,16 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **task** | **String** | A URI of the task that ran the Export. |
9
+ **task** | **String** | A URI of the task that ran the Export. | [optional]
10
10
  **exported_resources** | **Array<Object>** | Resources that were exported. | [optional] [readonly]
11
- **params** | [**Object**](.md) | Any additional parameters that were used to create the export. |
11
+ **params** | [**Object**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpFileClient'
17
17
 
18
- instance = PulpFileClient::Export.new(pulp_href: null,
18
+ instance = PulpFileClient::ExportRead.new(pulp_href: null,
19
19
  pulp_created: null,
20
20
  task: null,
21
21
  exported_resources: null,
@@ -1,19 +1,19 @@
1
1
  # PulpFileClient::ExportersFileExportsApi
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
  ------------- | ------------- | -------------
7
- [**create**](ExportersFileExportsApi.md#create) | **POST** /pulp/api/v3/exporters/file/filesystem/{exporter_pk}/exports/ | Create an export
7
+ [**create**](ExportersFileExportsApi.md#create) | **POST** {file_filesystem_exporter_href}exports/ | Create an export
8
8
  [**delete**](ExportersFileExportsApi.md#delete) | **DELETE** {export_href} | Delete an export
9
- [**list**](ExportersFileExportsApi.md#list) | **GET** /pulp/api/v3/exporters/file/filesystem/{exporter_pk}/exports/ | List exports
9
+ [**list**](ExportersFileExportsApi.md#list) | **GET** {file_filesystem_exporter_href}exports/ | List exports
10
10
  [**read**](ExportersFileExportsApi.md#read) | **GET** {export_href} | Inspect an export
11
11
 
12
12
 
13
13
 
14
14
  ## create
15
15
 
16
- > AsyncOperationResponse create(exporter_pk, data)
16
+ > AsyncOperationResponse create(file_filesystem_exporter_href, data)
17
17
 
18
18
  Create an export
19
19
 
@@ -32,12 +32,12 @@ PulpFileClient.configure do |config|
32
32
  end
33
33
 
34
34
  api_instance = PulpFileClient::ExportersFileExportsApi.new
35
- exporter_pk = 'exporter_pk_example' # String |
35
+ file_filesystem_exporter_href = 'file_filesystem_exporter_href_example' # String | URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
36
36
  data = PulpFileClient::PublicationExport.new # PublicationExport |
37
37
 
38
38
  begin
39
39
  #Create an export
40
- result = api_instance.create(exporter_pk, data)
40
+ result = api_instance.create(file_filesystem_exporter_href, data)
41
41
  p result
42
42
  rescue PulpFileClient::ApiError => e
43
43
  puts "Exception when calling ExportersFileExportsApi->create: #{e}"
@@ -49,7 +49,7 @@ end
49
49
 
50
50
  Name | Type | Description | Notes
51
51
  ------------- | ------------- | ------------- | -------------
52
- **exporter_pk** | **String**| |
52
+ **file_filesystem_exporter_href** | **String**| URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/ |
53
53
  **data** | [**PublicationExport**](PublicationExport.md)| |
54
54
 
55
55
  ### Return type
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
72
72
 
73
73
  Delete an export
74
74
 
75
- FileSystemExports provide a history of previous exports.
75
+ FilesystemExports provide a history of previous exports.
76
76
 
77
77
  ### Example
78
78
 
@@ -120,11 +120,11 @@ nil (empty response body)
120
120
 
121
121
  ## list
122
122
 
123
- > InlineResponse2003 list(exporter_pk, opts)
123
+ > InlineResponse2003 list(file_filesystem_exporter_href, opts)
124
124
 
125
125
  List exports
126
126
 
127
- FileSystemExports provide a history of previous exports.
127
+ FilesystemExports provide a history of previous exports.
128
128
 
129
129
  ### Example
130
130
 
@@ -139,7 +139,7 @@ PulpFileClient.configure do |config|
139
139
  end
140
140
 
141
141
  api_instance = PulpFileClient::ExportersFileExportsApi.new
142
- exporter_pk = 'exporter_pk_example' # String |
142
+ file_filesystem_exporter_href = 'file_filesystem_exporter_href_example' # String | URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
143
143
  opts = {
144
144
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
145
145
  limit: 56, # Integer | Number of results to return per page.
@@ -150,7 +150,7 @@ opts = {
150
150
 
151
151
  begin
152
152
  #List exports
153
- result = api_instance.list(exporter_pk, opts)
153
+ result = api_instance.list(file_filesystem_exporter_href, opts)
154
154
  p result
155
155
  rescue PulpFileClient::ApiError => e
156
156
  puts "Exception when calling ExportersFileExportsApi->list: #{e}"
@@ -162,7 +162,7 @@ end
162
162
 
163
163
  Name | Type | Description | Notes
164
164
  ------------- | ------------- | ------------- | -------------
165
- **exporter_pk** | **String**| |
165
+ **file_filesystem_exporter_href** | **String**| URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/ |
166
166
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
167
167
  **limit** | **Integer**| Number of results to return per page. | [optional]
168
168
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
@@ -185,11 +185,11 @@ Name | Type | Description | Notes
185
185
 
186
186
  ## read
187
187
 
188
- > Export read(export_href, opts)
188
+ > ExportRead read(export_href, opts)
189
189
 
190
190
  Inspect an export
191
191
 
192
- FileSystemExports provide a history of previous exports.
192
+ FilesystemExports provide a history of previous exports.
193
193
 
194
194
  ### Example
195
195
 
@@ -230,7 +230,7 @@ Name | Type | Description | Notes
230
230
 
231
231
  ### Return type
232
232
 
233
- [**Export**](Export.md)
233
+ [**ExportRead**](ExportRead.md)
234
234
 
235
235
  ### Authorization
236
236
 
@@ -1,25 +1,25 @@
1
1
  # PulpFileClient::ExportersFilesystemApi
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
  ------------- | ------------- | -------------
7
- [**create**](ExportersFilesystemApi.md#create) | **POST** /pulp/api/v3/exporters/file/filesystem/ | Create a file file system exporter
8
- [**delete**](ExportersFilesystemApi.md#delete) | **DELETE** {file_file_system_exporter_href} | Delete a file file system exporter
9
- [**list**](ExportersFilesystemApi.md#list) | **GET** /pulp/api/v3/exporters/file/filesystem/ | List file file system exporters
10
- [**partial_update**](ExportersFilesystemApi.md#partial_update) | **PATCH** {file_file_system_exporter_href} | Partially update a file file system exporter
11
- [**read**](ExportersFilesystemApi.md#read) | **GET** {file_file_system_exporter_href} | Inspect a file file system exporter
12
- [**update**](ExportersFilesystemApi.md#update) | **PUT** {file_file_system_exporter_href} | Update a file file system exporter
7
+ [**create**](ExportersFilesystemApi.md#create) | **POST** /pulp/api/v3/exporters/file/filesystem/ | Create a file filesystem exporter
8
+ [**delete**](ExportersFilesystemApi.md#delete) | **DELETE** {file_filesystem_exporter_href} | Delete a file filesystem exporter
9
+ [**list**](ExportersFilesystemApi.md#list) | **GET** /pulp/api/v3/exporters/file/filesystem/ | List file filesystem exporters
10
+ [**partial_update**](ExportersFilesystemApi.md#partial_update) | **PATCH** {file_filesystem_exporter_href} | Partially update a file filesystem exporter
11
+ [**read**](ExportersFilesystemApi.md#read) | **GET** {file_filesystem_exporter_href} | Inspect a file filesystem exporter
12
+ [**update**](ExportersFilesystemApi.md#update) | **PUT** {file_filesystem_exporter_href} | Update a file filesystem exporter
13
13
 
14
14
 
15
15
 
16
16
  ## create
17
17
 
18
- > FileFileFileSystemExporter create(data)
18
+ > FileFileFilesystemExporterRead create(data)
19
19
 
20
- Create a file file system exporter
20
+ Create a file filesystem exporter
21
21
 
22
- FileSystemExporters export content from a publication to a path on the file system.
22
+ FilesystemExporters export content from a publication to a path on the file system.
23
23
 
24
24
  ### Example
25
25
 
@@ -34,10 +34,10 @@ PulpFileClient.configure do |config|
34
34
  end
35
35
 
36
36
  api_instance = PulpFileClient::ExportersFilesystemApi.new
37
- data = PulpFileClient::FileFileFileSystemExporter.new # FileFileFileSystemExporter |
37
+ data = PulpFileClient::FileFileFilesystemExporter.new # FileFileFilesystemExporter |
38
38
 
39
39
  begin
40
- #Create a file file system exporter
40
+ #Create a file filesystem exporter
41
41
  result = api_instance.create(data)
42
42
  p result
43
43
  rescue PulpFileClient::ApiError => e
@@ -50,11 +50,11 @@ end
50
50
 
51
51
  Name | Type | Description | Notes
52
52
  ------------- | ------------- | ------------- | -------------
53
- **data** | [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)| |
53
+ **data** | [**FileFileFilesystemExporter**](FileFileFilesystemExporter.md)| |
54
54
 
55
55
  ### Return type
56
56
 
57
- [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)
57
+ [**FileFileFilesystemExporterRead**](FileFileFilesystemExporterRead.md)
58
58
 
59
59
  ### Authorization
60
60
 
@@ -68,11 +68,11 @@ Name | Type | Description | Notes
68
68
 
69
69
  ## delete
70
70
 
71
- > delete(file_file_system_exporter_href)
71
+ > delete(file_filesystem_exporter_href)
72
72
 
73
- Delete a file file system exporter
73
+ Delete a file filesystem exporter
74
74
 
75
- FileSystemExporters export content from a publication to a path on the file system.
75
+ FilesystemExporters export content from a publication to a path on the file system.
76
76
 
77
77
  ### Example
78
78
 
@@ -87,11 +87,11 @@ PulpFileClient.configure do |config|
87
87
  end
88
88
 
89
89
  api_instance = PulpFileClient::ExportersFilesystemApi.new
90
- file_file_system_exporter_href = 'file_file_system_exporter_href_example' # String | URI of File File System Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
90
+ file_filesystem_exporter_href = 'file_filesystem_exporter_href_example' # String | URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
91
91
 
92
92
  begin
93
- #Delete a file file system exporter
94
- api_instance.delete(file_file_system_exporter_href)
93
+ #Delete a file filesystem exporter
94
+ api_instance.delete(file_filesystem_exporter_href)
95
95
  rescue PulpFileClient::ApiError => e
96
96
  puts "Exception when calling ExportersFilesystemApi->delete: #{e}"
97
97
  end
@@ -102,7 +102,7 @@ end
102
102
 
103
103
  Name | Type | Description | Notes
104
104
  ------------- | ------------- | ------------- | -------------
105
- **file_file_system_exporter_href** | **String**| URI of File File System Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/ |
105
+ **file_filesystem_exporter_href** | **String**| URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/ |
106
106
 
107
107
  ### Return type
108
108
 
@@ -122,9 +122,9 @@ nil (empty response body)
122
122
 
123
123
  > InlineResponse2002 list(opts)
124
124
 
125
- List file file system exporters
125
+ List file filesystem exporters
126
126
 
127
- FileSystemExporters export content from a publication to a path on the file system.
127
+ FilesystemExporters export content from a publication to a path on the file system.
128
128
 
129
129
  ### Example
130
130
 
@@ -150,7 +150,7 @@ opts = {
150
150
  }
151
151
 
152
152
  begin
153
- #List file file system exporters
153
+ #List file filesystem exporters
154
154
  result = api_instance.list(opts)
155
155
  p result
156
156
  rescue PulpFileClient::ApiError => e
@@ -187,11 +187,11 @@ Name | Type | Description | Notes
187
187
 
188
188
  ## partial_update
189
189
 
190
- > FileFileFileSystemExporter partial_update(file_file_system_exporter_href, data)
190
+ > FileFileFilesystemExporterRead partial_update(file_filesystem_exporter_href, data)
191
191
 
192
- Partially update a file file system exporter
192
+ Partially update a file filesystem exporter
193
193
 
194
- FileSystemExporters export content from a publication to a path on the file system.
194
+ FilesystemExporters export content from a publication to a path on the file system.
195
195
 
196
196
  ### Example
197
197
 
@@ -206,12 +206,12 @@ PulpFileClient.configure do |config|
206
206
  end
207
207
 
208
208
  api_instance = PulpFileClient::ExportersFilesystemApi.new
209
- file_file_system_exporter_href = 'file_file_system_exporter_href_example' # String | URI of File File System Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
210
- data = PulpFileClient::FileFileFileSystemExporter.new # FileFileFileSystemExporter |
209
+ file_filesystem_exporter_href = 'file_filesystem_exporter_href_example' # String | URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
210
+ data = PulpFileClient::FileFileFilesystemExporter.new # FileFileFilesystemExporter |
211
211
 
212
212
  begin
213
- #Partially update a file file system exporter
214
- result = api_instance.partial_update(file_file_system_exporter_href, data)
213
+ #Partially update a file filesystem exporter
214
+ result = api_instance.partial_update(file_filesystem_exporter_href, data)
215
215
  p result
216
216
  rescue PulpFileClient::ApiError => e
217
217
  puts "Exception when calling ExportersFilesystemApi->partial_update: #{e}"
@@ -223,12 +223,12 @@ end
223
223
 
224
224
  Name | Type | Description | Notes
225
225
  ------------- | ------------- | ------------- | -------------
226
- **file_file_system_exporter_href** | **String**| URI of File File System Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/ |
227
- **data** | [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)| |
226
+ **file_filesystem_exporter_href** | **String**| URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/ |
227
+ **data** | [**FileFileFilesystemExporter**](FileFileFilesystemExporter.md)| |
228
228
 
229
229
  ### Return type
230
230
 
231
- [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)
231
+ [**FileFileFilesystemExporterRead**](FileFileFilesystemExporterRead.md)
232
232
 
233
233
  ### Authorization
234
234
 
@@ -242,11 +242,11 @@ Name | Type | Description | Notes
242
242
 
243
243
  ## read
244
244
 
245
- > FileFileFileSystemExporter read(file_file_system_exporter_href, opts)
245
+ > FileFileFilesystemExporterRead read(file_filesystem_exporter_href, opts)
246
246
 
247
- Inspect a file file system exporter
247
+ Inspect a file filesystem exporter
248
248
 
249
- FileSystemExporters export content from a publication to a path on the file system.
249
+ FilesystemExporters export content from a publication to a path on the file system.
250
250
 
251
251
  ### Example
252
252
 
@@ -261,15 +261,15 @@ PulpFileClient.configure do |config|
261
261
  end
262
262
 
263
263
  api_instance = PulpFileClient::ExportersFilesystemApi.new
264
- file_file_system_exporter_href = 'file_file_system_exporter_href_example' # String | URI of File File System Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
264
+ file_filesystem_exporter_href = 'file_filesystem_exporter_href_example' # String | URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
265
265
  opts = {
266
266
  fields: 'fields_example', # String | A list of fields to include in the response.
267
267
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
268
268
  }
269
269
 
270
270
  begin
271
- #Inspect a file file system exporter
272
- result = api_instance.read(file_file_system_exporter_href, opts)
271
+ #Inspect a file filesystem exporter
272
+ result = api_instance.read(file_filesystem_exporter_href, opts)
273
273
  p result
274
274
  rescue PulpFileClient::ApiError => e
275
275
  puts "Exception when calling ExportersFilesystemApi->read: #{e}"
@@ -281,13 +281,13 @@ end
281
281
 
282
282
  Name | Type | Description | Notes
283
283
  ------------- | ------------- | ------------- | -------------
284
- **file_file_system_exporter_href** | **String**| URI of File File System Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/ |
284
+ **file_filesystem_exporter_href** | **String**| URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/ |
285
285
  **fields** | **String**| A list of fields to include in the response. | [optional]
286
286
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
287
287
 
288
288
  ### Return type
289
289
 
290
- [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)
290
+ [**FileFileFilesystemExporterRead**](FileFileFilesystemExporterRead.md)
291
291
 
292
292
  ### Authorization
293
293
 
@@ -301,11 +301,11 @@ Name | Type | Description | Notes
301
301
 
302
302
  ## update
303
303
 
304
- > FileFileFileSystemExporter update(file_file_system_exporter_href, data)
304
+ > FileFileFilesystemExporterRead update(file_filesystem_exporter_href, data)
305
305
 
306
- Update a file file system exporter
306
+ Update a file filesystem exporter
307
307
 
308
- FileSystemExporters export content from a publication to a path on the file system.
308
+ FilesystemExporters export content from a publication to a path on the file system.
309
309
 
310
310
  ### Example
311
311
 
@@ -320,12 +320,12 @@ PulpFileClient.configure do |config|
320
320
  end
321
321
 
322
322
  api_instance = PulpFileClient::ExportersFilesystemApi.new
323
- file_file_system_exporter_href = 'file_file_system_exporter_href_example' # String | URI of File File System Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
324
- data = PulpFileClient::FileFileFileSystemExporter.new # FileFileFileSystemExporter |
323
+ file_filesystem_exporter_href = 'file_filesystem_exporter_href_example' # String | URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
324
+ data = PulpFileClient::FileFileFilesystemExporter.new # FileFileFilesystemExporter |
325
325
 
326
326
  begin
327
- #Update a file file system exporter
328
- result = api_instance.update(file_file_system_exporter_href, data)
327
+ #Update a file filesystem exporter
328
+ result = api_instance.update(file_filesystem_exporter_href, data)
329
329
  p result
330
330
  rescue PulpFileClient::ApiError => e
331
331
  puts "Exception when calling ExportersFilesystemApi->update: #{e}"
@@ -337,12 +337,12 @@ end
337
337
 
338
338
  Name | Type | Description | Notes
339
339
  ------------- | ------------- | ------------- | -------------
340
- **file_file_system_exporter_href** | **String**| URI of File File System Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/ |
341
- **data** | [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)| |
340
+ **file_filesystem_exporter_href** | **String**| URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/ |
341
+ **data** | [**FileFileFilesystemExporter**](FileFileFilesystemExporter.md)| |
342
342
 
343
343
  ### Return type
344
344
 
345
- [**FileFileFileSystemExporter**](FileFileFileSystemExporter.md)
345
+ [**FileFileFilesystemExporterRead**](FileFileFilesystemExporterRead.md)
346
346
 
347
347
  ### Authorization
348
348
 
@@ -1,4 +1,4 @@
1
- # PulpFileClient::FileFileContent
1
+ # PulpFileClient::FileFileContentRead
2
2
 
3
3
  ## Properties
4
4
 
@@ -20,7 +20,7 @@ Name | Type | Description | Notes
20
20
  ```ruby
21
21
  require 'PulpFileClient'
22
22
 
23
- instance = PulpFileClient::FileFileContent.new(pulp_href: null,
23
+ instance = PulpFileClient::FileFileContentRead.new(pulp_href: null,
24
24
  pulp_created: null,
25
25
  artifact: null,
26
26
  relative_path: null,
@@ -0,0 +1,29 @@
1
+ # PulpFileClient::FileFileDistributionRead
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
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
10
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
+ **content_guard** | **String** | An optional content-guard. | [optional]
12
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
+ **publication** | **String** | Publication to be served | [optional]
14
+
15
+ ## Code Sample
16
+
17
+ ```ruby
18
+ require 'PulpFileClient'
19
+
20
+ instance = PulpFileClient::FileFileDistributionRead.new(pulp_href: null,
21
+ pulp_created: null,
22
+ base_path: null,
23
+ base_url: null,
24
+ content_guard: null,
25
+ name: null,
26
+ publication: null)
27
+ ```
28
+
29
+
@@ -1,4 +1,4 @@
1
- # PulpFileClient::FileFileFileSystemExporter
1
+ # PulpFileClient::FileFileFilesystemExporter
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpFileClient'
16
16
 
17
- instance = PulpFileClient::FileFileFileSystemExporter.new(pulp_href: null,
17
+ instance = PulpFileClient::FileFileFilesystemExporter.new(pulp_href: null,
18
18
  pulp_created: null,
19
19
  name: null,
20
20
  path: null)