pulp_deb_client 3.5.0 → 3.5.2

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 (298) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -9
  3. data/docs/AptRepositorySyncURL.md +12 -11
  4. data/docs/AsyncOperationResponse.md +8 -7
  5. data/docs/ContentGenericContentsApi.md +264 -64
  6. data/docs/ContentInstallerFileIndicesApi.md +259 -61
  7. data/docs/ContentInstallerPackagesApi.md +280 -80
  8. data/docs/ContentPackageIndicesApi.md +259 -61
  9. data/docs/ContentPackageReleaseComponentsApi.md +259 -61
  10. data/docs/ContentPackagesApi.md +294 -94
  11. data/docs/ContentReleaseArchitecturesApi.md +257 -59
  12. data/docs/ContentReleaseComponentsApi.md +258 -60
  13. data/docs/ContentReleaseFilesApi.md +259 -61
  14. data/docs/ContentReleasesApi.md +262 -64
  15. data/docs/ContentSourceIndicesApi.md +258 -60
  16. data/docs/ContentSourcePackagesApi.md +285 -87
  17. data/docs/ContentSourceReleaseComponentsApi.md +259 -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 +32 -29
  31. data/docs/DebInstallerFileIndex.md +18 -15
  32. data/docs/DebInstallerFileIndexResponse.md +24 -21
  33. data/docs/DebInstallerPackageResponse.md +90 -87
  34. data/docs/DebPackageIndex.md +18 -15
  35. data/docs/DebPackageIndexResponse.md +24 -21
  36. data/docs/DebPackageReleaseComponent.md +14 -11
  37. data/docs/DebPackageReleaseComponentResponse.md +20 -17
  38. data/docs/DebPackageResponse.md +94 -91
  39. data/docs/DebRelease.md +28 -25
  40. data/docs/DebReleaseArchitecture.md +14 -11
  41. data/docs/DebReleaseArchitectureResponse.md +20 -17
  42. data/docs/DebReleaseComponent.md +14 -11
  43. data/docs/DebReleaseComponentResponse.md +22 -19
  44. data/docs/DebReleaseFile.md +20 -17
  45. data/docs/DebReleaseFileResponse.md +26 -23
  46. data/docs/DebReleaseResponse.md +34 -31
  47. data/docs/DebSourceIndex.md +18 -15
  48. data/docs/DebSourceIndexResponse.md +24 -21
  49. data/docs/DebSourcePackage.md +14 -11
  50. data/docs/DebSourcePackageReleaseComponent.md +14 -11
  51. data/docs/DebSourcePackageReleaseComponentResponse.md +20 -17
  52. data/docs/DebSourcePackageResponse.md +76 -73
  53. data/docs/DebVerbatimPublication.md +10 -9
  54. data/docs/DebVerbatimPublicationResponse.md +18 -17
  55. data/docs/DistributionsAptApi.md +387 -182
  56. data/docs/MyPermissionsResponse.md +8 -7
  57. data/docs/NestedRole.md +12 -11
  58. data/docs/NestedRoleResponse.md +12 -11
  59. data/docs/ObjectRolesResponse.md +8 -7
  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 +269 -130
  84. data/docs/PublicationsVerbatimApi.md +269 -130
  85. data/docs/RemotesAptApi.md +389 -184
  86. data/docs/Repair.md +8 -7
  87. data/docs/RepositoriesAptApi.md +444 -207
  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 +177 -17
  96. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +174 -17
  97. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +177 -25
  98. data/lib/pulp_deb_client/api/content_package_indices_api.rb +174 -17
  99. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +174 -17
  100. data/lib/pulp_deb_client/api/content_packages_api.rb +177 -25
  101. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +174 -17
  102. data/lib/pulp_deb_client/api/content_release_components_api.rb +174 -17
  103. data/lib/pulp_deb_client/api/content_release_files_api.rb +174 -17
  104. data/lib/pulp_deb_client/api/content_releases_api.rb +174 -17
  105. data/lib/pulp_deb_client/api/content_source_indices_api.rb +174 -17
  106. data/lib/pulp_deb_client/api/content_source_packages_api.rb +174 -17
  107. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +174 -17
  108. data/lib/pulp_deb_client/api/deb_copy_api.rb +10 -6
  109. data/lib/pulp_deb_client/api/distributions_apt_api.rb +95 -59
  110. data/lib/pulp_deb_client/api/publications_apt_api.rb +73 -50
  111. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +73 -50
  112. data/lib/pulp_deb_client/api/remotes_apt_api.rb +104 -68
  113. data/lib/pulp_deb_client/api/repositories_apt_api.rb +107 -66
  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 +58 -22
  127. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +61 -25
  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 +47 -25
  132. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +54 -24
  133. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +51 -25
  134. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +45 -25
  135. data/lib/pulp_deb_client/models/deb_package_index.rb +60 -26
  136. data/lib/pulp_deb_client/models/deb_package_index_response.rb +47 -25
  137. data/lib/pulp_deb_client/models/deb_package_release_component.rb +47 -23
  138. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +49 -25
  139. data/lib/pulp_deb_client/models/deb_package_response.rb +45 -25
  140. data/lib/pulp_deb_client/models/deb_release.rb +49 -23
  141. data/lib/pulp_deb_client/models/deb_release_architecture.rb +47 -23
  142. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +49 -25
  143. data/lib/pulp_deb_client/models/deb_release_component.rb +47 -23
  144. data/lib/pulp_deb_client/models/deb_release_component_response.rb +49 -25
  145. data/lib/pulp_deb_client/models/deb_release_file.rb +62 -26
  146. data/lib/pulp_deb_client/models/deb_release_file_response.rb +49 -25
  147. data/lib/pulp_deb_client/models/deb_release_response.rb +51 -25
  148. data/lib/pulp_deb_client/models/deb_source_index.rb +54 -24
  149. data/lib/pulp_deb_client/models/deb_source_index_response.rb +51 -25
  150. data/lib/pulp_deb_client/models/deb_source_package.rb +50 -24
  151. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +47 -23
  152. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +49 -25
  153. data/lib/pulp_deb_client/models/deb_source_package_response.rb +47 -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 +32 -22
  157. data/lib/pulp_deb_client/models/nested_role.rb +32 -22
  158. data/lib/pulp_deb_client/models/nested_role_response.rb +32 -22
  159. data/lib/pulp_deb_client/models/object_roles_response.rb +32 -22
  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 +67 -25
  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 +33 -23
  189. data/lib/pulp_deb_client/models/unset_label_response.rb +33 -23
  190. data/lib/pulp_deb_client/version.rb +2 -2
  191. data/lib/pulp_deb_client.rb +2 -5
  192. data/pulp_deb_client.gemspec +7 -5
  193. data/spec/api/content_generic_contents_api_spec.rb +33 -5
  194. data/spec/api/content_installer_file_indices_api_spec.rb +32 -5
  195. data/spec/api/content_installer_packages_api_spec.rb +33 -5
  196. data/spec/api/content_package_indices_api_spec.rb +32 -5
  197. data/spec/api/content_package_release_components_api_spec.rb +32 -5
  198. data/spec/api/content_packages_api_spec.rb +33 -5
  199. data/spec/api/content_release_architectures_api_spec.rb +32 -5
  200. data/spec/api/content_release_components_api_spec.rb +32 -5
  201. data/spec/api/content_release_files_api_spec.rb +32 -5
  202. data/spec/api/content_releases_api_spec.rb +32 -5
  203. data/spec/api/content_source_indices_api_spec.rb +32 -5
  204. data/spec/api/content_source_packages_api_spec.rb +32 -5
  205. data/spec/api/content_source_release_components_api_spec.rb +32 -5
  206. data/spec/api/deb_copy_api_spec.rb +2 -2
  207. data/spec/api/distributions_apt_api_spec.rb +15 -14
  208. data/spec/api/publications_apt_api_spec.rb +18 -16
  209. data/spec/api/publications_verbatim_api_spec.rb +18 -16
  210. data/spec/api/remotes_apt_api_spec.rb +20 -19
  211. data/spec/api/repositories_apt_api_spec.rb +15 -15
  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 +24 -23
  227. data/spec/models/deb_installer_file_index_response_spec.rb +20 -19
  228. data/spec/models/deb_installer_file_index_spec.rb +17 -16
  229. data/spec/models/deb_installer_package_response_spec.rb +53 -52
  230. data/spec/models/deb_package_index_response_spec.rb +20 -19
  231. data/spec/models/deb_package_index_spec.rb +17 -16
  232. data/spec/models/deb_package_release_component_response_spec.rb +18 -17
  233. data/spec/models/deb_package_release_component_spec.rb +15 -14
  234. data/spec/models/deb_package_response_spec.rb +55 -54
  235. data/spec/models/deb_release_architecture_response_spec.rb +18 -17
  236. data/spec/models/deb_release_architecture_spec.rb +15 -14
  237. data/spec/models/deb_release_component_response_spec.rb +19 -18
  238. data/spec/models/deb_release_component_spec.rb +15 -14
  239. data/spec/models/deb_release_file_response_spec.rb +21 -20
  240. data/spec/models/deb_release_file_spec.rb +18 -17
  241. data/spec/models/deb_release_response_spec.rb +25 -24
  242. data/spec/models/deb_release_spec.rb +22 -21
  243. data/spec/models/deb_source_index_response_spec.rb +20 -19
  244. data/spec/models/deb_source_index_spec.rb +17 -16
  245. data/spec/models/deb_source_package_release_component_response_spec.rb +18 -17
  246. data/spec/models/deb_source_package_release_component_spec.rb +15 -14
  247. data/spec/models/deb_source_package_response_spec.rb +46 -45
  248. data/spec/models/deb_source_package_spec.rb +15 -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 +7 -12
  252. data/spec/models/nested_role_response_spec.rb +9 -14
  253. data/spec/models/nested_role_spec.rb +9 -14
  254. data/spec/models/object_roles_response_spec.rb +7 -12
  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 +92 -100
  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_generic_content.rb +0 -297
  292. data/lib/pulp_deb_client/models/deb_installer_package.rb +0 -288
  293. data/lib/pulp_deb_client/models/deb_package.rb +0 -338
  294. data/spec/api_client_spec.rb +0 -188
  295. data/spec/configuration_spec.rb +0 -42
  296. data/spec/models/deb_generic_content_spec.rb +0 -71
  297. data/spec/models/deb_installer_package_spec.rb +0 -71
  298. data/spec/models/deb_package_spec.rb +0 -83
