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(nested_role)
71
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
69
72
 
70
73
  # return_type
71
- return_type = opts[:return_type] || 'NestedRoleResponse'
74
+ return_type = opts[:debug_return_type] || 'NestedRoleResponse'
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 => :"DistributionsContainerApi.add_role",
77
81
  :header_params => header_params,
78
82
  :query_params => query_params,
79
83
  :form_params => form_params,
@@ -121,23 +125,27 @@ module PulpContainerClient
121
125
  # header parameters
122
126
  header_params = opts[:header_params] || {}
123
127
  # HTTP header 'Accept' (if needed)
124
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
128
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
125
129
  # HTTP header 'Content-Type'
126
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
130
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
131
+ if !content_type.nil?
132
+ header_params['Content-Type'] = content_type
133
+ end
127
134
 
128
135
  # form parameters
129
136
  form_params = opts[:form_params] || {}
130
137
 
131
138
  # http body (model)
132
- post_body = opts[:body] || @api_client.object_to_http_body(container_container_distribution)
139
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(container_container_distribution)
133
140
 
134
141
  # return_type
135
- return_type = opts[:return_type] || 'AsyncOperationResponse'
142
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
136
143
 
137
144
  # auth_names
138
- auth_names = opts[:auth_names] || ['basicAuth']
145
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
139
146
 
