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,26 +2,27 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/packages/ | Create a package
8
- [**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/packages/ | List packages
9
- [**read**](ContentPackagesApi.md#read) | **GET** {deb_package_href} | Inspect a package
10
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/packages/ | Create a package |
8
+ | [**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/packages/ | List packages |
9
+ | [**read**](ContentPackagesApi.md#read) | **GET** {deb_package_href} | Inspect a package |
10
+ | [**set_label**](ContentPackagesApi.md#set_label) | **POST** {deb_package_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentPackagesApi.md#unset_label) | **POST** {deb_package_href}unset_label/ | Unset a label |
11
12
 
12
13
 
13
14
  ## create
14
15
 
15
- > AsyncOperationResponse create(opts)
16
+ > <AsyncOperationResponse> create(opts)
16
17
 
17
18
  Create a package
18
19
 
19
20
  Trigger an asynchronous task to create content,optionally create new repository version.
20
21
 
21
- ### Example
22
+ ### Examples
22
23
 
23
24
  ```ruby
24
- # load the gem
25
+ require 'time'
25
26
  require 'pulp_deb_client'
26
27
  # setup authorization
27
28
  PulpDebClient.configure do |config|
@@ -33,9 +34,10 @@ end
33
34
  api_instance = PulpDebClient::ContentPackagesApi.new
34
35
  opts = {
35
36
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
37
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
36
38
  artifact: 'artifact_example', # String | Artifact file representing the physical content
37
39
  relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
38
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
40
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
39
41
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
40
42
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
41
43
  distribution: 'distribution_example', # String | Name of the distribution.
@@ -43,27 +45,45 @@ opts = {
43
45
  }
44
46
 
45
47
  begin
46
- #Create a package
48
+ # Create a package
47
49
  result = api_instance.create(opts)
48
50
  p result
49
51
  rescue PulpDebClient::ApiError => e
50
- puts "Exception when calling ContentPackagesApi->create: #{e}"
52
+ puts "Error when calling ContentPackagesApi->create: #{e}"
51
53
  end
52
54
  ```
53
55
 
54
- ### Parameters
56
+ #### Using the create_with_http_info variant
57
+
58
+ This returns an Array which contains the response data, status code and headers.
59
+
60
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(opts)
61
+
62
+ ```ruby
63
+ begin
64
+ # Create a package
65
+ data, status_code, headers = api_instance.create_with_http_info(opts)
66
+ p status_code # => 2xx
67
+ p headers # => { ... }
68
+ p data # => <AsyncOperationResponse>
69
+ rescue PulpDebClient::ApiError => e
70
+ puts "Error when calling ContentPackagesApi->create_with_http_info: #{e}"
71
+ end
72
+ ```
55
73
 
74
+ ### Parameters
56
75
 
57
- Name | Type | Description | Notes
58
- ------------- | ------------- | ------------- | -------------
59
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
60
- **artifact** | **String**| Artifact file representing the physical content | [optional]
61
- **relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
62
- **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
63
- **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
64
- **file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
65
- **distribution** | **String**| Name of the distribution. | [optional]
66
- **component** | **String**| Name of the component. | [optional]
76
+ | Name | Type | Description | Notes |
77
+ | ---- | ---- | ----------- | ----- |
78
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
79
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
80
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
81
+ | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional] |
82
+ | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
83
+ | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
84
+ | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
85
+ | **distribution** | **String** | Name of the distribution. | [optional] |
86
+ | **component** | **String** | Name of the component. | [optional] |
67
87
 
68
88
  ### Return type
69
89
 
@@ -81,16 +101,16 @@ Name | Type | Description | Notes
81
101
 
82
102
  ## list
83
103
 
84
- > PaginateddebPackageResponseList list(opts)
104
+ > <PaginateddebPackageResponseList> list(opts)
85
105
 
86
106
  List packages
87
107
 
88
108
  A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
89
109
 
90
- ### Example
110
+ ### Examples
91
111
 
92
112
  ```ruby
93
- # load the gem
113
+ require 'time'
94
114
  require 'pulp_deb_client'
95
115
  # setup authorization
96
116
  PulpDebClient.configure do |config|
@@ -109,25 +129,26 @@ opts = {
109
129
  installed_size: 56, # Integer | Filter results where installed_size matches value
110
130
  limit: 56, # Integer | Number of results to return per page.
111
131
  maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
112
- multi_arch: 'multi_arch_example', # String | Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
132
+ multi_arch: 'allowed', # String | Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
113
133
  offset: 56, # Integer | The initial index from which to return the results.
114
- 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
134
+ ordering: ['-architecture'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
115
135
  origin: 'origin_example', # String | Filter results where origin matches value
116
136
  original_maintainer: 'original_maintainer_example', # String | Filter results where original_maintainer matches value
117
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
137
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
118
138
  package: 'package_example', # String | Filter results where package matches value
119
139
  package__contains: 'package__contains_example', # String | Filter results where package contains value
120
140
  package__icontains: 'package__icontains_example', # String | Filter results where package contains value
121
141
  package__iexact: 'package__iexact_example', # String | Filter results where package matches value
122
- package__in: ['package__in_example'], # Array<String> | Filter results where package is in a comma-separated list of values
142
+ package__in: ['inner_example'], # Array<String> | Filter results where package is in a comma-separated list of values
123
143
  package__iregex: 'package__iregex_example', # String | Filter results where package matches regex value
124
144
  package__istartswith: 'package__istartswith_example', # String | Filter results where package starts with value
125
145
  package__regex: 'package__regex_example', # String | Filter results where package matches regex value
126
146
  package__startswith: 'package__startswith_example', # String | Filter results where package starts with value
127
147
  priority: 'priority_example', # String | Filter results where priority matches value
128
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
129
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
130
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
148
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
149
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
150
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
151
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
131
152
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
132
153
  relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
133
154
  release: 'release_example', # String | Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where Package in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
@@ -140,65 +161,83 @@ opts = {
140
161
  source: 'source_example', # String | Filter results where source matches value
141
162
  tag: 'tag_example', # String | Filter results where tag matches value
142
163
  version: 'version_example', # String | Filter results where version matches value
143
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
144
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
164
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
165
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
145
166
  }
146
167
 
147
168
  begin
148
- #List packages
169
+ # List packages
149
170
  result = api_instance.list(opts)
150
171
  p result
151
172
  rescue PulpDebClient::ApiError => e
152
- puts "Exception when calling ContentPackagesApi->list: #{e}"
173
+ puts "Error when calling ContentPackagesApi->list: #{e}"
153
174
  end
154
175
  ```
155
176
 
156
- ### Parameters
177
+ #### Using the list_with_http_info variant
178
+
179
+ This returns an Array which contains the response data, status code and headers.
180
+
181
+ > <Array(<PaginateddebPackageResponseList>, Integer, Hash)> list_with_http_info(opts)
182
+
183
+ ```ruby
184
+ begin
185
+ # List packages
186
+ data, status_code, headers = api_instance.list_with_http_info(opts)
187
+ p status_code # => 2xx
188
+ p headers # => { ... }
189
+ p data # => <PaginateddebPackageResponseList>
190
+ rescue PulpDebClient::ApiError => e
191
+ puts "Error when calling ContentPackagesApi->list_with_http_info: #{e}"
192
+ end
193
+ ```
157
194
 
195
+ ### Parameters
158
196
 
159
- Name | Type | Description | Notes
160
- ------------- | ------------- | ------------- | -------------
161
- **architecture** | **String**| Filter results where architecture matches value | [optional]
162
- **auto_built_package** | **String**| Filter results where auto_built_package matches value | [optional]
163
- **build_essential** | **Boolean**| Filter results where build_essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no | [optional]
164
- **built_using** | **String**| Filter results where built_using matches value | [optional]
165
- **essential** | **Boolean**| Filter results where essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no | [optional]
166
- **installed_size** | **Integer**| Filter results where installed_size matches value | [optional]
167
- **limit** | **Integer**| Number of results to return per page. | [optional]
168
- **maintainer** | **String**| Filter results where maintainer matches value | [optional]
169
- **multi_arch** | **String**| Filter results where multi_arch matches value * &#x60;no&#x60; - no * &#x60;same&#x60; - same * &#x60;foreign&#x60; - foreign * &#x60;allowed&#x60; - allowed | [optional]
170
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
171
- **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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
172
- **origin** | **String**| Filter results where origin matches value | [optional]
173
- **original_maintainer** | **String**| Filter results where original_maintainer matches value | [optional]
174
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
175
- **package** | **String**| Filter results where package matches value | [optional]
176
- **package__contains** | **String**| Filter results where package contains value | [optional]
177
- **package__icontains** | **String**| Filter results where package contains value | [optional]
178
- **package__iexact** | **String**| Filter results where package matches value | [optional]
179
- **package__in** | [**Array&lt;String&gt;**](String.md)| Filter results where package is in a comma-separated list of values | [optional]
180
- **package__iregex** | **String**| Filter results where package matches regex value | [optional]
181
- **package__istartswith** | **String**| Filter results where package starts with value | [optional]
182
- **package__regex** | **String**| Filter results where package matches regex value | [optional]
183
- **package__startswith** | **String**| Filter results where package starts with value | [optional]
184
- **priority** | **String**| Filter results where priority matches value | [optional]
185
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
186
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
187
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
188
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
189
- **relative_path** | **String**| Filter results where relative_path matches value | [optional]
190
- **release** | **String**| Must be a comma-separated string: \&quot;release_href,repository_or_repository_version_href\&quot; release_href: Filter results where Package in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional]
191
- **release_component** | **String**| Must be a comma-separated string: \&quot;release_component_href,repository_or_repository_version_href\&quot; release_component_href: Filter results where Package in ReleaseComponent repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional]
192
- **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
193
- **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
194
- **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
195
- **section** | **String**| Filter results where section matches value | [optional]
196
- **sha256** | **String**| Filter results where sha256 matches value | [optional]
197
- **source** | **String**| Filter results where source matches value | [optional]
198
- **tag** | **String**| Filter results where tag matches value | [optional]
199
- **version** | **String**| Filter results where version matches value | [optional]
200
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
201
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
197
+ | Name | Type | Description | Notes |
198
+ | ---- | ---- | ----------- | ----- |
199
+ | **architecture** | **String** | Filter results where architecture matches value | [optional] |
200
+ | **auto_built_package** | **String** | Filter results where auto_built_package matches value | [optional] |
201
+ | **build_essential** | **Boolean** | Filter results where build_essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no | [optional] |
202
+ | **built_using** | **String** | Filter results where built_using matches value | [optional] |
203
+ | **essential** | **Boolean** | Filter results where essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no | [optional] |
204
+ | **installed_size** | **Integer** | Filter results where installed_size matches value | [optional] |
205
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
206
+ | **maintainer** | **String** | Filter results where maintainer matches value | [optional] |
207
+ | **multi_arch** | **String** | Filter results where multi_arch matches value * &#x60;no&#x60; - no * &#x60;same&#x60; - same * &#x60;foreign&#x60; - foreign * &#x60;allowed&#x60; - allowed | [optional] |
208
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
209
+ | **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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
210
+ | **origin** | **String** | Filter results where origin matches value | [optional] |
211
+ | **original_maintainer** | **String** | Filter results where original_maintainer matches value | [optional] |
212
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
213
+ | **package** | **String** | Filter results where package matches value | [optional] |
214
+ | **package__contains** | **String** | Filter results where package contains value | [optional] |
215
+ | **package__icontains** | **String** | Filter results where package contains value | [optional] |
216
+ | **package__iexact** | **String** | Filter results where package matches value | [optional] |
217
+ | **package__in** | [**Array&lt;String&gt;**](String.md) | Filter results where package is in a comma-separated list of values | [optional] |
218
+ | **package__iregex** | **String** | Filter results where package matches regex value | [optional] |
219
+ | **package__istartswith** | **String** | Filter results where package starts with value | [optional] |
220
+ | **package__regex** | **String** | Filter results where package matches regex value | [optional] |
221
+ | **package__startswith** | **String** | Filter results where package starts with value | [optional] |
222
+ | **priority** | **String** | Filter results where priority matches value | [optional] |
223
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
224
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
225
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
226
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
227
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
228
+ | **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
229
+ | **release** | **String** | Must be a comma-separated string: \&quot;release_href,repository_or_repository_version_href\&quot; release_href: Filter results where Package in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional] |
230
+ | **release_component** | **String** | Must be a comma-separated string: \&quot;release_component_href,repository_or_repository_version_href\&quot; release_component_href: Filter results where Package in ReleaseComponent repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional] |
231
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
232
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
233
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
234
+ | **section** | **String** | Filter results where section matches value | [optional] |
235
+ | **sha256** | **String** | Filter results where sha256 matches value | [optional] |
236
+ | **source** | **String** | Filter results where source matches value | [optional] |
237
+ | **tag** | **String** | Filter results where tag matches value | [optional] |
238
+ | **version** | **String** | Filter results where version matches value | [optional] |
239
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
240
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
202
241
 
