pulp_container_client 1.0.0rc1

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 (102) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +164 -0
  4. data/Rakefile +10 -0
  5. data/docs/AsyncOperationResponse.md +17 -0
  6. data/docs/ContainerBlob.md +25 -0
  7. data/docs/ContainerContainerDistribution.md +31 -0
  8. data/docs/ContainerContainerRemote.md +43 -0
  9. data/docs/ContainerContainerRepository.md +27 -0
  10. data/docs/ContainerManifest.md +33 -0
  11. data/docs/ContainerTag.md +25 -0
  12. data/docs/ContentBlobsApi.md +142 -0
  13. data/docs/ContentManifestsApi.md +142 -0
  14. data/docs/ContentSummary.md +21 -0
  15. data/docs/ContentTagsApi.md +144 -0
  16. data/docs/DistributionsContainerApi.md +362 -0
  17. data/docs/InlineResponse200.md +23 -0
  18. data/docs/InlineResponse2001.md +23 -0
  19. data/docs/InlineResponse2002.md +23 -0
  20. data/docs/InlineResponse2003.md +23 -0
  21. data/docs/InlineResponse2004.md +23 -0
  22. data/docs/InlineResponse2005.md +23 -0
  23. data/docs/InlineResponse2006.md +23 -0
  24. data/docs/ManifestCopy.md +23 -0
  25. data/docs/RecursiveManage.md +17 -0
  26. data/docs/RemotesContainerApi.md +366 -0
  27. data/docs/RepositoriesContainerApi.md +739 -0
  28. data/docs/RepositoriesContainerVersionsApi.md +214 -0
  29. data/docs/RepositorySyncURL.md +19 -0
  30. data/docs/RepositoryVersion.md +25 -0
  31. data/docs/TagCopy.md +21 -0
  32. data/docs/TagImage.md +19 -0
  33. data/docs/UnTagImage.md +17 -0
  34. data/git_push.sh +58 -0
  35. data/lib/pulp_container_client/api/content_blobs_api.rb +176 -0
  36. data/lib/pulp_container_client/api/content_manifests_api.rb +176 -0
  37. data/lib/pulp_container_client/api/content_tags_api.rb +179 -0
  38. data/lib/pulp_container_client/api/distributions_container_api.rb +442 -0
  39. data/lib/pulp_container_client/api/remotes_container_api.rb +448 -0
  40. data/lib/pulp_container_client/api/repositories_container_api.rb +906 -0
  41. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +268 -0
  42. data/lib/pulp_container_client/api_client.rb +402 -0
  43. data/lib/pulp_container_client/api_error.rb +57 -0
  44. data/lib/pulp_container_client/configuration.rb +243 -0
  45. data/lib/pulp_container_client/models/async_operation_response.rb +212 -0
  46. data/lib/pulp_container_client/models/container_blob.rb +299 -0
  47. data/lib/pulp_container_client/models/container_container_distribution.rb +342 -0
  48. data/lib/pulp_container_client/models/container_container_remote.rb +526 -0
  49. data/lib/pulp_container_client/models/container_container_repository.rb +294 -0
  50. data/lib/pulp_container_client/models/container_manifest.rb +363 -0
  51. data/lib/pulp_container_client/models/container_tag.rb +280 -0
  52. data/lib/pulp_container_client/models/content_summary.rb +246 -0
  53. data/lib/pulp_container_client/models/inline_response200.rb +247 -0
  54. data/lib/pulp_container_client/models/inline_response2001.rb +247 -0
  55. data/lib/pulp_container_client/models/inline_response2002.rb +247 -0
  56. data/lib/pulp_container_client/models/inline_response2003.rb +247 -0
  57. data/lib/pulp_container_client/models/inline_response2004.rb +247 -0
  58. data/lib/pulp_container_client/models/inline_response2005.rb +247 -0
  59. data/lib/pulp_container_client/models/inline_response2006.rb +247 -0
  60. data/lib/pulp_container_client/models/manifest_copy.rb +263 -0
  61. data/lib/pulp_container_client/models/recursive_manage.rb +209 -0
  62. data/lib/pulp_container_client/models/repository_sync_url.rb +224 -0
  63. data/lib/pulp_container_client/models/repository_version.rb +244 -0
  64. data/lib/pulp_container_client/models/tag_copy.rb +229 -0
  65. data/lib/pulp_container_client/models/tag_image.rb +265 -0
  66. data/lib/pulp_container_client/models/un_tag_image.rb +231 -0
  67. data/lib/pulp_container_client/version.rb +15 -0
  68. data/lib/pulp_container_client.rb +68 -0
  69. data/pulp_container_client.gemspec +39 -0
  70. data/spec/api/content_blobs_api_spec.rb +70 -0
  71. data/spec/api/content_manifests_api_spec.rb +70 -0
  72. data/spec/api/content_tags_api_spec.rb +71 -0
  73. data/spec/api/distributions_container_api_spec.rb +120 -0
  74. data/spec/api/remotes_container_api_spec.rb +122 -0
  75. data/spec/api/repositories_container_api_spec.rb +200 -0
  76. data/spec/api/repositories_container_versions_api_spec.rb +91 -0
  77. data/spec/api_client_spec.rb +188 -0
  78. data/spec/configuration_spec.rb +42 -0
  79. data/spec/models/async_operation_response_spec.rb +41 -0
  80. data/spec/models/container_blob_spec.rb +65 -0
  81. data/spec/models/container_container_distribution_spec.rb +83 -0
  82. data/spec/models/container_container_remote_spec.rb +123 -0
  83. data/spec/models/container_container_repository_spec.rb +71 -0
  84. data/spec/models/container_manifest_spec.rb +89 -0
  85. data/spec/models/container_tag_spec.rb +65 -0
  86. data/spec/models/content_summary_spec.rb +53 -0
  87. data/spec/models/inline_response2001_spec.rb +59 -0
  88. data/spec/models/inline_response2002_spec.rb +59 -0
  89. data/spec/models/inline_response2003_spec.rb +59 -0
  90. data/spec/models/inline_response2004_spec.rb +59 -0
  91. data/spec/models/inline_response2005_spec.rb +59 -0
  92. data/spec/models/inline_response2006_spec.rb +59 -0
  93. data/spec/models/inline_response200_spec.rb +59 -0
  94. data/spec/models/manifest_copy_spec.rb +63 -0
  95. data/spec/models/recursive_manage_spec.rb +41 -0
  96. data/spec/models/repository_sync_url_spec.rb +47 -0
  97. data/spec/models/repository_version_spec.rb +65 -0
  98. data/spec/models/tag_copy_spec.rb +53 -0
  99. data/spec/models/tag_image_spec.rb +47 -0
  100. data/spec/models/un_tag_image_spec.rb +41 -0
  101. data/spec/spec_helper.rb +111 -0
  102. metadata +230 -0
