pulp_file_client 1.6.0.dev01609818659 → 1.6.0.dev01610251546
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.
Potentially problematic release.
This version of pulp_file_client might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b92f90504d2e450ad1386d26848d0e08673838eae3a3a4881378bc6acc8dbd82
|
4
|
+
data.tar.gz: cf6d514ffacc1f1ef995564d698ecce7d1b51ac31f65d5bbd78811682a9e0ac3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 715bc7f26808b4a7e086ec6b96f7210020abda4ae7fa17dba64cfbb9fe6b6ef28f36d967737abcbe55901580fbb9af8e96ca2d16da712781ad02106ad40c1afe
|
7
|
+
data.tar.gz: c07c6ee6a2ec05fb63b0814b6de5cabf72ce59d26b751469d273989e491b3b91d07c0ef16e8ff0f857bd8fe1df0b0460029dfbf361106c5ef9be898ad50eb966
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
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: 1.6.0.
|
10
|
+
- Package version: 1.6.0.dev01610251546
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_file_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_file_client-1.6.0.
|
27
|
+
gem install ./pulp_file_client-1.6.0.dev01610251546.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-1.6.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-1.6.0.dev01610251546.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_file_client', '~> 1.6.0.
|
36
|
+
gem 'pulp_file_client', '~> 1.6.0.dev01610251546'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -97,7 +97,7 @@ Class | Method | HTTP request | Description
|
|
97
97
|
*PulpFileClient::DistributionsFileApi* | [**partial_update**](docs/DistributionsFileApi.md#partial_update) | **PATCH** {file_file_distribution_href} | Update a file distribution
|
98
98
|
*PulpFileClient::DistributionsFileApi* | [**read**](docs/DistributionsFileApi.md#read) | **GET** {file_file_distribution_href} | Inspect a file distribution
|
99
99
|
*PulpFileClient::DistributionsFileApi* | [**update**](docs/DistributionsFileApi.md#update) | **PUT** {file_file_distribution_href} | Update a file distribution
|
100
|
-
*PulpFileClient::ExportersFileExportsApi* | [**create**](docs/ExportersFileExportsApi.md#create) | **POST** {
|
100
|
+
*PulpFileClient::ExportersFileExportsApi* | [**create**](docs/ExportersFileExportsApi.md#create) | **POST** {file_file_filesystem_exporter_href}exports/ | Create an export
|
101
101
|
*PulpFileClient::ExportersFileExportsApi* | [**delete**](docs/ExportersFileExportsApi.md#delete) | **DELETE** {file_filesystem_export_href} | Delete an export
|
102
102
|
*PulpFileClient::ExportersFileExportsApi* | [**list**](docs/ExportersFileExportsApi.md#list) | **GET** {file_file_filesystem_exporter_href}exports/ | List exports
|
103
103
|
*PulpFileClient::ExportersFileExportsApi* | [**read**](docs/ExportersFileExportsApi.md#read) | **GET** {file_filesystem_export_href} | Inspect an export
|
@@ -4,7 +4,7 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](ExportersFileExportsApi.md#create) | **POST** {
|
7
|
+
[**create**](ExportersFileExportsApi.md#create) | **POST** {file_file_filesystem_exporter_href}exports/ | Create an export
|
8
8
|
[**delete**](ExportersFileExportsApi.md#delete) | **DELETE** {file_filesystem_export_href} | Delete an export
|
9
9
|
[**list**](ExportersFileExportsApi.md#list) | **GET** {file_file_filesystem_exporter_href}exports/ | List exports
|
10
10
|
[**read**](ExportersFileExportsApi.md#read) | **GET** {file_filesystem_export_href} | Inspect an export
|
@@ -13,7 +13,7 @@ Method | HTTP request | Description
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> AsyncOperationResponse create(
|
16
|
+
> AsyncOperationResponse create(file_file_filesystem_exporter_href, publication_export)
|
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
|
-
|
35
|
+
file_file_filesystem_exporter_href = 'file_file_filesystem_exporter_href_example' # String |
|
36
36
|
publication_export = PulpFileClient::PublicationExport.new # PublicationExport |
|
37
37
|
|
38
38
|
begin
|
39
39
|
#Create an export
|
40
|
-
result = api_instance.create(
|
40
|
+
result = api_instance.create(file_file_filesystem_exporter_href, publication_export)
|
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
|
-
**
|
52
|
+
**file_file_filesystem_exporter_href** | **String**| |
|
53
53
|
**publication_export** | [**PublicationExport**](PublicationExport.md)| |
|
54
54
|
|
55
55
|
### Return type
|
@@ -21,35 +21,35 @@ module PulpFileClient
|
|
21
21
|
end
|
22
22
|
# Create an export
|
23
23
|
# Trigger an asynchronous task to export a file publication.
|
24
|
-
# @param
|
24
|
+
# @param file_file_filesystem_exporter_href [String]
|
25
25
|
# @param publication_export [PublicationExport]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @return [AsyncOperationResponse]
|
28
|
-
def create(
|
29
|
-
data, _status_code, _headers = create_with_http_info(
|
28
|
+
def create(file_file_filesystem_exporter_href, publication_export, opts = {})
|
29
|
+
data, _status_code, _headers = create_with_http_info(file_file_filesystem_exporter_href, publication_export, opts)
|
30
30
|
data
|
31
31
|
end
|
32
32
|
|
33
33
|
# Create an export
|
34
34
|
# Trigger an asynchronous task to export a file publication.
|
35
|
-
# @param
|
35
|
+
# @param file_file_filesystem_exporter_href [String]
|
36
36
|
# @param publication_export [PublicationExport]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
39
|
-
def create_with_http_info(
|
39
|
+
def create_with_http_info(file_file_filesystem_exporter_href, publication_export, opts = {})
|
40
40
|
if @api_client.config.debugging
|
41
41
|
@api_client.config.logger.debug 'Calling API: ExportersFileExportsApi.create ...'
|
42
42
|
end
|
43
|
-
# verify the required parameter '
|
44
|
-
if @api_client.config.client_side_validation &&
|
45
|
-
fail ArgumentError, "Missing the required parameter '
|
43
|
+
# verify the required parameter 'file_file_filesystem_exporter_href' is set
|
44
|
+
if @api_client.config.client_side_validation && file_file_filesystem_exporter_href.nil?
|
45
|
+
fail ArgumentError, "Missing the required parameter 'file_file_filesystem_exporter_href' when calling ExportersFileExportsApi.create"
|
46
46
|
end
|
47
47
|
# verify the required parameter 'publication_export' is set
|
48
48
|
if @api_client.config.client_side_validation && publication_export.nil?
|
49
49
|
fail ArgumentError, "Missing the required parameter 'publication_export' when calling ExportersFileExportsApi.create"
|
50
50
|
end
|
51
51
|
# resource path
|
52
|
-
local_var_path = '{
|
52
|
+
local_var_path = '{file_file_filesystem_exporter_href}exports/'.sub('{' + 'file_file_filesystem_exporter_href' + '}', CGI.escape(file_file_filesystem_exporter_href.to_s).gsub('%2F', '/'))
|
53
53
|
|
54
54
|
# query parameters
|
55
55
|
query_params = opts[:query_params] || {}
|
@@ -35,7 +35,7 @@ describe 'ExportersFileExportsApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create an export
|
37
37
|
# Trigger an asynchronous task to export a file publication.
|
38
|
-
# @param
|
38
|
+
# @param file_file_filesystem_exporter_href
|
39
39
|
# @param publication_export
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
41
|
# @return [AsyncOperationResponse]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_file_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.0.
|
4
|
+
version: 1.6.0.dev01610251546
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|