203
242
  ### Return type
204
243
 
@@ -216,16 +255,16 @@ Name | Type | Description | Notes
216
255
 
217
256
  ## read
218
257
 
219
- > DebPackageResponse read(deb_package_href, opts)
258
+ > <DebPackageResponse> read(deb_package_href, opts)
220
259
 
221
260
  Inspect a package
222
261
 
223
262
  A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
224
263
 
225
- ### Example
264
+ ### Examples
226
265
 
227
266
  ```ruby
228
- # load the gem
267
+ require 'time'
229
268
  require 'pulp_deb_client'
230
269
  # setup authorization
231
270
  PulpDebClient.configure do |config|
@@ -237,27 +276,44 @@ end
237
276
  api_instance = PulpDebClient::ContentPackagesApi.new
238
277
  deb_package_href = 'deb_package_href_example' # String |
239
278
  opts = {
240
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
241
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
279
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
280
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
242
281
  }
243
282
 
244
283
  begin
245
- #Inspect a package
284
+ # Inspect a package
246
285
  result = api_instance.read(deb_package_href, opts)
247
286
  p result
248
287
  rescue PulpDebClient::ApiError => e
249
- puts "Exception when calling ContentPackagesApi->read: #{e}"
288
+ puts "Error when calling ContentPackagesApi->read: #{e}"
250
289
  end
251
290
  ```