@@ -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**](PublicationsAptApi.md#add_role) | **POST** {deb_apt_publication_href}add_role/ | Add a role
8
- [**create**](PublicationsAptApi.md#create) | **POST** /pulp/api/v3/publications/deb/apt/ | Create an apt publication
9
- [**delete**](PublicationsAptApi.md#delete) | **DELETE** {deb_apt_publication_href} | Delete an apt publication
10
- [**list**](PublicationsAptApi.md#list) | **GET** /pulp/api/v3/publications/deb/apt/ | List apt publications
11
- [**list_roles**](PublicationsAptApi.md#list_roles) | **GET** {deb_apt_publication_href}list_roles/ | List roles
12
- [**my_permissions**](PublicationsAptApi.md#my_permissions) | **GET** {deb_apt_publication_href}my_permissions/ | List user permissions
13
- [**read**](PublicationsAptApi.md#read) | **GET** {deb_apt_publication_href} | Inspect an apt publication
14
- [**remove_role**](PublicationsAptApi.md#remove_role) | **POST** {deb_apt_publication_href}remove_role/ | Remove a role
15
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_role**](PublicationsAptApi.md#add_role) | **POST** {deb_apt_publication_href}add_role/ | Add a role |
8
+ | [**create**](PublicationsAptApi.md#create) | **POST** /pulp/api/v3/publications/deb/apt/ | Create an apt publication |
9
+ | [**delete**](PublicationsAptApi.md#delete) | **DELETE** {deb_apt_publication_href} | Delete an apt publication |
10
+ | [**list**](PublicationsAptApi.md#list) | **GET** /pulp/api/v3/publications/deb/apt/ | List apt publications |
11
+ | [**list_roles**](PublicationsAptApi.md#list_roles) | **GET** {deb_apt_publication_href}list_roles/ | List roles |
12
+ | [**my_permissions**](PublicationsAptApi.md#my_permissions) | **GET** {deb_apt_publication_href}my_permissions/ | List user permissions |
13
+ | [**read**](PublicationsAptApi.md#read) | **GET** {deb_apt_publication_href} | Inspect an apt publication |
14
+ | [**remove_role**](PublicationsAptApi.md#remove_role) | **POST** {deb_apt_publication_href}remove_role/ | Remove a role |
16
15
 
17
16
 
18
17
  ## add_role
19
18
 
20
- > NestedRoleResponse add_role(deb_apt_publication_href, nested_role)
19
+ > <NestedRoleResponse> add_role(deb_apt_publication_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_deb_client'
31
30
  # setup authorization
32
31
  PulpDebClient.configure do |config|
@@ -37,24 +36,41 @@ end
37
36
 
38
37
  api_instance = PulpDebClient::PublicationsAptApi.new
39
38
  deb_apt_publication_href = 'deb_apt_publication_href_example' # String |
40
- nested_role = PulpDebClient::NestedRole.new # NestedRole |
39
+ nested_role = PulpDebClient::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(deb_apt_publication_href, nested_role)
45
44
  p result
46
45
  rescue PulpDebClient::ApiError => e
47
- puts "Exception when calling PublicationsAptApi->add_role: #{e}"
46
+ puts "Error when calling PublicationsAptApi->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(deb_apt_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_apt_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 PublicationsAptApi->add_role_with_http_info: #{e}"
65
+ end
66
+ ```
67
+
68
+ ### Parameters
53
69
 
54
- Name | Type | Description | Notes
55
- ------------- | ------------- | ------------- | -------------
56
- **deb_apt_publication_href** | **String**| |
57
- **nested_role** | [**NestedRole**](NestedRole.md)| |
70
+ | Name | Type | Description | Notes |
71
+ | ---- | ---- | ----------- | ----- |
72
+ | **deb_apt_publication_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
- > AsyncOperationResponse create(deb_apt_publication)
91
+ > <AsyncOperationResponse> create(deb_apt_publication)
76
92
 
77
93
  Create an apt publication
78
94
 
79
95
  Trigger an asynchronous task to publish content
80
96
 
81
- ### Example
97
+ ### Examples
82
98
 
83
99
  ```ruby
84
- # load the gem
100
+ require 'time'
85
101
  require 'pulp_deb_client'
86
102
  # setup authorization
87
103
  PulpDebClient.configure do |config|
@@ -94,20 +110,37 @@ api_instance = PulpDebClient::PublicationsAptApi.new
94
110
  deb_apt_publication = PulpDebClient::DebAptPublication.new # DebAptPublication |
95
111
 
96
112
  begin
97
- #Create an apt publication
113
+ # Create an apt publication
98
114
  result = api_instance.create(deb_apt_publication)
99
115
  p result
100
116
  rescue PulpDebClient::ApiError => e
101
- puts "Exception when calling PublicationsAptApi->create: #{e}"
117
+ puts "Error when calling PublicationsAptApi->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(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_apt_publication)
126
+
127
+ ```ruby
128
+ begin
129
+ # Create an apt publication
130
+ data, status_code, headers = api_instance.create_with_http_info(deb_apt_publication)
131
+ p status_code # => 2xx
132
+ p headers # => { ... }
133
+ p data # => <AsyncOperationResponse>
134
+ rescue PulpDebClient::ApiError => e
135
+ puts "Error when calling PublicationsAptApi->create_with_http_info: #{e}"
136
+ end
137
+ ```
106
138
 
139
+ ### Parameters
107
140
 
108
- Name | Type | Description | Notes
109
- ------------- | ------------- | ------------- | -------------
110
- **deb_apt_publication** | [**DebAptPublication**](DebAptPublication.md)| |
141
+ | Name | Type | Description | Notes |
142
+ | ---- | ---- | ----------- | ----- |
143
+ | **deb_apt_publication** | [**DebAptPublication**](DebAptPublication.md) | | |
111
144
 
112
145
  ### Return type
113
146
 
@@ -131,10 +164,10 @@ Delete an apt publication
131
164
 
132
165
  An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
133
166
 
134
- ### Example
167
+ ### Examples
135
168
 
136
169
  ```ruby
137
- # load the gem
170
+ require 'time'
138
171
  require 'pulp_deb_client'
139
172
  # setup authorization
140
173
  PulpDebClient.configure do |config|
@@ -147,19 +180,36 @@ api_instance = PulpDebClient::PublicationsAptApi.new
147
180
  deb_apt_publication_href = 'deb_apt_publication_href_example' # String |
148
181
 
149
182
  begin
150
- #Delete an apt publication
183
+ # Delete an apt publication
151
184
  api_instance.delete(deb_apt_publication_href)
152
185
  rescue PulpDebClient::ApiError => e
153
- puts "Exception when calling PublicationsAptApi->delete: #{e}"
186
+ puts "Error when calling PublicationsAptApi->delete: #{e}"
154
187
  end
155
188
  ```
156
189
 
157
- ### 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.
193
+
194
+ > <Array(nil, Integer, Hash)> delete_with_http_info(deb_apt_publication_href)
195
+
196
+ ```ruby
197
+ begin
198
+ # Delete an apt publication
199
+ data, status_code, headers = api_instance.delete_with_http_info(deb_apt_publication_href)
200
+ p status_code # => 2xx
201
+ p headers # => { ... }
202
+ p data # => nil
203
+ rescue PulpDebClient::ApiError => e
204
+ puts "Error when calling PublicationsAptApi->delete_with_http_info: #{e}"
205
+ end
206
+ ```
158
207
 
208
+ ### Parameters
159
209
 
160
- Name | Type | Description | Notes
161
- ------------- | ------------- | ------------- | -------------
162
- **deb_apt_publication_href** | **String**| |
210
+ | Name | Type | Description | Notes |
211
+ | ---- | ---- | ----------- | ----- |
212
+ | **deb_apt_publication_href** | **String** | | |
163
213
 
164
214
  ### Return type
165
215
 
@@ -177,16 +227,16 @@ nil (empty response body)
177
227
 
178
228
  ## list
179
229
 
180
- > PaginateddebAptPublicationResponseList list(opts)
230
+ > <PaginateddebAptPublicationResponseList> list(opts)
181
231
 
182
232
  List apt publications
183
233
 
184
234
  An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
185
235
 
186
- ### Example
236
+ ### Examples
187
237
 
188
238
  ```ruby
189
- # load the gem
239
+ require 'time'
190
240
  require 'pulp_deb_client'
191
241
  # setup authorization
192
242
  PulpDebClient.configure do |config|
@@ -197,60 +247,81 @@ end
197
247
 
198
248
  api_instance = PulpDebClient::PublicationsAptApi.new
199
249
  opts = {
250
+ checkpoint: true, # Boolean | Filter results where checkpoint matches value
200
251
  content: 'content_example', # String | Content Unit referenced by HREF/PRN
201
- content__in: ['content__in_example'], # Array<String> | Multiple values may be separated by commas.
252
+ content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
202
253
  limit: 56, # Integer | Number of results to return per page.
203
254
  offset: 56, # Integer | The initial index from which to return the results.
204
- 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)
205
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
206
- pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
207
- pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
208
- 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
209
- pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
210
- 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
211
- 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
212
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
213
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
255
+ ordering: ['-checkpoint'], # 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) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
256
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
257
+ pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
258
+ pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
259
+ 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
260
+ pulp_created__isnull: true, # Boolean | Filter results where pulp_created has a null value
261
+ pulp_created__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is less than value
262
+ 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
263
+ pulp_created__range: [Time.now], # Array<Time> | Filter results where pulp_created is between two comma separated values
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.
214
266
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
215
267
  repository: 'repository_example', # String | Repository referenced by HREF/PRN
216
- repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
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.
268
+ repository_version: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Repository Version referenced by HREF/PRN
269
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
270
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
219
271
  }
220
272
 
221
273
  begin
222
- #List apt publications
274
+ # List apt publications
223
275
  result = api_instance.list(opts)
224
276
  p result
225
277
  rescue PulpDebClient::ApiError => e
226
- puts "Exception when calling PublicationsAptApi->list: #{e}"
278
+ puts "Error when calling PublicationsAptApi->list: #{e}"
227
279
  end
228
280
  ```
229
281
 
230
- ### Parameters
282
+ #### Using the list_with_http_info variant
283
+
284
+ This returns an Array which contains the response data, status code and headers.
285
+
286
+ > <Array(<PaginateddebAptPublicationResponseList>, Integer, Hash)> list_with_http_info(opts)
287
+
288
+ ```ruby
289
+ begin
290
+ # List apt publications
291
+ data, status_code, headers = api_instance.list_with_http_info(opts)
292
+ p status_code # => 2xx
293
+ p headers # => { ... }
294
+ p data # => <PaginateddebAptPublicationResponseList>
295
+ rescue PulpDebClient::ApiError => e
296
+ puts "Error when calling PublicationsAptApi->list_with_http_info: #{e}"
297
+ end
298
+ ```
231
299
 
300
+ ### Parameters
232
301
 
233
- Name | Type | Description | Notes
234
- ------------- | ------------- | ------------- | -------------
235
- **content** | **String**| Content Unit referenced by HREF/PRN | [optional]
236
- **content__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
237
- **limit** | **Integer**| Number of results to return per page. | [optional]
238
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
239
- **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]
240
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
241
- **pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
242
- **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
243
- **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
244
- **pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
245
- **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
246
- **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
247
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
248
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
249
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
250
- **repository** | **String**| Repository referenced by HREF/PRN | [optional]
251
- **repository_version** | [**String**](.md)| Repository Version referenced by HREF/PRN | [optional]
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]
302
+ | Name | Type | Description | Notes |
303
+ | ---- | ---- | ----------- | ----- |
304
+ | **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
305
+ | **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
306
+ | **content__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
307
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
308
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
309
+ | **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;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
310
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
311
+ | **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
312
+ | **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
313
+ | **pulp_created__gte** | **Time** | Filter results where pulp_created is greater than or equal to value | [optional] |
314
+ | **pulp_created__isnull** | **Boolean** | Filter results where pulp_created has a null value | [optional] |
315
+ | **pulp_created__lt** | **Time** | Filter results where pulp_created is less than value | [optional] |
316
+ | **pulp_created__lte** | **Time** | Filter results where pulp_created is less than or equal to value | [optional] |
317
+ | **pulp_created__range** | [**Array&lt;Time&gt;**](Time.md) | Filter results where pulp_created is between two comma separated values | [optional] |
318
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
319
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
320
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
321
+ | **repository** | **String** | Repository referenced by HREF/PRN | [optional] |
322
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
323
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
324
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
254
325
 
255
326
  ### Return type
256
327
 
@@ -268,16 +339,16 @@ Name | Type | Description | Notes
268
339
 
269
340
  ## list_roles
270
341
 
271
- > ObjectRolesResponse list_roles(deb_apt_publication_href, opts)
342
+ > <ObjectRolesResponse> list_roles(deb_apt_publication_href, opts)
272
343
 
273
344
  List roles
274
345
 
275
346
  List roles assigned to this object.
276
347
 
277
- ### Example
348
+ ### Examples
278
349
 
279
350
  ```ruby
280
- # load the gem
351
+ require 'time'
281
352
  require 'pulp_deb_client'
282
353
  # setup authorization
283
354
  PulpDebClient.configure do |config|
@@ -289,27 +360,44 @@ end
289
360
  api_instance = PulpDebClient::PublicationsAptApi.new
290
361
  deb_apt_publication_href = 'deb_apt_publication_href_example' # String |
291
362
  opts = {
292
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
293
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
363
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
364
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
294
365
  }
295
366
 
296
367
  begin
297
- #List roles
368
+ # List roles
298
369
  result = api_instance.list_roles(deb_apt_publication_href, opts)
299
370
  p result
300
371
  rescue PulpDebClient::ApiError => e
301
- puts "Exception when calling PublicationsAptApi->list_roles: #{e}"
372
+ puts "Error when calling PublicationsAptApi->list_roles: #{e}"
302
373
  end
303
374
  ```
304
375
 
305
- ### Parameters
376
+ #### Using the list_roles_with_http_info variant
377
+
378
+ This returns an Array which contains the response data, status code and headers.
379
+
380
+ > <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(deb_apt_publication_href, opts)
381
+
382
+ ```ruby
383
+ begin
384
+ # List roles
385
+ data, status_code, headers = api_instance.list_roles_with_http_info(deb_apt_publication_href, opts)
386
+ p status_code # => 2xx
387
+ p headers # => { ... }
388
+ p data # => <ObjectRolesResponse>
389
+ rescue PulpDebClient::ApiError => e
390
+ puts "Error when calling PublicationsAptApi->list_roles_with_http_info: #{e}"
391
+ end
392
+ ```
306
393
 
394
+ ### Parameters
307
395
 
308
- Name | Type | Description | Notes
309
- ------------- | ------------- | ------------- | -------------
310
- **deb_apt_publication_href** | **String**| |
311
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
312
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
396
+ | Name | Type | Description | Notes |
397
+ | ---- | ---- | ----------- | ----- |
398
+ | **deb_apt_publication_href** | **String** | | |
399
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
400
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
313
401
 
314
402
  ### Return type
315
403
 
@@ -327,16 +415,16 @@ Name | Type | Description | Notes
327
415
 
328
416
  ## my_permissions
329
417
 
330
- > MyPermissionsResponse my_permissions(deb_apt_publication_href, opts)
418
+ > <MyPermissionsResponse> my_permissions(deb_apt_publication_href, opts)
331
419
 
332
420
  List user permissions
333
421
 
334
422
  List permissions available to the current user on this object.
335
423
 
336
- ### Example
424
+ ### Examples
337
425
 
338
426
  ```ruby
339
- # load the gem
427
+ require 'time'
340
428
  require 'pulp_deb_client'
341
429
  # setup authorization
342
430
  PulpDebClient.configure do |config|
@@ -348,27 +436,44 @@ end
348
436
  api_instance = PulpDebClient::PublicationsAptApi.new
349
437
  deb_apt_publication_href = 'deb_apt_publication_href_example' # String |
350
438
  opts = {
351
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
352
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
439
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
440
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
353
441
  }
354
442
 
355
443
  begin
356
- #List user permissions
444
+ # List user permissions
357
445
  result = api_instance.my_permissions(deb_apt_publication_href, opts)
358
446
  p result
359
447
  rescue PulpDebClient::ApiError => e
360
- puts "Exception when calling PublicationsAptApi->my_permissions: #{e}"
448
+ puts "Error when calling PublicationsAptApi->my_permissions: #{e}"
361
449
  end
362
450
  ```
363
451
 
364
- ### Parameters
452
+ #### Using the my_permissions_with_http_info variant
453
+
454
+ This returns an Array which contains the response data, status code and headers.
455
+
456
+ > <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(deb_apt_publication_href, opts)
457
+
458
+ ```ruby
459
+ begin
460
+ # List user permissions
461
+ data, status_code, headers = api_instance.my_permissions_with_http_info(deb_apt_publication_href, opts)
462
+ p status_code # => 2xx
463
+ p headers # => { ... }
464
+ p data # => <MyPermissionsResponse>
465
+ rescue PulpDebClient::ApiError => e
466
+ puts "Error when calling PublicationsAptApi->my_permissions_with_http_info: #{e}"
467
+ end
468
+ ```
365
469
 
470
+ ### Parameters
366
471
 
367
- Name | Type | Description | Notes
368
- ------------- | ------------- | ------------- | -------------
369
- **deb_apt_publication_href** | **String**| |
370
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
371
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
472
+ | Name | Type | Description | Notes |
473
+ | ---- | ---- | ----------- | ----- |
474
+ | **deb_apt_publication_href** | **String** | | |
475
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
476
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
372
477
 
373
478
  ### Return type
374
479
 
@@ -386,16 +491,16 @@ Name | Type | Description | Notes
386
491
 
387
492
  ## read
388
493
 
389
- > DebAptPublicationResponse read(deb_apt_publication_href, opts)
494
+ > <DebAptPublicationResponse> read(deb_apt_publication_href, opts)
390
495
 
391
496
  Inspect an apt publication
392
497
 
393
498
  An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
394
499
 
395
- ### Example
500
+ ### Examples
396
501
 
397
502
  ```ruby
398
- # load the gem
503
+ require 'time'
399
504
  require 'pulp_deb_client'
400
505
  # setup authorization
401
506
  PulpDebClient.configure do |config|
@@ -407,27 +512,44 @@ end
407
512
  api_instance = PulpDebClient::PublicationsAptApi.new
408
513
  deb_apt_publication_href = 'deb_apt_publication_href_example' # String |
409
514
  opts = {
410
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
411
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
515
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
516
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
412
517
  }
413
518
 
414
519
  begin
415
- #Inspect an apt publication
520
+ # Inspect an apt publication
416
521
  result = api_instance.read(deb_apt_publication_href, opts)
417
522
  p result
418
523
  rescue PulpDebClient::ApiError => e
419
- puts "Exception when calling PublicationsAptApi->read: #{e}"
524
+ puts "Error when calling PublicationsAptApi->read: #{e}"
420
525
  end
421
526
  ```
422
527
 
423
- ### Parameters
528
+ #### Using the read_with_http_info variant
529
+
530
+ This returns an Array which contains the response data, status code and headers.
531
+
532
+ > <Array(<DebAptPublicationResponse>, Integer, Hash)> read_with_http_info(deb_apt_publication_href, opts)
533
+
534
+ ```ruby
535
+ begin
536
+ # Inspect an apt publication
537
+ data, status_code, headers = api_instance.read_with_http_info(deb_apt_publication_href, opts)
538
+ p status_code # => 2xx
539
+ p headers # => { ... }
540
+ p data # => <DebAptPublicationResponse>
541
+ rescue PulpDebClient::ApiError => e
542
+ puts "Error when calling PublicationsAptApi->read_with_http_info: #{e}"
543
+ end
544
+ ```
424
545
 
546
+ ### Parameters
425
547
 
426
- Name | Type | Description | Notes
427
- ------------- | ------------- | ------------- | -------------
428
- **deb_apt_publication_href** | **String**| |
429
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
430
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
548
+ | Name | Type | Description | Notes |
549
+ | ---- | ---- | ----------- | ----- |
550
+ | **deb_apt_publication_href** | **String** | | |
551
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
552
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
431
553
 
432
554
  ### Return type
433
555
 
@@ -445,16 +567,16 @@ Name | Type | Description | Notes
445
567
 
446
568
  ## remove_role
447
569
 
448
- > NestedRoleResponse remove_role(deb_apt_publication_href, nested_role)
570
+ > <NestedRoleResponse> remove_role(deb_apt_publication_href, nested_role)
449
571
 
450
572
  Remove a role
451
573
 
452
574
  Remove a role for this object from users/groups.
453
575
 
454
- ### Example
576
+ ### Examples
455
577
 
456
578
  ```ruby
457
- # load the gem
579
+ require 'time'
458
580
  require 'pulp_deb_client'
459
581
  # setup authorization
460
582
  PulpDebClient.configure do |config|
@@ -465,24 +587,41 @@ end
465
587
 
466
588
  api_instance = PulpDebClient::PublicationsAptApi.new
467
589
  deb_apt_publication_href = 'deb_apt_publication_href_example' # String |
468
- nested_role = PulpDebClient::NestedRole.new # NestedRole |
590
+ nested_role = PulpDebClient::NestedRole.new({role: 'role_example'}) # NestedRole |
469
591
 
470
592
  begin
471
- #Remove a role
593
+ # Remove a role
472
594
  result = api_instance.remove_role(deb_apt_publication_href, nested_role)
473
595
  p result
474
596
  rescue PulpDebClient::ApiError => e
475
- puts "Exception when calling PublicationsAptApi->remove_role: #{e}"
597
+ puts "Error when calling PublicationsAptApi->remove_role: #{e}"
476
598
  end
477
599
  ```
478
600
 
479
- ### Parameters
601
+ #### Using the remove_role_with_http_info variant
602
+
603
+ This returns an Array which contains the response data, status code and headers.
604
+
605
+ > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(deb_apt_publication_href, nested_role)
606
+
607
+ ```ruby
608
+ begin
609
+ # Remove a role
610
+ data, status_code, headers = api_instance.remove_role_with_http_info(deb_apt_publication_href, nested_role)
611
+ p status_code # => 2xx
612
+ p headers # => { ... }
613
+ p data # => <NestedRoleResponse>
614
+ rescue PulpDebClient::ApiError => e
615
+ puts "Error when calling PublicationsAptApi->remove_role_with_http_info: #{e}"
616
+ end
617
+ ```
480
618
 
619
+ ### Parameters
481
620
 
482
- Name | Type | Description | Notes
483
- ------------- | ------------- | ------------- | -------------
484
- **deb_apt_publication_href** | **String**| |
485
- **nested_role** | [**NestedRole**](NestedRole.md)| |
621
+ | Name | Type | Description | Notes |
622
+ | ---- | ---- | ----------- | ----- |
623
+ | **deb_apt_publication_href** | **String** | | |
624
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
486
625
 
487
626
  ### Return type
488
627