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
@@ -2,36 +2,35 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**add_role**](RepositoriesContainerPushApi.md#add_role) | **POST** {container_container_push_repository_href}add_role/ | Add a role
8
- [**list**](RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
9
- [**list_roles**](RepositoriesContainerPushApi.md#list_roles) | **GET** {container_container_push_repository_href}list_roles/ | List roles
10
- [**my_permissions**](RepositoriesContainerPushApi.md#my_permissions) | **GET** {container_container_push_repository_href}my_permissions/ | List user permissions
11
- [**partial_update**](RepositoriesContainerPushApi.md#partial_update) | **PATCH** {container_container_push_repository_href} | Update a container push repository
12
- [**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
13
- [**remove_image**](RepositoriesContainerPushApi.md#remove_image) | **POST** {container_container_push_repository_href}remove_image/ | Delete an image from a repository
14
- [**remove_role**](RepositoriesContainerPushApi.md#remove_role) | **POST** {container_container_push_repository_href}remove_role/ | Remove a role
15
- [**remove_signatures**](RepositoriesContainerPushApi.md#remove_signatures) | **POST** {container_container_push_repository_href}remove_signatures/ |
16
- [**sign**](RepositoriesContainerPushApi.md#sign) | **POST** {container_container_push_repository_href}sign/ | Sign images in the repo
17
- [**tag**](RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
18
- [**untag**](RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag
19
- [**update**](RepositoriesContainerPushApi.md#update) | **PUT** {container_container_push_repository_href} | Update a container push repository
20
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_role**](RepositoriesContainerPushApi.md#add_role) | **POST** {container_container_push_repository_href}add_role/ | Add a role |
8
+ | [**list**](RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys |
9
+ | [**list_roles**](RepositoriesContainerPushApi.md#list_roles) | **GET** {container_container_push_repository_href}list_roles/ | List roles |
10
+ | [**my_permissions**](RepositoriesContainerPushApi.md#my_permissions) | **GET** {container_container_push_repository_href}my_permissions/ | List user permissions |
11
+ | [**partial_update**](RepositoriesContainerPushApi.md#partial_update) | **PATCH** {container_container_push_repository_href} | Update a container push repository |
12
+ | [**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository |
13
+ | [**remove_image**](RepositoriesContainerPushApi.md#remove_image) | **POST** {container_container_push_repository_href}remove_image/ | Delete an image from a repository |
14
+ | [**remove_role**](RepositoriesContainerPushApi.md#remove_role) | **POST** {container_container_push_repository_href}remove_role/ | Remove a role |
15
+ | [**remove_signatures**](RepositoriesContainerPushApi.md#remove_signatures) | **POST** {container_container_push_repository_href}remove_signatures/ | |
16
+ | [**sign**](RepositoriesContainerPushApi.md#sign) | **POST** {container_container_push_repository_href}sign/ | Sign images in the repo |
17
+ | [**tag**](RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag |
18
+ | [**untag**](RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag |
19
+ | [**update**](RepositoriesContainerPushApi.md#update) | **PUT** {container_container_push_repository_href} | Update a container push repository |
21
20
 
22
21
 
23
22
  ## add_role
24
23
 
25
- > NestedRoleResponse add_role(container_container_push_repository_href, nested_role)
24
+ > <NestedRoleResponse> add_role(container_container_push_repository_href, nested_role)
26
25
 
27
26
  Add a role
28
27
 
29
28
  Add a role for this object to users/groups.
30
29
 
31
- ### Example
30
+ ### Examples
32
31
 
33
32
  ```ruby
34
- # load the gem
33
+ require 'time'
35
34
  require 'pulp_container_client'
36
35
  # setup authorization
37
36
  PulpContainerClient.configure do |config|
@@ -42,24 +41,41 @@ end
42
41
 
43
42
  api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
44
43
  container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
45
- nested_role = PulpContainerClient::NestedRole.new # NestedRole |
44
+ nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
46
45
 
47
46
  begin
48
- #Add a role
47
+ # Add a role
49
48
  result = api_instance.add_role(container_container_push_repository_href, nested_role)
50
49
  p result
51
50
  rescue PulpContainerClient::ApiError => e
52
- puts "Exception when calling RepositoriesContainerPushApi->add_role: #{e}"
51
+ puts "Error when calling RepositoriesContainerPushApi->add_role: #{e}"
53
52
  end
54
53
  ```
55
54
 
56
- ### Parameters
55
+ #### Using the add_role_with_http_info variant
57
56
 
57
+ This returns an Array which contains the response data, status code and headers.
58
58
 
59
- Name | Type | Description | Notes
60
- ------------- | ------------- | ------------- | -------------
61
- **container_container_push_repository_href** | **String**| |
62
- **nested_role** | [**NestedRole**](NestedRole.md)| |
59
+ > <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_push_repository_href, nested_role)
60
+
61
+ ```ruby
62
+ begin
63
+ # Add a role
64
+ data, status_code, headers = api_instance.add_role_with_http_info(container_container_push_repository_href, nested_role)
65
+ p status_code # => 2xx
66
+ p headers # => { ... }
67
+ p data # => <NestedRoleResponse>
68
+ rescue PulpContainerClient::ApiError => e
69
+ puts "Error when calling RepositoriesContainerPushApi->add_role_with_http_info: #{e}"
70
+ end
71
+ ```
72
+
73
+ ### Parameters
74
+
75
+ | Name | Type | Description | Notes |
76
+ | ---- | ---- | ----------- | ----- |
77
+ | **container_container_push_repository_href** | **String** | | |
78
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
63
79
 
64
80
  ### Return type
65
81
 
@@ -77,16 +93,16 @@ Name | Type | Description | Notes
77
93
 
78
94
  ## list
79
95
 
80
- > PaginatedcontainerContainerPushRepositoryResponseList list(opts)
96
+ > <PaginatedcontainerContainerPushRepositoryResponseList> list(opts)
81
97
 
82
98
  List container push repositorys
83
99
 
84
100
  ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
85
101
 
86
- ### Example
102
+ ### Examples
87
103
 
88
104
  ```ruby
89
- # load the gem
105
+ require 'time'
90
106
  require 'pulp_container_client'
91
107
  # setup authorization
92
108
  PulpContainerClient.configure do |config|
@@ -103,19 +119,19 @@ opts = {
103
119
  name__contains: 'name__contains_example', # String | Filter results where name contains value
104
120
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
105
121
  name__iexact: 'name__iexact_example', # String | Filter results where name matches value
106
- name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
122
+ name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
107
123
  name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
108
124
  name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
109
125
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
110
126
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
111
127
  offset: 56, # Integer | The initial index from which to return the results.
112
- ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
113
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
114
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
115
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
128
+ ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
129
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
130
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
131
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
116
132
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
117
133
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
118
- remote: 'remote_example', # String | Foreign Key referenced by HREF
134
+ remote: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Foreign Key referenced by HREF
119
135
  retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
120
136
  retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
121
137
  retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
@@ -123,56 +139,73 @@ opts = {
123
139
  retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
124
140
  retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
125
141
  retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
126
- retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
142
+ retain_repo_versions__range: [37], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
127
143
  with_content: 'with_content_example', # String | Content Unit referenced by HREF/PRN
128
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
129
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
144
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
145
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
130
146
  }
131
147
 
132
148
  begin
133
- #List container push repositorys
149
+ # List container push repositorys
134
150
  result = api_instance.list(opts)
135
151
  p result
136
152
  rescue PulpContainerClient::ApiError => e
137
- puts "Exception when calling RepositoriesContainerPushApi->list: #{e}"
153
+ puts "Error when calling RepositoriesContainerPushApi->list: #{e}"
138
154
  end
139
155
  ```
140
156
 
141
- ### Parameters
157
+ #### Using the list_with_http_info variant
142
158
 
159
+ This returns an Array which contains the response data, status code and headers.
143
160
 
144
- Name | Type | Description | Notes
145
- ------------- | ------------- | ------------- | -------------
146
- **latest_with_content** | **String**| Content Unit referenced by HREF/PRN | [optional]
147
- **limit** | **Integer**| Number of results to return per page. | [optional]
148
- **name** | **String**| Filter results where name matches value | [optional]
149
- **name__contains** | **String**| Filter results where name contains value | [optional]
150
- **name__icontains** | **String**| Filter results where name contains value | [optional]
151
- **name__iexact** | **String**| Filter results where name matches value | [optional]
152
- **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
153
- **name__iregex** | **String**| Filter results where name matches regex value | [optional]
154
- **name__istartswith** | **String**| Filter results where name starts with value | [optional]
155
- **name__regex** | **String**| Filter results where name matches regex value | [optional]
156
- **name__startswith** | **String**| Filter results where name starts with value | [optional]
157
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
158
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
159
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
160
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
161
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
162
- **pulp_label_select** | **String**| Filter labels by search string | [optional]
163
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
164
- **remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
165
- **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
166
- **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
167
- **retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
168
- **retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
169
- **retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
170
- **retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
171
- **retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
172
- **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
173
- **with_content** | **String**| Content Unit referenced by HREF/PRN | [optional]
174
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
175
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
161
+ > <Array(<PaginatedcontainerContainerPushRepositoryResponseList>, Integer, Hash)> list_with_http_info(opts)
162
+
163
+ ```ruby
164
+ begin
165
+ # List container push repositorys
166
+ data, status_code, headers = api_instance.list_with_http_info(opts)
167
+ p status_code # => 2xx
168
+ p headers # => { ... }
169
+ p data # => <PaginatedcontainerContainerPushRepositoryResponseList>
170
+ rescue PulpContainerClient::ApiError => e
171
+ puts "Error when calling RepositoriesContainerPushApi->list_with_http_info: #{e}"
172
+ end
173
+ ```
174
+
175
+ ### Parameters
176
+
177
+ | Name | Type | Description | Notes |
178
+ | ---- | ---- | ----------- | ----- |
179
+ | **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
180
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
181
+ | **name** | **String** | Filter results where name matches value | [optional] |
182
+ | **name__contains** | **String** | Filter results where name contains value | [optional] |
183
+ | **name__icontains** | **String** | Filter results where name contains value | [optional] |
184
+ | **name__iexact** | **String** | Filter results where name matches value | [optional] |
185
+ | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
186
+ | **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
187
+ | **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
188
+ | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
189
+ | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
190
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
191
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
192
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
193
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
194
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
195
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
196
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
197
+ | **remote** | **String** | Foreign Key referenced by HREF | [optional] |
198
+ | **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
199
+ | **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
200
+ | **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
201
+ | **retain_repo_versions__isnull** | **Boolean** | Filter results where retain_repo_versions has a null value | [optional] |
202
+ | **retain_repo_versions__lt** | **Integer** | Filter results where retain_repo_versions is less than value | [optional] |
203
+ | **retain_repo_versions__lte** | **Integer** | Filter results where retain_repo_versions is less than or equal to value | [optional] |
204
+ | **retain_repo_versions__ne** | **Integer** | Filter results where retain_repo_versions not equal to value | [optional] |
205
+ | **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md) | Filter results where retain_repo_versions is between two comma separated values | [optional] |
206
+ | **with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
207
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
208
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
176
209
 
177
210
  ### Return type
178
211
 
@@ -190,16 +223,16 @@ Name | Type | Description | Notes
190
223
 
191
224
  ## list_roles
192
225
 
193
- > ObjectRolesResponse list_roles(container_container_push_repository_href, opts)
226
+ > <ObjectRolesResponse> list_roles(container_container_push_repository_href, opts)
194
227
 
195
228
  List roles
196
229
 
197
230
  List roles assigned to this object.
198
231
 
199
- ### Example
232
+ ### Examples
200
233
 
201
234
  ```ruby
202
- # load the gem
235
+ require 'time'
203
236
  require 'pulp_container_client'
204
237
  # setup authorization
205
238
  PulpContainerClient.configure do |config|
@@ -211,27 +244,44 @@ end
211
244
  api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
212
245
  container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
213
246
  opts = {
214
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
215
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
247
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
248
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
216
249
  }
217
250
 
218
251
  begin
219
- #List roles
252
+ # List roles
220
253
  result = api_instance.list_roles(container_container_push_repository_href, opts)
221
254
  p result
222
255
  rescue PulpContainerClient::ApiError => e
223
- puts "Exception when calling RepositoriesContainerPushApi->list_roles: #{e}"
256
+ puts "Error when calling RepositoriesContainerPushApi->list_roles: #{e}"
224
257
  end
225
258
  ```
226
259
 
227
- ### Parameters
260
+ #### Using the list_roles_with_http_info variant
261
+
262
+ This returns an Array which contains the response data, status code and headers.
263
+
264
+ > <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(container_container_push_repository_href, opts)
265
+
266
+ ```ruby
267
+ begin
268
+ # List roles
269
+ data, status_code, headers = api_instance.list_roles_with_http_info(container_container_push_repository_href, opts)
270
+ p status_code # => 2xx
271
+ p headers # => { ... }
272
+ p data # => <ObjectRolesResponse>
273
+ rescue PulpContainerClient::ApiError => e
274
+ puts "Error when calling RepositoriesContainerPushApi->list_roles_with_http_info: #{e}"
275
+ end
276
+ ```
228
277
 
278
+ ### Parameters
229
279
 
230
- Name | Type | Description | Notes
231
- ------------- | ------------- | ------------- | -------------
232
- **container_container_push_repository_href** | **String**| |
233
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
234
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
280
+ | Name | Type | Description | Notes |
281
+ | ---- | ---- | ----------- | ----- |
282
+ | **container_container_push_repository_href** | **String** | | |
283
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
284
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
235
285
 
236
286
  ### Return type
237
287
 
@@ -249,16 +299,16 @@ Name | Type | Description | Notes
249
299
 
250
300
  ## my_permissions
251
301
 
252
- > MyPermissionsResponse my_permissions(container_container_push_repository_href, opts)
302
+ > <MyPermissionsResponse> my_permissions(container_container_push_repository_href, opts)
253
303
 
254
304
  List user permissions
255
305
 
256
306
  List permissions available to the current user on this object.
257
307
 
258
- ### Example
308
+ ### Examples
259
309
 
260
310
  ```ruby
261
- # load the gem
311
+ require 'time'
262
312
  require 'pulp_container_client'
263
313
  # setup authorization
264
314
  PulpContainerClient.configure do |config|
@@ -270,27 +320,44 @@ end
270
320
  api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
271
321
  container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
272
322
  opts = {
273
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
274
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
323
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
324
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
275
325
  }
276
326
 
277
327
  begin
278
- #List user permissions
328
+ # List user permissions
279
329
  result = api_instance.my_permissions(container_container_push_repository_href, opts)
280
330
  p result
281
331
  rescue PulpContainerClient::ApiError => e
282
- puts "Exception when calling RepositoriesContainerPushApi->my_permissions: #{e}"
332
+ puts "Error when calling RepositoriesContainerPushApi->my_permissions: #{e}"
283
333
  end
284
334
  ```
285
335
 
286
- ### Parameters
336
+ #### Using the my_permissions_with_http_info variant
337
+
338
+ This returns an Array which contains the response data, status code and headers.
287
339
 
340
+ > <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(container_container_push_repository_href, opts)
288
341
 
289
- Name | Type | Description | Notes
290
- ------------- | ------------- | ------------- | -------------
291
- **container_container_push_repository_href** | **String**| |
292
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
293
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
342
+ ```ruby
343
+ begin
344
+ # List user permissions
345
+ data, status_code, headers = api_instance.my_permissions_with_http_info(container_container_push_repository_href, opts)
346
+ p status_code # => 2xx
347
+ p headers # => { ... }
348
+ p data # => <MyPermissionsResponse>
349
+ rescue PulpContainerClient::ApiError => e
350
+ puts "Error when calling RepositoriesContainerPushApi->my_permissions_with_http_info: #{e}"
351
+ end
352
+ ```
353
+
354
+ ### Parameters
355
+
356
+ | Name | Type | Description | Notes |
357
+ | ---- | ---- | ----------- | ----- |
358
+ | **container_container_push_repository_href** | **String** | | |
359
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
360
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
294
361
 
295
362
  ### Return type
296
363
 
@@ -308,16 +375,16 @@ Name | Type | Description | Notes
308
375
 
309
376
  ## partial_update
310
377
 
311
- > AsyncOperationResponse partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository)
378
+ > <AsyncOperationResponse> partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository)
312
379
 
313
380
  Update a container push repository
314
381
 
315
382
  Trigger an asynchronous partial update task
316
383
 
317
- ### Example
384
+ ### Examples
318
385
 
319
386
  ```ruby
320
- # load the gem
387
+ require 'time'
321
388
  require 'pulp_container_client'
322
389
  # setup authorization
323
390
  PulpContainerClient.configure do |config|
@@ -331,21 +398,38 @@ container_container_push_repository_href = 'container_container_push_repository_
331
398
  patchedcontainer_container_push_repository = PulpContainerClient::PatchedcontainerContainerPushRepository.new # PatchedcontainerContainerPushRepository |
332
399
 
333
400
  begin
334
- #Update a container push repository
401
+ # Update a container push repository
335
402
  result = api_instance.partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository)
336
403
  p result
337
404
  rescue PulpContainerClient::ApiError => e
338
- puts "Exception when calling RepositoriesContainerPushApi->partial_update: #{e}"
405
+ puts "Error when calling RepositoriesContainerPushApi->partial_update: #{e}"
339
406
  end
340
407
  ```
341
408
 
342
- ### Parameters
409
+ #### Using the partial_update_with_http_info variant
343
410
 
411
+ This returns an Array which contains the response data, status code and headers.
344
412
 
345
- Name | Type | Description | Notes
346
- ------------- | ------------- | ------------- | -------------
347
- **container_container_push_repository_href** | **String**| |
348
- **patchedcontainer_container_push_repository** | [**PatchedcontainerContainerPushRepository**](PatchedcontainerContainerPushRepository.md)| |
413
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository)
414
+
415
+ ```ruby
416
+ begin
417
+ # Update a container push repository
418
+ data, status_code, headers = api_instance.partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository)
419
+ p status_code # => 2xx
420
+ p headers # => { ... }
421
+ p data # => <AsyncOperationResponse>
422
+ rescue PulpContainerClient::ApiError => e
423
+ puts "Error when calling RepositoriesContainerPushApi->partial_update_with_http_info: #{e}"
424
+ end
425
+ ```
426
+
427
+ ### Parameters
428
+
429
+ | Name | Type | Description | Notes |
430
+ | ---- | ---- | ----------- | ----- |
431
+ | **container_container_push_repository_href** | **String** | | |
432
+ | **patchedcontainer_container_push_repository** | [**PatchedcontainerContainerPushRepository**](PatchedcontainerContainerPushRepository.md) | | |
349
433
 
350
434
  ### Return type
351
435
 
@@ -363,16 +447,16 @@ Name | Type | Description | Notes
363
447
 
364
448
  ## read
365
449
 
366
- > ContainerContainerPushRepositoryResponse read(container_container_push_repository_href, opts)
450
+ > <ContainerContainerPushRepositoryResponse> read(container_container_push_repository_href, opts)
367
451
 
368
452
  Inspect a container push repository
369
453
 
370
454
  ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
371
455
 
372
- ### Example
456
+ ### Examples
373
457
 
374
458
  ```ruby
375
- # load the gem
459
+ require 'time'
376
460
  require 'pulp_container_client'
377
461
  # setup authorization
378
462
  PulpContainerClient.configure do |config|
@@ -384,27 +468,44 @@ end
384
468
  api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
385
469
  container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
386
470
  opts = {
387
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
388
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
471
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
472
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
389
473
  }
390
474
 
391
475
  begin
392
- #Inspect a container push repository
476
+ # Inspect a container push repository
393
477
  result = api_instance.read(container_container_push_repository_href, opts)
394
478
  p result
395
479
  rescue PulpContainerClient::ApiError => e
396
- puts "Exception when calling RepositoriesContainerPushApi->read: #{e}"
480
+ puts "Error when calling RepositoriesContainerPushApi->read: #{e}"
397
481
  end
398
482
  ```
399
483
 
400
- ### Parameters
484
+ #### Using the read_with_http_info variant
485
+
486
+ This returns an Array which contains the response data, status code and headers.
487
+
488
+ > <Array(<ContainerContainerPushRepositoryResponse>, Integer, Hash)> read_with_http_info(container_container_push_repository_href, opts)
489
+
490
+ ```ruby
491
+ begin
492
+ # Inspect a container push repository
493
+ data, status_code, headers = api_instance.read_with_http_info(container_container_push_repository_href, opts)
494
+ p status_code # => 2xx
495
+ p headers # => { ... }
496
+ p data # => <ContainerContainerPushRepositoryResponse>
497
+ rescue PulpContainerClient::ApiError => e
498
+ puts "Error when calling RepositoriesContainerPushApi->read_with_http_info: #{e}"
499
+ end
500
+ ```
401
501
 
502
+ ### Parameters
402
503
 
403
- Name | Type | Description | Notes
404
- ------------- | ------------- | ------------- | -------------
405
- **container_container_push_repository_href** | **String**| |
406
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
407
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
504
+ | Name | Type | Description | Notes |
505
+ | ---- | ---- | ----------- | ----- |
506
+ | **container_container_push_repository_href** | **String** | | |
507
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
508
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
408
509
 
409
510
  ### Return type
410
511
 
@@ -422,16 +523,16 @@ Name | Type | Description | Notes
422
523
 
423
524
  ## remove_image
424
525
 
425
- > AsyncOperationResponse remove_image(container_container_push_repository_href, remove_image)
526
+ > <AsyncOperationResponse> remove_image(container_container_push_repository_href, remove_image)
426
527
 
427
528
  Delete an image from a repository
428
529
 
429
530
  Trigger an asynchronous task to remove a manifest and all its associated data by a digest
430
531
 
431
- ### Example
532
+ ### Examples
432
533
 
433
534
  ```ruby
434
- # load the gem
535
+ require 'time'
435
536
  require 'pulp_container_client'
436
537
  # setup authorization
437
538
  PulpContainerClient.configure do |config|
@@ -442,24 +543,41 @@ end
442
543
 
443
544
  api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
444
545
  container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
445
- remove_image = PulpContainerClient::RemoveImage.new # RemoveImage |
546
+ remove_image = PulpContainerClient::RemoveImage.new({digest: 'digest_example'}) # RemoveImage |
446
547
 
447
548
  begin
448
- #Delete an image from a repository
549
+ # Delete an image from a repository
449
550
  result = api_instance.remove_image(container_container_push_repository_href, remove_image)
450
551
  p result
451
552
  rescue PulpContainerClient::ApiError => e
452
- puts "Exception when calling RepositoriesContainerPushApi->remove_image: #{e}"
553
+ puts "Error when calling RepositoriesContainerPushApi->remove_image: #{e}"
453
554
  end
454
555
  ```
455
556
 
456
- ### Parameters
557
+ #### Using the remove_image_with_http_info variant
457
558
 
559
+ This returns an Array which contains the response data, status code and headers.
458
560
 
459
- Name | Type | Description | Notes
460
- ------------- | ------------- | ------------- | -------------
461
- **container_container_push_repository_href** | **String**| |
462
- **remove_image** | [**RemoveImage**](RemoveImage.md)| |
561
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> remove_image_with_http_info(container_container_push_repository_href, remove_image)
562
+
563
+ ```ruby
564
+ begin
565
+ # Delete an image from a repository
566
+ data, status_code, headers = api_instance.remove_image_with_http_info(container_container_push_repository_href, remove_image)
567
+ p status_code # => 2xx
568
+ p headers # => { ... }
569
+ p data # => <AsyncOperationResponse>
570
+ rescue PulpContainerClient::ApiError => e
571
+ puts "Error when calling RepositoriesContainerPushApi->remove_image_with_http_info: #{e}"
572
+ end
573
+ ```
574
+
575
+ ### Parameters
576
+
577
+ | Name | Type | Description | Notes |
578
+ | ---- | ---- | ----------- | ----- |
579
+ | **container_container_push_repository_href** | **String** | | |
580
+ | **remove_image** | [**RemoveImage**](RemoveImage.md) | | |
463
581
 
464
582
  ### Return type
465
583
 
@@ -477,16 +595,16 @@ Name | Type | Description | Notes
477
595
 
478
596
  ## remove_role
479
597
 
480
- > NestedRoleResponse remove_role(container_container_push_repository_href, nested_role)
598
+ > <NestedRoleResponse> remove_role(container_container_push_repository_href, nested_role)
481
599
 
482
600
  Remove a role
483
601
 
484
602
  Remove a role for this object from users/groups.
485
603
 
486
- ### Example
604
+ ### Examples
487
605
 
488
606
  ```ruby
489
- # load the gem
607
+ require 'time'
490
608
  require 'pulp_container_client'
491
609
  # setup authorization
492
610
  PulpContainerClient.configure do |config|
@@ -497,24 +615,41 @@ end
497
615
 
498
616
  api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
499
617
  container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
500
- nested_role = PulpContainerClient::NestedRole.new # NestedRole |
618
+ nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
501
619
 
502
620
  begin
503
- #Remove a role
621
+ # Remove a role
504
622
  result = api_instance.remove_role(container_container_push_repository_href, nested_role)
505
623
  p result
506
624
  rescue PulpContainerClient::ApiError => e
507
- puts "Exception when calling RepositoriesContainerPushApi->remove_role: #{e}"
625
+ puts "Error when calling RepositoriesContainerPushApi->remove_role: #{e}"
508
626
  end
509
627
  ```
510
628
 
511
- ### Parameters
629
+ #### Using the remove_role_with_http_info variant
512
630
 
631
+ This returns an Array which contains the response data, status code and headers.
513
632
 
514
- Name | Type | Description | Notes
515
- ------------- | ------------- | ------------- | -------------
516
- **container_container_push_repository_href** | **String**| |
517
- **nested_role** | [**NestedRole**](NestedRole.md)| |
633
+ > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_push_repository_href, nested_role)
634
+
635
+ ```ruby
636
+ begin
637
+ # Remove a role
638
+ data, status_code, headers = api_instance.remove_role_with_http_info(container_container_push_repository_href, nested_role)
639
+ p status_code # => 2xx
640
+ p headers # => { ... }
641
+ p data # => <NestedRoleResponse>
642
+ rescue PulpContainerClient::ApiError => e
643
+ puts "Error when calling RepositoriesContainerPushApi->remove_role_with_http_info: #{e}"
644
+ end
645
+ ```
646
+
647
+ ### Parameters
648
+
649
+ | Name | Type | Description | Notes |
650
+ | ---- | ---- | ----------- | ----- |
651
+ | **container_container_push_repository_href** | **String** | | |
652
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
518
653
 
519
654
  ### Return type
520
655
 
@@ -532,16 +667,16 @@ Name | Type | Description | Notes
532
667
 
533
668
  ## remove_signatures
534
669
 
535
- > RemoveSignaturesResponse remove_signatures(container_container_push_repository_href, remove_signatures)
670
+ > <RemoveSignaturesResponse> remove_signatures(container_container_push_repository_href, remove_signatures)
536
671
 
537
672
 
538
673
 
539
674
  Create a task which deletes signatures by the passed key_id.
540
675
 
541
- ### Example
676
+ ### Examples
542
677
 
543
678
  ```ruby
544
- # load the gem
679
+ require 'time'
545
680
  require 'pulp_container_client'
546
681
  # setup authorization
547
682
  PulpContainerClient.configure do |config|
@@ -552,23 +687,41 @@ end
552
687
 
553
688
  api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
554
689
  container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
555
- remove_signatures = PulpContainerClient::RemoveSignatures.new # RemoveSignatures |
690
+ remove_signatures = PulpContainerClient::RemoveSignatures.new({signed_with_key_id: 'signed_with_key_id_example'}) # RemoveSignatures |
556
691
 
557
692
  begin
693
+
558
694
  result = api_instance.remove_signatures(container_container_push_repository_href, remove_signatures)
559
695
  p result
560
696
  rescue PulpContainerClient::ApiError => e
561
- puts "Exception when calling RepositoriesContainerPushApi->remove_signatures: #{e}"
697
+ puts "Error when calling RepositoriesContainerPushApi->remove_signatures: #{e}"
562
698
  end
563
699
  ```
564
700
 
565
- ### Parameters
701
+ #### Using the remove_signatures_with_http_info variant
566
702
 
703
+ This returns an Array which contains the response data, status code and headers.
567
704
 
568
- Name | Type | Description | Notes
569
- ------------- | ------------- | ------------- | -------------
570
- **container_container_push_repository_href** | **String**| |
571
- **remove_signatures** | [**RemoveSignatures**](RemoveSignatures.md)| |
705
+ > <Array(<RemoveSignaturesResponse>, Integer, Hash)> remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures)
706
+
707
+ ```ruby
708
+ begin
709
+
710
+ data, status_code, headers = api_instance.remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures)
711
+ p status_code # => 2xx
712
+ p headers # => { ... }
713
+ p data # => <RemoveSignaturesResponse>
714
+ rescue PulpContainerClient::ApiError => e
715
+ puts "Error when calling RepositoriesContainerPushApi->remove_signatures_with_http_info: #{e}"
716
+ end
717
+ ```
718
+
719
+ ### Parameters
720
+
721
+ | Name | Type | Description | Notes |
722
+ | ---- | ---- | ----------- | ----- |
723
+ | **container_container_push_repository_href** | **String** | | |
724
+ | **remove_signatures** | [**RemoveSignatures**](RemoveSignatures.md) | | |
572
725
 
573
726
  ### Return type
574
727
 
@@ -586,16 +739,16 @@ Name | Type | Description | Notes
586
739
 
587
740
  ## sign
588
741
 
589
- > AsyncOperationResponse sign(container_container_push_repository_href, repository_sign)
742
+ > <AsyncOperationResponse> sign(container_container_push_repository_href, repository_sign)
590
743
 
591
744
  Sign images in the repo
592
745
 
593
746
  Trigger an asynchronous task to sign content.
594
747
 
595
- ### Example
748
+ ### Examples
596
749
 
597
750
  ```ruby
598
- # load the gem
751
+ require 'time'
599
752
  require 'pulp_container_client'
600
753
  # setup authorization
601
754
  PulpContainerClient.configure do |config|
@@ -609,21 +762,38 @@ container_container_push_repository_href = 'container_container_push_repository_
609
762
  repository_sign = PulpContainerClient::RepositorySign.new # RepositorySign |
610
763
 
611
764
  begin
612
- #Sign images in the repo
765
+ # Sign images in the repo
613
766
  result = api_instance.sign(container_container_push_repository_href, repository_sign)
614
767
  p result
615
768
  rescue PulpContainerClient::ApiError => e
616
- puts "Exception when calling RepositoriesContainerPushApi->sign: #{e}"
769
+ puts "Error when calling RepositoriesContainerPushApi->sign: #{e}"
617
770
  end
618
771
  ```
619
772
 
620
- ### Parameters
773
+ #### Using the sign_with_http_info variant
774
+
775
+ This returns an Array which contains the response data, status code and headers.
621
776
 
777
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> sign_with_http_info(container_container_push_repository_href, repository_sign)
622
778
 
623
- Name | Type | Description | Notes
624
- ------------- | ------------- | ------------- | -------------
625
- **container_container_push_repository_href** | **String**| |
626
- **repository_sign** | [**RepositorySign**](RepositorySign.md)| |
779
+ ```ruby
780
+ begin
781
+ # Sign images in the repo
782
+ data, status_code, headers = api_instance.sign_with_http_info(container_container_push_repository_href, repository_sign)
783
+ p status_code # => 2xx
784
+ p headers # => { ... }
785
+ p data # => <AsyncOperationResponse>
786
+ rescue PulpContainerClient::ApiError => e
787
+ puts "Error when calling RepositoriesContainerPushApi->sign_with_http_info: #{e}"
788
+ end
789
+ ```
790
+
791
+ ### Parameters
792
+
793
+ | Name | Type | Description | Notes |
794
+ | ---- | ---- | ----------- | ----- |
795
+ | **container_container_push_repository_href** | **String** | | |
796
+ | **repository_sign** | [**RepositorySign**](RepositorySign.md) | | |
627
797
 
628
798
  ### Return type
629
799
 
@@ -641,16 +811,16 @@ Name | Type | Description | Notes
641
811
 
642
812
  ## tag
643
813
 
644
- > AsyncOperationResponse tag(container_container_push_repository_href, tag_image)
814
+ > <AsyncOperationResponse> tag(container_container_push_repository_href, tag_image)
645
815
 
646
816
  Create a Tag
647
817
 
648
818
  Trigger an asynchronous task to tag an image in the repository
649
819
 
650
- ### Example
820
+ ### Examples
651
821
 
652
822
  ```ruby
653
- # load the gem
823
+ require 'time'
654
824
  require 'pulp_container_client'
655
825
  # setup authorization
656
826
  PulpContainerClient.configure do |config|
@@ -661,24 +831,41 @@ end
661
831
 
662
832
  api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
663
833
  container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
664
- tag_image = PulpContainerClient::TagImage.new # TagImage |
834
+ tag_image = PulpContainerClient::TagImage.new({tag: 'tag_example', digest: 'digest_example'}) # TagImage |
665
835
 
666
836
  begin
667
- #Create a Tag
837
+ # Create a Tag
668
838
  result = api_instance.tag(container_container_push_repository_href, tag_image)
669
839
  p result
670
840
  rescue PulpContainerClient::ApiError => e
671
- puts "Exception when calling RepositoriesContainerPushApi->tag: #{e}"
841
+ puts "Error when calling RepositoriesContainerPushApi->tag: #{e}"
672
842
  end
673
843
  ```
674
844
 
675
- ### Parameters
845
+ #### Using the tag_with_http_info variant
846
+
847
+ This returns an Array which contains the response data, status code and headers.
848
+
849
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> tag_with_http_info(container_container_push_repository_href, tag_image)
850
+
851
+ ```ruby
852
+ begin
853
+ # Create a Tag
854
+ data, status_code, headers = api_instance.tag_with_http_info(container_container_push_repository_href, tag_image)
855
+ p status_code # => 2xx
856
+ p headers # => { ... }
857
+ p data # => <AsyncOperationResponse>
858
+ rescue PulpContainerClient::ApiError => e
859
+ puts "Error when calling RepositoriesContainerPushApi->tag_with_http_info: #{e}"
860
+ end
861
+ ```
676
862
 
863
+ ### Parameters
677
864
 
678
- Name | Type | Description | Notes
679
- ------------- | ------------- | ------------- | -------------
680
- **container_container_push_repository_href** | **String**| |
681
- **tag_image** | [**TagImage**](TagImage.md)| |
865
+ | Name | Type | Description | Notes |
866
+ | ---- | ---- | ----------- | ----- |
867
+ | **container_container_push_repository_href** | **String** | | |
868
+ | **tag_image** | [**TagImage**](TagImage.md) | | |
682
869
 
683
870
  ### Return type
684
871
 
@@ -696,16 +883,16 @@ Name | Type | Description | Notes
696
883
 
697
884
  ## untag
698
885
 
699
- > AsyncOperationResponse untag(container_container_push_repository_href, un_tag_image)
886
+ > <AsyncOperationResponse> untag(container_container_push_repository_href, un_tag_image)
700
887
 
701
888
  Delete a tag
702
889
 
703
890
  Trigger an asynchronous task to untag an image in the repository
704
891
 
705
- ### Example
892
+ ### Examples
706
893
 
707
894
  ```ruby
708
- # load the gem
895
+ require 'time'
709
896
  require 'pulp_container_client'
710
897
  # setup authorization
711
898
  PulpContainerClient.configure do |config|
@@ -716,24 +903,41 @@ end
716
903
 
717
904
  api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
718
905
  container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
719
- un_tag_image = PulpContainerClient::UnTagImage.new # UnTagImage |
906
+ un_tag_image = PulpContainerClient::UnTagImage.new({tag: 'tag_example'}) # UnTagImage |
720
907
 
721
908
  begin
722
- #Delete a tag
909
+ # Delete a tag
723
910
  result = api_instance.untag(container_container_push_repository_href, un_tag_image)
724
911
  p result
725
912
  rescue PulpContainerClient::ApiError => e
726
- puts "Exception when calling RepositoriesContainerPushApi->untag: #{e}"
913
+ puts "Error when calling RepositoriesContainerPushApi->untag: #{e}"
727
914
  end
728
915
  ```
729
916
 
730
- ### Parameters
917
+ #### Using the untag_with_http_info variant
918
+
919
+ This returns an Array which contains the response data, status code and headers.
920
+
921
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> untag_with_http_info(container_container_push_repository_href, un_tag_image)
922
+
923
+ ```ruby
924
+ begin
925
+ # Delete a tag
926
+ data, status_code, headers = api_instance.untag_with_http_info(container_container_push_repository_href, un_tag_image)
927
+ p status_code # => 2xx
928
+ p headers # => { ... }
929
+ p data # => <AsyncOperationResponse>
930
+ rescue PulpContainerClient::ApiError => e
931
+ puts "Error when calling RepositoriesContainerPushApi->untag_with_http_info: #{e}"
932
+ end
933
+ ```
731
934
 
935
+ ### Parameters
732
936
 
733
- Name | Type | Description | Notes
734
- ------------- | ------------- | ------------- | -------------
735
- **container_container_push_repository_href** | **String**| |
736
- **un_tag_image** | [**UnTagImage**](UnTagImage.md)| |
937
+ | Name | Type | Description | Notes |
938
+ | ---- | ---- | ----------- | ----- |
939
+ | **container_container_push_repository_href** | **String** | | |
940
+ | **un_tag_image** | [**UnTagImage**](UnTagImage.md) | | |
737
941
 
738
942
  ### Return type
739
943
 
@@ -751,16 +955,16 @@ Name | Type | Description | Notes
751
955
 
752
956
  ## update
753
957
 
754
- > AsyncOperationResponse update(container_container_push_repository_href, container_container_push_repository)
958
+ > <AsyncOperationResponse> update(container_container_push_repository_href, container_container_push_repository)
755
959
 
756
960
  Update a container push repository
757
961
 
758
962
  Trigger an asynchronous update task
759
963
 
760
- ### Example
964
+ ### Examples
761
965
 
762
966
  ```ruby
763
- # load the gem
967
+ require 'time'
764
968
  require 'pulp_container_client'
765
969
  # setup authorization
766
970
  PulpContainerClient.configure do |config|
@@ -771,24 +975,41 @@ end
771
975
 
772
976
  api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
773
977
  container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
774
- container_container_push_repository = PulpContainerClient::ContainerContainerPushRepository.new # ContainerContainerPushRepository |
978
+ container_container_push_repository = PulpContainerClient::ContainerContainerPushRepository.new({name: 'name_example'}) # ContainerContainerPushRepository |
775
979
 
776
980
  begin
777
- #Update a container push repository
981
+ # Update a container push repository
778
982
  result = api_instance.update(container_container_push_repository_href, container_container_push_repository)
779
983
  p result
780
984
  rescue PulpContainerClient::ApiError => e
781
- puts "Exception when calling RepositoriesContainerPushApi->update: #{e}"
985
+ puts "Error when calling RepositoriesContainerPushApi->update: #{e}"
782
986
  end
783
987
  ```
784
988
 
785
- ### Parameters
989
+ #### Using the update_with_http_info variant
990
+
991
+ This returns an Array which contains the response data, status code and headers.
786
992
 
993
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_push_repository_href, container_container_push_repository)
994
+
995
+ ```ruby
996
+ begin
997
+ # Update a container push repository
998
+ data, status_code, headers = api_instance.update_with_http_info(container_container_push_repository_href, container_container_push_repository)
999
+ p status_code # => 2xx
1000
+ p headers # => { ... }
1001
+ p data # => <AsyncOperationResponse>
1002
+ rescue PulpContainerClient::ApiError => e
1003
+ puts "Error when calling RepositoriesContainerPushApi->update_with_http_info: #{e}"
1004
+ end
1005
+ ```
1006
+
1007
+ ### Parameters
787
1008
 
788
- Name | Type | Description | Notes
789
- ------------- | ------------- | ------------- | -------------
790
- **container_container_push_repository_href** | **String**| |
791
- **container_container_push_repository** | [**ContainerContainerPushRepository**](ContainerContainerPushRepository.md)| |
1009
+ | Name | Type | Description | Notes |
1010
+ | ---- | ---- | ----------- | ----- |
1011
+ | **container_container_push_repository_href** | **String** | | |
1012
+ | **container_container_push_repository** | [**ContainerContainerPushRepository**](ContainerContainerPushRepository.md) | | |
792
1013
 
793
1014
  ### Return type
794
1015