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.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +51 -37
  3. data/docs/ContentFilesApi.md +24 -24
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +21 -0
  6. data/docs/DistributionsFileApi.md +108 -60
  7. data/docs/{Export.md → ExportResponse.md} +2 -2
  8. data/docs/ExportersFileExportsApi.md +34 -34
  9. data/docs/ExportersFilesystemApi.md +61 -61
  10. data/docs/FileFileContent.md +5 -17
  11. data/docs/FileFileContentResponse.md +35 -0
  12. data/docs/FileFileDistribution.md +1 -7
  13. data/docs/FileFileDistributionResponse.md +29 -0
  14. data/docs/FileFileFilesystemExporter.md +1 -5
  15. data/docs/FileFileFilesystemExporterResponse.md +23 -0
  16. data/docs/FileFilePublication.md +1 -7
  17. data/docs/FileFilePublicationResponse.md +27 -0
  18. data/docs/FileFileRemote.md +4 -10
  19. data/docs/FileFileRemoteResponse.md +43 -0
  20. data/docs/FileFileRepository.md +4 -10
  21. data/docs/FileFileRepositoryResponse.md +29 -0
  22. data/docs/InlineResponse200.md +3 -3
  23. data/docs/InlineResponse2001.md +3 -3
  24. data/docs/InlineResponse2002.md +3 -3
  25. data/docs/InlineResponse2003.md +3 -3
  26. data/docs/InlineResponse2004.md +3 -3
  27. data/docs/InlineResponse2005.md +3 -3
  28. data/docs/InlineResponse2006.md +3 -3
  29. data/docs/InlineResponse2007.md +3 -3
  30. data/docs/PatchedfileFileDistribution.md +23 -0
  31. data/docs/PatchedfileFileFilesystemExporter.md +19 -0
  32. data/docs/PatchedfileFileRemote.md +37 -0
  33. data/docs/PatchedfileFileRepository.md +21 -0
  34. data/docs/PolicyEnum.md +16 -0
  35. data/docs/PublicationsFileApi.md +40 -40
  36. data/docs/RemotesFileApi.md +125 -65
  37. data/docs/RepositoriesFileApi.md +97 -73
  38. data/docs/RepositoriesFileVersionsApi.md +94 -62
  39. data/docs/RepositoryAddRemoveContent.md +2 -2
  40. data/docs/RepositorySyncURL.md +1 -1
  41. data/docs/RepositoryVersion.md +1 -9
  42. data/docs/RepositoryVersionResponse.md +25 -0
  43. data/lib/pulp_file_client/api/content_files_api.rb +32 -36
  44. data/lib/pulp_file_client/api/distributions_file_api.rb +153 -90
  45. data/lib/pulp_file_client/api/exporters_file_exports_api.rb +55 -55
  46. data/lib/pulp_file_client/api/exporters_filesystem_api.rb +102 -102
  47. data/lib/pulp_file_client/api/publications_file_api.rb +59 -59
  48. data/lib/pulp_file_client/api/remotes_file_api.rb +181 -100
  49. data/lib/pulp_file_client/api/repositories_file_api.rb +145 -118
  50. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +137 -92
  51. data/lib/pulp_file_client/api_client.rb +2 -2
  52. data/lib/pulp_file_client/api_error.rb +2 -2
  53. data/lib/pulp_file_client/configuration.rb +3 -3
  54. data/lib/pulp_file_client/models/async_operation_response.rb +3 -2
  55. data/lib/pulp_file_client/models/content_summary.rb +9 -15
  56. data/lib/pulp_file_client/models/content_summary_response.rb +240 -0
  57. data/lib/pulp_file_client/models/{export.rb → export_response.rb} +6 -5
  58. data/lib/pulp_file_client/models/file_file_content.rb +18 -185
  59. data/lib/pulp_file_client/models/file_file_content_response.rb +302 -0
  60. data/lib/pulp_file_client/models/file_file_distribution.rb +4 -85
  61. data/lib/pulp_file_client/models/file_file_distribution_response.rb +279 -0
  62. data/lib/pulp_file_client/models/file_file_filesystem_exporter.rb +4 -60
  63. data/lib/pulp_file_client/models/file_file_filesystem_exporter_response.rb +247 -0
  64. data/lib/pulp_file_client/models/file_file_publication.rb +4 -49
  65. data/lib/pulp_file_client/models/file_file_publication_response.rb +260 -0
  66. data/lib/pulp_file_client/models/file_file_remote.rb +7 -199
  67. data/lib/pulp_file_client/models/file_file_remote_response.rb +368 -0
  68. data/lib/pulp_file_client/models/file_file_repository.rb +18 -78
  69. data/lib/pulp_file_client/models/file_file_repository_response.rb +271 -0
  70. data/lib/pulp_file_client/models/inline_response200.rb +3 -13
  71. data/lib/pulp_file_client/models/inline_response2001.rb +3 -13
  72. data/lib/pulp_file_client/models/inline_response2002.rb +3 -13
  73. data/lib/pulp_file_client/models/inline_response2003.rb +3 -13
  74. data/lib/pulp_file_client/models/inline_response2004.rb +3 -13
  75. data/lib/pulp_file_client/models/inline_response2005.rb +3 -13
  76. data/lib/pulp_file_client/models/inline_response2006.rb +3 -13
  77. data/lib/pulp_file_client/models/inline_response2007.rb +3 -13
  78. data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +240 -0
  79. data/lib/pulp_file_client/models/patchedfile_file_filesystem_exporter.rb +218 -0
  80. data/lib/pulp_file_client/models/patchedfile_file_remote.rb +329 -0
  81. data/lib/pulp_file_client/models/patchedfile_file_repository.rb +229 -0
  82. data/lib/pulp_file_client/models/policy_enum.rb +37 -0
  83. data/lib/pulp_file_client/models/publication_export.rb +3 -2
  84. data/lib/pulp_file_client/models/repository_add_remove_content.rb +5 -4
  85. data/lib/pulp_file_client/models/repository_sync_url.rb +3 -8
  86. data/lib/pulp_file_client/models/repository_version.rb +7 -43
  87. data/lib/pulp_file_client/models/repository_version_response.rb +246 -0
  88. data/lib/pulp_file_client/version.rb +3 -3
  89. data/lib/pulp_file_client.rb +16 -3
  90. data/pulp_file_client.gemspec +4 -4
  91. data/spec/api/content_files_api_spec.rb +10 -10
  92. data/spec/api/distributions_file_api_spec.rb +39 -18
  93. data/spec/api/exporters_file_exports_api_spec.rb +9 -9
  94. data/spec/api/exporters_filesystem_api_spec.rb +23 -23
  95. data/spec/api/publications_file_api_spec.rb +14 -14
  96. data/spec/api/remotes_file_api_spec.rb +48 -21
  97. data/spec/api/repositories_file_api_spec.rb +28 -19
  98. data/spec/api/repositories_file_versions_api_spec.rb +38 -23
  99. data/spec/api_client_spec.rb +2 -2
  100. data/spec/configuration_spec.rb +2 -2
  101. data/spec/models/async_operation_response_spec.rb +2 -2
  102. data/spec/models/content_summary_response_spec.rb +53 -0
  103. data/spec/models/content_summary_spec.rb +2 -2
  104. data/spec/models/{export_spec.rb → export_response_spec.rb} +8 -8
  105. data/spec/models/file_file_content_response_spec.rb +95 -0
  106. data/spec/models/file_file_content_spec.rb +4 -40
  107. data/spec/models/file_file_distribution_response_spec.rb +77 -0
  108. data/spec/models/file_file_distribution_spec.rb +2 -20
  109. data/spec/models/file_file_filesystem_exporter_response_spec.rb +59 -0
  110. data/spec/models/file_file_filesystem_exporter_spec.rb +2 -14
  111. data/spec/models/file_file_publication_response_spec.rb +71 -0
  112. data/spec/models/file_file_publication_spec.rb +2 -20
  113. data/spec/models/file_file_remote_response_spec.rb +119 -0
  114. data/spec/models/file_file_remote_spec.rb +2 -24
  115. data/spec/models/file_file_repository_response_spec.rb +77 -0
  116. data/spec/models/file_file_repository_spec.rb +5 -23
  117. data/spec/models/inline_response2001_spec.rb +2 -2
  118. data/spec/models/inline_response2002_spec.rb +2 -2
  119. data/spec/models/inline_response2003_spec.rb +2 -2
  120. data/spec/models/inline_response2004_spec.rb +2 -2
  121. data/spec/models/inline_response2005_spec.rb +2 -2
  122. data/spec/models/inline_response2006_spec.rb +2 -2
  123. data/spec/models/inline_response2007_spec.rb +2 -2
  124. data/spec/models/inline_response200_spec.rb +2 -2
  125. data/spec/models/patchedfile_file_distribution_spec.rb +59 -0
  126. data/spec/models/patchedfile_file_filesystem_exporter_spec.rb +47 -0
  127. data/spec/models/patchedfile_file_remote_spec.rb +101 -0
  128. data/spec/models/patchedfile_file_repository_spec.rb +53 -0
  129. data/spec/models/policy_enum_spec.rb +35 -0
  130. data/spec/models/publication_export_spec.rb +2 -2
  131. data/spec/models/repository_add_remove_content_spec.rb +2 -2
  132. data/spec/models/repository_sync_url_spec.rb +2 -2
  133. data/spec/models/repository_version_response_spec.rb +65 -0
  134. data/spec/models/repository_version_spec.rb +2 -26
  135. data/spec/spec_helper.rb +2 -2
  136. metadata +76 -24
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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 file_filesystem_exporter_href [String] URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
25
- # @param data [PublicationExport]
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(file_filesystem_exporter_href, data, opts = {})
29
- data, _status_code, _headers = create_with_http_info(file_filesystem_exporter_href, data, opts)
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 file_filesystem_exporter_href [String] URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
36
- # @param data [PublicationExport]
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(file_filesystem_exporter_href, data, opts = {})
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 'file_filesystem_exporter_href' is set
44
- if @api_client.config.client_side_validation && file_filesystem_exporter_href.nil?
45
- fail ArgumentError, "Missing the required parameter 'file_filesystem_exporter_href' when calling ExportersFileExportsApi.create"
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 'data' is set
48
- if @api_client.config.client_side_validation && data.nil?
49
- fail ArgumentError, "Missing the required parameter 'data' when calling ExportersFileExportsApi.create"
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 = '{file_filesystem_exporter_href}exports/'.sub('{' + 'file_filesystem_exporter_href' + '}', CGI.escape(file_filesystem_exporter_href.to_s).gsub('%2F', '/'))
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(data)
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] || ['Basic']
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 export_href [String] URI of Export. e.g.: /pulp/api/v3/exporters/file/filesystem/1/exports/1/
94
+ # @param file_filesystem_export_href [String]
95
95
  # @param [Hash] opts the optional parameters
