pulp_container_client 2.22.2 → 2.23.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 (244) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -14
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContainerBlobResponse.md +18 -17
  5. data/docs/ContainerContainerDistribution.md +24 -23
  6. data/docs/ContainerContainerDistributionResponse.md +40 -39
  7. data/docs/ContainerContainerNamespace.md +8 -7
  8. data/docs/ContainerContainerNamespaceResponse.md +16 -15
  9. data/docs/ContainerContainerPullThroughDistribution.md +26 -25
  10. data/docs/ContainerContainerPullThroughDistributionResponse.md +38 -37
  11. data/docs/ContainerContainerPullThroughRemote.md +52 -51
  12. data/docs/ContainerContainerPullThroughRemoteResponse.md +52 -51
  13. data/docs/ContainerContainerPullThroughRemoteResponseHiddenFieldsInner.md +20 -0
  14. data/docs/ContainerContainerPushRepository.md +16 -15
  15. data/docs/ContainerContainerPushRepositoryResponse.md +28 -27
  16. data/docs/ContainerContainerRemote.md +56 -55
  17. data/docs/ContainerContainerRemoteResponse.md +56 -55
  18. data/docs/ContainerContainerRepository.md +18 -17
  19. data/docs/ContainerContainerRepositoryResponse.md +30 -29
  20. data/docs/ContainerManifestResponse.md +42 -41
  21. data/docs/ContainerManifestSignatureResponse.md +28 -27
  22. data/docs/ContainerRepositorySyncURL.md +12 -11
  23. data/docs/ContainerTagResponse.md +18 -17
  24. data/docs/ContentBlobsApi.md +82 -49
  25. data/docs/ContentManifestsApi.md +86 -53
  26. data/docs/ContentSignaturesApi.md +97 -64
  27. data/docs/ContentSummaryResponse.md +12 -11
  28. data/docs/ContentTagsApi.md +86 -53
  29. data/docs/DistributionsContainerApi.md +386 -183
  30. data/docs/DistributionsPullThroughApi.md +385 -182
  31. data/docs/ManifestCopy.md +14 -13
  32. data/docs/MediaTypesEnum.md +4 -5
  33. data/docs/MyPermissionsResponse.md +8 -7
  34. data/docs/NestedRole.md +12 -11
  35. data/docs/NestedRoleResponse.md +12 -11
  36. data/docs/ObjectRolesResponse.md +8 -7
  37. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  38. data/docs/PaginatedcontainerBlobResponseList.md +14 -13
  39. data/docs/PaginatedcontainerContainerDistributionResponseList.md +14 -13
  40. data/docs/PaginatedcontainerContainerNamespaceResponseList.md +14 -13
  41. data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +14 -13
  42. data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +14 -13
  43. data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +14 -13
  44. data/docs/PaginatedcontainerContainerRemoteResponseList.md +14 -13
  45. data/docs/PaginatedcontainerContainerRepositoryResponseList.md +14 -13
  46. data/docs/PaginatedcontainerManifestResponseList.md +14 -13
  47. data/docs/PaginatedcontainerManifestSignatureResponseList.md +14 -13
  48. data/docs/PaginatedcontainerTagResponseList.md +14 -13
  49. data/docs/PatchedcontainerContainerDistribution.md +24 -23
  50. data/docs/PatchedcontainerContainerPullThroughDistribution.md +26 -25
  51. data/docs/PatchedcontainerContainerPullThroughRemote.md +52 -51
  52. data/docs/PatchedcontainerContainerPushRepository.md +16 -15
  53. data/docs/PatchedcontainerContainerRemote.md +56 -55
  54. data/docs/PatchedcontainerContainerRepository.md +18 -17
  55. data/docs/Policy692Enum.md +4 -5
  56. data/docs/Policy7e0Enum.md +4 -5
  57. data/docs/PulpContainerNamespacesApi.md +259 -124
  58. data/docs/RecursiveManage.md +8 -7
  59. data/docs/RemotesContainerApi.md +389 -184
  60. data/docs/RemotesPullThroughApi.md +389 -184
  61. data/docs/RemoveImage.md +8 -7
  62. data/docs/RemoveSignatures.md +8 -7
  63. data/docs/RemoveSignaturesResponse.md +8 -7
  64. data/docs/Repair.md +8 -7
  65. data/docs/RepositoriesContainerApi.md +647 -291
  66. data/docs/RepositoriesContainerPushApi.md +419 -198
  67. data/docs/RepositoriesContainerPushVersionsApi.md +152 -82
  68. data/docs/RepositoriesContainerVersionsApi.md +152 -82
  69. data/docs/RepositorySign.md +12 -11
  70. data/docs/RepositoryVersionResponse.md +22 -21
  71. data/docs/SetLabel.md +10 -9
  72. data/docs/SetLabelResponse.md +10 -9
  73. data/docs/TagCopy.md +12 -11
  74. data/docs/TagImage.md +10 -9
  75. data/docs/TokenApi.md +25 -7
  76. data/docs/UnTagImage.md +8 -7
  77. data/docs/UnsetLabel.md +8 -7
  78. data/docs/UnsetLabelResponse.md +10 -9
  79. data/lib/pulp_container_client/api/content_blobs_api.rb +11 -9
  80. data/lib/pulp_container_client/api/content_manifests_api.rb +11 -9
  81. data/lib/pulp_container_client/api/content_signatures_api.rb +11 -9
  82. data/lib/pulp_container_client/api/content_tags_api.rb +11 -9
  83. data/lib/pulp_container_client/api/distributions_container_api.rb +89 -56
  84. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +89 -56
  85. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +53 -36
  86. data/lib/pulp_container_client/api/remotes_container_api.rb +104 -68
  87. data/lib/pulp_container_client/api/remotes_pull_through_api.rb +104 -68
  88. data/lib/pulp_container_client/api/repositories_container_api.rb +171 -102
  89. data/lib/pulp_container_client/api/repositories_container_push_api.rb +102 -62
  90. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +40 -30
  91. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +40 -30
  92. data/lib/pulp_container_client/api/token_api.rb +5 -4
  93. data/lib/pulp_container_client/api_client.rb +137 -102
  94. data/lib/pulp_container_client/api_error.rb +2 -1
  95. data/lib/pulp_container_client/configuration.rb +162 -21
  96. data/lib/pulp_container_client/models/async_operation_response.rb +32 -22
  97. data/lib/pulp_container_client/models/container_blob_response.rb +37 -29
  98. data/lib/pulp_container_client/models/container_container_distribution.rb +66 -54
  99. data/lib/pulp_container_client/models/container_container_distribution_response.rb +95 -83
  100. data/lib/pulp_container_client/models/container_container_namespace.rb +32 -22
  101. data/lib/pulp_container_client/models/container_container_namespace_response.rb +34 -24
  102. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +68 -54
  103. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +97 -83
  104. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +56 -22
  105. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +59 -25
  106. data/lib/pulp_container_client/models/{container_container_pull_through_remote_response_hidden_fields.rb → container_container_pull_through_remote_response_hidden_fields_inner.rb} +37 -25
  107. data/lib/pulp_container_client/models/container_container_push_repository.rb +73 -63
  108. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +88 -78
  109. data/lib/pulp_container_client/models/container_container_remote.rb +63 -23
  110. data/lib/pulp_container_client/models/container_container_remote_response.rb +61 -25
  111. data/lib/pulp_container_client/models/container_container_repository.rb +32 -22
  112. data/lib/pulp_container_client/models/container_container_repository_response.rb +34 -24
  113. data/lib/pulp_container_client/models/container_manifest_response.rb +42 -24
  114. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +46 -24
  115. data/lib/pulp_container_client/models/container_repository_sync_url.rb +30 -22
  116. data/lib/pulp_container_client/models/container_tag_response.rb +36 -24
  117. data/lib/pulp_container_client/models/content_summary_response.rb +36 -22
  118. data/lib/pulp_container_client/models/manifest_copy.rb +31 -23
  119. data/lib/pulp_container_client/models/media_types_enum.rb +8 -4
  120. data/lib/pulp_container_client/models/my_permissions_response.rb +32 -22
  121. data/lib/pulp_container_client/models/nested_role.rb +32 -22
  122. data/lib/pulp_container_client/models/nested_role_response.rb +32 -22
  123. data/lib/pulp_container_client/models/object_roles_response.rb +32 -22
  124. data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +34 -22
  125. data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +34 -22
  126. data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +34 -22
  127. data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +34 -22
  128. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +34 -22
  129. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +34 -22
  130. data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +34 -22
  131. data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +34 -22
  132. data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +34 -22
  133. data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +34 -22
  134. data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +34 -22
  135. data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +34 -22
  136. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +72 -56
  137. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +72 -56
  138. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +62 -24
  139. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +76 -64
  140. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +72 -26
  141. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +35 -23
  142. data/lib/pulp_container_client/models/policy692_enum.rb +8 -4
  143. data/lib/pulp_container_client/models/policy7e0_enum.rb +8 -4
  144. data/lib/pulp_container_client/models/recursive_manage.rb +31 -23
  145. data/lib/pulp_container_client/models/remove_image.rb +32 -22
  146. data/lib/pulp_container_client/models/remove_signatures.rb +32 -22
  147. data/lib/pulp_container_client/models/remove_signatures_response.rb +32 -22
  148. data/lib/pulp_container_client/models/repair.rb +30 -22
  149. data/lib/pulp_container_client/models/repository_sign.rb +36 -24
  150. data/lib/pulp_container_client/models/repository_version_response.rb +32 -24
  151. data/lib/pulp_container_client/models/set_label.rb +34 -22
  152. data/lib/pulp_container_client/models/set_label_response.rb +34 -22
  153. data/lib/pulp_container_client/models/tag_copy.rb +31 -23
  154. data/lib/pulp_container_client/models/tag_image.rb +34 -22
  155. data/lib/pulp_container_client/models/un_tag_image.rb +32 -22
  156. data/lib/pulp_container_client/models/unset_label.rb +32 -22
  157. data/lib/pulp_container_client/models/unset_label_response.rb +32 -22
  158. data/lib/pulp_container_client/version.rb +2 -2
  159. data/lib/pulp_container_client.rb +2 -3
  160. data/pulp_container_client.gemspec +9 -6
  161. data/spec/api/content_blobs_api_spec.rb +3 -3
  162. data/spec/api/content_manifests_api_spec.rb +3 -3
  163. data/spec/api/content_signatures_api_spec.rb +3 -3
  164. data/spec/api/content_tags_api_spec.rb +3 -3
  165. data/spec/api/distributions_container_api_spec.rb +13 -13
  166. data/spec/api/distributions_pull_through_api_spec.rb +13 -13
  167. data/spec/api/pulp_container_namespaces_api_spec.rb +9 -9
  168. data/spec/api/remotes_container_api_spec.rb +20 -19
  169. data/spec/api/remotes_pull_through_api_spec.rb +20 -19
  170. data/spec/api/repositories_container_api_spec.rb +22 -22
  171. data/spec/api/repositories_container_push_api_spec.rb +14 -14
  172. data/spec/api/repositories_container_push_versions_api_spec.rb +12 -11
  173. data/spec/api/repositories_container_versions_api_spec.rb +12 -11
  174. data/spec/api/token_api_spec.rb +2 -2
  175. data/spec/models/async_operation_response_spec.rb +7 -12
  176. data/spec/models/container_blob_response_spec.rb +12 -17
  177. data/spec/models/container_container_distribution_response_spec.rb +34 -39
  178. data/spec/models/container_container_distribution_spec.rb +20 -25
  179. data/spec/models/container_container_namespace_response_spec.rb +11 -16
  180. data/spec/models/container_container_namespace_spec.rb +7 -12
  181. data/spec/models/container_container_pull_through_distribution_response_spec.rb +33 -38
  182. data/spec/models/container_container_pull_through_distribution_spec.rb +21 -26
  183. data/spec/models/{container_container_pull_through_remote_response_hidden_fields_spec.rb → container_container_pull_through_remote_response_hidden_fields_inner_spec.rb} +11 -16
  184. data/spec/models/container_container_pull_through_remote_response_spec.rb +29 -34
  185. data/spec/models/container_container_pull_through_remote_spec.rb +29 -34
  186. data/spec/models/container_container_push_repository_response_spec.rb +27 -32
  187. data/spec/models/container_container_push_repository_spec.rb +16 -21
  188. data/spec/models/container_container_remote_response_spec.rb +31 -36
  189. data/spec/models/container_container_remote_spec.rb +31 -36
  190. data/spec/models/container_container_repository_response_spec.rb +18 -23
  191. data/spec/models/container_container_repository_spec.rb +12 -17
  192. data/spec/models/container_manifest_response_spec.rb +24 -29
  193. data/spec/models/container_manifest_signature_response_spec.rb +17 -22
  194. data/spec/models/container_repository_sync_url_spec.rb +9 -14
  195. data/spec/models/container_tag_response_spec.rb +12 -17
  196. data/spec/models/content_summary_response_spec.rb +9 -14
  197. data/spec/models/manifest_copy_spec.rb +10 -15
  198. data/spec/models/media_types_enum_spec.rb +6 -11
  199. data/spec/models/my_permissions_response_spec.rb +7 -12
  200. data/spec/models/nested_role_response_spec.rb +9 -14
  201. data/spec/models/nested_role_spec.rb +9 -14
  202. data/spec/models/object_roles_response_spec.rb +7 -12
  203. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  204. data/spec/models/paginatedcontainer_blob_response_list_spec.rb +10 -15
  205. data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +10 -15
  206. data/spec/models/paginatedcontainer_container_namespace_response_list_spec.rb +10 -15
  207. data/spec/models/paginatedcontainer_container_pull_through_distribution_response_list_spec.rb +10 -15
  208. data/spec/models/paginatedcontainer_container_pull_through_remote_response_list_spec.rb +10 -15
  209. data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +10 -15
  210. data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +10 -15
  211. data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +10 -15
  212. data/spec/models/paginatedcontainer_manifest_response_list_spec.rb +10 -15
  213. data/spec/models/paginatedcontainer_manifest_signature_response_list_spec.rb +10 -15
  214. data/spec/models/paginatedcontainer_tag_response_list_spec.rb +10 -15
  215. data/spec/models/patchedcontainer_container_distribution_spec.rb +20 -25
  216. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +21 -26
  217. data/spec/models/patchedcontainer_container_pull_through_remote_spec.rb +29 -34
  218. data/spec/models/patchedcontainer_container_push_repository_spec.rb +16 -21
  219. data/spec/models/patchedcontainer_container_remote_spec.rb +31 -36
  220. data/spec/models/patchedcontainer_container_repository_spec.rb +12 -17
  221. data/spec/models/policy692_enum_spec.rb +6 -11
  222. data/spec/models/policy7e0_enum_spec.rb +6 -11
  223. data/spec/models/recursive_manage_spec.rb +7 -12
  224. data/spec/models/remove_image_spec.rb +7 -12
  225. data/spec/models/remove_signatures_response_spec.rb +7 -12
  226. data/spec/models/remove_signatures_spec.rb +7 -12
  227. data/spec/models/repair_spec.rb +7 -12
  228. data/spec/models/repository_sign_spec.rb +9 -14
  229. data/spec/models/repository_version_response_spec.rb +14 -19
  230. data/spec/models/set_label_response_spec.rb +8 -13
  231. data/spec/models/set_label_spec.rb +8 -13
  232. data/spec/models/tag_copy_spec.rb +9 -14
  233. data/spec/models/tag_image_spec.rb +8 -13
  234. data/spec/models/un_tag_image_spec.rb +7 -12
  235. data/spec/models/unset_label_response_spec.rb +8 -13
  236. data/spec/models/unset_label_spec.rb +7 -12
  237. data/spec/spec_helper.rb +1 -1
  238. metadata +105 -85
  239. data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +0 -19
  240. data/docs/OCIBuildImage.md +0 -23
  241. data/lib/pulp_container_client/models/oci_build_image.rb +0 -256
  242. data/spec/api_client_spec.rb +0 -188
  243. data/spec/configuration_spec.rb +0 -42
  244. data/spec/models/oci_build_image_spec.rb +0 -59
