pulp_file_client 1.1.0 → 1.2.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.
- checksums.yaml +4 -4
- data/README.md +51 -37
- data/docs/ContentFilesApi.md +24 -24
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsFileApi.md +108 -60
- data/docs/{Export.md → ExportResponse.md} +2 -2
- data/docs/ExportersFileExportsApi.md +34 -34
- data/docs/ExportersFilesystemApi.md +61 -61
- data/docs/FileFileContent.md +5 -17
- data/docs/FileFileContentResponse.md +35 -0
- data/docs/FileFileDistribution.md +1 -7
- data/docs/FileFileDistributionResponse.md +29 -0
- data/docs/FileFileFilesystemExporter.md +1 -5
- data/docs/FileFileFilesystemExporterResponse.md +23 -0
- data/docs/FileFilePublication.md +1 -7
- data/docs/FileFilePublicationResponse.md +27 -0
- data/docs/FileFileRemote.md +4 -10
- data/docs/FileFileRemoteResponse.md +43 -0
- data/docs/FileFileRepository.md +4 -10
- data/docs/FileFileRepositoryResponse.md +29 -0
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/PatchedfileFileDistribution.md +23 -0
- data/docs/PatchedfileFileFilesystemExporter.md +19 -0
- data/docs/PatchedfileFileRemote.md +37 -0
- data/docs/PatchedfileFileRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsFileApi.md +40 -40
- data/docs/RemotesFileApi.md +125 -65
- data/docs/RepositoriesFileApi.md +97 -73
- data/docs/RepositoriesFileVersionsApi.md +94 -62
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_file_client/api/content_files_api.rb +32 -36
- data/lib/pulp_file_client/api/distributions_file_api.rb +153 -90
- data/lib/pulp_file_client/api/exporters_file_exports_api.rb +55 -55
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +102 -102
- data/lib/pulp_file_client/api/publications_file_api.rb +59 -59
- data/lib/pulp_file_client/api/remotes_file_api.rb +181 -100
- data/lib/pulp_file_client/api/repositories_file_api.rb +145 -118
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +137 -92
- data/lib/pulp_file_client/api_client.rb +2 -2
- data/lib/pulp_file_client/api_error.rb +2 -2
- data/lib/pulp_file_client/configuration.rb +3 -3
- data/lib/pulp_file_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_file_client/models/content_summary.rb +9 -15
- data/lib/pulp_file_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_file_client/models/{export.rb → export_response.rb} +6 -5
- data/lib/pulp_file_client/models/file_file_content.rb +18 -185
- data/lib/pulp_file_client/models/file_file_content_response.rb +302 -0
- data/lib/pulp_file_client/models/file_file_distribution.rb +4 -85
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +279 -0
- data/lib/pulp_file_client/models/file_file_filesystem_exporter.rb +4 -60
- data/lib/pulp_file_client/models/file_file_filesystem_exporter_response.rb +247 -0
- data/lib/pulp_file_client/models/file_file_publication.rb +4 -49
- data/lib/pulp_file_client/models/file_file_publication_response.rb +260 -0
- data/lib/pulp_file_client/models/file_file_remote.rb +7 -199
- data/lib/pulp_file_client/models/file_file_remote_response.rb +368 -0
- data/lib/pulp_file_client/models/file_file_repository.rb +18 -78
- data/lib/pulp_file_client/models/file_file_repository_response.rb +271 -0
- data/lib/pulp_file_client/models/inline_response200.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +240 -0
- data/lib/pulp_file_client/models/patchedfile_file_filesystem_exporter.rb +218 -0
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +329 -0
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +229 -0
- data/lib/pulp_file_client/models/policy_enum.rb +37 -0
- data/lib/pulp_file_client/models/publication_export.rb +3 -2
- data/lib/pulp_file_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_file_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_file_client/models/repository_version.rb +7 -43
- data/lib/pulp_file_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_file_client/version.rb +3 -3
- data/lib/pulp_file_client.rb +16 -3
- data/pulp_file_client.gemspec +4 -4
- data/spec/api/content_files_api_spec.rb +10 -10
- data/spec/api/distributions_file_api_spec.rb +39 -18
- data/spec/api/exporters_file_exports_api_spec.rb +9 -9
- data/spec/api/exporters_filesystem_api_spec.rb +23 -23
- data/spec/api/publications_file_api_spec.rb +14 -14
- data/spec/api/remotes_file_api_spec.rb +48 -21
- data/spec/api/repositories_file_api_spec.rb +28 -19
- data/spec/api/repositories_file_versions_api_spec.rb +38 -23
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/{export_spec.rb → export_response_spec.rb} +8 -8
- data/spec/models/file_file_content_response_spec.rb +95 -0
- data/spec/models/file_file_content_spec.rb +4 -40
- data/spec/models/file_file_distribution_response_spec.rb +77 -0
- data/spec/models/file_file_distribution_spec.rb +2 -20
- data/spec/models/file_file_filesystem_exporter_response_spec.rb +59 -0
- data/spec/models/file_file_filesystem_exporter_spec.rb +2 -14
- data/spec/models/file_file_publication_response_spec.rb +71 -0
- data/spec/models/file_file_publication_spec.rb +2 -20
- data/spec/models/file_file_remote_response_spec.rb +119 -0
- data/spec/models/file_file_remote_spec.rb +2 -24
- data/spec/models/file_file_repository_response_spec.rb +77 -0
- data/spec/models/file_file_repository_spec.rb +5 -23
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patchedfile_file_distribution_spec.rb +59 -0
- data/spec/models/patchedfile_file_filesystem_exporter_spec.rb +47 -0
- data/spec/models/patchedfile_file_remote_spec.rb +101 -0
- data/spec/models/patchedfile_file_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/publication_export_spec.rb +2 -2
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +76 -24
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
|
-
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
@@ -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
|
|
25
|
-
# @param
|
|
24
|
+
# @param file_filesystem_export_href [String]
|
|
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_filesystem_export_href, publication_export, opts = {})
|
|
29
|
+
data, _status_code, _headers = create_with_http_info(file_filesystem_export_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
|
|
36
|
-
# @param
|
|
35
|
+
# @param file_filesystem_export_href [String]
|
|
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_filesystem_export_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_filesystem_export_href' is set
|
|
44
|
+
if @api_client.config.client_side_validation && file_filesystem_export_href.nil?
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'file_filesystem_export_href' when calling ExportersFileExportsApi.create"
|
|
46
46
|
end
|
|
47
|
-
# verify the required parameter '
|
|
48
|
-
if @api_client.config.client_side_validation &&
|
|
49
|
-
fail ArgumentError, "Missing the required parameter '
|
|
47
|
+
# verify the required parameter 'publication_export' is set
|
|
48
|
+
if @api_client.config.client_side_validation && publication_export.nil?
|
|
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_filesystem_export_href}exports/'.sub('{' + 'file_filesystem_export_href' + '}', CGI.escape(file_filesystem_export_href.to_s).gsub('%2F', '/'))
|
|
53
53
|
|
|
54
54
|
# query parameters
|
|
55
55
|
query_params = opts[:query_params] || {}
|
|
@@ -59,19 +59,19 @@ module PulpFileClient
|
|
|
59
59
|
# HTTP header 'Accept' (if needed)
|
|
60
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
61
|
# HTTP header 'Content-Type'
|
|
62
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
62
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
63
63
|
|
|
64
64
|
# form parameters
|
|
65
65
|
form_params = opts[:form_params] || {}
|
|
66
66
|
|
|
67
67
|
# http body (model)
|
|
68
|
-
post_body = opts[:body] || @api_client.object_to_http_body(
|
|
68
|
+
post_body = opts[:body] || @api_client.object_to_http_body(publication_export)
|
|
69
69
|
|
|
70
70
|
# return_type
|
|
71
71
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
|
72
72
|
|
|
73
73
|
# auth_names
|
|
74
|
-
auth_names = opts[:auth_names] || ['
|
|
74
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
75
75
|
|
|
76
76
|
new_options = opts.merge(
|
|
77
77
|
:header_params => header_params,
|
|
@@ -91,29 +91,29 @@ module PulpFileClient
|
|
|
91
91
|
|
|
92
92
|
# Delete an export
|
|
93
93
|
# FilesystemExports provide a history of previous exports.
|
|
94
|
-
# @param
|
|
94
|
+
# @param file_filesystem_export_href [String]
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @return [nil]
|
|
97
|
-
def delete(
|
|
98
|
-
delete_with_http_info(
|
|
97
|
+
def delete(file_filesystem_export_href, opts = {})
|
|
98
|
+
delete_with_http_info(file_filesystem_export_href, opts)
|
|
99
99
|
nil
|
|
100
100
|
end
|
|
101
101
|
|
|
102
102
|
# Delete an export
|
|
103
103
|
# FilesystemExports provide a history of previous exports.
|
|
104
|
-
# @param
|
|
104
|
+
# @param file_filesystem_export_href [String]
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
107
|
-
def delete_with_http_info(
|
|
107
|
+
def delete_with_http_info(file_filesystem_export_href, opts = {})
|
|
108
108
|
if @api_client.config.debugging
|
|
109
109
|
@api_client.config.logger.debug 'Calling API: ExportersFileExportsApi.delete ...'
|
|
110
110
|
end
|
|
111
|
-
# verify the required parameter '
|
|
112
|
-
if @api_client.config.client_side_validation &&
|
|
113
|
-
fail ArgumentError, "Missing the required parameter '
|
|
111
|
+
# verify the required parameter 'file_filesystem_export_href' is set
|
|
112
|
+
if @api_client.config.client_side_validation && file_filesystem_export_href.nil?
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'file_filesystem_export_href' when calling ExportersFileExportsApi.delete"
|
|
114
114
|
end
|
|
115
115
|
# resource path
|
|
116
|
-
local_var_path = '{
|
|
116
|
+
local_var_path = '{file_filesystem_export_href}'.sub('{' + 'file_filesystem_export_href' + '}', CGI.escape(file_filesystem_export_href.to_s).gsub('%2F', '/'))
|
|
117
117
|
|
|
118
118
|
# query parameters
|
|
119
119
|
query_params = opts[:query_params] || {}
|
|
@@ -131,7 +131,7 @@ module PulpFileClient
|
|
|
131
131
|
return_type = opts[:return_type]
|
|
132
132
|
|
|
133
133
|
# auth_names
|
|
134
|
-
auth_names = opts[:auth_names] || ['
|
|
134
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
135
135
|
|
|
136
136
|
new_options = opts.merge(
|
|
137
137
|
:header_params => header_params,
|
|
@@ -151,45 +151,45 @@ module PulpFileClient
|
|
|
151
151
|
|
|
152
152
|
# List exports
|
|
153
153
|
# FilesystemExports provide a history of previous exports.
|
|
154
|
-
# @param
|
|
154
|
+
# @param file_file_filesystem_exporter_href [String]
|
|
155
155
|
# @param [Hash] opts the optional parameters
|
|
156
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
157
156
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
158
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
159
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
160
160
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
161
161
|
# @return [InlineResponse2003]
|
|
162
|
-
def list(
|
|
163
|
-
data, _status_code, _headers = list_with_http_info(
|
|
162
|
+
def list(file_file_filesystem_exporter_href, opts = {})
|
|
163
|
+
data, _status_code, _headers = list_with_http_info(file_file_filesystem_exporter_href, opts)
|
|
164
164
|
data
|
|
165
165
|
end
|
|
166
166
|
|
|
167
167
|
# List exports
|
|
168
168
|
# FilesystemExports provide a history of previous exports.
|
|
169
|
-
# @param
|
|
169
|
+
# @param file_file_filesystem_exporter_href [String]
|
|
170
170
|
# @param [Hash] opts the optional parameters
|
|
171
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
172
171
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
173
172
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
173
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
174
174
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
175
175
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
176
176
|
# @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
|
|
177
|
-
def list_with_http_info(
|
|
177
|
+
def list_with_http_info(file_file_filesystem_exporter_href, opts = {})
|
|
178
178
|
if @api_client.config.debugging
|
|
179
179
|
@api_client.config.logger.debug 'Calling API: ExportersFileExportsApi.list ...'
|
|
180
180
|
end
|
|
181
|
-
# verify the required parameter '
|
|
182
|
-
if @api_client.config.client_side_validation &&
|
|
183
|
-
fail ArgumentError, "Missing the required parameter '
|
|
181
|
+
# verify the required parameter 'file_file_filesystem_exporter_href' is set
|
|
182
|
+
if @api_client.config.client_side_validation && file_file_filesystem_exporter_href.nil?
|
|
183
|
+
fail ArgumentError, "Missing the required parameter 'file_file_filesystem_exporter_href' when calling ExportersFileExportsApi.list"
|
|
184
184
|
end
|
|
185
185
|
# resource path
|
|
186
|
-
local_var_path = '{
|
|
186
|
+
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', '/'))
|
|
187
187
|
|
|
188
188
|
# query parameters
|
|
189
189
|
query_params = opts[:query_params] || {}
|
|
190
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
191
190
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
192
191
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
192
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
193
193
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
194
194
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
195
195
|
|
|
@@ -208,7 +208,7 @@ module PulpFileClient
|
|
|
208
208
|
return_type = opts[:return_type] || 'InlineResponse2003'
|
|
209
209
|
|
|
210
210
|
# auth_names
|
|
211
|
-
auth_names = opts[:auth_names] || ['
|
|
211
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
212
212
|
|
|
213
213
|
new_options = opts.merge(
|
|
214
214
|
:header_params => header_params,
|
|
@@ -228,33 +228,33 @@ module PulpFileClient
|
|
|
228
228
|
|
|
229
229
|
# Inspect an export
|
|
230
230
|
# FilesystemExports provide a history of previous exports.
|
|
231
|
-
# @param
|
|
231
|
+
# @param file_filesystem_export_href [String]
|
|
232
232
|
# @param [Hash] opts the optional parameters
|
|
233
233
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
234
234
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
235
|
-
# @return [
|
|
236
|
-
def read(
|
|
237
|
-
data, _status_code, _headers = read_with_http_info(
|
|
235
|
+
# @return [ExportResponse]
|
|
236
|
+
def read(file_filesystem_export_href, opts = {})
|
|
237
|
+
data, _status_code, _headers = read_with_http_info(file_filesystem_export_href, opts)
|
|
238
238
|
data
|
|
239
239
|
end
|
|
240
240
|
|
|
241
241
|
# Inspect an export
|
|
242
242
|
# FilesystemExports provide a history of previous exports.
|
|
243
|
-
# @param
|
|
243
|
+
# @param file_filesystem_export_href [String]
|
|
244
244
|
# @param [Hash] opts the optional parameters
|
|
245
245
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
246
246
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
247
|
-
# @return [Array<(
|
|
248
|
-
def read_with_http_info(
|
|
247
|
+
# @return [Array<(ExportResponse, Integer, Hash)>] ExportResponse data, response status code and response headers
|
|
248
|
+
def read_with_http_info(file_filesystem_export_href, opts = {})
|
|
249
249
|
if @api_client.config.debugging
|
|
250
250
|
@api_client.config.logger.debug 'Calling API: ExportersFileExportsApi.read ...'
|
|
251
251
|
end
|
|
252
|
-
# verify the required parameter '
|
|
253
|
-
if @api_client.config.client_side_validation &&
|
|
254
|
-
fail ArgumentError, "Missing the required parameter '
|
|
252
|
+
# verify the required parameter 'file_filesystem_export_href' is set
|
|
253
|
+
if @api_client.config.client_side_validation && file_filesystem_export_href.nil?
|
|
254
|
+
fail ArgumentError, "Missing the required parameter 'file_filesystem_export_href' when calling ExportersFileExportsApi.read"
|
|
255
255
|
end
|
|
256
256
|
# resource path
|
|
257
|
-
local_var_path = '{
|
|
257
|
+
local_var_path = '{file_filesystem_export_href}'.sub('{' + 'file_filesystem_export_href' + '}', CGI.escape(file_filesystem_export_href.to_s).gsub('%2F', '/'))
|
|
258
258
|
|
|
259
259
|
# query parameters
|
|
260
260
|
query_params = opts[:query_params] || {}
|
|
@@ -273,10 +273,10 @@ module PulpFileClient
|
|
|
273
273
|
post_body = opts[:body]
|
|
274
274
|
|
|
275
275
|
# return_type
|
|
276
|
-
return_type = opts[:return_type] || '
|
|
276
|
+
return_type = opts[:return_type] || 'ExportResponse'
|
|
277
277
|
|
|
278
278
|
# auth_names
|
|
279
|
-
auth_names = opts[:auth_names] || ['
|
|
279
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
280
280
|
|
|
281
281
|
new_options = opts.merge(
|
|
282
282
|
:header_params => header_params,
|