96
96
  # @return [nil]
97
- def delete(export_href, opts = {})
98
- delete_with_http_info(export_href, opts)
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 export_href [String] URI of Export. e.g.: /pulp/api/v3/exporters/file/filesystem/1/exports/1/
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(export_href, opts = {})
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 'export_href' is set
112
- if @api_client.config.client_side_validation && export_href.nil?
113
- fail ArgumentError, "Missing the required parameter 'export_href' when calling ExportersFileExportsApi.delete"
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 = '{export_href}'.sub('{' + 'export_href' + '}', CGI.escape(export_href.to_s).gsub('%2F', '/'))
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] || ['Basic']
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 file_filesystem_exporter_href [String] URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
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(file_filesystem_exporter_href, opts = {})
163
- data, _status_code, _headers = list_with_http_info(file_filesystem_exporter_href, opts)
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 file_filesystem_exporter_href [String] URI of File Filesystem Exporter. e.g.: /pulp/api/v3/exporters/file/filesystem/1/
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(file_filesystem_exporter_href, opts = {})
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 'file_filesystem_exporter_href' is set
182
- if @api_client.config.client_side_validation && file_filesystem_exporter_href.nil?
183
- fail ArgumentError, "Missing the required parameter 'file_filesystem_exporter_href' when calling ExportersFileExportsApi.list"
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 = '{file_filesystem_exporter_href}exports/'.sub('{' + 'file_filesystem_exporter_href' + '}', CGI.escape(file_filesystem_exporter_href.to_s).gsub('%2F', '/'))
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] || ['Basic']
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 export_href [String] URI of Export. e.g.: /pulp/api/v3/exporters/file/filesystem/1/exports/1/
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 [Export]
236
- def read(export_href, opts = {})
237
- data, _status_code, _headers = read_with_http_info(export_href, opts)
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 export_href [String] URI of Export. e.g.: /pulp/api/v3/exporters/file/filesystem/1/exports/1/
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<(Export, Integer, Hash)>] Export data, response status code and response headers
248
- def read_with_http_info(export_href, opts = {})
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 'export_href' is set
253
- if @api_client.config.client_side_validation && export_href.nil?
254
- fail ArgumentError, "Missing the required parameter 'export_href' when calling ExportersFileExportsApi.read"
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 = '{export_href}'.sub('{' + 'export_href' + '}', CGI.escape(export_href.to_s).gsub('%2F', '/'))
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] || 'Export'
276
+ return_type = opts[:return_type] || 'ExportResponse'
277
277
 
278
278
  # auth_names
279
- auth_names = opts[:auth_names] || ['Basic']
279
+ auth_names = opts[:auth_names] || ['basicAuth']
280
280
 
281
281
  new_options = opts.merge(
282
282
  :header_params => header_params,