pulp_deb_client 3.5.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -9
  3. data/docs/AptRepositorySyncURL.md +12 -11
  4. data/docs/AsyncOperationResponse.md +8 -7
  5. data/docs/ContentGenericContentsApi.md +114 -64
  6. data/docs/ContentInstallerFileIndicesApi.md +111 -61
  7. data/docs/ContentInstallerPackagesApi.md +130 -80
  8. data/docs/ContentPackageIndicesApi.md +111 -61
  9. data/docs/ContentPackageReleaseComponentsApi.md +111 -61
  10. data/docs/ContentPackagesApi.md +144 -94
  11. data/docs/ContentReleaseArchitecturesApi.md +109 -59
  12. data/docs/ContentReleaseComponentsApi.md +110 -60
  13. data/docs/ContentReleaseFilesApi.md +111 -61
  14. data/docs/ContentReleasesApi.md +114 -64
  15. data/docs/ContentSourceIndicesApi.md +110 -60
  16. data/docs/ContentSourcePackagesApi.md +137 -87
  17. data/docs/ContentSourceReleaseComponentsApi.md +111 -61
  18. data/docs/ContentSummaryResponse.md +12 -11
  19. data/docs/Copy.md +12 -11
  20. data/docs/DebAptDistribution.md +20 -19
  21. data/docs/DebAptDistributionResponse.md +32 -31
  22. data/docs/DebAptPublication.md +18 -17
  23. data/docs/DebAptPublicationResponse.md +26 -25
  24. data/docs/DebAptRemote.md +64 -63
  25. data/docs/DebAptRemoteResponse.md +64 -63
  26. data/docs/DebAptRemoteResponseHiddenFieldsInner.md +20 -0
  27. data/docs/DebAptRepository.md +22 -21
  28. data/docs/DebAptRepositoryResponse.md +34 -33
  29. data/docs/DebCopyApi.md +30 -14
  30. data/docs/DebGenericContentResponse.md +30 -29
  31. data/docs/DebInstallerFileIndex.md +16 -15
  32. data/docs/DebInstallerFileIndexResponse.md +22 -21
  33. data/docs/DebInstallerPackageResponse.md +88 -87
  34. data/docs/DebPackageIndex.md +16 -15
  35. data/docs/DebPackageIndexResponse.md +22 -21
  36. data/docs/DebPackageReleaseComponent.md +12 -11
  37. data/docs/DebPackageReleaseComponentResponse.md +18 -17
  38. data/docs/DebPackageResponse.md +92 -91
  39. data/docs/DebRelease.md +26 -25
  40. data/docs/DebReleaseArchitecture.md +12 -11
  41. data/docs/DebReleaseArchitectureResponse.md +18 -17
  42. data/docs/DebReleaseComponent.md +12 -11
  43. data/docs/DebReleaseComponentResponse.md +20 -19
  44. data/docs/DebReleaseFile.md +18 -17
  45. data/docs/DebReleaseFileResponse.md +24 -23
  46. data/docs/DebReleaseResponse.md +32 -31
  47. data/docs/DebSourceIndex.md +16 -15
  48. data/docs/DebSourceIndexResponse.md +22 -21
  49. data/docs/DebSourcePackage.md +12 -11
  50. data/docs/DebSourcePackageReleaseComponent.md +12 -11
  51. data/docs/DebSourcePackageReleaseComponentResponse.md +18 -17
  52. data/docs/DebSourcePackageResponse.md +74 -73
  53. data/docs/DebVerbatimPublication.md +10 -9
  54. data/docs/DebVerbatimPublicationResponse.md +18 -17
  55. data/docs/DistributionsAptApi.md +385 -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 +267 -130
  84. data/docs/PublicationsVerbatimApi.md +267 -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 +20 -14
  96. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +20 -14
  97. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +20 -22
  98. data/lib/pulp_deb_client/api/content_package_indices_api.rb +20 -14
  99. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +20 -14
  100. data/lib/pulp_deb_client/api/content_packages_api.rb +20 -22
  101. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +20 -14
  102. data/lib/pulp_deb_client/api/content_release_components_api.rb +20 -14
  103. data/lib/pulp_deb_client/api/content_release_files_api.rb +20 -14
  104. data/lib/pulp_deb_client/api/content_releases_api.rb +20 -14
  105. data/lib/pulp_deb_client/api/content_source_indices_api.rb +20 -14
  106. data/lib/pulp_deb_client/api/content_source_packages_api.rb +20 -14
  107. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +20 -14
  108. data/lib/pulp_deb_client/api/deb_copy_api.rb +10 -6
  109. data/lib/pulp_deb_client/api/distributions_apt_api.rb +89 -56
  110. data/lib/pulp_deb_client/api/publications_apt_api.rb +67 -47
  111. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +67 -47
  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 +34 -24
  132. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +41 -23
  133. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +38 -24
  134. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +32 -24
  135. data/lib/pulp_deb_client/models/deb_package_index.rb +47 -25
  136. data/lib/pulp_deb_client/models/deb_package_index_response.rb +34 -24
  137. data/lib/pulp_deb_client/models/deb_package_release_component.rb +34 -22
  138. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +36 -24
  139. data/lib/pulp_deb_client/models/deb_package_response.rb +32 -24
  140. data/lib/pulp_deb_client/models/deb_release.rb +36 -22
  141. data/lib/pulp_deb_client/models/deb_release_architecture.rb +34 -22
  142. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +36 -24
  143. data/lib/pulp_deb_client/models/deb_release_component.rb +34 -22
  144. data/lib/pulp_deb_client/models/deb_release_component_response.rb +36 -24
  145. data/lib/pulp_deb_client/models/deb_release_file.rb +49 -25
  146. data/lib/pulp_deb_client/models/deb_release_file_response.rb +36 -24
  147. data/lib/pulp_deb_client/models/deb_release_response.rb +38 -24
  148. data/lib/pulp_deb_client/models/deb_source_index.rb +41 -23
  149. data/lib/pulp_deb_client/models/deb_source_index_response.rb +38 -24
  150. data/lib/pulp_deb_client/models/deb_source_package.rb +37 -23
  151. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +34 -22
  152. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +36 -24
  153. data/lib/pulp_deb_client/models/deb_source_package_response.rb +34 -24
  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 +32 -22
  189. data/lib/pulp_deb_client/models/unset_label_response.rb +32 -22
  190. data/lib/pulp_deb_client/version.rb +2 -2
  191. data/lib/pulp_deb_client.rb +2 -5
  192. data/pulp_deb_client.gemspec +9 -6
  193. data/spec/api/content_generic_contents_api_spec.rb +4 -4
  194. data/spec/api/content_installer_file_indices_api_spec.rb +4 -4
  195. data/spec/api/content_installer_packages_api_spec.rb +4 -4
  196. data/spec/api/content_package_indices_api_spec.rb +4 -4
  197. data/spec/api/content_package_release_components_api_spec.rb +4 -4
  198. data/spec/api/content_packages_api_spec.rb +4 -4
  199. data/spec/api/content_release_architectures_api_spec.rb +4 -4
  200. data/spec/api/content_release_components_api_spec.rb +4 -4
  201. data/spec/api/content_release_files_api_spec.rb +4 -4
  202. data/spec/api/content_releases_api_spec.rb +4 -4
  203. data/spec/api/content_source_indices_api_spec.rb +4 -4
  204. data/spec/api/content_source_packages_api_spec.rb +4 -4
  205. data/spec/api/content_source_release_components_api_spec.rb +4 -4
  206. data/spec/api/deb_copy_api_spec.rb +2 -2
  207. data/spec/api/distributions_apt_api_spec.rb +13 -13
  208. data/spec/api/publications_apt_api_spec.rb +16 -15
  209. data/spec/api/publications_verbatim_api_spec.rb +16 -15
  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 +18 -23
  227. data/spec/models/deb_installer_file_index_response_spec.rb +14 -19
  228. data/spec/models/deb_installer_file_index_spec.rb +11 -16
  229. data/spec/models/deb_installer_package_response_spec.rb +47 -52
  230. data/spec/models/deb_package_index_response_spec.rb +14 -19
  231. data/spec/models/deb_package_index_spec.rb +11 -16
  232. data/spec/models/deb_package_release_component_response_spec.rb +12 -17
  233. data/spec/models/deb_package_release_component_spec.rb +9 -14
  234. data/spec/models/deb_package_response_spec.rb +49 -54
  235. data/spec/models/deb_release_architecture_response_spec.rb +12 -17
  236. data/spec/models/deb_release_architecture_spec.rb +9 -14
  237. data/spec/models/deb_release_component_response_spec.rb +13 -18
  238. data/spec/models/deb_release_component_spec.rb +9 -14
  239. data/spec/models/deb_release_file_response_spec.rb +15 -20
  240. data/spec/models/deb_release_file_spec.rb +12 -17
  241. data/spec/models/deb_release_response_spec.rb +19 -24
  242. data/spec/models/deb_release_spec.rb +16 -21
  243. data/spec/models/deb_source_index_response_spec.rb +14 -19
  244. data/spec/models/deb_source_index_spec.rb +11 -16
  245. data/spec/models/deb_source_package_release_component_response_spec.rb +12 -17
  246. data/spec/models/deb_source_package_release_component_spec.rb +9 -14
  247. data/spec/models/deb_source_package_response_spec.rb +40 -45
  248. data/spec/models/deb_source_package_spec.rb +9 -14
  249. data/spec/models/deb_verbatim_publication_response_spec.rb +12 -17
  250. data/spec/models/deb_verbatim_publication_spec.rb +8 -13
  251. data/spec/models/my_permissions_response_spec.rb +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 +115 -103
  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,25 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](ContentReleaseFilesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_files/ | Create a release file
8
- [**list**](ContentReleaseFilesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_files/ | List release files
9
- [**read**](ContentReleaseFilesApi.md#read) | **GET** {deb_release_file_href} | Inspect a release file
10
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](ContentReleaseFilesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_files/ | Create a release file |
8
+ | [**list**](ContentReleaseFilesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_files/ | List release files |
9
+ | [**read**](ContentReleaseFilesApi.md#read) | **GET** {deb_release_file_href} | Inspect a release file |
11
10
 
12
11
 
13
12
  ## create
14
13
 
15
- > DebReleaseFileResponse create(deb_release_file)
14
+ > <DebReleaseFileResponse> create(deb_release_file)
16
15
 
17
16
  Create a release file
18
17
 
19
18
  A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
20
19
 
21
- ### Example
20
+ ### Examples
22
21
 
23
22
  ```ruby
24
- # load the gem
23
+ require 'time'
25
24
  require 'pulp_deb_client'
26
25
  # setup authorization
27
26
  PulpDebClient.configure do |config|
@@ -31,23 +30,40 @@ PulpDebClient.configure do |config|
31
30
  end
32
31
 
33
32
  api_instance = PulpDebClient::ContentReleaseFilesApi.new
34
- deb_release_file = PulpDebClient::DebReleaseFile.new # DebReleaseFile |
33
+ deb_release_file = PulpDebClient::DebReleaseFile.new({artifacts: 3.56, distribution: 'distribution_example'}) # DebReleaseFile |
35
34
 
36
35
  begin
37
- #Create a release file
36
+ # Create a release file
38
37
  result = api_instance.create(deb_release_file)
39
38
  p result
40
39
  rescue PulpDebClient::ApiError => e
41
- puts "Exception when calling ContentReleaseFilesApi->create: #{e}"
40
+ puts "Error when calling ContentReleaseFilesApi->create: #{e}"
42
41
  end
43
42
  ```
44
43
 
45
- ### Parameters
44
+ #### Using the create_with_http_info variant
45
+
46
+ This returns an Array which contains the response data, status code and headers.
47
+
48
+ > <Array(<DebReleaseFileResponse>, Integer, Hash)> create_with_http_info(deb_release_file)
49
+
50
+ ```ruby
51
+ begin
52
+ # Create a release file
53
+ data, status_code, headers = api_instance.create_with_http_info(deb_release_file)
54
+ p status_code # => 2xx
55
+ p headers # => { ... }
56
+ p data # => <DebReleaseFileResponse>
57
+ rescue PulpDebClient::ApiError => e
58
+ puts "Error when calling ContentReleaseFilesApi->create_with_http_info: #{e}"
59
+ end
60
+ ```
46
61
 
62
+ ### Parameters
47
63
 
48
- Name | Type | Description | Notes
49
- ------------- | ------------- | ------------- | -------------
50
- **deb_release_file** | [**DebReleaseFile**](DebReleaseFile.md)| |
64
+ | Name | Type | Description | Notes |
65
+ | ---- | ---- | ----------- | ----- |
66
+ | **deb_release_file** | [**DebReleaseFile**](DebReleaseFile.md) | | |
51
67
 
52
68
  ### Return type
53
69
 
@@ -65,16 +81,16 @@ Name | Type | Description | Notes
65
81
 
66
82
  ## list
67
83
 
68
- > PaginateddebReleaseFileResponseList list(opts)
84
+ > <PaginateddebReleaseFileResponseList> list(opts)
69
85
 
70
86
  List release files
71
87
 
72
88
  A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
73
89
 
74
- ### Example
90
+ ### Examples
75
91
 
76
92
  ```ruby
77
- # load the gem
93
+ require 'time'
78
94
  require 'pulp_deb_client'
79
95
  # setup authorization
80
96
  PulpDebClient.configure do |config|
@@ -88,11 +104,11 @@ opts = {
88
104
  codename: 'codename_example', # String | Filter results where codename matches value
89
105
  limit: 56, # Integer | Number of results to return per page.
90
106
  offset: 56, # Integer | The initial index from which to return the results.
91
- 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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `components` - Components * `-components` - Components (descending) * `architectures` - Architectures * `-architectures` - Architectures (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
92
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
93
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
94
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
95
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
107
+ ordering: ['-architectures'], # 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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `components` - Components * `-components` - Components (descending) * `architectures` - Architectures * `-architectures` - Architectures (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `artifact_set_sha256` - Artifact set sha256 * `-artifact_set_sha256` - Artifact set sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
108
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
109
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
110
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
111
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
96
112
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
97
113
  relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
98
114
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
@@ -100,41 +116,58 @@ opts = {
100
116
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
101
117
  sha256: 'sha256_example', # String | Filter results where sha256 matches value
102
118
  suite: 'suite_example', # String | Filter results where suite matches value
103
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
104
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
119
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
120
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
105
121
  }
106
122
 
107
123
  begin
108
- #List release files
124
+ # List release files
109
125
  result = api_instance.list(opts)
110
126
  p result
111
127
  rescue PulpDebClient::ApiError => e
112
- puts "Exception when calling ContentReleaseFilesApi->list: #{e}"
128
+ puts "Error when calling ContentReleaseFilesApi->list: #{e}"
113
129
  end
114
130
  ```
115
131
 
116
- ### Parameters
132
+ #### Using the list_with_http_info variant
117
133
 
134
+ This returns an Array which contains the response data, status code and headers.
118
135
 
119
- Name | Type | Description | Notes
120
- ------------- | ------------- | ------------- | -------------
121
- **codename** | **String**| Filter results where codename matches value | [optional]
122
- **limit** | **Integer**| Number of results to return per page. | [optional]
123
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
124
- **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;codename&#x60; - Codename * &#x60;-codename&#x60; - Codename (descending) * &#x60;suite&#x60; - Suite * &#x60;-suite&#x60; - Suite (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;components&#x60; - Components * &#x60;-components&#x60; - Components (descending) * &#x60;architectures&#x60; - Architectures * &#x60;-architectures&#x60; - Architectures (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;artifact_set_sha256&#x60; - Artifact set sha256 * &#x60;-artifact_set_sha256&#x60; - Artifact set sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
125
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
126
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
127
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
128
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
129
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
130
- **relative_path** | **String**| Filter results where relative_path matches value | [optional]
131
- **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
132
- **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
133
- **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
134
- **sha256** | **String**| Filter results where sha256 matches value | [optional]
135
- **suite** | **String**| Filter results where suite matches value | [optional]
136
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
137
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
136
+ > <Array(<PaginateddebReleaseFileResponseList>, Integer, Hash)> list_with_http_info(opts)
137
+
138
+ ```ruby
139
+ begin
140
+ # List release files
141
+ data, status_code, headers = api_instance.list_with_http_info(opts)
142
+ p status_code # => 2xx
143
+ p headers # => { ... }
144
+ p data # => <PaginateddebReleaseFileResponseList>
145
+ rescue PulpDebClient::ApiError => e
146
+ puts "Error when calling ContentReleaseFilesApi->list_with_http_info: #{e}"
147
+ end
148
+ ```
149
+
150
+ ### Parameters
151
+
152
+ | Name | Type | Description | Notes |
153
+ | ---- | ---- | ----------- | ----- |
154
+ | **codename** | **String** | Filter results where codename matches value | [optional] |
155
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
156
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
157
+ | **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;codename&#x60; - Codename * &#x60;-codename&#x60; - Codename (descending) * &#x60;suite&#x60; - Suite * &#x60;-suite&#x60; - Suite (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;components&#x60; - Components * &#x60;-components&#x60; - Components (descending) * &#x60;architectures&#x60; - Architectures * &#x60;-architectures&#x60; - Architectures (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;artifact_set_sha256&#x60; - Artifact set sha256 * &#x60;-artifact_set_sha256&#x60; - Artifact set sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
158
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
159
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
160
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
161
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
162
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
163
+ | **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
164
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
165
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
166
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
167
+ | **sha256** | **String** | Filter results where sha256 matches value | [optional] |
168
+ | **suite** | **String** | Filter results where suite matches value | [optional] |
169
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
170
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
138
171
 
139
172
  ### Return type
140
173
 
@@ -152,16 +185,16 @@ Name | Type | Description | Notes
152
185
 
153
186
  ## read
154
187
 
155
- > DebReleaseFileResponse read(deb_release_file_href, opts)
188
+ > <DebReleaseFileResponse> read(deb_release_file_href, opts)
156
189
 
157
190
  Inspect a release file
158
191
 
159
192
  A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
160
193
 
161
- ### Example
194
+ ### Examples
162
195
 
163
196
  ```ruby
164
- # load the gem
197
+ require 'time'
165
198
  require 'pulp_deb_client'
166
199
  # setup authorization
167
200
  PulpDebClient.configure do |config|
@@ -173,27 +206,44 @@ end
173
206
  api_instance = PulpDebClient::ContentReleaseFilesApi.new
174
207
  deb_release_file_href = 'deb_release_file_href_example' # String |
175
208
  opts = {
176
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
177
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
209
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
210
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
178
211
  }
179
212
 
180
213
  begin
181
- #Inspect a release file
214
+ # Inspect a release file
182
215
  result = api_instance.read(deb_release_file_href, opts)
183
216
  p result
184
217
  rescue PulpDebClient::ApiError => e
185
- puts "Exception when calling ContentReleaseFilesApi->read: #{e}"
218
+ puts "Error when calling ContentReleaseFilesApi->read: #{e}"
186
219
  end
187
220
  ```
188
221
 
189
- ### Parameters
222
+ #### Using the read_with_http_info variant
223
+
224
+ This returns an Array which contains the response data, status code and headers.
225
+
226
+ > <Array(<DebReleaseFileResponse>, Integer, Hash)> read_with_http_info(deb_release_file_href, opts)
190
227
 
228
+ ```ruby
229
+ begin
230
+ # Inspect a release file
231
+ data, status_code, headers = api_instance.read_with_http_info(deb_release_file_href, opts)
232
+ p status_code # => 2xx
233
+ p headers # => { ... }
234
+ p data # => <DebReleaseFileResponse>
235
+ rescue PulpDebClient::ApiError => e
236
+ puts "Error when calling ContentReleaseFilesApi->read_with_http_info: #{e}"
237
+ end
238
+ ```
239
+
240
+ ### Parameters
191
241
 
192
- Name | Type | Description | Notes
193
- ------------- | ------------- | ------------- | -------------
194
- **deb_release_file_href** | **String**| |
195
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
196
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
242
+ | Name | Type | Description | Notes |
243
+ | ---- | ---- | ----------- | ----- |
244
+ | **deb_release_file_href** | **String** | | |
245
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
246
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
197
247
 
198
248
  ### Return type
199
249
 
@@ -2,26 +2,25 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](ContentReleasesApi.md#create) | **POST** /pulp/api/v3/content/deb/releases/ | Create a release
8
- [**list**](ContentReleasesApi.md#list) | **GET** /pulp/api/v3/content/deb/releases/ | List releases
9
- [**read**](ContentReleasesApi.md#read) | **GET** {deb_release_href} | Inspect a release
10
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](ContentReleasesApi.md#create) | **POST** /pulp/api/v3/content/deb/releases/ | Create a release |
8
+ | [**list**](ContentReleasesApi.md#list) | **GET** /pulp/api/v3/content/deb/releases/ | List releases |
9
+ | [**read**](ContentReleasesApi.md#read) | **GET** {deb_release_href} | Inspect a release |
11
10
 
12
11
 
13
12
  ## create
14
13
 
15
- > AsyncOperationResponse create(deb_release)
14
+ > <AsyncOperationResponse> create(deb_release)
16
15
 
17
16
  Create a release
18
17
 
19
18
  Trigger an asynchronous task to create content,optionally create new repository version.
20
19
 
21
- ### Example
20
+ ### Examples
22
21
 
23
22
  ```ruby
24
- # load the gem
23
+ require 'time'
25
24
  require 'pulp_deb_client'
26
25
  # setup authorization
27
26
  PulpDebClient.configure do |config|
@@ -31,23 +30,40 @@ PulpDebClient.configure do |config|
31
30
  end
32
31
 
33
32
  api_instance = PulpDebClient::ContentReleasesApi.new
34
- deb_release = PulpDebClient::DebRelease.new # DebRelease |
33
+ deb_release = PulpDebClient::DebRelease.new({codename: 'codename_example', suite: 'suite_example', distribution: 'distribution_example'}) # DebRelease |
35
34
 
36
35
  begin
37
- #Create a release
36
+ # Create a release
38
37
  result = api_instance.create(deb_release)
39
38
  p result
40
39
  rescue PulpDebClient::ApiError => e
41
- puts "Exception when calling ContentReleasesApi->create: #{e}"
40
+ puts "Error when calling ContentReleasesApi->create: #{e}"
42
41
  end
43
42
  ```
44
43
 
45
- ### Parameters
44
+ #### Using the create_with_http_info variant
45
+
46
+ This returns an Array which contains the response data, status code and headers.
47
+
48
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release)
49
+
50
+ ```ruby
51
+ begin
52
+ # Create a release
53
+ data, status_code, headers = api_instance.create_with_http_info(deb_release)
54
+ p status_code # => 2xx
55
+ p headers # => { ... }
56
+ p data # => <AsyncOperationResponse>
57
+ rescue PulpDebClient::ApiError => e
58
+ puts "Error when calling ContentReleasesApi->create_with_http_info: #{e}"
59
+ end
60
+ ```
46
61
 
62
+ ### Parameters
47
63
 
48
- Name | Type | Description | Notes
49
- ------------- | ------------- | ------------- | -------------
50
- **deb_release** | [**DebRelease**](DebRelease.md)| |
64
+ | Name | Type | Description | Notes |
65
+ | ---- | ---- | ----------- | ----- |
66
+ | **deb_release** | [**DebRelease**](DebRelease.md) | | |
51
67
 
52
68
  ### Return type
53
69
 
@@ -65,16 +81,16 @@ Name | Type | Description | Notes
65
81
 
66
82
  ## list
67
83
 
68
- > PaginateddebReleaseResponseList list(opts)
84
+ > <PaginateddebReleaseResponseList> list(opts)
69
85
 
70
86
  List releases
71
87
 
72
88
  The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \"distribution\" is defined as the path between 'dists/' and some 'Release' file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \"codename\" or the \"suite\".
73
89
 
74
- ### Example
90
+ ### Examples
75
91
 
76
92
  ```ruby
77
- # load the gem
93
+ require 'time'
78
94
  require 'pulp_deb_client'
79
95
  # setup authorization
80
96
  PulpDebClient.configure do |config|
@@ -90,57 +106,74 @@ opts = {
90
106
  label: 'label_example', # String | Filter results where label matches value
91
107
  limit: 56, # Integer | Number of results to return per page.
92
108
  offset: 56, # Integer | The initial index from which to return the results.
93
- 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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `version` - Version * `-version` - Version (descending) * `origin` - Origin * `-origin` - Origin (descending) * `label` - Label * `-label` - Label (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
109
+ ordering: ['-codename'], # 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) * `codename` - Codename * `-codename` - Codename (descending) * `suite` - Suite * `-suite` - Suite (descending) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `version` - Version * `-version` - Version (descending) * `origin` - Origin * `-origin` - Origin (descending) * `label` - Label * `-label` - Label (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
94
110
  origin: 'origin_example', # String | Filter results where origin matches value
95
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
111
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
96
112
  package: 'package_example', # String | Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where Release contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
97
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
98
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
99
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
113
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
114
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
115
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
100
116
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
101
117
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
102
118
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
103
119
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
104
120
  suite: 'suite_example', # String | Filter results where suite matches value
105
121
  version: 'version_example', # String | Filter results where version matches value
106
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
107
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
122
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
123
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
108
124
  }
109
125
 
110
126
  begin
111
- #List releases
127
+ # List releases
112
128
  result = api_instance.list(opts)
113
129
  p result
114
130
  rescue PulpDebClient::ApiError => e
115
- puts "Exception when calling ContentReleasesApi->list: #{e}"
131
+ puts "Error when calling ContentReleasesApi->list: #{e}"
116
132
  end
117
133
  ```
118
134
 
119
- ### Parameters
135
+ #### Using the list_with_http_info variant
120
136
 
137
+ This returns an Array which contains the response data, status code and headers.
121
138
 
122
- Name | Type | Description | Notes
123
- ------------- | ------------- | ------------- | -------------
124
- **codename** | **String**| Filter results where codename matches value | [optional]
125
- **distribution** | **String**| Filter results where distribution matches value | [optional]
126
- **label** | **String**| Filter results where label matches value | [optional]
127
- **limit** | **Integer**| Number of results to return per page. | [optional]
128
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
129
- **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;codename&#x60; - Codename * &#x60;-codename&#x60; - Codename (descending) * &#x60;suite&#x60; - Suite * &#x60;-suite&#x60; - Suite (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;label&#x60; - Label * &#x60;-label&#x60; - Label (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
130
- **origin** | **String**| Filter results where origin matches value | [optional]
131
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
132
- **package** | **String**| Must be a comma-separated string: \&quot;package_href,repository_or_repository_version_href\&quot; package_href: Filter results where Release contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional]
133
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
134
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
135
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
136
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
137
- **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
138
- **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
139
- **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
140
- **suite** | **String**| Filter results where suite matches value | [optional]
141
- **version** | **String**| Filter results where version matches value | [optional]
142
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
143
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
139
+ > <Array(<PaginateddebReleaseResponseList>, Integer, Hash)> list_with_http_info(opts)
140
+
141
+ ```ruby
142
+ begin
143
+ # List releases
144
+ data, status_code, headers = api_instance.list_with_http_info(opts)
145
+ p status_code # => 2xx
146
+ p headers # => { ... }
147
+ p data # => <PaginateddebReleaseResponseList>
148
+ rescue PulpDebClient::ApiError => e
149
+ puts "Error when calling ContentReleasesApi->list_with_http_info: #{e}"
150
+ end
151
+ ```
152
+
153
+ ### Parameters
154
+
155
+ | Name | Type | Description | Notes |
156
+ | ---- | ---- | ----------- | ----- |
157
+ | **codename** | **String** | Filter results where codename matches value | [optional] |
158
+ | **distribution** | **String** | Filter results where distribution matches value | [optional] |
159
+ | **label** | **String** | Filter results where label matches value | [optional] |
160
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
161
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
162
+ | **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;codename&#x60; - Codename * &#x60;-codename&#x60; - Codename (descending) * &#x60;suite&#x60; - Suite * &#x60;-suite&#x60; - Suite (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;label&#x60; - Label * &#x60;-label&#x60; - Label (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
163
+ | **origin** | **String** | Filter results where origin matches value | [optional] |
164
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
165
+ | **package** | **String** | Must be a comma-separated string: \&quot;package_href,repository_or_repository_version_href\&quot; package_href: Filter results where Release contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional] |
166
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
167
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
168
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
169
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
170
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
171
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
172
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
173
+ | **suite** | **String** | Filter results where suite matches value | [optional] |
174
+ | **version** | **String** | Filter results where version matches value | [optional] |
175
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
176
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
144
177
 
145
178
  ### Return type
146
179
 
@@ -158,16 +191,16 @@ Name | Type | Description | Notes
158
191
 
159
192
  ## read
160
193
 
161
- > DebReleaseResponse read(deb_release_href, opts)
194
+ > <DebReleaseResponse> read(deb_release_href, opts)
162
195
 
163
196
  Inspect a release
164
197
 
165
198
  The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \"distribution\" is defined as the path between 'dists/' and some 'Release' file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \"codename\" or the \"suite\".
166
199
 
167
- ### Example
200
+ ### Examples
168
201
 
169
202
  ```ruby
170
- # load the gem
203
+ require 'time'
171
204
  require 'pulp_deb_client'
172
205
  # setup authorization
173
206
  PulpDebClient.configure do |config|
@@ -179,27 +212,44 @@ end
179
212
  api_instance = PulpDebClient::ContentReleasesApi.new
180
213
  deb_release_href = 'deb_release_href_example' # String |
181
214
  opts = {
182
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
183
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
215
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
216
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
184
217
  }
185
218
 
186
219
  begin
187
- #Inspect a release
220
+ # Inspect a release
188
221
  result = api_instance.read(deb_release_href, opts)
189
222
  p result
190
223
  rescue PulpDebClient::ApiError => e
191
- puts "Exception when calling ContentReleasesApi->read: #{e}"
224
+ puts "Error when calling ContentReleasesApi->read: #{e}"
192
225
  end
193
226
  ```
194
227
 
195
- ### Parameters
228
+ #### Using the read_with_http_info variant
229
+
230
+ This returns an Array which contains the response data, status code and headers.
231
+
232
+ > <Array(<DebReleaseResponse>, Integer, Hash)> read_with_http_info(deb_release_href, opts)
196
233
 
234
+ ```ruby
235
+ begin
236
+ # Inspect a release
237
+ data, status_code, headers = api_instance.read_with_http_info(deb_release_href, opts)
238
+ p status_code # => 2xx
239
+ p headers # => { ... }
240
+ p data # => <DebReleaseResponse>
241
+ rescue PulpDebClient::ApiError => e
242
+ puts "Error when calling ContentReleasesApi->read_with_http_info: #{e}"
243
+ end
244
+ ```
245
+
246
+ ### Parameters
197
247
 
198
- Name | Type | Description | Notes
199
- ------------- | ------------- | ------------- | -------------
200
- **deb_release_href** | **String**| |
201
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
202
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
248
+ | Name | Type | Description | Notes |
249
+ | ---- | ---- | ----------- | ----- |
250
+ | **deb_release_href** | **String** | | |
251
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
252
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
203
253
 
204
254
  ### Return type
205
255