pulpcore_client 3.2.1 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -4
  3. data/docs/ArtifactsApi.md +2 -0
  4. data/docs/ExportersCoreExportsApi.md +243 -0
  5. data/docs/ExportersPulpApi.md +355 -0
  6. data/docs/Import.md +23 -0
  7. data/docs/ImportersCoreImportsApi.md +243 -0
  8. data/docs/ImportersPulpApi.md +355 -0
  9. data/docs/InlineResponse2001.md +1 -1
  10. data/docs/InlineResponse2002.md +1 -1
  11. data/docs/InlineResponse2003.md +1 -1
  12. data/docs/InlineResponse2004.md +1 -1
  13. data/docs/InlineResponse2005.md +23 -0
  14. data/docs/InlineResponse2006.md +23 -0
  15. data/docs/InlineResponse2007.md +23 -0
  16. data/docs/InlineResponse2008.md +23 -0
  17. data/docs/InlineResponse2009.md +23 -0
  18. data/docs/PulpExport.md +29 -0
  19. data/docs/PulpExporter.md +27 -0
  20. data/docs/PulpImport.md +17 -0
  21. data/docs/PulpImporter.md +23 -0
  22. data/docs/SigningServicesApi.md +6 -2
  23. data/docs/Task.md +6 -0
  24. data/docs/TaskGroup.md +29 -0
  25. data/docs/TaskGroupsApi.md +128 -0
  26. data/docs/TasksApi.md +10 -6
  27. data/docs/UploadsApi.md +4 -2
  28. data/docs/WorkersApi.md +4 -2
  29. data/lib/pulpcore_client/api/artifacts_api.rb +3 -0
  30. data/lib/pulpcore_client/api/exporters_core_exports_api.rb +297 -0
  31. data/lib/pulpcore_client/api/exporters_pulp_api.rb +431 -0
  32. data/lib/pulpcore_client/api/importers_core_imports_api.rb +297 -0
  33. data/lib/pulpcore_client/api/importers_pulp_api.rb +431 -0
  34. data/lib/pulpcore_client/api/signing_services_api.rb +9 -3
  35. data/lib/pulpcore_client/api/task_groups_api.rb +157 -0
  36. data/lib/pulpcore_client/api/tasks_api.rb +15 -9
  37. data/lib/pulpcore_client/api/uploads_api.rb +6 -3
  38. data/lib/pulpcore_client/api/workers_api.rb +6 -3
  39. data/lib/pulpcore_client/models/import.rb +246 -0
  40. data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
  41. data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
  42. data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
  43. data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
  44. data/lib/pulpcore_client/models/inline_response2005.rb +247 -0
  45. data/lib/pulpcore_client/models/inline_response2006.rb +247 -0
  46. data/lib/pulpcore_client/models/inline_response2007.rb +247 -0
  47. data/lib/pulpcore_client/models/inline_response2008.rb +247 -0
  48. data/lib/pulpcore_client/models/inline_response2009.rb +247 -0
  49. data/lib/pulpcore_client/models/pulp_export.rb +310 -0
  50. data/lib/pulpcore_client/models/pulp_exporter.rb +310 -0
  51. data/lib/pulpcore_client/models/pulp_import.rb +231 -0
  52. data/lib/pulpcore_client/models/pulp_importer.rb +262 -0
  53. data/lib/pulpcore_client/models/task.rb +33 -1
  54. data/lib/pulpcore_client/models/task_group.rb +291 -0
  55. data/lib/pulpcore_client/version.rb +1 -1
  56. data/lib/pulpcore_client.rb +16 -0
  57. data/spec/api/artifacts_api_spec.rb +1 -0
  58. data/spec/api/exporters_core_exports_api_spec.rb +91 -0
  59. data/spec/api/exporters_pulp_api_spec.rb +117 -0
  60. data/spec/api/importers_core_imports_api_spec.rb +91 -0
  61. data/spec/api/importers_pulp_api_spec.rb +117 -0
  62. data/spec/api/signing_services_api_spec.rb +3 -1
  63. data/spec/api/task_groups_api_spec.rb +63 -0
  64. data/spec/api/tasks_api_spec.rb +5 -3
  65. data/spec/api/uploads_api_spec.rb +2 -1
  66. data/spec/api/workers_api_spec.rb +2 -1
  67. data/spec/models/import_spec.rb +59 -0
  68. data/spec/models/inline_response2005_spec.rb +59 -0
  69. data/spec/models/inline_response2006_spec.rb +59 -0
  70. data/spec/models/inline_response2007_spec.rb +59 -0
  71. data/spec/models/inline_response2008_spec.rb +59 -0
  72. data/spec/models/inline_response2009_spec.rb +59 -0
  73. data/spec/models/pulp_export_spec.rb +77 -0
  74. data/spec/models/pulp_exporter_spec.rb +71 -0
  75. data/spec/models/pulp_import_spec.rb +41 -0
  76. data/spec/models/pulp_importer_spec.rb +59 -0
  77. data/spec/models/task_group_spec.rb +77 -0
  78. data/spec/models/task_spec.rb +18 -0
  79. metadata +66 -2