@@ -6,7 +6,7 @@
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
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -57,23 +57,27 @@ module PulpContainerClient
57
57
  # header parameters
58
58
  header_params = opts[:header_params] || {}
59
59
  # HTTP header 'Accept' (if needed)
60
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
60
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
61
61
  # HTTP header 'Content-Type'
62
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
62
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
63
+ if !content_type.nil?
64
+ header_params['Content-Type'] = content_type
65
+ end
63
66
 
64
67
  # form parameters
65
68
  form_params = opts[:form_params] || {}
66
69
 
67
70
  # http body (model)
68
- post_body = opts[:body] || @api_client.object_to_http_body(recursive_manage)
71
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(recursive_manage)
69
72
 
70
73
  # return_type
71
- return_type = opts[:return_type] || 'AsyncOperationResponse'
74
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
72
75
 
73
76
  # auth_names
74
- auth_names = opts[:auth_names] || ['basicAuth']
77
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
75
78
 
76
79
  new_options = opts.merge(
80
+ :operation => :"RepositoriesContainerApi.add",
77
81
  :header_params => header_params,
78
82
  :query_params => query_params,
79
83
  :form_params => form_params,
@@ -127,23 +131,27 @@ module PulpContainerClient
127
131
  # header parameters
128
132
  header_params = opts[:header_params] || {}
129
133
  # HTTP header 'Accept' (if needed)
130
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
134
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
131
135
  # HTTP header 'Content-Type'
132
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
136
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
137
+ if !content_type.nil?
138
+ header_params['Content-Type'] = content_type
139
+ end
133
140
 
134
141
  # form parameters
135
142
  form_params = opts[:form_params] || {}
136
143
 
137
144
  # http body (model)
138
- post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
145
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
139
146
 
140
147
  # return_type
141
- return_type = opts[:return_type] || 'NestedRoleResponse'
148
+ return_type = opts[:debug_return_type] || 'NestedRoleResponse'
142
149
 
143
150
  # auth_names
144
- auth_names = opts[:auth_names] || ['basicAuth']
151
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
145
152
 
146
153
  new_options = opts.merge(
154
+ :operation => :"RepositoriesContainerApi.add_role",
147
155
  :header_params => header_params,
148
156
  :query_params => query_params,
149
157
  :form_params => form_params,
@@ -179,7 +187,7 @@ module PulpContainerClient
179
187
  # @param [Hash] opts the optional parameters
180
188
  # @option opts [String] :containerfile_name Name of the Containerfile, from build_context, that should be used to run podman-build.
181
189
  # @option opts [File] :containerfile An uploaded Containerfile that should be used to run podman-build.
182
- # @option opts [String] :tag A tag name for the new image being built.
190
+ # @option opts [String] :tag A tag name for the new image being built. (default to 'latest')
183
191
  # @option opts [String] :build_context RepositoryVersion to be used as the build context for container images.
184
192
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
185
193
  def build_image_with_http_info(container_container_repository_href, opts = {})
@@ -203,9 +211,12 @@ module PulpContainerClient
203
211
  # header parameters
204
212
  header_params = opts[:header_params] || {}
205
213
  # HTTP header 'Accept' (if needed)
206
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
214
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
207
215
  # HTTP header 'Content-Type'
208
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
216
+ content_type = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
217
+ if !content_type.nil?
218
+ header_params['Content-Type'] = content_type
219
+ end
209
220
 
210
221
  # form parameters
211
222
  form_params = opts[:form_params] || {}
@@ -215,15 +226,16 @@ module PulpContainerClient
215
226
  form_params['build_context'] = opts[:'build_context'] if !opts[:'build_context'].nil?
216
227
 
217
228
  # http body (model)
218
- post_body = opts[:body]
229
+ post_body = opts[:debug_body]
219
230
 
220
231
  # return_type
221
- return_type = opts[:return_type] || 'AsyncOperationResponse'
232
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
222
233
 
223
234
  # auth_names
224
- auth_names = opts[:auth_names] || ['basicAuth']
235
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
225
236
 
226
237
  new_options = opts.merge(
238
+ :operation => :"RepositoriesContainerApi.build_image",
227
239
  :header_params => header_params,
228
240
  :query_params => query_params,
229
241
  :form_params => form_params,
@@ -277,23 +289,27 @@ module PulpContainerClient
277
289
  # header parameters
278
290
  header_params = opts[:header_params] || {}
279
291
  # HTTP header 'Accept' (if needed)
280
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
292
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
281
293
  # HTTP header 'Content-Type'
282
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
294
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
295
+ if !content_type.nil?
296
+ header_params['Content-Type'] = content_type
297
+ end
283
298
 
284
299
  # form parameters
285
300
  form_params = opts[:form_params] || {}
286
301
 
287
302
  # http body (model)
288
- post_body = opts[:body] || @api_client.object_to_http_body(manifest_copy)
303
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(manifest_copy)
289
304
 
290
305
  # return_type
291
- return_type = opts[:return_type] || 'AsyncOperationResponse'
306
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
292
307
 
293
308
  # auth_names
294
- auth_names = opts[:auth_names] || ['basicAuth']
309
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
295
310
 
296
311
  new_options = opts.merge(
312
+ :operation => :"RepositoriesContainerApi.copy_manifests",
297
313
  :header_params => header_params,
298
314
  :query_params => query_params,
299
315
  :form_params => form_params,
@@ -347,23 +363,27 @@ module PulpContainerClient
347
363
  # header parameters
348
364
  header_params = opts[:header_params] || {}
349
365
  # HTTP header 'Accept' (if needed)
350
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
366
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
351
367
  # HTTP header 'Content-Type'
352
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
368
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
369
+ if !content_type.nil?
370
+ header_params['Content-Type'] = content_type
371
+ end
353
372
 
354
373
  # form parameters
355
374
  form_params = opts[:form_params] || {}
356
375
 
357
376
  # http body (model)
358
- post_body = opts[:body] || @api_client.object_to_http_body(tag_copy)
377
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(tag_copy)
359
378
 
360
379
  # return_type
361
- return_type = opts[:return_type] || 'AsyncOperationResponse'
380
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
362
381
 
363
382
  # auth_names
364
- auth_names = opts[:auth_names] || ['basicAuth']
383
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
365
384
 
366
385
  new_options = opts.merge(
386
+ :operation => :"RepositoriesContainerApi.copy_tags",
367
387
  :header_params => header_params,
368
388
  :query_params => query_params,
369
389
  :form_params => form_params,
@@ -411,23 +431,27 @@ module PulpContainerClient
411
431
  # header parameters
412
432
  header_params = opts[:header_params] || {}
413
433
  # HTTP header 'Accept' (if needed)
414
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
434
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
415
435
  # HTTP header 'Content-Type'
416
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
436
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
437
+ if !content_type.nil?
438
+ header_params['Content-Type'] = content_type
439
+ end
417
440
 
418
441
  # form parameters
419
442
  form_params = opts[:form_params] || {}
420
443
 
421
444
  # http body (model)
422
- post_body = opts[:body] || @api_client.object_to_http_body(container_container_repository)
445
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(container_container_repository)
423
446
 
424
447
  # return_type
425
- return_type = opts[:return_type] || 'ContainerContainerRepositoryResponse'
448
+ return_type = opts[:debug_return_type] || 'ContainerContainerRepositoryResponse'
426
449
 
427
450
  # auth_names
428
- auth_names = opts[:auth_names] || ['basicAuth']
451
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
429
452
 
430
453
  new_options = opts.merge(
454
+ :operation => :"RepositoriesContainerApi.create",
431
455
  :header_params => header_params,
432
456
  :query_params => query_params,
433
457
  :form_params => form_params,
@@ -475,21 +499,22 @@ module PulpContainerClient
475
499
  # header parameters
476
500
  header_params = opts[:header_params] || {}
477
501
  # HTTP header 'Accept' (if needed)
478
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
502
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
479
503
 
480
504
  # form parameters
481
505
  form_params = opts[:form_params] || {}
482
506
 
483
507
  # http body (model)
484
- post_body = opts[:body]
508
+ post_body = opts[:debug_body]
485
509
 
486
510
  # return_type
487
- return_type = opts[:return_type] || 'AsyncOperationResponse'
511
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
488
512
 
489
513
  # auth_names
490
- auth_names = opts[:auth_names] || ['basicAuth']
514
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
491
515
 
492
516
  new_options = opts.merge(
517
+ :operation => :"RepositoriesContainerApi.delete",
493
518
  :header_params => header_params,
494
519
  :query_params => query_params,
495
520
  :form_params => form_params,
@@ -625,21 +650,22 @@ module PulpContainerClient
625
650
  # header parameters
626
651
  header_params = opts[:header_params] || {}
627
652
  # HTTP header 'Accept' (if needed)
628
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
653
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
629
654
 
630
655
  # form parameters
631
656
  form_params = opts[:form_params] || {}
632
657
 
633
658
  # http body (model)
634
- post_body = opts[:body]
659
+ post_body = opts[:debug_body]
635
660
 
636
661
  # return_type
637
- return_type = opts[:return_type] || 'PaginatedcontainerContainerRepositoryResponseList'
662
+ return_type = opts[:debug_return_type] || 'PaginatedcontainerContainerRepositoryResponseList'
638
663
 
639
664
  # auth_names
640
- auth_names = opts[:auth_names] || ['basicAuth']
665
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
641
666
 
642
667
  new_options = opts.merge(
668
+ :operation => :"RepositoriesContainerApi.list",
643
669
  :header_params => header_params,
644
670
  :query_params => query_params,
645
671
  :form_params => form_params,
@@ -693,21 +719,22 @@ module PulpContainerClient
693
719
  # header parameters
694
720
  header_params = opts[:header_params] || {}
695
721
  # HTTP header 'Accept' (if needed)
696
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
722
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
697
723
 
698
724
  # form parameters
699
725
  form_params = opts[:form_params] || {}
700
726
 
701
727
  # http body (model)
702
- post_body = opts[:body]
728
+ post_body = opts[:debug_body]
703
729
 
704
730
  # return_type
705
- return_type = opts[:return_type] || 'ObjectRolesResponse'
731
+ return_type = opts[:debug_return_type] || 'ObjectRolesResponse'
706
732
 
707
733
  # auth_names
708
- auth_names = opts[:auth_names] || ['basicAuth']
734
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
709
735
 
710
736
  new_options = opts.merge(
737
+ :operation => :"RepositoriesContainerApi.list_roles",
711
738
  :header_params => header_params,
712
739
  :query_params => query_params,
713
740
  :form_params => form_params,
@@ -761,21 +788,22 @@ module PulpContainerClient
761
788
  # header parameters
762
789
  header_params = opts[:header_params] || {}
763
790
  # HTTP header 'Accept' (if needed)
764
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
791
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
765
792
 
766
793
  # form parameters
767
794
  form_params = opts[:form_params] || {}
768
795
 
769
796
  # http body (model)
770
- post_body = opts[:body]
797
+ post_body = opts[:debug_body]
771
798
 
772
799
  # return_type
773
- return_type = opts[:return_type] || 'MyPermissionsResponse'
800
+ return_type = opts[:debug_return_type] || 'MyPermissionsResponse'
774
801
 
775
802
  # auth_names
776
- auth_names = opts[:auth_names] || ['basicAuth']
803
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
777
804
 
778
805
  new_options = opts.merge(
806
+ :operation => :"RepositoriesContainerApi.my_permissions",
779
807
  :header_params => header_params,
780
808
  :query_params => query_params,
781
809
  :form_params => form_params,
@@ -829,23 +857,27 @@ module PulpContainerClient
829
857
  # header parameters
830
858
  header_params = opts[:header_params] || {}
831
859
  # HTTP header 'Accept' (if needed)
832
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
860
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
833
861
  # HTTP header 'Content-Type'
834
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
862
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
863
+ if !content_type.nil?
864
+ header_params['Content-Type'] = content_type
865
+ end
835
866
 
836
867
  # form parameters
837
868
  form_params = opts[:form_params] || {}
838
869
 
839
870
  # http body (model)
840
- post_body = opts[:body] || @api_client.object_to_http_body(patchedcontainer_container_repository)
871
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedcontainer_container_repository)
841
872
 
842
873
  # return_type
843
- return_type = opts[:return_type] || 'AsyncOperationResponse'
874
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
844
875
 
845
876
  # auth_names
846
- auth_names = opts[:auth_names] || ['basicAuth']
877
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
847
878
 
848
879
  new_options = opts.merge(
880
+ :operation => :"RepositoriesContainerApi.partial_update",
849
881
  :header_params => header_params,
850
882
  :query_params => query_params,
851
883
  :form_params => form_params,
@@ -899,21 +931,22 @@ module PulpContainerClient
899
931
  # header parameters
900
932
  header_params = opts[:header_params] || {}
901
933
  # HTTP header 'Accept' (if needed)
902
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
934
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
903
935
 
904
936
  # form parameters
905
937
  form_params = opts[:form_params] || {}
906
938
 
907
939
  # http body (model)
908
- post_body = opts[:body]
940
+ post_body = opts[:debug_body]
909
941
 
910
942
  # return_type
911
- return_type = opts[:return_type] || 'ContainerContainerRepositoryResponse'
943
+ return_type = opts[:debug_return_type] || 'ContainerContainerRepositoryResponse'
912
944
 
913
945
  # auth_names
914
- auth_names = opts[:auth_names] || ['basicAuth']
946
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
915
947
 
916
948
  new_options = opts.merge(
949
+ :operation => :"RepositoriesContainerApi.read",
917
950
  :header_params => header_params,
918
951
  :query_params => query_params,
919
952
  :form_params => form_params,
@@ -967,23 +1000,27 @@ module PulpContainerClient
967
1000
  # header parameters
968
1001
  header_params = opts[:header_params] || {}
969
1002
  # HTTP header 'Accept' (if needed)
970
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1003
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
971
1004
  # HTTP header 'Content-Type'
972
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1005
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1006
+ if !content_type.nil?
1007
+ header_params['Content-Type'] = content_type
1008
+ end
973
1009
 
974
1010
  # form parameters
975
1011
  form_params = opts[:form_params] || {}
976
1012
 
977
1013
  # http body (model)
978
- post_body = opts[:body] || @api_client.object_to_http_body(recursive_manage)
1014
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(recursive_manage)
979
1015
 
980
1016
  # return_type
981
- return_type = opts[:return_type] || 'AsyncOperationResponse'
1017
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
982
1018
 
983
1019
  # auth_names
984
- auth_names = opts[:auth_names] || ['basicAuth']
1020
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
985
1021
 
986
1022
  new_options = opts.merge(
1023
+ :operation => :"RepositoriesContainerApi.remove",
987
1024
  :header_params => header_params,
988
1025
  :query_params => query_params,
989
1026
  :form_params => form_params,
@@ -1037,23 +1074,27 @@ module PulpContainerClient
1037
1074
  # header parameters
1038
1075
  header_params = opts[:header_params] || {}
1039
1076
  # HTTP header 'Accept' (if needed)
1040
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1077
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1041
1078
  # HTTP header 'Content-Type'
1042
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1079
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1080
+ if !content_type.nil?
1081
+ header_params['Content-Type'] = content_type
1082
+ end
1043
1083
 
1044
1084
  # form parameters
1045
1085
  form_params = opts[:form_params] || {}
1046
1086
 
1047
1087
  # http body (model)
1048
- post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
1088
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
1049
1089
 
1050
1090
  # return_type
1051
- return_type = opts[:return_type] || 'NestedRoleResponse'
1091
+ return_type = opts[:debug_return_type] || 'NestedRoleResponse'
1052
1092
 
1053
1093
  # auth_names
1054
- auth_names = opts[:auth_names] || ['basicAuth']
1094
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
1055
1095
 
1056
1096
  new_options = opts.merge(
1097
+ :operation => :"RepositoriesContainerApi.remove_role",
1057
1098
  :header_params => header_params,
1058
1099
  :query_params => query_params,
1059
1100
  :form_params => form_params,
@@ -1107,23 +1148,27 @@ module PulpContainerClient
1107
1148
  # header parameters
1108
1149
  header_params = opts[:header_params] || {}
1109
1150
  # HTTP header 'Accept' (if needed)
1110
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1151
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1111
1152
  # HTTP header 'Content-Type'
1112
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1153
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1154
+ if !content_type.nil?
1155
+ header_params['Content-Type'] = content_type
1156
+ end
1113
1157
 
1114
1158
  # form parameters
1115
1159
  form_params = opts[:form_params] || {}
1116
1160
 
1117
1161
  # http body (model)
1118
- post_body = opts[:body] || @api_client.object_to_http_body(set_label)
1162
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
1119
1163
 
1120
1164
  # return_type
1121
- return_type = opts[:return_type] || 'SetLabelResponse'
1165
+ return_type = opts[:debug_return_type] || 'SetLabelResponse'
1122
1166
 
1123
1167
  # auth_names
1124
- auth_names = opts[:auth_names] || ['basicAuth']
1168
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
1125
1169
 
1126
1170
  new_options = opts.merge(
1171
+ :operation => :"RepositoriesContainerApi.set_label",
1127
1172
  :header_params => header_params,
1128
1173
  :query_params => query_params,
1129
1174
  :form_params => form_params,
@@ -1177,23 +1222,27 @@ module PulpContainerClient
1177
1222
  # header parameters
1178
1223
  header_params = opts[:header_params] || {}
1179
1224
  # HTTP header 'Accept' (if needed)
1180
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1225
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1181
1226
  # HTTP header 'Content-Type'
1182
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1227
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1228
+ if !content_type.nil?
1229
+ header_params['Content-Type'] = content_type
1230
+ end
1183
1231
 
1184
1232
  # form parameters
1185
1233
  form_params = opts[:form_params] || {}
1186
1234
 
1187
1235
  # http body (model)
1188
- post_body = opts[:body] || @api_client.object_to_http_body(repository_sign)
1236
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(repository_sign)
1189
1237
 
1190
1238
  # return_type
1191
- return_type = opts[:return_type] || 'AsyncOperationResponse'
1239
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
1192
1240
 
1193
1241
  # auth_names
1194
- auth_names = opts[:auth_names] || ['basicAuth']
1242
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
1195
1243
 
1196
1244
  new_options = opts.merge(
1245
+ :operation => :"RepositoriesContainerApi.sign",
1197
1246
  :header_params => header_params,
1198
1247
  :query_params => query_params,
1199
1248
  :form_params => form_params,
@@ -1247,23 +1296,27 @@ module PulpContainerClient
1247
1296
  # header parameters
1248
1297
  header_params = opts[:header_params] || {}
1249
1298
  # HTTP header 'Accept' (if needed)
1250
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1299
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1251
1300
  # HTTP header 'Content-Type'
1252
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1301
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1302
+ if !content_type.nil?
1303
+ header_params['Content-Type'] = content_type
1304
+ end
1253
1305
 
1254
1306
  # form parameters
1255
1307
  form_params = opts[:form_params] || {}
1256
1308
 
1257
1309
  # http body (model)
1258
- post_body = opts[:body] || @api_client.object_to_http_body(container_repository_sync_url)
1310
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(container_repository_sync_url)
1259
1311
 
1260
1312
  # return_type
1261
- return_type = opts[:return_type] || 'AsyncOperationResponse'
1313
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
1262
1314
 
1263
1315
  # auth_names
1264
- auth_names = opts[:auth_names] || ['basicAuth']
1316
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
1265
1317
 
1266
1318
  new_options = opts.merge(
1319
+ :operation => :"RepositoriesContainerApi.sync",
1267
1320
  :header_params => header_params,
1268
1321
  :query_params => query_params,
1269
1322
  :form_params => form_params,
@@ -1317,23 +1370,27 @@ module PulpContainerClient
1317
1370
  # header parameters
1318
1371
  header_params = opts[:header_params] || {}
1319
1372
  # HTTP header 'Accept' (if needed)
1320
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1373
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1321
1374
  # HTTP header 'Content-Type'
1322
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1375
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1376
+ if !content_type.nil?
1377
+ header_params['Content-Type'] = content_type
1378
+ end
1323
1379
 
1324
1380
  # form parameters
1325
1381
  form_params = opts[:form_params] || {}
1326
1382
 
1327
1383
  # http body (model)
1328
- post_body = opts[:body] || @api_client.object_to_http_body(tag_image)
1384
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(tag_image)
1329
1385
 
1330
1386
  # return_type
1331
- return_type = opts[:return_type] || 'AsyncOperationResponse'
1387
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
1332
1388
 
1333
1389
  # auth_names
1334
- auth_names = opts[:auth_names] || ['basicAuth']
1390
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
1335
1391
 
1336
1392
  new_options = opts.merge(
1393
+ :operation => :"RepositoriesContainerApi.tag",
1337
1394
  :header_params => header_params,
1338
1395
  :query_params => query_params,
1339
1396
  :form_params => form_params,
@@ -1387,23 +1444,27 @@ module PulpContainerClient
1387
1444
  # header parameters
1388
1445
  header_params = opts[:header_params] || {}
1389
1446
  # HTTP header 'Accept' (if needed)
1390
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1447
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1391
1448
  # HTTP header 'Content-Type'
1392
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1449
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1450
+ if !content_type.nil?
1451
+ header_params['Content-Type'] = content_type
1452
+ end
1393
1453
 
1394
1454
  # form parameters
1395
1455
  form_params = opts[:form_params] || {}
1396
1456
 
1397
1457
  # http body (model)
1398
- post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
1458
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
1399
1459
 
1400
1460
  # return_type
1401
- return_type = opts[:return_type] || 'UnsetLabelResponse'
1461
+ return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
1402
1462
 
1403
1463
  # auth_names
1404
- auth_names = opts[:auth_names] || ['basicAuth']
1464
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
1405
1465
 
1406
1466
  new_options = opts.merge(
1467
+ :operation => :"RepositoriesContainerApi.unset_label",
1407
1468
  :header_params => header_params,
1408
1469
  :query_params => query_params,
1409
1470
  :form_params => form_params,
@@ -1457,23 +1518,27 @@ module PulpContainerClient
1457
1518
  # header parameters
1458
1519
  header_params = opts[:header_params] || {}
1459
1520
  # HTTP header 'Accept' (if needed)
1460
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1521
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1461
1522
  # HTTP header 'Content-Type'
1462
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1523
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1524
+ if !content_type.nil?
1525
+ header_params['Content-Type'] = content_type
1526
+ end
1463
1527
 
1464
1528
  # form parameters
1465
1529
  form_params = opts[:form_params] || {}
1466
1530
 
1467
1531
  # http body (model)
1468
- post_body = opts[:body] || @api_client.object_to_http_body(un_tag_image)
1532
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(un_tag_image)
1469
1533
 
1470
1534
  # return_type
1471
- return_type = opts[:return_type] || 'AsyncOperationResponse'
1535
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
1472
1536
 
1473
1537
  # auth_names
1474
- auth_names = opts[:auth_names] || ['basicAuth']
1538
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
1475
1539
 
1476
1540
  new_options = opts.merge(
1541
+ :operation => :"RepositoriesContainerApi.untag",
1477
1542
  :header_params => header_params,
1478
1543
  :query_params => query_params,
1479
1544
  :form_params => form_params,
@@ -1527,23 +1592,27 @@ module PulpContainerClient
1527
1592
  # header parameters
1528
1593
  header_params = opts[:header_params] || {}
1529
1594
  # HTTP header 'Accept' (if needed)
1530
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1595
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1531
1596
  # HTTP header 'Content-Type'
1532
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1597
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1598
+ if !content_type.nil?
1599
+ header_params['Content-Type'] = content_type
1600
+ end
1533
1601
 
1534
1602
  # form parameters
1535
1603
  form_params = opts[:form_params] || {}
1536
1604
 
1537
1605
  # http body (model)
1538
- post_body = opts[:body] || @api_client.object_to_http_body(container_container_repository)
1606
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(container_container_repository)
1539
1607
 
1540
1608
  # return_type
1541
- return_type = opts[:return_type] || 'AsyncOperationResponse'
1609
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
1542
1610
 
1543
1611
  # auth_names
1544
- auth_names = opts[:auth_names] || ['basicAuth']
1612
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
1545
1613
 
1546
1614
  new_options = opts.merge(
1615
+ :operation => :"RepositoriesContainerApi.update",
1547
1616
  :header_params => header_params,
1548
1617
  :query_params => query_params,
1549
1618
  :form_params => form_params,