pulp_deb_client 3.4.0 → 3.5.1

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 (296) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +34 -9
  3. data/docs/AptRepositorySyncURL.md +12 -11
  4. data/docs/AsyncOperationResponse.md +8 -7
  5. data/docs/ContentGenericContentsApi.md +114 -64
  6. data/docs/ContentInstallerFileIndicesApi.md +111 -61
  7. data/docs/ContentInstallerPackagesApi.md +130 -80
  8. data/docs/ContentPackageIndicesApi.md +111 -61
  9. data/docs/ContentPackageReleaseComponentsApi.md +111 -61
  10. data/docs/ContentPackagesApi.md +144 -94
  11. data/docs/ContentReleaseArchitecturesApi.md +109 -59
  12. data/docs/ContentReleaseComponentsApi.md +110 -60
  13. data/docs/ContentReleaseFilesApi.md +111 -61
  14. data/docs/ContentReleasesApi.md +114 -64
  15. data/docs/ContentSourceIndicesApi.md +110 -60
  16. data/docs/ContentSourcePackagesApi.md +137 -87
  17. data/docs/ContentSourceReleaseComponentsApi.md +111 -61
  18. data/docs/ContentSummaryResponse.md +12 -11
  19. data/docs/Copy.md +12 -11
  20. data/docs/DebAptDistribution.md +20 -19
  21. data/docs/DebAptDistributionResponse.md +32 -31
  22. data/docs/DebAptPublication.md +18 -17
  23. data/docs/DebAptPublicationResponse.md +26 -25
  24. data/docs/DebAptRemote.md +64 -63
  25. data/docs/DebAptRemoteResponse.md +64 -63
  26. data/docs/DebAptRemoteResponseHiddenFieldsInner.md +20 -0
  27. data/docs/DebAptRepository.md +22 -21
  28. data/docs/DebAptRepositoryResponse.md +34 -33
  29. data/docs/DebCopyApi.md +30 -14
  30. data/docs/DebGenericContentResponse.md +30 -29
  31. data/docs/DebInstallerFileIndex.md +16 -15
  32. data/docs/DebInstallerFileIndexResponse.md +22 -21
  33. data/docs/DebInstallerPackageResponse.md +88 -87
  34. data/docs/DebPackageIndex.md +16 -15
  35. data/docs/DebPackageIndexResponse.md +22 -21
  36. data/docs/DebPackageReleaseComponent.md +12 -11
  37. data/docs/DebPackageReleaseComponentResponse.md +18 -17
  38. data/docs/DebPackageResponse.md +92 -91
  39. data/docs/DebRelease.md +26 -25
  40. data/docs/DebReleaseArchitecture.md +12 -11
  41. data/docs/DebReleaseArchitectureResponse.md +18 -17
  42. data/docs/DebReleaseComponent.md +12 -11
  43. data/docs/DebReleaseComponentResponse.md +20 -17
  44. data/docs/DebReleaseFile.md +18 -17
  45. data/docs/DebReleaseFileResponse.md +24 -23
  46. data/docs/DebReleaseResponse.md +32 -31
  47. data/docs/DebSourceIndex.md +16 -15
  48. data/docs/DebSourceIndexResponse.md +22 -21
  49. data/docs/DebSourcePackage.md +12 -11
  50. data/docs/DebSourcePackageReleaseComponent.md +12 -11
  51. data/docs/DebSourcePackageReleaseComponentResponse.md +18 -17
  52. data/docs/DebSourcePackageResponse.md +74 -71
  53. data/docs/DebVerbatimPublication.md +10 -9
  54. data/docs/DebVerbatimPublicationResponse.md +18 -17
  55. data/docs/DistributionsAptApi.md +564 -129
  56. data/docs/MyPermissionsResponse.md +18 -0
  57. data/docs/NestedRole.md +22 -0
  58. data/docs/NestedRoleResponse.md +22 -0
  59. data/docs/ObjectRolesResponse.md +18 -0
  60. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  61. data/docs/PaginateddebAptDistributionResponseList.md +14 -13
  62. data/docs/PaginateddebAptPublicationResponseList.md +14 -13
  63. data/docs/PaginateddebAptRemoteResponseList.md +14 -13
  64. data/docs/PaginateddebAptRepositoryResponseList.md +14 -13
  65. data/docs/PaginateddebGenericContentResponseList.md +14 -13
  66. data/docs/PaginateddebInstallerFileIndexResponseList.md +14 -13
  67. data/docs/PaginateddebInstallerPackageResponseList.md +14 -13
  68. data/docs/PaginateddebPackageIndexResponseList.md +14 -13
  69. data/docs/PaginateddebPackageReleaseComponentResponseList.md +14 -13
  70. data/docs/PaginateddebPackageResponseList.md +14 -13
  71. data/docs/PaginateddebReleaseArchitectureResponseList.md +14 -13
  72. data/docs/PaginateddebReleaseComponentResponseList.md +14 -13
  73. data/docs/PaginateddebReleaseFileResponseList.md +14 -13
  74. data/docs/PaginateddebReleaseResponseList.md +14 -13
  75. data/docs/PaginateddebSourceIndexResponseList.md +14 -13
  76. data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +14 -13
  77. data/docs/PaginateddebSourcePackageResponseList.md +14 -13
  78. data/docs/PaginateddebVerbatimPublicationResponseList.md +14 -13
  79. data/docs/PatcheddebAptDistribution.md +20 -19
  80. data/docs/PatcheddebAptRemote.md +64 -63
  81. data/docs/PatcheddebAptRepository.md +22 -21
  82. data/docs/PolicyEnum.md +4 -5
  83. data/docs/PublicationsAptApi.md +446 -77
  84. data/docs/PublicationsVerbatimApi.md +446 -77
  85. data/docs/RemotesAptApi.md +568 -131
  86. data/docs/Repair.md +8 -7
  87. data/docs/RepositoriesAptApi.md +623 -154
  88. data/docs/RepositoriesAptVersionsApi.md +152 -82
  89. data/docs/RepositoryAddRemoveContent.md +12 -11
  90. data/docs/RepositoryVersionResponse.md +22 -21
  91. data/docs/SetLabel.md +10 -9
  92. data/docs/SetLabelResponse.md +10 -9
  93. data/docs/UnsetLabel.md +8 -7
  94. data/docs/UnsetLabelResponse.md +10 -9
  95. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +20 -14
  96. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +20 -14
  97. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +20 -22
  98. data/lib/pulp_deb_client/api/content_package_indices_api.rb +20 -14
  99. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +20 -14
  100. data/lib/pulp_deb_client/api/content_packages_api.rb +20 -22
  101. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +20 -14
  102. data/lib/pulp_deb_client/api/content_release_components_api.rb +20 -14
  103. data/lib/pulp_deb_client/api/content_release_files_api.rb +20 -14
  104. data/lib/pulp_deb_client/api/content_releases_api.rb +20 -14
  105. data/lib/pulp_deb_client/api/content_source_indices_api.rb +20 -14
  106. data/lib/pulp_deb_client/api/content_source_packages_api.rb +20 -14
  107. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +20 -14
  108. data/lib/pulp_deb_client/api/deb_copy_api.rb +10 -6
  109. data/lib/pulp_deb_client/api/distributions_apt_api.rb +347 -38
  110. data/lib/pulp_deb_client/api/publications_apt_api.rb +325 -29
  111. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +325 -29
  112. data/lib/pulp_deb_client/api/remotes_apt_api.rb +362 -50
  113. data/lib/pulp_deb_client/api/repositories_apt_api.rb +365 -48
  114. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +40 -30
  115. data/lib/pulp_deb_client/api_client.rb +137 -102
  116. data/lib/pulp_deb_client/api_error.rb +2 -1
  117. data/lib/pulp_deb_client/configuration.rb +162 -21
  118. data/lib/pulp_deb_client/models/apt_repository_sync_url.rb +30 -22
  119. data/lib/pulp_deb_client/models/async_operation_response.rb +32 -22
  120. data/lib/pulp_deb_client/models/content_summary_response.rb +36 -22
  121. data/lib/pulp_deb_client/models/copy.rb +34 -28
  122. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +34 -22
  123. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +36 -24
  124. data/lib/pulp_deb_client/models/deb_apt_publication.rb +30 -22
  125. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +32 -24
  126. data/lib/pulp_deb_client/models/deb_apt_remote.rb +78 -42
  127. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +81 -45
  128. data/lib/pulp_deb_client/models/{deb_apt_remote_response_hidden_fields.rb → deb_apt_remote_response_hidden_fields_inner.rb} +37 -25
  129. data/lib/pulp_deb_client/models/deb_apt_repository.rb +32 -22
  130. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +34 -24
  131. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +34 -24
  132. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +41 -23
  133. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +38 -24
  134. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +32 -24
  135. data/lib/pulp_deb_client/models/deb_package_index.rb +47 -25
  136. data/lib/pulp_deb_client/models/deb_package_index_response.rb +34 -24
  137. data/lib/pulp_deb_client/models/deb_package_release_component.rb +34 -22
  138. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +36 -24
  139. data/lib/pulp_deb_client/models/deb_package_response.rb +32 -24
  140. data/lib/pulp_deb_client/models/deb_release.rb +36 -22
  141. data/lib/pulp_deb_client/models/deb_release_architecture.rb +34 -22
  142. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +36 -24
  143. data/lib/pulp_deb_client/models/deb_release_component.rb +34 -22
  144. data/lib/pulp_deb_client/models/deb_release_component_response.rb +50 -28
  145. data/lib/pulp_deb_client/models/deb_release_file.rb +49 -25
  146. data/lib/pulp_deb_client/models/deb_release_file_response.rb +36 -24
  147. data/lib/pulp_deb_client/models/deb_release_response.rb +38 -24
  148. data/lib/pulp_deb_client/models/deb_source_index.rb +41 -23
  149. data/lib/pulp_deb_client/models/deb_source_index_response.rb +38 -24
  150. data/lib/pulp_deb_client/models/deb_source_package.rb +37 -23
  151. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +34 -22
  152. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +36 -24
  153. data/lib/pulp_deb_client/models/deb_source_package_response.rb +45 -25
  154. data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +30 -22
  155. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +32 -24
  156. data/lib/pulp_deb_client/models/my_permissions_response.rb +223 -0
  157. data/lib/pulp_deb_client/models/{deb_installer_package.rb → nested_role.rb} +72 -97
  158. data/lib/pulp_deb_client/models/{deb_generic_content.rb → nested_role_response.rb} +62 -115
  159. data/lib/pulp_deb_client/models/object_roles_response.rb +223 -0
  160. data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +34 -22
  161. data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +34 -22
  162. data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +34 -22
  163. data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +34 -22
  164. data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +34 -22
  165. data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +34 -22
  166. data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +34 -22
  167. data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +34 -22
  168. data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +34 -22
  169. data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +34 -22
  170. data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +34 -22
  171. data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +34 -22
  172. data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +34 -22
  173. data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +34 -22
  174. data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +34 -22
  175. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +34 -22
  176. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +34 -22
  177. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +34 -22
  178. data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +34 -22
  179. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +40 -24
  180. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +87 -45
  181. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +35 -23
  182. data/lib/pulp_deb_client/models/policy_enum.rb +8 -4
  183. data/lib/pulp_deb_client/models/repair.rb +30 -22
  184. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +30 -22
  185. data/lib/pulp_deb_client/models/repository_version_response.rb +32 -24
  186. data/lib/pulp_deb_client/models/set_label.rb +34 -22
  187. data/lib/pulp_deb_client/models/set_label_response.rb +34 -22
  188. data/lib/pulp_deb_client/models/unset_label.rb +32 -22
  189. data/lib/pulp_deb_client/models/unset_label_response.rb +32 -22
  190. data/lib/pulp_deb_client/version.rb +2 -2
  191. data/lib/pulp_deb_client.rb +6 -5
  192. data/pulp_deb_client.gemspec +9 -6
  193. data/spec/api/content_generic_contents_api_spec.rb +4 -4
  194. data/spec/api/content_installer_file_indices_api_spec.rb +4 -4
  195. data/spec/api/content_installer_packages_api_spec.rb +4 -4
  196. data/spec/api/content_package_indices_api_spec.rb +4 -4
  197. data/spec/api/content_package_release_components_api_spec.rb +4 -4
  198. data/spec/api/content_packages_api_spec.rb +4 -4
  199. data/spec/api/content_release_architectures_api_spec.rb +4 -4
  200. data/spec/api/content_release_components_api_spec.rb +4 -4
  201. data/spec/api/content_release_files_api_spec.rb +4 -4
  202. data/spec/api/content_releases_api_spec.rb +4 -4
  203. data/spec/api/content_source_indices_api_spec.rb +4 -4
  204. data/spec/api/content_source_packages_api_spec.rb +4 -4
  205. data/spec/api/content_source_release_components_api_spec.rb +4 -4
  206. data/spec/api/deb_copy_api_spec.rb +2 -2
  207. data/spec/api/distributions_apt_api_spec.rb +63 -9
  208. data/spec/api/publications_apt_api_spec.rb +66 -11
  209. data/spec/api/publications_verbatim_api_spec.rb +66 -11
  210. data/spec/api/remotes_apt_api_spec.rb +70 -15
  211. data/spec/api/repositories_apt_api_spec.rb +65 -11
  212. data/spec/api/repositories_apt_versions_api_spec.rb +12 -11
  213. data/spec/models/apt_repository_sync_url_spec.rb +9 -14
  214. data/spec/models/async_operation_response_spec.rb +7 -12
  215. data/spec/models/content_summary_response_spec.rb +9 -14
  216. data/spec/models/copy_spec.rb +9 -14
  217. data/spec/models/deb_apt_distribution_response_spec.rb +19 -24
  218. data/spec/models/deb_apt_distribution_spec.rb +13 -18
  219. data/spec/models/deb_apt_publication_response_spec.rb +16 -21
  220. data/spec/models/deb_apt_publication_spec.rb +12 -17
  221. data/spec/models/{deb_apt_remote_response_hidden_fields_spec.rb → deb_apt_remote_response_hidden_fields_inner_spec.rb} +11 -16
  222. data/spec/models/deb_apt_remote_response_spec.rb +35 -40
  223. data/spec/models/deb_apt_remote_spec.rb +35 -40
  224. data/spec/models/deb_apt_repository_response_spec.rb +20 -25
  225. data/spec/models/deb_apt_repository_spec.rb +14 -19
  226. data/spec/models/deb_generic_content_response_spec.rb +18 -23
  227. data/spec/models/deb_installer_file_index_response_spec.rb +14 -19
  228. data/spec/models/deb_installer_file_index_spec.rb +11 -16
  229. data/spec/models/deb_installer_package_response_spec.rb +47 -52
  230. data/spec/models/deb_package_index_response_spec.rb +14 -19
  231. data/spec/models/deb_package_index_spec.rb +11 -16
  232. data/spec/models/deb_package_release_component_response_spec.rb +12 -17
  233. data/spec/models/deb_package_release_component_spec.rb +9 -14
  234. data/spec/models/deb_package_response_spec.rb +49 -54
  235. data/spec/models/deb_release_architecture_response_spec.rb +12 -17
  236. data/spec/models/deb_release_architecture_spec.rb +9 -14
  237. data/spec/models/deb_release_component_response_spec.rb +18 -17
  238. data/spec/models/deb_release_component_spec.rb +9 -14
  239. data/spec/models/deb_release_file_response_spec.rb +15 -20
  240. data/spec/models/deb_release_file_spec.rb +12 -17
  241. data/spec/models/deb_release_response_spec.rb +19 -24
  242. data/spec/models/deb_release_spec.rb +16 -21
  243. data/spec/models/deb_source_index_response_spec.rb +14 -19
  244. data/spec/models/deb_source_index_spec.rb +11 -16
  245. data/spec/models/deb_source_package_release_component_response_spec.rb +12 -17
  246. data/spec/models/deb_source_package_release_component_spec.rb +9 -14
  247. data/spec/models/deb_source_package_response_spec.rb +45 -44
  248. data/spec/models/deb_source_package_spec.rb +9 -14
  249. data/spec/models/deb_verbatim_publication_response_spec.rb +12 -17
  250. data/spec/models/deb_verbatim_publication_spec.rb +8 -13
  251. data/spec/models/my_permissions_response_spec.rb +36 -0
  252. data/spec/models/nested_role_response_spec.rb +48 -0
  253. data/spec/models/nested_role_spec.rb +48 -0
  254. data/spec/models/object_roles_response_spec.rb +36 -0
  255. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  256. data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +10 -15
  257. data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +10 -15
  258. data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +10 -15
  259. data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +10 -15
  260. data/spec/models/paginateddeb_generic_content_response_list_spec.rb +10 -15
  261. data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +10 -15
  262. data/spec/models/paginateddeb_installer_package_response_list_spec.rb +10 -15
  263. data/spec/models/paginateddeb_package_index_response_list_spec.rb +10 -15
  264. data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +10 -15
  265. data/spec/models/paginateddeb_package_response_list_spec.rb +10 -15
  266. data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +10 -15
  267. data/spec/models/paginateddeb_release_component_response_list_spec.rb +10 -15
  268. data/spec/models/paginateddeb_release_file_response_list_spec.rb +10 -15
  269. data/spec/models/paginateddeb_release_response_list_spec.rb +10 -15
  270. data/spec/models/paginateddeb_source_index_response_list_spec.rb +10 -15
  271. data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +10 -15
  272. data/spec/models/paginateddeb_source_package_response_list_spec.rb +10 -15
  273. data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +10 -15
  274. data/spec/models/patcheddeb_apt_distribution_spec.rb +13 -18
  275. data/spec/models/patcheddeb_apt_remote_spec.rb +35 -40
  276. data/spec/models/patcheddeb_apt_repository_spec.rb +14 -19
  277. data/spec/models/policy_enum_spec.rb +6 -11
  278. data/spec/models/repair_spec.rb +7 -12
  279. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  280. data/spec/models/repository_version_response_spec.rb +14 -19
  281. data/spec/models/set_label_response_spec.rb +8 -13
  282. data/spec/models/set_label_spec.rb +8 -13
  283. data/spec/models/unset_label_response_spec.rb +8 -13
  284. data/spec/models/unset_label_spec.rb +7 -12
  285. data/spec/spec_helper.rb +1 -1
  286. metadata +136 -108
  287. data/docs/DebAptRemoteResponseHiddenFields.md +0 -19
  288. data/docs/DebGenericContent.md +0 -27
  289. data/docs/DebInstallerPackage.md +0 -27
  290. data/docs/DebPackage.md +0 -31
  291. data/lib/pulp_deb_client/models/deb_package.rb +0 -338
  292. data/spec/api_client_spec.rb +0 -188
  293. data/spec/configuration_spec.rb +0 -42
  294. data/spec/models/deb_generic_content_spec.rb +0 -71
  295. data/spec/models/deb_installer_package_spec.rb +0 -71
  296. data/spec/models/deb_package_spec.rb +0 -83