@@ -0,0 +1,431 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpcoreClient
16
+ class ExportersPulpApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Create a pulp exporter
23
+ # ViewSet for viewing PulpExporters.
24
+ # @param data [PulpExporter]
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [PulpExporter]
27
+ def create(data, opts = {})
28
+ data, _status_code, _headers = create_with_http_info(data, opts)
29
+ data
30
+ end
31
+
32
+ # Create a pulp exporter
33
+ # ViewSet for viewing PulpExporters.
34
+ # @param data [PulpExporter]
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(PulpExporter, Integer, Hash)>] PulpExporter data, response status code and response headers
37
+ def create_with_http_info(data, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: ExportersPulpApi.create ...'
40
+ end
41
+ # verify the required parameter 'data' is set
42
+ if @api_client.config.client_side_validation && data.nil?
43
+ fail ArgumentError, "Missing the required parameter 'data' when calling ExportersPulpApi.create"
44
+ end
45
+ # resource path
46
+ local_var_path = '/pulp/api/v3/exporters/core/pulp/'
47
+
48
+ # query parameters
49
+ query_params = opts[:query_params] || {}
50
+
51
+ # header parameters
52
+ header_params = opts[:header_params] || {}
53
+ # HTTP header 'Accept' (if needed)
54
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
55
+ # HTTP header 'Content-Type'
56
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
57
+
58
+ # form parameters
59
+ form_params = opts[:form_params] || {}
60
+
61
+ # http body (model)
62
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
63
+
64
+ # return_type
65
+ return_type = opts[:return_type] || 'PulpExporter'
66
+
67
+ # auth_names
68
+ auth_names = opts[:auth_names] || ['Basic']
69
+
70
+ new_options = opts.merge(
71
+ :header_params => header_params,
72
+ :query_params => query_params,
73
+ :form_params => form_params,
74
+ :body => post_body,
75
+ :auth_names => auth_names,
76
+ :return_type => return_type
77
+ )
78
+
79
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
+ if @api_client.config.debugging
81
+ @api_client.config.logger.debug "API called: ExportersPulpApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
+ end
83
+ return data, status_code, headers
84
+ end
85
+
86
+ # Delete a pulp exporter
87
+ # ViewSet for viewing PulpExporters.
88
+ # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [nil]
91
+ def delete(pulp_exporter_href, opts = {})
92
+ delete_with_http_info(pulp_exporter_href, opts)
93
+ nil
94
+ end
95
+
96
+ # Delete a pulp exporter
97
+ # ViewSet for viewing PulpExporters.
98
+ # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
+ def delete_with_http_info(pulp_exporter_href, opts = {})
102
+ if @api_client.config.debugging
103
+ @api_client.config.logger.debug 'Calling API: ExportersPulpApi.delete ...'
104
+ end
105
+ # verify the required parameter 'pulp_exporter_href' is set
106
+ if @api_client.config.client_side_validation && pulp_exporter_href.nil?
107
+ fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpApi.delete"
108
+ end
109
+ # resource path
110
+ local_var_path = '{pulp_exporter_href}'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
111
+
112
+ # query parameters
113
+ query_params = opts[:query_params] || {}
114
+
115
+ # header parameters
116
+ header_params = opts[:header_params] || {}
117
+
118
+ # form parameters
119
+ form_params = opts[:form_params] || {}
120
+
121
+ # http body (model)
122
+ post_body = opts[:body]
123
+
124
+ # return_type
125
+ return_type = opts[:return_type]
126
+
127
+ # auth_names
128
+ auth_names = opts[:auth_names] || ['Basic']
129
+
130
+ new_options = opts.merge(
131
+ :header_params => header_params,
132
+ :query_params => query_params,
133
+ :form_params => form_params,
134
+ :body => post_body,
135
+ :auth_names => auth_names,
136
+ :return_type => return_type
137
+ )
138
+
139
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
140
+ if @api_client.config.debugging
141
+ @api_client.config.logger.debug "API called: ExportersPulpApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
142
+ end
143
+ return data, status_code, headers
144
+ end
145
+
146
+ # List pulp exporters
147
+ # ViewSet for viewing PulpExporters.
148
+ # @param [Hash] opts the optional parameters
149
+ # @option opts [String] :ordering Which field to use when ordering the results.
150
+ # @option opts [String] :name
151
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
152
+ # @option opts [Integer] :limit Number of results to return per page.
153
+ # @option opts [Integer] :offset The initial index from which to return the results.
154
+ # @option opts [String] :fields A list of fields to include in the response.
155
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
156
+ # @return [InlineResponse2001]
157
+ def list(opts = {})
158
+ data, _status_code, _headers = list_with_http_info(opts)
159
+ data
160
+ end
161
+
162
+ # List pulp exporters
163
+ # ViewSet for viewing PulpExporters.
164
+ # @param [Hash] opts the optional parameters
165
+ # @option opts [String] :ordering Which field to use when ordering the results.
166
+ # @option opts [String] :name
167
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
168
+ # @option opts [Integer] :limit Number of results to return per page.
169
+ # @option opts [Integer] :offset The initial index from which to return the results.
170
+ # @option opts [String] :fields A list of fields to include in the response.
171
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
172
+ # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
173
+ def list_with_http_info(opts = {})
174
+ if @api_client.config.debugging
175
+ @api_client.config.logger.debug 'Calling API: ExportersPulpApi.list ...'
176
+ end
177
+ # resource path
178
+ local_var_path = '/pulp/api/v3/exporters/core/pulp/'
179
+
180
+ # query parameters
181
+ query_params = opts[:query_params] || {}
182
+ query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
183
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
184
+ query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
185
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
186
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
187
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
188
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
189
+
190
+ # header parameters
191
+ header_params = opts[:header_params] || {}
192
+ # HTTP header 'Accept' (if needed)
193
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
194
+
195
+ # form parameters
196
+ form_params = opts[:form_params] || {}
197
+
198
+ # http body (model)
199
+ post_body = opts[:body]
200
+
201
+ # return_type
202
+ return_type = opts[:return_type] || 'InlineResponse2001'
203
+
204
+ # auth_names
205
+ auth_names = opts[:auth_names] || ['Basic']
206
+
207
+ new_options = opts.merge(
208
+ :header_params => header_params,
209
+ :query_params => query_params,
210
+ :form_params => form_params,
211
+ :body => post_body,
212
+ :auth_names => auth_names,
213
+ :return_type => return_type
214
+ )
215
+
216
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
217
+ if @api_client.config.debugging
218
+ @api_client.config.logger.debug "API called: ExportersPulpApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
219
+ end
220
+ return data, status_code, headers
221
+ end
222
+
223
+ # Partially update a pulp exporter
224
+ # ViewSet for viewing PulpExporters.
225
+ # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
226
+ # @param data [PulpExporter]
227
+ # @param [Hash] opts the optional parameters
228
+ # @return [PulpExporter]
229
+ def partial_update(pulp_exporter_href, data, opts = {})
230
+ data, _status_code, _headers = partial_update_with_http_info(pulp_exporter_href, data, opts)
231
+ data
232
+ end
233
+
234
+ # Partially update a pulp exporter
235
+ # ViewSet for viewing PulpExporters.
236
+ # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
237
+ # @param data [PulpExporter]
238
+ # @param [Hash] opts the optional parameters
239
+ # @return [Array<(PulpExporter, Integer, Hash)>] PulpExporter data, response status code and response headers
240
+ def partial_update_with_http_info(pulp_exporter_href, data, opts = {})
241
+ if @api_client.config.debugging
242
+ @api_client.config.logger.debug 'Calling API: ExportersPulpApi.partial_update ...'
243
+ end
244
+ # verify the required parameter 'pulp_exporter_href' is set
245
+ if @api_client.config.client_side_validation && pulp_exporter_href.nil?
246
+ fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpApi.partial_update"
247
+ end
248
+ # verify the required parameter 'data' is set
249
+ if @api_client.config.client_side_validation && data.nil?
250
+ fail ArgumentError, "Missing the required parameter 'data' when calling ExportersPulpApi.partial_update"
251
+ end
252
+ # resource path
253
+ local_var_path = '{pulp_exporter_href}'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
254
+
255
+ # query parameters
256
+ query_params = opts[:query_params] || {}
257
+
258
+ # header parameters
259
+ header_params = opts[:header_params] || {}
260
+ # HTTP header 'Accept' (if needed)
261
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
262
+ # HTTP header 'Content-Type'
263
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
264
+
265
+ # form parameters
266
+ form_params = opts[:form_params] || {}
267
+
268
+ # http body (model)
269
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
270
+
271
+ # return_type
272
+ return_type = opts[:return_type] || 'PulpExporter'
273
+
274
+ # auth_names
275
+ auth_names = opts[:auth_names] || ['Basic']
276
+
277
+ new_options = opts.merge(
278
+ :header_params => header_params,
279
+ :query_params => query_params,
280
+ :form_params => form_params,
281
+ :body => post_body,
282
+ :auth_names => auth_names,
283
+ :return_type => return_type
284
+ )
285
+
286
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
287
+ if @api_client.config.debugging
288
+ @api_client.config.logger.debug "API called: ExportersPulpApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
289
+ end
290
+ return data, status_code, headers
291
+ end
292
+
293
+ # Inspect a pulp exporter
294
+ # ViewSet for viewing PulpExporters.
295
+ # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
296
+ # @param [Hash] opts the optional parameters
297
+ # @option opts [String] :fields A list of fields to include in the response.
298
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
299
+ # @return [PulpExporter]
300
+ def read(pulp_exporter_href, opts = {})
301
+ data, _status_code, _headers = read_with_http_info(pulp_exporter_href, opts)
302
+ data
303
+ end
304
+
305
+ # Inspect a pulp exporter
306
+ # ViewSet for viewing PulpExporters.
307
+ # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
308
+ # @param [Hash] opts the optional parameters
309
+ # @option opts [String] :fields A list of fields to include in the response.
310
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
311
+ # @return [Array<(PulpExporter, Integer, Hash)>] PulpExporter data, response status code and response headers
312
+ def read_with_http_info(pulp_exporter_href, opts = {})
313
+ if @api_client.config.debugging
314
+ @api_client.config.logger.debug 'Calling API: ExportersPulpApi.read ...'
315
+ end
316
+ # verify the required parameter 'pulp_exporter_href' is set
317
+ if @api_client.config.client_side_validation && pulp_exporter_href.nil?
318
+ fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpApi.read"
319
+ end
320
+ # resource path
321
+ local_var_path = '{pulp_exporter_href}'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
322
+
323
+ # query parameters
324
+ query_params = opts[:query_params] || {}
325
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
326
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
327
+
328
+ # header parameters
329
+ header_params = opts[:header_params] || {}
330
+ # HTTP header 'Accept' (if needed)
331
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
332
+
333
+ # form parameters
334
+ form_params = opts[:form_params] || {}
335
+
336
+ # http body (model)
337
+ post_body = opts[:body]
338
+
339
+ # return_type
340
+ return_type = opts[:return_type] || 'PulpExporter'
341
+
342
+ # auth_names
343
+ auth_names = opts[:auth_names] || ['Basic']
344
+
345
+ new_options = opts.merge(
346
+ :header_params => header_params,
347
+ :query_params => query_params,
348
+ :form_params => form_params,
349
+ :body => post_body,
350
+ :auth_names => auth_names,
351
+ :return_type => return_type
352
+ )
353
+
354
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
355
+ if @api_client.config.debugging
356
+ @api_client.config.logger.debug "API called: ExportersPulpApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
357
+ end
358
+ return data, status_code, headers
359
+ end
360
+
361
+ # Update a pulp exporter
362
+ # ViewSet for viewing PulpExporters.
363
+ # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
364
+ # @param data [PulpExporter]
365
+ # @param [Hash] opts the optional parameters
366
+ # @return [PulpExporter]
367
+ def update(pulp_exporter_href, data, opts = {})
368
+ data, _status_code, _headers = update_with_http_info(pulp_exporter_href, data, opts)
369
+ data
370
+ end
371
+
372
+ # Update a pulp exporter
373
+ # ViewSet for viewing PulpExporters.
374
+ # @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
375
+ # @param data [PulpExporter]
376
+ # @param [Hash] opts the optional parameters
377
+ # @return [Array<(PulpExporter, Integer, Hash)>] PulpExporter data, response status code and response headers
378
+ def update_with_http_info(pulp_exporter_href, data, opts = {})
379
+ if @api_client.config.debugging
380
+ @api_client.config.logger.debug 'Calling API: ExportersPulpApi.update ...'
381
+ end
382
+ # verify the required parameter 'pulp_exporter_href' is set
383
+ if @api_client.config.client_side_validation && pulp_exporter_href.nil?
384
+ fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpApi.update"
385
+ end
386
+ # verify the required parameter 'data' is set
387
+ if @api_client.config.client_side_validation && data.nil?
388
+ fail ArgumentError, "Missing the required parameter 'data' when calling ExportersPulpApi.update"
389
+ end
390
+ # resource path
391
+ local_var_path = '{pulp_exporter_href}'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
392
+
393
+ # query parameters
394
+ query_params = opts[:query_params] || {}
395
+
396
+ # header parameters
397
+ header_params = opts[:header_params] || {}
398
+ # HTTP header 'Accept' (if needed)
399
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
400
+ # HTTP header 'Content-Type'
401
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
402
+
403
+ # form parameters
404
+ form_params = opts[:form_params] || {}
405
+
406
+ # http body (model)
407
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
408
+
409
+ # return_type
410
+ return_type = opts[:return_type] || 'PulpExporter'
411
+
412
+ # auth_names
413
+ auth_names = opts[:auth_names] || ['Basic']
414
+
415
+ new_options = opts.merge(
416
+ :header_params => header_params,
417
+ :query_params => query_params,
418
+ :form_params => form_params,
419
+ :body => post_body,
420
+ :auth_names => auth_names,
421
+ :return_type => return_type
422
+ )
423
+
424
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
425
+ if @api_client.config.debugging
426
+ @api_client.config.logger.debug "API called: ExportersPulpApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
427
+ end
428
+ return data, status_code, headers
429
+ end
430
+ end
431
+ end