252
291
 
253
- ### Parameters
292
+ #### Using the read_with_http_info variant
293
+
294
+ This returns an Array which contains the response data, status code and headers.
295
+
296
+ > <Array(<DebPackageResponse>, Integer, Hash)> read_with_http_info(deb_package_href, opts)
254
297
 
298
+ ```ruby
299
+ begin
300
+ # Inspect a package
301
+ data, status_code, headers = api_instance.read_with_http_info(deb_package_href, opts)
302
+ p status_code # => 2xx
303
+ p headers # => { ... }
304
+ p data # => <DebPackageResponse>
305
+ rescue PulpDebClient::ApiError => e
306
+ puts "Error when calling ContentPackagesApi->read_with_http_info: #{e}"
307
+ end
308
+ ```
309
+
310
+ ### Parameters
255
311
 
256
- Name | Type | Description | Notes
257
- ------------- | ------------- | ------------- | -------------
258
- **deb_package_href** | **String**| |
259
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
260
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
312
+ | Name | Type | Description | Notes |
313
+ | ---- | ---- | ----------- | ----- |
314
+ | **deb_package_href** | **String** | | |
315
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
316
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
261
317
 
262
318
  ### Return type
263
319
 
@@ -272,3 +328,147 @@ Name | Type | Description | Notes
272
328
  - **Content-Type**: Not defined