@@ -2,27 +2,102 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](PublicationsVerbatimApi.md#create) | **POST** /pulp/api/v3/publications/deb/verbatim/ | Create a verbatim publication
8
- [**delete**](PublicationsVerbatimApi.md#delete) | **DELETE** {deb_verbatim_publication_href} | Delete a verbatim publication
9
- [**list**](PublicationsVerbatimApi.md#list) | **GET** /pulp/api/v3/publications/deb/verbatim/ | List verbatim publications
10
- [**read**](PublicationsVerbatimApi.md#read) | **GET** {deb_verbatim_publication_href} | Inspect a verbatim publication
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_role**](PublicationsVerbatimApi.md#add_role) | **POST** {deb_verbatim_publication_href}add_role/ | Add a role |
8
+ | [**create**](PublicationsVerbatimApi.md#create) | **POST** /pulp/api/v3/publications/deb/verbatim/ | Create a verbatim publication |
9
+ | [**delete**](PublicationsVerbatimApi.md#delete) | **DELETE** {deb_verbatim_publication_href} | Delete a verbatim publication |
10
+ | [**list**](PublicationsVerbatimApi.md#list) | **GET** /pulp/api/v3/publications/deb/verbatim/ | List verbatim publications |
11
+ | [**list_roles**](PublicationsVerbatimApi.md#list_roles) | **GET** {deb_verbatim_publication_href}list_roles/ | List roles |
12
+ | [**my_permissions**](PublicationsVerbatimApi.md#my_permissions) | **GET** {deb_verbatim_publication_href}my_permissions/ | List user permissions |
13
+ | [**read**](PublicationsVerbatimApi.md#read) | **GET** {deb_verbatim_publication_href} | Inspect a verbatim publication |
14
+ | [**remove_role**](PublicationsVerbatimApi.md#remove_role) | **POST** {deb_verbatim_publication_href}remove_role/ | Remove a role |
11
15
 
12
16
 
17
+ ## add_role
18
+
19
+ > <NestedRoleResponse> add_role(deb_verbatim_publication_href, nested_role)
20
+
21
+ Add a role
22
+
23
+ Add a role for this object to users/groups.
24
+
25
+ ### Examples
26
+
27
+ ```ruby
28
+ require 'time'
29
+ require 'pulp_deb_client'
30
+ # setup authorization
31
+ PulpDebClient.configure do |config|
32
+ # Configure HTTP basic authorization: basicAuth
33
+ config.username = 'YOUR USERNAME'
34
+ config.password = 'YOUR PASSWORD'
35
+ end
36
+
37
+ api_instance = PulpDebClient::PublicationsVerbatimApi.new
38
+ deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
39
+ nested_role = PulpDebClient::NestedRole.new({role: 'role_example'}) # NestedRole |
40
+
41
+ begin
42
+ # Add a role
43
+ result = api_instance.add_role(deb_verbatim_publication_href, nested_role)
44
+ p result
45
+ rescue PulpDebClient::ApiError => e
46
+ puts "Error when calling PublicationsVerbatimApi->add_role: #{e}"
47
+ end
48
+ ```
49
+
50
+ #### Using the add_role_with_http_info variant
51
+
52
+ This returns an Array which contains the response data, status code and headers.
53
+
54
+ > <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(deb_verbatim_publication_href, nested_role)
55
+
56
+ ```ruby
57
+ begin
58
+ # Add a role
59
+ data, status_code, headers = api_instance.add_role_with_http_info(deb_verbatim_publication_href, nested_role)
60
+ p status_code # => 2xx
61
+ p headers # => { ... }
62
+ p data # => <NestedRoleResponse>
63
+ rescue PulpDebClient::ApiError => e
64
+ puts "Error when calling PublicationsVerbatimApi->add_role_with_http_info: #{e}"
65
+ end
66
+ ```
67
+
68
+ ### Parameters
69
+
70
+ | Name | Type | Description | Notes |
71
+ | ---- | ---- | ----------- | ----- |
72
+ | **deb_verbatim_publication_href** | **String** | | |
73
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
74
+
75
+ ### Return type
76
+
77
+ [**NestedRoleResponse**](NestedRoleResponse.md)
78
+
79
+ ### Authorization
80
+
81
+ [basicAuth](../README.md#basicAuth)
82
+
83
+ ### HTTP request headers
84
+
85
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
86
+ - **Accept**: application/json
87
+
13
88
 
14
89
  ## create
15
90
 
16
- > AsyncOperationResponse create(deb_verbatim_publication)
91
+ > <AsyncOperationResponse> create(deb_verbatim_publication)
17
92
 
18
93
  Create a verbatim publication
19
94
 
20
95
  Trigger an asynchronous task to publish content
21
96
 
22
- ### Example
97
+ ### Examples
23
98
 
24
99
  ```ruby
25
- # load the gem
100
+ require 'time'
26
101
  require 'pulp_deb_client'
27
102
  # setup authorization
28
103
  PulpDebClient.configure do |config|
@@ -35,20 +110,37 @@ api_instance = PulpDebClient::PublicationsVerbatimApi.new
35
110
  deb_verbatim_publication = PulpDebClient::DebVerbatimPublication.new # DebVerbatimPublication |
36
111
 
37
112
  begin
38
- #Create a verbatim publication
113
+ # Create a verbatim publication
39
114
  result = api_instance.create(deb_verbatim_publication)
40
115
  p result
41
116
  rescue PulpDebClient::ApiError => e
42
- puts "Exception when calling PublicationsVerbatimApi->create: #{e}"
117
+ puts "Error when calling PublicationsVerbatimApi->create: #{e}"
43
118
  end
44
119
  ```
45
120
 
46
- ### 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(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_verbatim_publication)
126
+
127
+ ```ruby
128
+ begin
129
+ # Create a verbatim publication
130
+ data, status_code, headers = api_instance.create_with_http_info(deb_verbatim_publication)
131
+ p status_code # => 2xx
132
+ p headers # => { ... }
133
+ p data # => <AsyncOperationResponse>
134
+ rescue PulpDebClient::ApiError => e
135
+ puts "Error when calling PublicationsVerbatimApi->create_with_http_info: #{e}"
136
+ end
137
+ ```
47
138
 
139
+ ### Parameters
48
140
 
49
- Name | Type | Description | Notes
50
- ------------- | ------------- | ------------- | -------------
51
- **deb_verbatim_publication** | [**DebVerbatimPublication**](DebVerbatimPublication.md)| |
141
+ | Name | Type | Description | Notes |
142
+ | ---- | ---- | ----------- | ----- |
143
+ | **deb_verbatim_publication** | [**DebVerbatimPublication**](DebVerbatimPublication.md) | | |
52
144
 
53
145
  ### Return type
54
146
 
@@ -72,10 +164,10 @@ Delete a verbatim publication
72
164
 
73
165
  An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
74
166
 
75
- ### Example
167
+ ### Examples
76
168
 
77
169
  ```ruby
78
- # load the gem
170
+ require 'time'
79
171
  require 'pulp_deb_client'
80
172
  # setup authorization
81
173
  PulpDebClient.configure do |config|
@@ -88,19 +180,36 @@ api_instance = PulpDebClient::PublicationsVerbatimApi.new
88
180
  deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
89
181
 
90
182
  begin
91
- #Delete a verbatim publication
183
+ # Delete a verbatim publication
92
184
  api_instance.delete(deb_verbatim_publication_href)
93
185
  rescue PulpDebClient::ApiError => e
94
- puts "Exception when calling PublicationsVerbatimApi->delete: #{e}"
186
+ puts "Error when calling PublicationsVerbatimApi->delete: #{e}"
95
187
  end
96
188
  ```
97
189
 
98
- ### Parameters
190
+ #### Using the delete_with_http_info variant
191
+
192
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
99
193
 
194
+ > <Array(nil, Integer, Hash)> delete_with_http_info(deb_verbatim_publication_href)
100
195
 
101
- Name | Type | Description | Notes
102
- ------------- | ------------- | ------------- | -------------
103
- **deb_verbatim_publication_href** | **String**| |
196
+ ```ruby
197
+ begin
198
+ # Delete a verbatim publication
199
+ data, status_code, headers = api_instance.delete_with_http_info(deb_verbatim_publication_href)
200
+ p status_code # => 2xx
201
+ p headers # => { ... }
202
+ p data # => nil
203
+ rescue PulpDebClient::ApiError => e
204
+ puts "Error when calling PublicationsVerbatimApi->delete_with_http_info: #{e}"
205
+ end
206
+ ```
207
+
208
+ ### Parameters
209
+
210
+ | Name | Type | Description | Notes |
211
+ | ---- | ---- | ----------- | ----- |
212
+ | **deb_verbatim_publication_href** | **String** | | |
104
213
 
105
214
  ### Return type
106
215
 
@@ -118,16 +227,16 @@ nil (empty response body)
118
227
 
119
228
  ## list
120
229
 
121
- > PaginateddebVerbatimPublicationResponseList list(opts)
230
+ > <PaginateddebVerbatimPublicationResponseList> list(opts)
122
231
 
123
232
  List verbatim publications
124
233
 
125
234
  An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
126
235
 
127
- ### Example
236
+ ### Examples
128
237
 
129
238
  ```ruby
130
- # load the gem
239
+ require 'time'
131
240
  require 'pulp_deb_client'
132
241
  # setup authorization
133
242
  PulpDebClient.configure do |config|
@@ -139,59 +248,78 @@ end
139
248
  api_instance = PulpDebClient::PublicationsVerbatimApi.new
140
249
  opts = {
141
250
  content: 'content_example', # String | Content Unit referenced by HREF/PRN
142
- content__in: ['content__in_example'], # Array<String> | Multiple values may be separated by commas.
251
+ content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
143
252
  limit: 56, # Integer | Number of results to return per page.
144
253
  offset: 56, # Integer | The initial index from which to return the results.
145
- 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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
146
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
147
- pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
148
- pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
149
- pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
150
- pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
151
- pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
152
- pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
153
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
154
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
254
+ ordering: ['-complete'], # 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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
255
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
256
+ pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
257
+ pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
258
+ pulp_created__gte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than or equal to value
259
+ pulp_created__isnull: true, # Boolean | Filter results where pulp_created has a null value
260
+ pulp_created__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is less than value
261
+ pulp_created__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is less than or equal to value
262
+ pulp_created__range: [Time.now], # Array<Time> | Filter results where pulp_created is between two comma separated values
263
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
264
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
155
265
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
156
266
  repository: 'repository_example', # String | Repository referenced by HREF/PRN
157
- repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
158
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
159
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
267
+ repository_version: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Repository Version referenced by HREF/PRN
268
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
269
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
160
270
  }
161
271
 
162
272
  begin
163
- #List verbatim publications
273
+ # List verbatim publications
164
274
  result = api_instance.list(opts)
165
275
  p result
166
276
  rescue PulpDebClient::ApiError => e
167
- puts "Exception when calling PublicationsVerbatimApi->list: #{e}"
277
+ puts "Error when calling PublicationsVerbatimApi->list: #{e}"
168
278
  end
169
279
  ```
170
280
 
171
- ### Parameters
281
+ #### Using the list_with_http_info variant
282
+
283
+ This returns an Array which contains the response data, status code and headers.
284
+
285
+ > <Array(<PaginateddebVerbatimPublicationResponseList>, Integer, Hash)> list_with_http_info(opts)
286
+
287
+ ```ruby
288
+ begin
289
+ # List verbatim publications
290
+ data, status_code, headers = api_instance.list_with_http_info(opts)
291
+ p status_code # => 2xx
292
+ p headers # => { ... }
293
+ p data # => <PaginateddebVerbatimPublicationResponseList>
294
+ rescue PulpDebClient::ApiError => e
295
+ puts "Error when calling PublicationsVerbatimApi->list_with_http_info: #{e}"
296
+ end
297
+ ```
172
298
 
299
+ ### Parameters
173
300
 
174
- Name | Type | Description | Notes
175
- ------------- | ------------- | ------------- | -------------
176
- **content** | **String**| Content Unit referenced by HREF/PRN | [optional]
177
- **content__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
178
- **limit** | **Integer**| Number of results to return per page. | [optional]
179
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
180
- **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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
181
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
182
- **pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
183
- **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
184
- **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
185
- **pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
186
- **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
187
- **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
188
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
189
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
190
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
191
- **repository** | **String**| Repository referenced by HREF/PRN | [optional]
192
- **repository_version** | [**String**](.md)| Repository Version referenced by HREF/PRN | [optional]
193
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
194
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
301
+ | Name | Type | Description | Notes |
302
+ | ---- | ---- | ----------- | ----- |
303
+ | **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
304
+ | **content__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
305
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
306
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
307
+ | **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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
308
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
309
+ | **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
310
+ | **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
311
+ | **pulp_created__gte** | **Time** | Filter results where pulp_created is greater than or equal to value | [optional] |
312
+ | **pulp_created__isnull** | **Boolean** | Filter results where pulp_created has a null value | [optional] |
313
+ | **pulp_created__lt** | **Time** | Filter results where pulp_created is less than value | [optional] |
314
+ | **pulp_created__lte** | **Time** | Filter results where pulp_created is less than or equal to value | [optional] |
315
+ | **pulp_created__range** | [**Array&lt;Time&gt;**](Time.md) | Filter results where pulp_created is between two comma separated values | [optional] |
316
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
317
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
318
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
319
+ | **repository** | **String** | Repository referenced by HREF/PRN | [optional] |
320
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
321
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
322
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
195
323
 
196
324
  ### Return type
197
325
 
@@ -207,18 +335,170 @@ Name | Type | Description | Notes
207
335
  - **Accept**: application/json
208
336
 
209
337
 
338
+ ## list_roles
339
+
340
+ > <ObjectRolesResponse> list_roles(deb_verbatim_publication_href, opts)
341
+
342
+ List roles
343
+
344
+ List roles assigned to this object.
345
+
346
+ ### Examples
347
+
348
+ ```ruby
349
+ require 'time'
350
+ require 'pulp_deb_client'
351
+ # setup authorization
352
+ PulpDebClient.configure do |config|
353
+ # Configure HTTP basic authorization: basicAuth
354
+ config.username = 'YOUR USERNAME'
355
+ config.password = 'YOUR PASSWORD'
356
+ end
357
+
358
+ api_instance = PulpDebClient::PublicationsVerbatimApi.new
359
+ deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
360
+ opts = {
361
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
362
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
363
+ }
364
+
365
+ begin
366
+ # List roles
367
+ result = api_instance.list_roles(deb_verbatim_publication_href, opts)
368
+ p result
369
+ rescue PulpDebClient::ApiError => e
370
+ puts "Error when calling PublicationsVerbatimApi->list_roles: #{e}"
371
+ end
372
+ ```
373
+
374
+ #### Using the list_roles_with_http_info variant
375
+
376
+ This returns an Array which contains the response data, status code and headers.
377
+
378
+ > <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(deb_verbatim_publication_href, opts)
379
+
380
+ ```ruby
381
+ begin
382
+ # List roles
383
+ data, status_code, headers = api_instance.list_roles_with_http_info(deb_verbatim_publication_href, opts)
384
+ p status_code # => 2xx
385
+ p headers # => { ... }
386
+ p data # => <ObjectRolesResponse>
387
+ rescue PulpDebClient::ApiError => e
388
+ puts "Error when calling PublicationsVerbatimApi->list_roles_with_http_info: #{e}"
389
+ end
390
+ ```
391
+
392
+ ### Parameters
393
+
394
+ | Name | Type | Description | Notes |
395
+ | ---- | ---- | ----------- | ----- |
396
+ | **deb_verbatim_publication_href** | **String** | | |
397
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
398
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
399
+
400
+ ### Return type
401
+
402
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
403
+
404
+ ### Authorization
405
+
406
+ [basicAuth](../README.md#basicAuth)
407
+
408
+ ### HTTP request headers
409
+
410
+ - **Content-Type**: Not defined
411
+ - **Accept**: application/json
412
+
413
+
414
+ ## my_permissions
415
+
416
+ > <MyPermissionsResponse> my_permissions(deb_verbatim_publication_href, opts)
417
+
418
+ List user permissions
419
+
420
+ List permissions available to the current user on this object.
421
+
422
+ ### Examples
423
+
424
+ ```ruby
425
+ require 'time'
426
+ require 'pulp_deb_client'
427
+ # setup authorization
428
+ PulpDebClient.configure do |config|
429
+ # Configure HTTP basic authorization: basicAuth
430
+ config.username = 'YOUR USERNAME'
431
+ config.password = 'YOUR PASSWORD'
432
+ end
433
+
434
+ api_instance = PulpDebClient::PublicationsVerbatimApi.new
435
+ deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
436
+ opts = {
437
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
438
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
439
+ }
440
+
441
+ begin
442
+ # List user permissions
443
+ result = api_instance.my_permissions(deb_verbatim_publication_href, opts)
444
+ p result
445
+ rescue PulpDebClient::ApiError => e
446
+ puts "Error when calling PublicationsVerbatimApi->my_permissions: #{e}"
447
+ end
448
+ ```
449
+
450
+ #### Using the my_permissions_with_http_info variant
451
+
452
+ This returns an Array which contains the response data, status code and headers.
453
+
454
+ > <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(deb_verbatim_publication_href, opts)
455
+
456
+ ```ruby
457
+ begin
458
+ # List user permissions
459
+ data, status_code, headers = api_instance.my_permissions_with_http_info(deb_verbatim_publication_href, opts)
460
+ p status_code # => 2xx
461
+ p headers # => { ... }
462
+ p data # => <MyPermissionsResponse>
463
+ rescue PulpDebClient::ApiError => e
464
+ puts "Error when calling PublicationsVerbatimApi->my_permissions_with_http_info: #{e}"
465
+ end
466
+ ```
467
+
468
+ ### Parameters
469
+
470
+ | Name | Type | Description | Notes |
471
+ | ---- | ---- | ----------- | ----- |
472
+ | **deb_verbatim_publication_href** | **String** | | |
473
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
474
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
475
+
476
+ ### Return type
477
+
478
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
479
+
480
+ ### Authorization
481
+
482
+ [basicAuth](../README.md#basicAuth)
483
+
484
+ ### HTTP request headers
485
+
486
+ - **Content-Type**: Not defined
487
+ - **Accept**: application/json
488
+
489
+
210
490
  ## read
211
491
 
212
- > DebVerbatimPublicationResponse read(deb_verbatim_publication_href, opts)
492
+ > <DebVerbatimPublicationResponse> read(deb_verbatim_publication_href, opts)
213
493
 
214
494
  Inspect a verbatim publication
215
495
 
216
496
  An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
217
497
 
218
- ### Example
498
+ ### Examples
219
499
 
220
500
  ```ruby
221
- # load the gem
501
+ require 'time'
222
502
  require 'pulp_deb_client'
223
503
  # setup authorization
224
504
  PulpDebClient.configure do |config|
@@ -230,27 +510,44 @@ end
230
510
  api_instance = PulpDebClient::PublicationsVerbatimApi.new
231
511
  deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
232
512
  opts = {
233
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
234
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
513
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
514
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
235
515
  }
236
516
 
237
517
  begin
238
- #Inspect a verbatim publication
518
+ # Inspect a verbatim publication
239
519
  result = api_instance.read(deb_verbatim_publication_href, opts)
240
520
  p result
241
521
  rescue PulpDebClient::ApiError => e
242
- puts "Exception when calling PublicationsVerbatimApi->read: #{e}"
522
+ puts "Error when calling PublicationsVerbatimApi->read: #{e}"
243
523
  end
244
524
  ```
245
525
 
246
- ### Parameters
526
+ #### Using the read_with_http_info variant
527
+
528
+ This returns an Array which contains the response data, status code and headers.
247
529
 
530
+ > <Array(<DebVerbatimPublicationResponse>, Integer, Hash)> read_with_http_info(deb_verbatim_publication_href, opts)
248
531
 
249
- Name | Type | Description | Notes
250
- ------------- | ------------- | ------------- | -------------
251
- **deb_verbatim_publication_href** | **String**| |
252
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
253
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
532
+ ```ruby
533
+ begin
534
+ # Inspect a verbatim publication
535
+ data, status_code, headers = api_instance.read_with_http_info(deb_verbatim_publication_href, opts)
536
+ p status_code # => 2xx
537
+ p headers # => { ... }
538
+ p data # => <DebVerbatimPublicationResponse>
539
+ rescue PulpDebClient::ApiError => e
540
+ puts "Error when calling PublicationsVerbatimApi->read_with_http_info: #{e}"
541
+ end
542
+ ```
543
+
544
+ ### Parameters
545
+
546
+ | Name | Type | Description | Notes |
547
+ | ---- | ---- | ----------- | ----- |
548
+ | **deb_verbatim_publication_href** | **String** | | |
549
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
550
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
254
551
 
255
552
  ### Return type
256
553
 
@@ -265,3 +562,75 @@ Name | Type | Description | Notes
265
562
  - **Content-Type**: Not defined
266
563
  - **Accept**: application/json
267
564
 
565
+
566
+ ## remove_role
567
+
568
+ > <NestedRoleResponse> remove_role(deb_verbatim_publication_href, nested_role)
569
+
570
+ Remove a role
571
+
572
+ Remove a role for this object from users/groups.
573
+
574
+ ### Examples
575
+
576
+ ```ruby
577
+ require 'time'
578
+ require 'pulp_deb_client'
579
+ # setup authorization
580
+ PulpDebClient.configure do |config|
581
+ # Configure HTTP basic authorization: basicAuth
582
+ config.username = 'YOUR USERNAME'
583
+ config.password = 'YOUR PASSWORD'
584
+ end
585
+
586
+ api_instance = PulpDebClient::PublicationsVerbatimApi.new
587
+ deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
588
+ nested_role = PulpDebClient::NestedRole.new({role: 'role_example'}) # NestedRole |
589
+
590
+ begin
591
+ # Remove a role
592
+ result = api_instance.remove_role(deb_verbatim_publication_href, nested_role)
593
+ p result
594
+ rescue PulpDebClient::ApiError => e
595
+ puts "Error when calling PublicationsVerbatimApi->remove_role: #{e}"
596
+ end
597
+ ```
598
+
599
+ #### Using the remove_role_with_http_info variant
600
+
601
+ This returns an Array which contains the response data, status code and headers.
602
+
603
+ > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(deb_verbatim_publication_href, nested_role)
604
+
605
+ ```ruby
606
+ begin
607
+ # Remove a role
608
+ data, status_code, headers = api_instance.remove_role_with_http_info(deb_verbatim_publication_href, nested_role)
609
+ p status_code # => 2xx
610
+ p headers # => { ... }
611
+ p data # => <NestedRoleResponse>
612
+ rescue PulpDebClient::ApiError => e
613
+ puts "Error when calling PublicationsVerbatimApi->remove_role_with_http_info: #{e}"
614
+ end
615
+ ```
616
+
617
+ ### Parameters
618
+
619
+ | Name | Type | Description | Notes |
620
+ | ---- | ---- | ----------- | ----- |
621
+ | **deb_verbatim_publication_href** | **String** | | |
622
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
623
+
624
+ ### Return type
625
+
626
+ [**NestedRoleResponse**](NestedRoleResponse.md)
627
+
628
+ ### Authorization
629
+
630
+ [basicAuth](../README.md#basicAuth)
631
+
632
+ ### HTTP request headers
633
+
634
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
635
+ - **Accept**: application/json
636
+