pulp_container_client 2.22.1 → 2.23.0

Sign up to get free protection for your applications and to get access to all the features.
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 +86 -74
  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 +88 -74
  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 +83 -73
  108. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +91 -81
  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 +81 -65
  137. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +81 -65
  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 +77 -65
  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 +28 -33
  187. data/spec/models/container_container_push_repository_spec.rb +15 -20
  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 +15 -20
  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,31 +2,30 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**add_role**](PulpContainerNamespacesApi.md#add_role) | **POST** {container_container_namespace_href}add_role/ | Add a role
8
- [**create**](PulpContainerNamespacesApi.md#create) | **POST** /pulp/api/v3/pulp_container/namespaces/ | Create a container namespace
9
- [**delete**](PulpContainerNamespacesApi.md#delete) | **DELETE** {container_container_namespace_href} | Delete a container namespace
10
- [**list**](PulpContainerNamespacesApi.md#list) | **GET** /pulp/api/v3/pulp_container/namespaces/ | List container namespaces
11
- [**list_roles**](PulpContainerNamespacesApi.md#list_roles) | **GET** {container_container_namespace_href}list_roles/ | List roles
12
- [**my_permissions**](PulpContainerNamespacesApi.md#my_permissions) | **GET** {container_container_namespace_href}my_permissions/ | List user permissions
13
- [**read**](PulpContainerNamespacesApi.md#read) | **GET** {container_container_namespace_href} | Inspect a container namespace
14
- [**remove_role**](PulpContainerNamespacesApi.md#remove_role) | **POST** {container_container_namespace_href}remove_role/ | Remove a role
15
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_role**](PulpContainerNamespacesApi.md#add_role) | **POST** {container_container_namespace_href}add_role/ | Add a role |
8
+ | [**create**](PulpContainerNamespacesApi.md#create) | **POST** /pulp/api/v3/pulp_container/namespaces/ | Create a container namespace |
9
+ | [**delete**](PulpContainerNamespacesApi.md#delete) | **DELETE** {container_container_namespace_href} | Delete a container namespace |
10
+ | [**list**](PulpContainerNamespacesApi.md#list) | **GET** /pulp/api/v3/pulp_container/namespaces/ | List container namespaces |
11
+ | [**list_roles**](PulpContainerNamespacesApi.md#list_roles) | **GET** {container_container_namespace_href}list_roles/ | List roles |
12
+ | [**my_permissions**](PulpContainerNamespacesApi.md#my_permissions) | **GET** {container_container_namespace_href}my_permissions/ | List user permissions |
13
+ | [**read**](PulpContainerNamespacesApi.md#read) | **GET** {container_container_namespace_href} | Inspect a container namespace |
14
+ | [**remove_role**](PulpContainerNamespacesApi.md#remove_role) | **POST** {container_container_namespace_href}remove_role/ | Remove a role |
16
15
 
17
16
 
18
17
  ## add_role
19
18
 
20
- > NestedRoleResponse add_role(container_container_namespace_href, nested_role)
19
+ > <NestedRoleResponse> add_role(container_container_namespace_href, nested_role)
21
20
 
22
21
  Add a role
23
22
 
24
23
  Add a role for this object to users/groups.
25
24
 
26
- ### Example
25
+ ### Examples
27
26
 
28
27
  ```ruby
29
- # load the gem
28
+ require 'time'
30
29
  require 'pulp_container_client'
31
30
  # setup authorization
32
31
  PulpContainerClient.configure do |config|
@@ -37,24 +36,41 @@ end
37
36
 
38
37
  api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
39
38
  container_container_namespace_href = 'container_container_namespace_href_example' # String |
40
- nested_role = PulpContainerClient::NestedRole.new # NestedRole |
39
+ nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
41
40
 
42
41
  begin
43
- #Add a role
42
+ # Add a role
44
43
  result = api_instance.add_role(container_container_namespace_href, nested_role)
45
44
  p result
46
45
  rescue PulpContainerClient::ApiError => e
47
- puts "Exception when calling PulpContainerNamespacesApi->add_role: #{e}"
46
+ puts "Error when calling PulpContainerNamespacesApi->add_role: #{e}"
48
47
  end
49
48
  ```
50
49
 
51
- ### Parameters
50
+ #### Using the add_role_with_http_info variant
51
+
52
+ This returns an Array which contains the response data, status code and headers.
52
53
 
54
+ > <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_namespace_href, nested_role)
55
+
56
+ ```ruby
57
+ begin
58
+ # Add a role
59
+ data, status_code, headers = api_instance.add_role_with_http_info(container_container_namespace_href, nested_role)
60
+ p status_code # => 2xx
61
+ p headers # => { ... }
62
+ p data # => <NestedRoleResponse>
63
+ rescue PulpContainerClient::ApiError => e
64
+ puts "Error when calling PulpContainerNamespacesApi->add_role_with_http_info: #{e}"
65
+ end
66
+ ```
67
+
68
+ ### Parameters
53
69
 
54
- Name | Type | Description | Notes
55
- ------------- | ------------- | ------------- | -------------
56
- **container_container_namespace_href** | **String**| |
57
- **nested_role** | [**NestedRole**](NestedRole.md)| |
70
+ | Name | Type | Description | Notes |
71
+ | ---- | ---- | ----------- | ----- |
72
+ | **container_container_namespace_href** | **String** | | |
73
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
58
74
 
59
75
  ### Return type
60
76
 
@@ -72,16 +88,16 @@ Name | Type | Description | Notes
72
88
 
73
89
  ## create
74
90
 
75
- > ContainerContainerNamespaceResponse create(container_container_namespace)
91
+ > <ContainerContainerNamespaceResponse> create(container_container_namespace)
76
92
 
77
93
  Create a container namespace
78
94
 
79
95
  ViewSet for ContainerNamespaces.
80
96
 
81
- ### Example
97
+ ### Examples
82
98
 
83
99
  ```ruby
84
- # load the gem
100
+ require 'time'
85
101
  require 'pulp_container_client'
86
102
  # setup authorization
87
103
  PulpContainerClient.configure do |config|
@@ -91,23 +107,40 @@ PulpContainerClient.configure do |config|
91
107
  end
92
108
 
93
109
  api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
94
- container_container_namespace = PulpContainerClient::ContainerContainerNamespace.new # ContainerContainerNamespace |
110
+ container_container_namespace = PulpContainerClient::ContainerContainerNamespace.new({name: 'name_example'}) # ContainerContainerNamespace |
95
111
 
96
112
  begin
97
- #Create a container namespace
113
+ # Create a container namespace
98
114
  result = api_instance.create(container_container_namespace)
99
115
  p result
100
116
  rescue PulpContainerClient::ApiError => e
101
- puts "Exception when calling PulpContainerNamespacesApi->create: #{e}"
117
+ puts "Error when calling PulpContainerNamespacesApi->create: #{e}"
102
118
  end
103
119
  ```
104
120
 
105
- ### Parameters
121
+ #### Using the create_with_http_info variant
122
+
123
+ This returns an Array which contains the response data, status code and headers.
124
+
125
+ > <Array(<ContainerContainerNamespaceResponse>, Integer, Hash)> create_with_http_info(container_container_namespace)
126
+
127
+ ```ruby
128
+ begin
129
+ # Create a container namespace
130
+ data, status_code, headers = api_instance.create_with_http_info(container_container_namespace)
131
+ p status_code # => 2xx
132
+ p headers # => { ... }
133
+ p data # => <ContainerContainerNamespaceResponse>
134
+ rescue PulpContainerClient::ApiError => e
135
+ puts "Error when calling PulpContainerNamespacesApi->create_with_http_info: #{e}"
136
+ end
137
+ ```
106
138
 
139
+ ### Parameters
107
140
 
108
- Name | Type | Description | Notes
109
- ------------- | ------------- | ------------- | -------------
110
- **container_container_namespace** | [**ContainerContainerNamespace**](ContainerContainerNamespace.md)| |
141
+ | Name | Type | Description | Notes |
142
+ | ---- | ---- | ----------- | ----- |
143
+ | **container_container_namespace** | [**ContainerContainerNamespace**](ContainerContainerNamespace.md) | | |
111
144
 
112
145
  ### Return type
113
146
 
@@ -125,16 +158,16 @@ Name | Type | Description | Notes
125
158
 
126
159
  ## delete
127
160
 
128
- > AsyncOperationResponse delete(container_container_namespace_href)
161
+ > <AsyncOperationResponse> delete(container_container_namespace_href)
129
162
 
130
163
  Delete a container namespace
131
164
 
132
165
  Trigger an asynchronous delete task
133
166
 
134
- ### Example
167
+ ### Examples
135
168
 
136
169
  ```ruby
137
- # load the gem
170
+ require 'time'
138
171
  require 'pulp_container_client'
139
172
  # setup authorization
140
173
  PulpContainerClient.configure do |config|
@@ -147,20 +180,37 @@ api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
147
180
  container_container_namespace_href = 'container_container_namespace_href_example' # String |
148
181
 
149
182
  begin
150
- #Delete a container namespace
183
+ # Delete a container namespace
151
184
  result = api_instance.delete(container_container_namespace_href)
152
185
  p result
153
186
  rescue PulpContainerClient::ApiError => e
154
- puts "Exception when calling PulpContainerNamespacesApi->delete: #{e}"
187
+ puts "Error when calling PulpContainerNamespacesApi->delete: #{e}"
155
188
  end
156
189
  ```
157
190
 
158
- ### Parameters
191
+ #### Using the delete_with_http_info variant
192
+
193
+ This returns an Array which contains the response data, status code and headers.
194
+
195
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_namespace_href)
196
+
197
+ ```ruby
198
+ begin
199
+ # Delete a container namespace
200
+ data, status_code, headers = api_instance.delete_with_http_info(container_container_namespace_href)
201
+ p status_code # => 2xx
202
+ p headers # => { ... }
203
+ p data # => <AsyncOperationResponse>
204
+ rescue PulpContainerClient::ApiError => e
205
+ puts "Error when calling PulpContainerNamespacesApi->delete_with_http_info: #{e}"
206
+ end
207
+ ```
159
208
 
209
+ ### Parameters
160
210
 
161
- Name | Type | Description | Notes
162
- ------------- | ------------- | ------------- | -------------
163
- **container_container_namespace_href** | **String**| |
211
+ | Name | Type | Description | Notes |
212
+ | ---- | ---- | ----------- | ----- |
213
+ | **container_container_namespace_href** | **String** | | |
164
214
 
165
215
  ### Return type
166
216
 
@@ -178,16 +228,16 @@ Name | Type | Description | Notes
178
228
 
179
229
  ## list
180
230
 
181
- > PaginatedcontainerContainerNamespaceResponseList list(opts)
231
+ > <PaginatedcontainerContainerNamespaceResponseList> list(opts)
182
232
 
183
233
  List container namespaces
184
234
 
185
235
  ViewSet for ContainerNamespaces.
186
236
 
187
- ### Example
237
+ ### Examples
188
238
 
189
239
  ```ruby
190
- # load the gem
240
+ require 'time'
191
241
  require 'pulp_container_client'
192
242
  # setup authorization
193
243
  PulpContainerClient.configure do |config|
@@ -203,53 +253,70 @@ opts = {
203
253
  name__contains: 'name__contains_example', # String | Filter results where name contains value
204
254
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
205
255
  name__iexact: 'name__iexact_example', # String | Filter results where name matches value
206
- name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
256
+ name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
207
257
  name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
208
258
  name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
209
259
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
210
260
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
211
261
  offset: 56, # Integer | The initial index from which to return the results.
212
- 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) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
213
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
214
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
215
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
262
+ ordering: ['-name'], # 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) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
263
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
264
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
265
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
216
266
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
217
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
218
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
267
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
268
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
219
269
  }
220
270
 
221
271
  begin
222
- #List container namespaces
272
+ # List container namespaces
223
273
  result = api_instance.list(opts)
224
274
  p result
225
275
  rescue PulpContainerClient::ApiError => e
226
- puts "Exception when calling PulpContainerNamespacesApi->list: #{e}"
276
+ puts "Error when calling PulpContainerNamespacesApi->list: #{e}"
227
277
  end
228
278
  ```
229
279
 
230
- ### Parameters
280
+ #### Using the list_with_http_info variant
281
+
282
+ This returns an Array which contains the response data, status code and headers.
283
+
284
+ > <Array(<PaginatedcontainerContainerNamespaceResponseList>, Integer, Hash)> list_with_http_info(opts)
285
+
286
+ ```ruby
287
+ begin
288
+ # List container namespaces
289
+ data, status_code, headers = api_instance.list_with_http_info(opts)
290
+ p status_code # => 2xx
291
+ p headers # => { ... }
292
+ p data # => <PaginatedcontainerContainerNamespaceResponseList>
293
+ rescue PulpContainerClient::ApiError => e
294
+ puts "Error when calling PulpContainerNamespacesApi->list_with_http_info: #{e}"
295
+ end
296
+ ```
231
297
 
298
+ ### Parameters
232
299
 
233
- Name | Type | Description | Notes
234
- ------------- | ------------- | ------------- | -------------
235
- **limit** | **Integer**| Number of results to return per page. | [optional]
236
- **name** | **String**| Filter results where name matches value | [optional]
237
- **name__contains** | **String**| Filter results where name contains value | [optional]
238
- **name__icontains** | **String**| Filter results where name contains value | [optional]
239
- **name__iexact** | **String**| Filter results where name matches value | [optional]
240
- **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
241
- **name__iregex** | **String**| Filter results where name matches regex value | [optional]
242
- **name__istartswith** | **String**| Filter results where name starts with value | [optional]
243
- **name__regex** | **String**| Filter results where name matches regex value | [optional]
244
- **name__startswith** | **String**| Filter results where name starts with value | [optional]
245
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
246
- **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
247
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
248
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
249
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
250
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
251
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
252
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
300
+ | Name | Type | Description | Notes |
301
+ | ---- | ---- | ----------- | ----- |
302
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
303
+ | **name** | **String** | Filter results where name matches value | [optional] |
304
+ | **name__contains** | **String** | Filter results where name contains value | [optional] |
305
+ | **name__icontains** | **String** | Filter results where name contains value | [optional] |
306
+ | **name__iexact** | **String** | Filter results where name matches value | [optional] |
307
+ | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
308
+ | **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
309
+ | **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
310
+ | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
311
+ | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
312
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
313
+ | **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
314
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
315
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
316
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
317
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
318
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
319
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
253
320
 
254
321
  ### Return type
255
322
 
@@ -267,16 +334,16 @@ Name | Type | Description | Notes
267
334
 
268
335
  ## list_roles
269
336
 
270
- > ObjectRolesResponse list_roles(container_container_namespace_href, opts)
337
+ > <ObjectRolesResponse> list_roles(container_container_namespace_href, opts)
271
338
 
272
339
  List roles
273
340
 
274
341
  List roles assigned to this object.
275
342
 
276
- ### Example
343
+ ### Examples
277
344
 
278
345
  ```ruby
279
- # load the gem
346
+ require 'time'
280
347
  require 'pulp_container_client'
281
348
  # setup authorization
282
349
  PulpContainerClient.configure do |config|
@@ -288,27 +355,44 @@ end
288
355
  api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
289
356
  container_container_namespace_href = 'container_container_namespace_href_example' # String |
290
357
  opts = {
291
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
292
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
358
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
359
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
293
360
  }
294
361
 
295
362
  begin
296
- #List roles
363
+ # List roles
297
364
  result = api_instance.list_roles(container_container_namespace_href, opts)
298
365
  p result
299
366
  rescue PulpContainerClient::ApiError => e
300
- puts "Exception when calling PulpContainerNamespacesApi->list_roles: #{e}"
367
+ puts "Error when calling PulpContainerNamespacesApi->list_roles: #{e}"
301
368
  end
302
369
  ```
303
370
 
304
- ### Parameters
371
+ #### Using the list_roles_with_http_info variant
372
+
373
+ This returns an Array which contains the response data, status code and headers.
374
+
375
+ > <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(container_container_namespace_href, opts)
376
+
377
+ ```ruby
378
+ begin
379
+ # List roles
380
+ data, status_code, headers = api_instance.list_roles_with_http_info(container_container_namespace_href, opts)
381
+ p status_code # => 2xx
382
+ p headers # => { ... }
383
+ p data # => <ObjectRolesResponse>
384
+ rescue PulpContainerClient::ApiError => e
385
+ puts "Error when calling PulpContainerNamespacesApi->list_roles_with_http_info: #{e}"
386
+ end
387
+ ```
305
388
 
389
+ ### Parameters
306
390
 
307
- Name | Type | Description | Notes
308
- ------------- | ------------- | ------------- | -------------
309
- **container_container_namespace_href** | **String**| |
310
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
311
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
391
+ | Name | Type | Description | Notes |
392
+ | ---- | ---- | ----------- | ----- |
393
+ | **container_container_namespace_href** | **String** | | |
394
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
395
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
312
396
 
313
397
  ### Return type
314
398
 
@@ -326,16 +410,16 @@ Name | Type | Description | Notes
326
410
 
327
411
  ## my_permissions
328
412
 
329
- > MyPermissionsResponse my_permissions(container_container_namespace_href, opts)
413
+ > <MyPermissionsResponse> my_permissions(container_container_namespace_href, opts)
330
414
 
331
415
  List user permissions
332
416
 
333
417
  List permissions available to the current user on this object.
334
418
 
335
- ### Example
419
+ ### Examples
336
420
 
337
421
  ```ruby
338
- # load the gem
422
+ require 'time'
339
423
  require 'pulp_container_client'
340
424
  # setup authorization
341
425
  PulpContainerClient.configure do |config|
@@ -347,27 +431,44 @@ end
347
431
  api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
348
432
  container_container_namespace_href = 'container_container_namespace_href_example' # String |
349
433
  opts = {
350
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
351
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
434
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
435
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
352
436
  }
353
437
 
354
438
  begin
355
- #List user permissions
439
+ # List user permissions
356
440
  result = api_instance.my_permissions(container_container_namespace_href, opts)
357
441
  p result
358
442
  rescue PulpContainerClient::ApiError => e
359
- puts "Exception when calling PulpContainerNamespacesApi->my_permissions: #{e}"
443
+ puts "Error when calling PulpContainerNamespacesApi->my_permissions: #{e}"
360
444
  end
361
445
  ```
362
446
 
363
- ### Parameters
447
+ #### Using the my_permissions_with_http_info variant
448
+
449
+ This returns an Array which contains the response data, status code and headers.
450
+
451
+ > <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(container_container_namespace_href, opts)
452
+
453
+ ```ruby
454
+ begin
455
+ # List user permissions
456
+ data, status_code, headers = api_instance.my_permissions_with_http_info(container_container_namespace_href, opts)
457
+ p status_code # => 2xx
458
+ p headers # => { ... }
459
+ p data # => <MyPermissionsResponse>
460
+ rescue PulpContainerClient::ApiError => e
461
+ puts "Error when calling PulpContainerNamespacesApi->my_permissions_with_http_info: #{e}"
462
+ end
463
+ ```
364
464
 
465
+ ### Parameters
365
466
 
366
- Name | Type | Description | Notes
367
- ------------- | ------------- | ------------- | -------------
368
- **container_container_namespace_href** | **String**| |
369
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
370
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
467
+ | Name | Type | Description | Notes |
468
+ | ---- | ---- | ----------- | ----- |
469
+ | **container_container_namespace_href** | **String** | | |
470
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
471
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
371
472
 
372
473
  ### Return type
373
474
 
@@ -385,16 +486,16 @@ Name | Type | Description | Notes
385
486
 
386
487
  ## read
387
488
 
388
- > ContainerContainerNamespaceResponse read(container_container_namespace_href, opts)
489
+ > <ContainerContainerNamespaceResponse> read(container_container_namespace_href, opts)
389
490
 
390
491
  Inspect a container namespace
391
492
 
392
493
  ViewSet for ContainerNamespaces.
393
494
 
394
- ### Example
495
+ ### Examples
395
496
 
396
497
  ```ruby
397
- # load the gem
498
+ require 'time'
398
499
  require 'pulp_container_client'
399
500
  # setup authorization
400
501
  PulpContainerClient.configure do |config|
@@ -406,27 +507,44 @@ end
406
507
  api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
407
508
  container_container_namespace_href = 'container_container_namespace_href_example' # String |
408
509
  opts = {
409
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
410
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
510
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
511
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
411
512
  }
412
513
 
413
514
  begin
414
- #Inspect a container namespace
515
+ # Inspect a container namespace
415
516
  result = api_instance.read(container_container_namespace_href, opts)
416
517
  p result
417
518
  rescue PulpContainerClient::ApiError => e
418
- puts "Exception when calling PulpContainerNamespacesApi->read: #{e}"
519
+ puts "Error when calling PulpContainerNamespacesApi->read: #{e}"
419
520
  end
420
521
  ```
421
522
 
422
- ### Parameters
523
+ #### Using the read_with_http_info variant
524
+
525
+ This returns an Array which contains the response data, status code and headers.
526
+
527
+ > <Array(<ContainerContainerNamespaceResponse>, Integer, Hash)> read_with_http_info(container_container_namespace_href, opts)
528
+
529
+ ```ruby
530
+ begin
531
+ # Inspect a container namespace
532
+ data, status_code, headers = api_instance.read_with_http_info(container_container_namespace_href, opts)
533
+ p status_code # => 2xx
534
+ p headers # => { ... }
535
+ p data # => <ContainerContainerNamespaceResponse>
536
+ rescue PulpContainerClient::ApiError => e
537
+ puts "Error when calling PulpContainerNamespacesApi->read_with_http_info: #{e}"
538
+ end
539
+ ```
423
540
 
541
+ ### Parameters
424
542
 
425
- Name | Type | Description | Notes
426
- ------------- | ------------- | ------------- | -------------
427
- **container_container_namespace_href** | **String**| |
428
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
429
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
543
+ | Name | Type | Description | Notes |
544
+ | ---- | ---- | ----------- | ----- |
545
+ | **container_container_namespace_href** | **String** | | |
546
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
547
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
430
548
 
431
549
  ### Return type
432
550
 
@@ -444,16 +562,16 @@ Name | Type | Description | Notes
444
562
 
445
563
  ## remove_role
446
564
 
447
- > NestedRoleResponse remove_role(container_container_namespace_href, nested_role)
565
+ > <NestedRoleResponse> remove_role(container_container_namespace_href, nested_role)
448
566
 
449
567
  Remove a role
450
568
 
451
569
  Remove a role for this object from users/groups.
452
570
 
453
- ### Example
571
+ ### Examples
454
572
 
455
573
  ```ruby
456
- # load the gem
574
+ require 'time'
457
575
  require 'pulp_container_client'
458
576
  # setup authorization
459
577
  PulpContainerClient.configure do |config|
@@ -464,24 +582,41 @@ end
464
582
 
465
583
  api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
466
584
  container_container_namespace_href = 'container_container_namespace_href_example' # String |
467
- nested_role = PulpContainerClient::NestedRole.new # NestedRole |
585
+ nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
468
586
 
469
587
  begin
470
- #Remove a role
588
+ # Remove a role
471
589
  result = api_instance.remove_role(container_container_namespace_href, nested_role)
472
590
  p result
473
591
  rescue PulpContainerClient::ApiError => e
474
- puts "Exception when calling PulpContainerNamespacesApi->remove_role: #{e}"
592
+ puts "Error when calling PulpContainerNamespacesApi->remove_role: #{e}"
475
593
  end
476
594
  ```
477
595
 
478
- ### Parameters
596
+ #### Using the remove_role_with_http_info variant
597
+
598
+ This returns an Array which contains the response data, status code and headers.
599
+
600
+ > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_namespace_href, nested_role)
601
+
602
+ ```ruby
603
+ begin
604
+ # Remove a role
605
+ data, status_code, headers = api_instance.remove_role_with_http_info(container_container_namespace_href, nested_role)
606
+ p status_code # => 2xx
607
+ p headers # => { ... }
608
+ p data # => <NestedRoleResponse>
609
+ rescue PulpContainerClient::ApiError => e
610
+ puts "Error when calling PulpContainerNamespacesApi->remove_role_with_http_info: #{e}"
611
+ end
612
+ ```
479
613
 
614
+ ### Parameters
480
615
 
481
- Name | Type | Description | Notes
482
- ------------- | ------------- | ------------- | -------------
483
- **container_container_namespace_href** | **String**| |
484
- **nested_role** | [**NestedRole**](NestedRole.md)| |
616
+ | Name | Type | Description | Notes |
617
+ | ---- | ---- | ----------- | ----- |
618
+ | **container_container_namespace_href** | **String** | | |
619
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
485
620
 
486
621
  ### Return type
487
622
 
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **content_units** | [**Array&lt;AnyType&gt;**](AnyType.md) | A list of content units to operate on. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **content_units** | **Array&lt;Object&gt;** | A list of content units to operate on. | [optional] |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'PulpContainerClient'
12
+ require 'pulp_container_client'
13
13
 
14
- instance = PulpContainerClient::RecursiveManage.new(content_units: null)
14
+ instance = PulpContainerClient::RecursiveManage.new(
15
+ content_units: null
16
+ )
15
17
  ```
16
18
 
17
-