273
329
  - **Accept**: application/json
274
330
 
331
+
332
+ ## set_label
333
+
334
+ > <SetLabelResponse> set_label(deb_package_href, set_label)
335
+
336
+ Set a label
337
+
338
+ Set a single pulp_label on the object to a specific value or null.
339
+
340
+ ### Examples
341
+
342
+ ```ruby
343
+ require 'time'
344
+ require 'pulp_deb_client'
345
+ # setup authorization
346
+ PulpDebClient.configure do |config|
347
+ # Configure HTTP basic authorization: basicAuth
348
+ config.username = 'YOUR USERNAME'
349
+ config.password = 'YOUR PASSWORD'
350
+ end
351
+
352
+ api_instance = PulpDebClient::ContentPackagesApi.new
353
+ deb_package_href = 'deb_package_href_example' # String |
354
+ set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
355
+
356
+ begin
357
+ # Set a label
358
+ result = api_instance.set_label(deb_package_href, set_label)
359
+ p result
360
+ rescue PulpDebClient::ApiError => e
361
+ puts "Error when calling ContentPackagesApi->set_label: #{e}"
362
+ end
363
+ ```
364
+
365
+ #### Using the set_label_with_http_info variant
366
+
367
+ This returns an Array which contains the response data, status code and headers.
368
+
369
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_package_href, set_label)
370
+
371
+ ```ruby
372
+ begin
373
+ # Set a label
374
+ data, status_code, headers = api_instance.set_label_with_http_info(deb_package_href, set_label)
375
+ p status_code # => 2xx
376
+ p headers # => { ... }
377
+ p data # => <SetLabelResponse>
378
+ rescue PulpDebClient::ApiError => e
379
+ puts "Error when calling ContentPackagesApi->set_label_with_http_info: #{e}"
380
+ end
381
+ ```
382
+
383
+ ### Parameters
384
+
385
+ | Name | Type | Description | Notes |
386
+ | ---- | ---- | ----------- | ----- |
387
+ | **deb_package_href** | **String** | | |
388
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
389
+
390
+ ### Return type
391
+
392
+ [**SetLabelResponse**](SetLabelResponse.md)
393
+
394
+ ### Authorization
395
+
396
+ [basicAuth](../README.md#basicAuth)
397
+
398
+ ### HTTP request headers
399
+
400
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
401
+ - **Accept**: application/json
402
+
403
+
404
+ ## unset_label
405
+
406
+ > <UnsetLabelResponse> unset_label(deb_package_href, unset_label)
407
+
408
+ Unset a label
409
+
410
+ Unset a single pulp_label on the object.
411
+
412
+ ### Examples
413
+
414
+ ```ruby
415
+ require 'time'
416
+ require 'pulp_deb_client'
417
+ # setup authorization
418
+ PulpDebClient.configure do |config|
419
+ # Configure HTTP basic authorization: basicAuth
420
+ config.username = 'YOUR USERNAME'
421
+ config.password = 'YOUR PASSWORD'
422
+ end
423
+
424
+ api_instance = PulpDebClient::ContentPackagesApi.new
425
+ deb_package_href = 'deb_package_href_example' # String |
426
+ unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
427
+
428
+ begin
429
+ # Unset a label
430
+ result = api_instance.unset_label(deb_package_href, unset_label)
431
+ p result
432
+ rescue PulpDebClient::ApiError => e
433
+ puts "Error when calling ContentPackagesApi->unset_label: #{e}"
434
+ end
435
+ ```
436
+
437
+ #### Using the unset_label_with_http_info variant
438
+
439
+ This returns an Array which contains the response data, status code and headers.
440
+
441
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_package_href, unset_label)
442
+
443
+ ```ruby
444
+ begin
445
+ # Unset a label
446
+ data, status_code, headers = api_instance.unset_label_with_http_info(deb_package_href, unset_label)
447
+ p status_code # => 2xx
448
+ p headers # => { ... }
449
+ p data # => <UnsetLabelResponse>
450
+ rescue PulpDebClient::ApiError => e
451
+ puts "Error when calling ContentPackagesApi->unset_label_with_http_info: #{e}"
452
+ end
453
+ ```
454
+
455
+ ### Parameters
456
+
457
+ | Name | Type | Description | Notes |
458
+ | ---- | ---- | ----------- | ----- |
459
+ | **deb_package_href** | **String** | | |
460
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
461
+
462
+ ### Return type
463
+
464
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
465
+
466
+ ### Authorization
467
+
468
+ [basicAuth](../README.md#basicAuth)
469
+
470
+ ### HTTP request headers
471
+
472
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
473
+ - **Accept**: application/json
474
+