@@ -0,0 +1,906 @@
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.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpContainerClient
16
+ class RepositoriesContainerApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Trigger an asynchronous task to recursively add container content.
23
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
24
+ # @param data [RecursiveManage]
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [AsyncOperationResponse]
27
+ def add(container_repository_href, data, opts = {})
28
+ data, _status_code, _headers = add_with_http_info(container_repository_href, data, opts)
29
+ data
30
+ end
31
+
32
+ # Trigger an asynchronous task to recursively add container content.
33
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
34
+ # @param data [RecursiveManage]
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
+ def add_with_http_info(container_repository_href, data, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.add ...'
40
+ end
41
+ # verify the required parameter 'container_repository_href' is set
42
+ if @api_client.config.client_side_validation && container_repository_href.nil?
43
+ fail ArgumentError, "Missing the required parameter 'container_repository_href' when calling RepositoriesContainerApi.add"
44
+ end
45
+ # verify the required parameter 'data' is set
46
+ if @api_client.config.client_side_validation && data.nil?
47
+ fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesContainerApi.add"
48
+ end
49
+ # resource path
50
+ local_var_path = '{container_repository_href}add/'.sub('{' + 'container_repository_href' + '}', CGI.escape(container_repository_href.to_s).gsub('%2F', '/'))
51
+
52
+ # query parameters
53
+ query_params = opts[:query_params] || {}
54
+
55
+ # header parameters
56
+ header_params = opts[:header_params] || {}
57
+ # HTTP header 'Accept' (if needed)
58
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
59
+ # HTTP header 'Content-Type'
60
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
61
+
62
+ # form parameters
63
+ form_params = opts[:form_params] || {}
64
+
65
+ # http body (model)
66
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
67
+
68
+ # return_type
69
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
70
+
71
+ # auth_names
72
+ auth_names = opts[:auth_names] || ['Basic']
73
+
74
+ new_options = opts.merge(
75
+ :header_params => header_params,
76
+ :query_params => query_params,
77
+ :form_params => form_params,
78
+ :body => post_body,
79
+ :auth_names => auth_names,
80
+ :return_type => return_type
81
+ )
82
+
83
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
84
+ if @api_client.config.debugging
85
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#add\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
+ end
87
+ return data, status_code, headers
88
+ end
89
+
90
+ # Trigger an asynchronous task to copy manifests
91
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
92
+ # @param data [ManifestCopy]
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [AsyncOperationResponse]
95
+ def copy_manifests(container_repository_href, data, opts = {})
96
+ data, _status_code, _headers = copy_manifests_with_http_info(container_repository_href, data, opts)
97
+ data
98
+ end
99
+
100
+ # Trigger an asynchronous task to copy manifests
101
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
102
+ # @param data [ManifestCopy]
103
+ # @param [Hash] opts the optional parameters
104
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
105
+ def copy_manifests_with_http_info(container_repository_href, data, opts = {})
106
+ if @api_client.config.debugging
107
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.copy_manifests ...'
108
+ end
109
+ # verify the required parameter 'container_repository_href' is set
110
+ if @api_client.config.client_side_validation && container_repository_href.nil?
111
+ fail ArgumentError, "Missing the required parameter 'container_repository_href' when calling RepositoriesContainerApi.copy_manifests"
112
+ end
113
+ # verify the required parameter 'data' is set
114
+ if @api_client.config.client_side_validation && data.nil?
115
+ fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesContainerApi.copy_manifests"
116
+ end
117
+ # resource path
118
+ local_var_path = '{container_repository_href}copy_manifests/'.sub('{' + 'container_repository_href' + '}', CGI.escape(container_repository_href.to_s).gsub('%2F', '/'))
119
+
120
+ # query parameters
121
+ query_params = opts[:query_params] || {}
122
+
123
+ # header parameters
124
+ header_params = opts[:header_params] || {}
125
+ # HTTP header 'Accept' (if needed)
126
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
127
+ # HTTP header 'Content-Type'
128
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
129
+
130
+ # form parameters
131
+ form_params = opts[:form_params] || {}
132
+
133
+ # http body (model)
134
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
135
+
136
+ # return_type
137
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
138
+
139
+ # auth_names
140
+ auth_names = opts[:auth_names] || ['Basic']
141
+
142
+ new_options = opts.merge(
143
+ :header_params => header_params,
144
+ :query_params => query_params,
145
+ :form_params => form_params,
146
+ :body => post_body,
147
+ :auth_names => auth_names,
148
+ :return_type => return_type
149
+ )
150
+
151
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
152
+ if @api_client.config.debugging
153
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#copy_manifests\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
154
+ end
155
+ return data, status_code, headers
156
+ end
157
+
158
+ # Trigger an asynchronous task to copy tags
159
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
160
+ # @param data [TagCopy]
161
+ # @param [Hash] opts the optional parameters
162
+ # @return [AsyncOperationResponse]
163
+ def copy_tags(container_repository_href, data, opts = {})
164
+ data, _status_code, _headers = copy_tags_with_http_info(container_repository_href, data, opts)
165
+ data
166
+ end
167
+
168
+ # Trigger an asynchronous task to copy tags
169
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
170
+ # @param data [TagCopy]
171
+ # @param [Hash] opts the optional parameters
172
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
173
+ def copy_tags_with_http_info(container_repository_href, data, opts = {})
174
+ if @api_client.config.debugging
175
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.copy_tags ...'
176
+ end
177
+ # verify the required parameter 'container_repository_href' is set
178
+ if @api_client.config.client_side_validation && container_repository_href.nil?
179
+ fail ArgumentError, "Missing the required parameter 'container_repository_href' when calling RepositoriesContainerApi.copy_tags"
180
+ end
181
+ # verify the required parameter 'data' is set
182
+ if @api_client.config.client_side_validation && data.nil?
183
+ fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesContainerApi.copy_tags"
184
+ end
185
+ # resource path
186
+ local_var_path = '{container_repository_href}copy_tags/'.sub('{' + 'container_repository_href' + '}', CGI.escape(container_repository_href.to_s).gsub('%2F', '/'))
187
+
188
+ # query parameters
189
+ query_params = opts[:query_params] || {}
190
+
191
+ # header parameters
192
+ header_params = opts[:header_params] || {}
193
+ # HTTP header 'Accept' (if needed)
194
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
195
+ # HTTP header 'Content-Type'
196
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
197
+
198
+ # form parameters
199
+ form_params = opts[:form_params] || {}
200
+
201
+ # http body (model)
202
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
203
+
204
+ # return_type
205
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
206
+
207
+ # auth_names
208
+ auth_names = opts[:auth_names] || ['Basic']
209
+
210
+ new_options = opts.merge(
211
+ :header_params => header_params,
212
+ :query_params => query_params,
213
+ :form_params => form_params,
214
+ :body => post_body,
215
+ :auth_names => auth_names,
216
+ :return_type => return_type
217
+ )
218
+
219
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
220
+ if @api_client.config.debugging
221
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#copy_tags\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
222
+ end
223
+ return data, status_code, headers
224
+ end
225
+
226
+ # Create a container repository
227
+ # ViewSet for container repo.
228
+ # @param data [ContainerContainerRepository]
229
+ # @param [Hash] opts the optional parameters
230
+ # @return [ContainerContainerRepository]
231
+ def create(data, opts = {})
232
+ data, _status_code, _headers = create_with_http_info(data, opts)
233
+ data
234
+ end
235
+
236
+ # Create a container repository
237
+ # ViewSet for container repo.
238
+ # @param data [ContainerContainerRepository]
239
+ # @param [Hash] opts the optional parameters
240
+ # @return [Array<(ContainerContainerRepository, Integer, Hash)>] ContainerContainerRepository data, response status code and response headers
241
+ def create_with_http_info(data, opts = {})
242
+ if @api_client.config.debugging
243
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.create ...'
244
+ end
245
+ # verify the required parameter 'data' is set
246
+ if @api_client.config.client_side_validation && data.nil?
247
+ fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesContainerApi.create"
248
+ end
249
+ # resource path
250
+ local_var_path = '/pulp/api/v3/repositories/container/container/'
251
+
252
+ # query parameters
253
+ query_params = opts[:query_params] || {}
254
+
255
+ # header parameters
256
+ header_params = opts[:header_params] || {}
257
+ # HTTP header 'Accept' (if needed)
258
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
259
+ # HTTP header 'Content-Type'
260
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
261
+
262
+ # form parameters
263
+ form_params = opts[:form_params] || {}
264
+
265
+ # http body (model)
266
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
267
+
268
+ # return_type
269
+ return_type = opts[:return_type] || 'ContainerContainerRepository'
270
+
271
+ # auth_names
272
+ auth_names = opts[:auth_names] || ['Basic']
273
+
274
+ new_options = opts.merge(
275
+ :header_params => header_params,
276
+ :query_params => query_params,
277
+ :form_params => form_params,
278
+ :body => post_body,
279
+ :auth_names => auth_names,
280
+ :return_type => return_type
281
+ )
282
+
283
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
284
+ if @api_client.config.debugging
285
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
286
+ end
287
+ return data, status_code, headers
288
+ end
289
+
290
+ # Delete a container repository
291
+ # Trigger an asynchronous task to delete a repository.
292
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
293
+ # @param [Hash] opts the optional parameters
294
+ # @return [AsyncOperationResponse]
295
+ def delete(container_repository_href, opts = {})
296
+ data, _status_code, _headers = delete_with_http_info(container_repository_href, opts)
297
+ data
298
+ end
299
+
300
+ # Delete a container repository
301
+ # Trigger an asynchronous task to delete a repository.
302
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
303
+ # @param [Hash] opts the optional parameters
304
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
305
+ def delete_with_http_info(container_repository_href, opts = {})
306
+ if @api_client.config.debugging
307
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.delete ...'
308
+ end
309
+ # verify the required parameter 'container_repository_href' is set
310
+ if @api_client.config.client_side_validation && container_repository_href.nil?
311
+ fail ArgumentError, "Missing the required parameter 'container_repository_href' when calling RepositoriesContainerApi.delete"
312
+ end
313
+ # resource path
314
+ local_var_path = '{container_repository_href}'.sub('{' + 'container_repository_href' + '}', CGI.escape(container_repository_href.to_s).gsub('%2F', '/'))
315
+
316
+ # query parameters
317
+ query_params = opts[:query_params] || {}
318
+
319
+ # header parameters
320
+ header_params = opts[:header_params] || {}
321
+ # HTTP header 'Accept' (if needed)
322
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
323
+
324
+ # form parameters
325
+ form_params = opts[:form_params] || {}
326
+
327
+ # http body (model)
328
+ post_body = opts[:body]
329
+
330
+ # return_type
331
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
332
+
333
+ # auth_names
334
+ auth_names = opts[:auth_names] || ['Basic']
335
+
336
+ new_options = opts.merge(
337
+ :header_params => header_params,
338
+ :query_params => query_params,
339
+ :form_params => form_params,
340
+ :body => post_body,
341
+ :auth_names => auth_names,
342
+ :return_type => return_type
343
+ )
344
+
345
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
346
+ if @api_client.config.debugging
347
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
348
+ end
349
+ return data, status_code, headers
350
+ end
351
+
352
+ # List container repositorys
353
+ # ViewSet for container repo.
354
+ # @param [Hash] opts the optional parameters
355
+ # @option opts [String] :name
356
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
357
+ # @option opts [Integer] :limit Number of results to return per page.
358
+ # @option opts [Integer] :offset The initial index from which to return the results.
359
+ # @option opts [String] :fields A list of fields to include in the response.
360
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
361
+ # @return [InlineResponse2005]
362
+ def list(opts = {})
363
+ data, _status_code, _headers = list_with_http_info(opts)
364
+ data
365
+ end
366
+
367
+ # List container repositorys
368
+ # ViewSet for container repo.
369
+ # @param [Hash] opts the optional parameters
370
+ # @option opts [String] :name
371
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
372
+ # @option opts [Integer] :limit Number of results to return per page.
373
+ # @option opts [Integer] :offset The initial index from which to return the results.
374
+ # @option opts [String] :fields A list of fields to include in the response.
375
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
376
+ # @return [Array<(InlineResponse2005, Integer, Hash)>] InlineResponse2005 data, response status code and response headers
377
+ def list_with_http_info(opts = {})
378
+ if @api_client.config.debugging
379
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.list ...'
380
+ end
381
+ # resource path
382
+ local_var_path = '/pulp/api/v3/repositories/container/container/'
383
+
384
+ # query parameters
385
+ query_params = opts[:query_params] || {}
386
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
387
+ query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
388
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
389
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
390
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
391
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
392
+
393
+ # header parameters
394
+ header_params = opts[:header_params] || {}
395
+ # HTTP header 'Accept' (if needed)
396
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
397
+
398
+ # form parameters
399
+ form_params = opts[:form_params] || {}
400
+
401
+ # http body (model)
402
+ post_body = opts[:body]
403
+
404
+ # return_type
405
+ return_type = opts[:return_type] || 'InlineResponse2005'
406
+
407
+ # auth_names
408
+ auth_names = opts[:auth_names] || ['Basic']
409
+
410
+ new_options = opts.merge(
411
+ :header_params => header_params,
412
+ :query_params => query_params,
413
+ :form_params => form_params,
414
+ :body => post_body,
415
+ :auth_names => auth_names,
416
+ :return_type => return_type
417
+ )
418
+
419
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
420
+ if @api_client.config.debugging
421
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
422
+ end
423
+ return data, status_code, headers
424
+ end
425
+
426
+ # Partially update a container repository
427
+ # ViewSet for container repo.
428
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
429
+ # @param data [ContainerContainerRepository]
430
+ # @param [Hash] opts the optional parameters
431
+ # @return [ContainerContainerRepository]
432
+ def partial_update(container_repository_href, data, opts = {})
433
+ data, _status_code, _headers = partial_update_with_http_info(container_repository_href, data, opts)
434
+ data
435
+ end
436
+
437
+ # Partially update a container repository
438
+ # ViewSet for container repo.
439
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
440
+ # @param data [ContainerContainerRepository]
441
+ # @param [Hash] opts the optional parameters
442
+ # @return [Array<(ContainerContainerRepository, Integer, Hash)>] ContainerContainerRepository data, response status code and response headers
443
+ def partial_update_with_http_info(container_repository_href, data, opts = {})
444
+ if @api_client.config.debugging
445
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.partial_update ...'
446
+ end
447
+ # verify the required parameter 'container_repository_href' is set
448
+ if @api_client.config.client_side_validation && container_repository_href.nil?
449
+ fail ArgumentError, "Missing the required parameter 'container_repository_href' when calling RepositoriesContainerApi.partial_update"
450
+ end
451
+ # verify the required parameter 'data' is set
452
+ if @api_client.config.client_side_validation && data.nil?
453
+ fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesContainerApi.partial_update"
454
+ end
455
+ # resource path
456
+ local_var_path = '{container_repository_href}'.sub('{' + 'container_repository_href' + '}', CGI.escape(container_repository_href.to_s).gsub('%2F', '/'))
457
+
458
+ # query parameters
459
+ query_params = opts[:query_params] || {}
460
+
461
+ # header parameters
462
+ header_params = opts[:header_params] || {}
463
+ # HTTP header 'Accept' (if needed)
464
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
465
+ # HTTP header 'Content-Type'
466
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
467
+
468
+ # form parameters
469
+ form_params = opts[:form_params] || {}
470
+
471
+ # http body (model)
472
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
473
+
474
+ # return_type
475
+ return_type = opts[:return_type] || 'ContainerContainerRepository'
476
+
477
+ # auth_names
478
+ auth_names = opts[:auth_names] || ['Basic']
479
+
480
+ new_options = opts.merge(
481
+ :header_params => header_params,
482
+ :query_params => query_params,
483
+ :form_params => form_params,
484
+ :body => post_body,
485
+ :auth_names => auth_names,
486
+ :return_type => return_type
487
+ )
488
+
489
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
490
+ if @api_client.config.debugging
491
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
492
+ end
493
+ return data, status_code, headers
494
+ end
495
+
496
+ # Inspect a container repository
497
+ # ViewSet for container repo.
498
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
499
+ # @param [Hash] opts the optional parameters
500
+ # @option opts [String] :fields A list of fields to include in the response.
501
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
502
+ # @return [ContainerContainerRepository]
503
+ def read(container_repository_href, opts = {})
504
+ data, _status_code, _headers = read_with_http_info(container_repository_href, opts)
505
+ data
506
+ end
507
+
508
+ # Inspect a container repository
509
+ # ViewSet for container repo.
510
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
511
+ # @param [Hash] opts the optional parameters
512
+ # @option opts [String] :fields A list of fields to include in the response.
513
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
514
+ # @return [Array<(ContainerContainerRepository, Integer, Hash)>] ContainerContainerRepository data, response status code and response headers
515
+ def read_with_http_info(container_repository_href, opts = {})
516
+ if @api_client.config.debugging
517
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.read ...'
518
+ end
519
+ # verify the required parameter 'container_repository_href' is set
520
+ if @api_client.config.client_side_validation && container_repository_href.nil?
521
+ fail ArgumentError, "Missing the required parameter 'container_repository_href' when calling RepositoriesContainerApi.read"
522
+ end
523
+ # resource path
524
+ local_var_path = '{container_repository_href}'.sub('{' + 'container_repository_href' + '}', CGI.escape(container_repository_href.to_s).gsub('%2F', '/'))
525
+
526
+ # query parameters
527
+ query_params = opts[:query_params] || {}
528
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
529
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
530
+
531
+ # header parameters
532
+ header_params = opts[:header_params] || {}
533
+ # HTTP header 'Accept' (if needed)
534
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
535
+
536
+ # form parameters
537
+ form_params = opts[:form_params] || {}
538
+
539
+ # http body (model)
540
+ post_body = opts[:body]
541
+
542
+ # return_type
543
+ return_type = opts[:return_type] || 'ContainerContainerRepository'
544
+
545
+ # auth_names
546
+ auth_names = opts[:auth_names] || ['Basic']
547
+
548
+ new_options = opts.merge(
549
+ :header_params => header_params,
550
+ :query_params => query_params,
551
+ :form_params => form_params,
552
+ :body => post_body,
553
+ :auth_names => auth_names,
554
+ :return_type => return_type
555
+ )
556
+
557
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
558
+ if @api_client.config.debugging
559
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
560
+ end
561
+ return data, status_code, headers
562
+ end
563
+
564
+ # Trigger an async task to recursively remove container content.
565
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
566
+ # @param data [RecursiveManage]
567
+ # @param [Hash] opts the optional parameters
568
+ # @return [AsyncOperationResponse]
569
+ def remove(container_repository_href, data, opts = {})
570
+ data, _status_code, _headers = remove_with_http_info(container_repository_href, data, opts)
571
+ data
572
+ end
573
+
574
+ # Trigger an async task to recursively remove container content.
575
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
576
+ # @param data [RecursiveManage]
577
+ # @param [Hash] opts the optional parameters
578
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
579
+ def remove_with_http_info(container_repository_href, data, opts = {})
580
+ if @api_client.config.debugging
581
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.remove ...'
582
+ end
583
+ # verify the required parameter 'container_repository_href' is set
584
+ if @api_client.config.client_side_validation && container_repository_href.nil?
585
+ fail ArgumentError, "Missing the required parameter 'container_repository_href' when calling RepositoriesContainerApi.remove"
586
+ end
587
+ # verify the required parameter 'data' is set
588
+ if @api_client.config.client_side_validation && data.nil?
589
+ fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesContainerApi.remove"
590
+ end
591
+ # resource path
592
+ local_var_path = '{container_repository_href}remove/'.sub('{' + 'container_repository_href' + '}', CGI.escape(container_repository_href.to_s).gsub('%2F', '/'))
593
+
594
+ # query parameters
595
+ query_params = opts[:query_params] || {}
596
+
597
+ # header parameters
598
+ header_params = opts[:header_params] || {}
599
+ # HTTP header 'Accept' (if needed)
600
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
601
+ # HTTP header 'Content-Type'
602
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
603
+
604
+ # form parameters
605
+ form_params = opts[:form_params] || {}
606
+
607
+ # http body (model)
608
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
609
+
610
+ # return_type
611
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
612
+
613
+ # auth_names
614
+ auth_names = opts[:auth_names] || ['Basic']
615
+
616
+ new_options = opts.merge(
617
+ :header_params => header_params,
618
+ :query_params => query_params,
619
+ :form_params => form_params,
620
+ :body => post_body,
621
+ :auth_names => auth_names,
622
+ :return_type => return_type
623
+ )
624
+
625
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
626
+ if @api_client.config.debugging
627
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#remove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
628
+ end
629
+ return data, status_code, headers
630
+ end
631
+
632
+ # Trigger an asynchronous task to sync content.
633
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
634
+ # @param data [RepositorySyncURL]
635
+ # @param [Hash] opts the optional parameters
636
+ # @return [AsyncOperationResponse]
637
+ def sync(container_repository_href, data, opts = {})
638
+ data, _status_code, _headers = sync_with_http_info(container_repository_href, data, opts)
639
+ data
640
+ end
641
+
642
+ # Trigger an asynchronous task to sync content.
643
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
644
+ # @param data [RepositorySyncURL]
645
+ # @param [Hash] opts the optional parameters
646
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
647
+ def sync_with_http_info(container_repository_href, data, opts = {})
648
+ if @api_client.config.debugging
649
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.sync ...'
650
+ end
651
+ # verify the required parameter 'container_repository_href' is set
652
+ if @api_client.config.client_side_validation && container_repository_href.nil?
653
+ fail ArgumentError, "Missing the required parameter 'container_repository_href' when calling RepositoriesContainerApi.sync"
654
+ end
655
+ # verify the required parameter 'data' is set
656
+ if @api_client.config.client_side_validation && data.nil?
657
+ fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesContainerApi.sync"
658
+ end
659
+ # resource path
660
+ local_var_path = '{container_repository_href}sync/'.sub('{' + 'container_repository_href' + '}', CGI.escape(container_repository_href.to_s).gsub('%2F', '/'))
661
+
662
+ # query parameters
663
+ query_params = opts[:query_params] || {}
664
+
665
+ # header parameters
666
+ header_params = opts[:header_params] || {}
667
+ # HTTP header 'Accept' (if needed)
668
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
669
+ # HTTP header 'Content-Type'
670
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
671
+
672
+ # form parameters
673
+ form_params = opts[:form_params] || {}
674
+
675
+ # http body (model)
676
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
677
+
678
+ # return_type
679
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
680
+
681
+ # auth_names
682
+ auth_names = opts[:auth_names] || ['Basic']
683
+
684
+ new_options = opts.merge(
685
+ :header_params => header_params,
686
+ :query_params => query_params,
687
+ :form_params => form_params,
688
+ :body => post_body,
689
+ :auth_names => auth_names,
690
+ :return_type => return_type
691
+ )
692
+
693
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
694
+ if @api_client.config.debugging
695
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
696
+ end
697
+ return data, status_code, headers
698
+ end
699
+
700
+ # Trigger an asynchronous task to tag an image in the repository
701
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
702
+ # @param data [TagImage]
703
+ # @param [Hash] opts the optional parameters
704
+ # @return [AsyncOperationResponse]
705
+ def tag(container_repository_href, data, opts = {})
706
+ data, _status_code, _headers = tag_with_http_info(container_repository_href, data, opts)
707
+ data
708
+ end
709
+
710
+ # Trigger an asynchronous task to tag an image in the repository
711
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
712
+ # @param data [TagImage]
713
+ # @param [Hash] opts the optional parameters
714
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
715
+ def tag_with_http_info(container_repository_href, data, opts = {})
716
+ if @api_client.config.debugging
717
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.tag ...'
718
+ end
719
+ # verify the required parameter 'container_repository_href' is set
720
+ if @api_client.config.client_side_validation && container_repository_href.nil?
721
+ fail ArgumentError, "Missing the required parameter 'container_repository_href' when calling RepositoriesContainerApi.tag"
722
+ end
723
+ # verify the required parameter 'data' is set
724
+ if @api_client.config.client_side_validation && data.nil?
725
+ fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesContainerApi.tag"
726
+ end
727
+ # resource path
728
+ local_var_path = '{container_repository_href}tag/'.sub('{' + 'container_repository_href' + '}', CGI.escape(container_repository_href.to_s).gsub('%2F', '/'))
729
+
730
+ # query parameters
731
+ query_params = opts[:query_params] || {}
732
+
733
+ # header parameters
734
+ header_params = opts[:header_params] || {}
735
+ # HTTP header 'Accept' (if needed)
736
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
737
+ # HTTP header 'Content-Type'
738
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
739
+
740
+ # form parameters
741
+ form_params = opts[:form_params] || {}
742
+
743
+ # http body (model)
744
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
745
+
746
+ # return_type
747
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
748
+
749
+ # auth_names
750
+ auth_names = opts[:auth_names] || ['Basic']
751
+
752
+ new_options = opts.merge(
753
+ :header_params => header_params,
754
+ :query_params => query_params,
755
+ :form_params => form_params,
756
+ :body => post_body,
757
+ :auth_names => auth_names,
758
+ :return_type => return_type
759
+ )
760
+
761
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
762
+ if @api_client.config.debugging
763
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#tag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
764
+ end
765
+ return data, status_code, headers
766
+ end
767
+
768
+ # Trigger an asynchronous task to untag an image in the repository
769
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
770
+ # @param data [UnTagImage]
771
+ # @param [Hash] opts the optional parameters
772
+ # @return [AsyncOperationResponse]
773
+ def untag(container_repository_href, data, opts = {})
774
+ data, _status_code, _headers = untag_with_http_info(container_repository_href, data, opts)
775
+ data
776
+ end
777
+
778
+ # Trigger an asynchronous task to untag an image in the repository
779
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
780
+ # @param data [UnTagImage]
781
+ # @param [Hash] opts the optional parameters
782
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
783
+ def untag_with_http_info(container_repository_href, data, opts = {})
784
+ if @api_client.config.debugging
785
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.untag ...'
786
+ end
787
+ # verify the required parameter 'container_repository_href' is set
788
+ if @api_client.config.client_side_validation && container_repository_href.nil?
789
+ fail ArgumentError, "Missing the required parameter 'container_repository_href' when calling RepositoriesContainerApi.untag"
790
+ end
791
+ # verify the required parameter 'data' is set
792
+ if @api_client.config.client_side_validation && data.nil?
793
+ fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesContainerApi.untag"
794
+ end
795
+ # resource path
796
+ local_var_path = '{container_repository_href}untag/'.sub('{' + 'container_repository_href' + '}', CGI.escape(container_repository_href.to_s).gsub('%2F', '/'))
797
+
798
+ # query parameters
799
+ query_params = opts[:query_params] || {}
800
+
801
+ # header parameters
802
+ header_params = opts[:header_params] || {}
803
+ # HTTP header 'Accept' (if needed)
804
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
805
+ # HTTP header 'Content-Type'
806
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
807
+
808
+ # form parameters
809
+ form_params = opts[:form_params] || {}
810
+
811
+ # http body (model)
812
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
813
+
814
+ # return_type
815
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
816
+
817
+ # auth_names
818
+ auth_names = opts[:auth_names] || ['Basic']
819
+
820
+ new_options = opts.merge(
821
+ :header_params => header_params,
822
+ :query_params => query_params,
823
+ :form_params => form_params,
824
+ :body => post_body,
825
+ :auth_names => auth_names,
826
+ :return_type => return_type
827
+ )
828
+
829
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
830
+ if @api_client.config.debugging
831
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#untag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
832
+ end
833
+ return data, status_code, headers
834
+ end
835
+
836
+ # Update a container repository
837
+ # Trigger an asynchronous task to update a repository.
838
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
839
+ # @param data [ContainerContainerRepository]
840
+ # @param [Hash] opts the optional parameters
841
+ # @return [AsyncOperationResponse]
842
+ def update(container_repository_href, data, opts = {})
843
+ data, _status_code, _headers = update_with_http_info(container_repository_href, data, opts)
844
+ data
845
+ end
846
+
847
+ # Update a container repository
848
+ # Trigger an asynchronous task to update a repository.
849
+ # @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
850
+ # @param data [ContainerContainerRepository]
851
+ # @param [Hash] opts the optional parameters
852
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
853
+ def update_with_http_info(container_repository_href, data, opts = {})
854
+ if @api_client.config.debugging
855
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.update ...'
856
+ end
857
+ # verify the required parameter 'container_repository_href' is set
858
+ if @api_client.config.client_side_validation && container_repository_href.nil?
859
+ fail ArgumentError, "Missing the required parameter 'container_repository_href' when calling RepositoriesContainerApi.update"
860
+ end
861
+ # verify the required parameter 'data' is set
862
+ if @api_client.config.client_side_validation && data.nil?
863
+ fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesContainerApi.update"
864
+ end
865
+ # resource path
866
+ local_var_path = '{container_repository_href}'.sub('{' + 'container_repository_href' + '}', CGI.escape(container_repository_href.to_s).gsub('%2F', '/'))
867
+
868
+ # query parameters
869
+ query_params = opts[:query_params] || {}
870
+
871
+ # header parameters
872
+ header_params = opts[:header_params] || {}
873
+ # HTTP header 'Accept' (if needed)
874
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
875
+ # HTTP header 'Content-Type'
876
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
877
+
878
+ # form parameters
879
+ form_params = opts[:form_params] || {}
880
+
881
+ # http body (model)
882
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
883
+
884
+ # return_type
885
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
886
+
887
+ # auth_names
888
+ auth_names = opts[:auth_names] || ['Basic']
889
+
890
+ new_options = opts.merge(
891
+ :header_params => header_params,
892
+ :query_params => query_params,
893
+ :form_params => form_params,
894
+ :body => post_body,
895
+ :auth_names => auth_names,
896
+ :return_type => return_type
897
+ )
898
+
899
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
900
+ if @api_client.config.debugging
901
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
902
+ end
903
+ return data, status_code, headers
904
+ end
905
+ end
906
+ end