140
147
  new_options = opts.merge(
148
+ :operation => :"DistributionsContainerApi.create",
141
149
  :header_params => header_params,
142
150
  :query_params => query_params,
143
151
  :form_params => form_params,
@@ -185,21 +193,22 @@ module PulpContainerClient
185
193
  # header parameters
186
194
  header_params = opts[:header_params] || {}
187
195
  # HTTP header 'Accept' (if needed)
188
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
196
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
189
197
 
190
198
  # form parameters
191
199
  form_params = opts[:form_params] || {}
192
200
 
193
201
  # http body (model)
194
- post_body = opts[:body]
202
+ post_body = opts[:debug_body]
195
203
 
196
204
  # return_type
197
- return_type = opts[:return_type] || 'AsyncOperationResponse'
205
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
198
206
 
199
207
  # auth_names
200
- auth_names = opts[:auth_names] || ['basicAuth']
208
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
201
209
 
202
210
  new_options = opts.merge(
211
+ :operation => :"DistributionsContainerApi.delete",
203
212
  :header_params => header_params,
204
213
  :query_params => query_params,
205
214
  :form_params => form_params,
@@ -326,21 +335,22 @@ module PulpContainerClient
326
335
  # header parameters
327
336
  header_params = opts[:header_params] || {}
328
337
  # HTTP header 'Accept' (if needed)
329
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
338
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
330
339
 
331
340
  # form parameters
332
341
  form_params = opts[:form_params] || {}
333
342
 
334
343
  # http body (model)
335
- post_body = opts[:body]
344
+ post_body = opts[:debug_body]
336
345
 
337
346
  # return_type
338
- return_type = opts[:return_type] || 'PaginatedcontainerContainerDistributionResponseList'
347
+ return_type = opts[:debug_return_type] || 'PaginatedcontainerContainerDistributionResponseList'
339
348
 
340
349
  # auth_names
341
- auth_names = opts[:auth_names] || ['basicAuth']
350
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
342
351
 
343
352
  new_options = opts.merge(
353
+ :operation => :"DistributionsContainerApi.list",
344
354
  :header_params => header_params,
345
355
  :query_params => query_params,
346
356
  :form_params => form_params,
@@ -394,21 +404,22 @@ module PulpContainerClient
394
404
  # header parameters
395
405
  header_params = opts[:header_params] || {}
396
406
  # HTTP header 'Accept' (if needed)
397
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
407
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
398
408
 
399
409
  # form parameters
400
410
  form_params = opts[:form_params] || {}
401
411
 
402
412
  # http body (model)
403
- post_body = opts[:body]
413
+ post_body = opts[:debug_body]
404
414
 
405
415
  # return_type
406
- return_type = opts[:return_type] || 'ObjectRolesResponse'
416
+ return_type = opts[:debug_return_type] || 'ObjectRolesResponse'
407
417
 
408
418
  # auth_names
409
- auth_names = opts[:auth_names] || ['basicAuth']
419
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
410
420
 
411
421
  new_options = opts.merge(
422
+ :operation => :"DistributionsContainerApi.list_roles",
412
423
  :header_params => header_params,
413
424
  :query_params => query_params,
414
425
  :form_params => form_params,
@@ -462,21 +473,22 @@ module PulpContainerClient
462
473
  # header parameters
463
474
  header_params = opts[:header_params] || {}
464
475
  # HTTP header 'Accept' (if needed)
465
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
476
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
466
477
 
467
478
  # form parameters
468
479
  form_params = opts[:form_params] || {}
469
480
 
470
481
  # http body (model)
471
- post_body = opts[:body]
482
+ post_body = opts[:debug_body]
472
483
 
473
484
  # return_type
474
- return_type = opts[:return_type] || 'MyPermissionsResponse'
485
+ return_type = opts[:debug_return_type] || 'MyPermissionsResponse'
475
486
 
476
487
  # auth_names
477
- auth_names = opts[:auth_names] || ['basicAuth']
488
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
478
489
 
479
490
  new_options = opts.merge(
491
+ :operation => :"DistributionsContainerApi.my_permissions",
480
492
  :header_params => header_params,
481
493
  :query_params => query_params,
482
494
  :form_params => form_params,
@@ -530,23 +542,27 @@ module PulpContainerClient
530
542
  # header parameters
531
543
  header_params = opts[:header_params] || {}
532
544
  # HTTP header 'Accept' (if needed)
533
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
545
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
534
546
  # HTTP header 'Content-Type'
535
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
547
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
548
+ if !content_type.nil?
549
+ header_params['Content-Type'] = content_type
550
+ end
536
551
 
537
552
  # form parameters
538
553
  form_params = opts[:form_params] || {}
539
554
 
540
555
  # http body (model)
541
- post_body = opts[:body] || @api_client.object_to_http_body(patchedcontainer_container_distribution)
556
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedcontainer_container_distribution)
542
557
 
543
558
  # return_type
544
- return_type = opts[:return_type] || 'AsyncOperationResponse'
559
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
545
560
 
546
561
  # auth_names
547
- auth_names = opts[:auth_names] || ['basicAuth']
562
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
548
563
 
549
564
  new_options = opts.merge(
565
+ :operation => :"DistributionsContainerApi.partial_update",
550
566
  :header_params => header_params,
551
567
  :query_params => query_params,
552
568
  :form_params => form_params,
@@ -600,21 +616,22 @@ module PulpContainerClient
600
616
  # header parameters
601
617
  header_params = opts[:header_params] || {}
602
618
  # HTTP header 'Accept' (if needed)
603
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
619
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
604
620
 
605
621
  # form parameters
606
622
  form_params = opts[:form_params] || {}
607
623
 
608
624
  # http body (model)
609
- post_body = opts[:body]
625
+ post_body = opts[:debug_body]
610
626
 
611
627
  # return_type
612
- return_type = opts[:return_type] || 'ContainerContainerDistributionResponse'
628
+ return_type = opts[:debug_return_type] || 'ContainerContainerDistributionResponse'
613
629
 
614
630
  # auth_names
615
- auth_names = opts[:auth_names] || ['basicAuth']
631
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
616
632
 
617
633
  new_options = opts.merge(
634
+ :operation => :"DistributionsContainerApi.read",
618
635
  :header_params => header_params,
619
636
  :query_params => query_params,
620
637
  :form_params => form_params,
@@ -668,23 +685,27 @@ module PulpContainerClient
668
685
  # header parameters
669
686
  header_params = opts[:header_params] || {}
670
687
  # HTTP header 'Accept' (if needed)
671
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
688
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
672
689
  # HTTP header 'Content-Type'
673
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
690
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
691
+ if !content_type.nil?
692
+ header_params['Content-Type'] = content_type
693
+ end
674
694
 
675
695
  # form parameters
676
696
  form_params = opts[:form_params] || {}
677
697
 
678
698
  # http body (model)
679
- post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
699
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
680
700
 
681
701
  # return_type
682
- return_type = opts[:return_type] || 'NestedRoleResponse'
702
+ return_type = opts[:debug_return_type] || 'NestedRoleResponse'
683
703
 
684
704
  # auth_names
685
- auth_names = opts[:auth_names] || ['basicAuth']
705
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
686
706
 
687
707
  new_options = opts.merge(
708
+ :operation => :"DistributionsContainerApi.remove_role",
688
709
  :header_params => header_params,
689
710
  :query_params => query_params,
690
711
  :form_params => form_params,
@@ -738,23 +759,27 @@ module PulpContainerClient
738
759
  # header parameters
739
760
  header_params = opts[:header_params] || {}
740
761
  # HTTP header 'Accept' (if needed)
741
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
762
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
742
763
  # HTTP header 'Content-Type'
743
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
764
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
765
+ if !content_type.nil?
766
+ header_params['Content-Type'] = content_type
767
+ end
744
768
 
745
769
  # form parameters
746
770
  form_params = opts[:form_params] || {}
747
771
 
748
772
  # http body (model)
749
- post_body = opts[:body] || @api_client.object_to_http_body(set_label)
773
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
750
774
 
751
775
  # return_type
752
- return_type = opts[:return_type] || 'SetLabelResponse'
776
+ return_type = opts[:debug_return_type] || 'SetLabelResponse'
753
777
 
754
778
  # auth_names
755
- auth_names = opts[:auth_names] || ['basicAuth']
779
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
756
780
 
757
781
  new_options = opts.merge(
782
+ :operation => :"DistributionsContainerApi.set_label",
758
783
  :header_params => header_params,
759
784
  :query_params => query_params,
760
785
  :form_params => form_params,
@@ -808,23 +833,27 @@ module PulpContainerClient
808
833
  # header parameters
809
834
  header_params = opts[:header_params] || {}
810
835
  # HTTP header 'Accept' (if needed)
811
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
836
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
812
837
  # HTTP header 'Content-Type'
813
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
838
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
839
+ if !content_type.nil?
840
+ header_params['Content-Type'] = content_type
841
+ end
814
842
 
815
843
  # form parameters
816
844
  form_params = opts[:form_params] || {}
817
845
 
818
846
  # http body (model)
819
- post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
847
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
820
848
 
821
849
  # return_type
822
- return_type = opts[:return_type] || 'UnsetLabelResponse'
850
+ return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
823
851
 
824
852
  # auth_names
825
- auth_names = opts[:auth_names] || ['basicAuth']
853
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
826
854
 
827
855
  new_options = opts.merge(
856
+ :operation => :"DistributionsContainerApi.unset_label",
828
857
  :header_params => header_params,
829
858
  :query_params => query_params,
830
859
  :form_params => form_params,
@@ -878,23 +907,27 @@ module PulpContainerClient
878
907
  # header parameters
879
908
  header_params = opts[:header_params] || {}
880
909
  # HTTP header 'Accept' (if needed)
881
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
910
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
882
911
  # HTTP header 'Content-Type'
883
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
912
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
913
+ if !content_type.nil?
914
+ header_params['Content-Type'] = content_type
915
+ end
884
916
 
885
917
  # form parameters
886
918
  form_params = opts[:form_params] || {}
887
919
 
888
920
  # http body (model)
889
- post_body = opts[:body] || @api_client.object_to_http_body(container_container_distribution)
921
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(container_container_distribution)
890
922
 
891
923
  # return_type
892
- return_type = opts[:return_type] || 'AsyncOperationResponse'
924
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
893
925
 
894
926
  # auth_names
895
- auth_names = opts[:auth_names] || ['basicAuth']
927
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
896
928
 
897
929
  new_options = opts.merge(
930
+ :operation => :"DistributionsContainerApi.update",
898
931
  :header_params => header_params,
899
932
  :query_params => query_params,
900
933
  :form_params => form_params,