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**](ContentSourceIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_indices/ | Create a source index
8
- [**list**](ContentSourceIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_indices/ | List SourceIndices
9
- [**read**](ContentSourceIndicesApi.md#read) | **GET** {deb_source_index_href} | Inspect a source index
10
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](ContentSourceIndicesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_indices/ | Create a source index |
8
+ | [**list**](ContentSourceIndicesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_indices/ | List SourceIndices |
9
+ | [**read**](ContentSourceIndicesApi.md#read) | **GET** {deb_source_index_href} | Inspect a source index |
10
+ | [**set_label**](ContentSourceIndicesApi.md#set_label) | **POST** {deb_source_index_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentSourceIndicesApi.md#unset_label) | **POST** {deb_source_index_href}unset_label/ | Unset a label |
11
12
 
12
13
 
13
14
  ## create
14
15
 
15
- > DebSourceIndexResponse create(deb_source_index)
16
+ > <DebSourceIndexResponse> create(deb_source_index)
16
17
 
17
18
  Create a source index
18
19
 
19
20
  A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
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|
@@ -31,23 +32,40 @@ PulpDebClient.configure do |config|
31
32
  end
32
33
 
33
34
  api_instance = PulpDebClient::ContentSourceIndicesApi.new
34
- deb_source_index = PulpDebClient::DebSourceIndex.new # DebSourceIndex |
35
+ deb_source_index = PulpDebClient::DebSourceIndex.new({artifacts: 3.56, release: 'release_example', component: 'component_example'}) # DebSourceIndex |
35
36
 
36
37
  begin
37
- #Create a source index
38
+ # Create a source index
38
39
  result = api_instance.create(deb_source_index)
39
40
  p result
40
41
  rescue PulpDebClient::ApiError => e
41
- puts "Exception when calling ContentSourceIndicesApi->create: #{e}"
42
+ puts "Error when calling ContentSourceIndicesApi->create: #{e}"
42
43
  end
43
44
  ```
44
45
 
45
- ### Parameters
46
+ #### Using the create_with_http_info variant
47
+
48
+ This returns an Array which contains the response data, status code and headers.
49
+
50
+ > <Array(<DebSourceIndexResponse>, Integer, Hash)> create_with_http_info(deb_source_index)
51
+
52
+ ```ruby
53
+ begin
54
+ # Create a source index
55
+ data, status_code, headers = api_instance.create_with_http_info(deb_source_index)
56
+ p status_code # => 2xx
57
+ p headers # => { ... }
58
+ p data # => <DebSourceIndexResponse>
59
+ rescue PulpDebClient::ApiError => e
60
+ puts "Error when calling ContentSourceIndicesApi->create_with_http_info: #{e}"
61
+ end
62
+ ```
46
63
 
64
+ ### Parameters
47
65
 
48
- Name | Type | Description | Notes
49
- ------------- | ------------- | ------------- | -------------
50
- **deb_source_index** | [**DebSourceIndex**](DebSourceIndex.md)| |
66
+ | Name | Type | Description | Notes |
67
+ | ---- | ---- | ----------- | ----- |
68
+ | **deb_source_index** | [**DebSourceIndex**](DebSourceIndex.md) | | |
51
69
 
52
70
  ### Return type
53
71
 
@@ -65,16 +83,16 @@ Name | Type | Description | Notes
65
83
 
66
84
  ## list
67
85
 
68
- > PaginateddebSourceIndexResponseList list(opts)
86
+ > <PaginateddebSourceIndexResponseList> list(opts)
69
87
 
70
88
  List SourceIndices
71
89
 
72
90
  A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
73
91
 
74
- ### Example
92
+ ### Examples
75
93
 
76
94
  ```ruby
77
- # load the gem
95
+ require 'time'
78
96
  require 'pulp_deb_client'
79
97
  # setup authorization
80
98
  PulpDebClient.configure do |config|
@@ -88,51 +106,70 @@ opts = {
88
106
  component: 'component_example', # String | Filter results where component matches value
89
107
  limit: 56, # Integer | Number of results to return per page.
90
108
  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) * `component` - Component * `-component` - Component (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - 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.
109
+ ordering: ['-component'], # 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) * `component` - Component * `-component` - Component (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
110
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
111
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
112
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
113
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
114
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
96
115
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
97
116
  relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
98
117
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
99
118
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
100
119
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
101
120
  sha256: 'sha256_example', # String | Filter results where sha256 matches value
102
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
103
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
121
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
122
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
104
123
  }
105
124
 
106
125
  begin
107
- #List SourceIndices
126
+ # List SourceIndices
108
127
  result = api_instance.list(opts)
109
128
  p result
110
129
  rescue PulpDebClient::ApiError => e
111
- puts "Exception when calling ContentSourceIndicesApi->list: #{e}"
130
+ puts "Error when calling ContentSourceIndicesApi->list: #{e}"
112
131
  end
113
132
  ```
114
133
 
115
- ### Parameters
134
+ #### Using the list_with_http_info variant
135
+
136
+ This returns an Array which contains the response data, status code and headers.
137
+
138
+ > <Array(<PaginateddebSourceIndexResponseList>, Integer, Hash)> list_with_http_info(opts)
139
+
140
+ ```ruby
141
+ begin
142
+ # List SourceIndices
143
+ data, status_code, headers = api_instance.list_with_http_info(opts)
144
+ p status_code # => 2xx
145
+ p headers # => { ... }
146
+ p data # => <PaginateddebSourceIndexResponseList>
147
+ rescue PulpDebClient::ApiError => e
148
+ puts "Error when calling ContentSourceIndicesApi->list_with_http_info: #{e}"
149
+ end
150
+ ```
116
151
 
152
+ ### Parameters
117
153
 
118
- Name | Type | Description | Notes
119
- ------------- | ------------- | ------------- | -------------
120
- **component** | **String**| Filter results where component matches value | [optional]
121
- **limit** | **Integer**| Number of results to return per page. | [optional]
122
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
123
- **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;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
124
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
125
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
126
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
127
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
128
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
129
- **relative_path** | **String**| Filter results where relative_path matches value | [optional]
130
- **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
131
- **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
132
- **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
133
- **sha256** | **String**| Filter results where sha256 matches value | [optional]
134
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
135
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
154
+ | Name | Type | Description | Notes |
155
+ | ---- | ---- | ----------- | ----- |
156
+ | **component** | **String** | Filter results where component matches value | [optional] |
157
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
158
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
159
+ | **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;component&#x60; - Component * &#x60;-component&#x60; - Component (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
160
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
161
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
162
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
163
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
164
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
165
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
166
+ | **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
167
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
168
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
169
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
170
+ | **sha256** | **String** | Filter results where sha256 matches value | [optional] |
171
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
172
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
136
173
 
137
174
  ### Return type
138
175
 
@@ -150,16 +187,16 @@ Name | Type | Description | Notes
150
187
 
151
188
  ## read
152
189
 
153
- > DebSourceIndexResponse read(deb_source_index_href, opts)
190
+ > <DebSourceIndexResponse> read(deb_source_index_href, opts)
154
191
 
155
192
  Inspect a source index
156
193
 
157
194
  A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
158
195
 
159
- ### Example
196
+ ### Examples
160
197
 
161
198
  ```ruby
162
- # load the gem
199
+ require 'time'
163
200
  require 'pulp_deb_client'
164
201
  # setup authorization
165
202
  PulpDebClient.configure do |config|
@@ -171,27 +208,44 @@ end
171
208
  api_instance = PulpDebClient::ContentSourceIndicesApi.new
172
209
  deb_source_index_href = 'deb_source_index_href_example' # String |
173
210
  opts = {
174
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
175
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
211
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
212
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
176
213
  }
177
214
 
178
215
  begin
179
- #Inspect a source index
216
+ # Inspect a source index
180
217
  result = api_instance.read(deb_source_index_href, opts)
181
218
  p result
182
219
  rescue PulpDebClient::ApiError => e
183
- puts "Exception when calling ContentSourceIndicesApi->read: #{e}"
220
+ puts "Error when calling ContentSourceIndicesApi->read: #{e}"
184
221
  end
185
222
  ```
186
223
 
187
- ### Parameters
224
+ #### Using the read_with_http_info variant
225
+
226
+ This returns an Array which contains the response data, status code and headers.
227
+
228
+ > <Array(<DebSourceIndexResponse>, Integer, Hash)> read_with_http_info(deb_source_index_href, opts)
188
229
 
230
+ ```ruby
231
+ begin
232
+ # Inspect a source index
233
+ data, status_code, headers = api_instance.read_with_http_info(deb_source_index_href, opts)
234
+ p status_code # => 2xx
235
+ p headers # => { ... }
236
+ p data # => <DebSourceIndexResponse>
237
+ rescue PulpDebClient::ApiError => e
238
+ puts "Error when calling ContentSourceIndicesApi->read_with_http_info: #{e}"
239
+ end
240
+ ```
241
+
242
+ ### Parameters
189
243
 
190
- Name | Type | Description | Notes
191
- ------------- | ------------- | ------------- | -------------
192
- **deb_source_index_href** | **String**| |
193
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
194
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
244
+ | Name | Type | Description | Notes |
245
+ | ---- | ---- | ----------- | ----- |
246
+ | **deb_source_index_href** | **String** | | |
247
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
248
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
195
249
 
196
250
  ### Return type
197
251
 
@@ -206,3 +260,147 @@ Name | Type | Description | Notes
206
260
  - **Content-Type**: Not defined
207
261
  - **Accept**: application/json
208
262
 
263
+
264
+ ## set_label
265
+
266
+ > <SetLabelResponse> set_label(deb_source_index_href, set_label)
267
+
268
+ Set a label
269
+
270
+ Set a single pulp_label on the object to a specific value or null.
271
+
272
+ ### Examples
273
+
274
+ ```ruby
275
+ require 'time'
276
+ require 'pulp_deb_client'
277
+ # setup authorization
278
+ PulpDebClient.configure do |config|
279
+ # Configure HTTP basic authorization: basicAuth
280
+ config.username = 'YOUR USERNAME'
281
+ config.password = 'YOUR PASSWORD'
282
+ end
283
+
284
+ api_instance = PulpDebClient::ContentSourceIndicesApi.new
285
+ deb_source_index_href = 'deb_source_index_href_example' # String |
286
+ set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
287
+
288
+ begin
289
+ # Set a label
290
+ result = api_instance.set_label(deb_source_index_href, set_label)
291
+ p result
292
+ rescue PulpDebClient::ApiError => e
293
+ puts "Error when calling ContentSourceIndicesApi->set_label: #{e}"
294
+ end
295
+ ```
296
+
297
+ #### Using the set_label_with_http_info variant
298
+
299
+ This returns an Array which contains the response data, status code and headers.
300
+
301
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_source_index_href, set_label)
302
+
303
+ ```ruby
304
+ begin
305
+ # Set a label
306
+ data, status_code, headers = api_instance.set_label_with_http_info(deb_source_index_href, set_label)
307
+ p status_code # => 2xx
308
+ p headers # => { ... }
309
+ p data # => <SetLabelResponse>
310
+ rescue PulpDebClient::ApiError => e
311
+ puts "Error when calling ContentSourceIndicesApi->set_label_with_http_info: #{e}"
312
+ end
313
+ ```
314
+
315
+ ### Parameters
316
+
317
+ | Name | Type | Description | Notes |
318
+ | ---- | ---- | ----------- | ----- |
319
+ | **deb_source_index_href** | **String** | | |
320
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
321
+
322
+ ### Return type
323
+
324
+ [**SetLabelResponse**](SetLabelResponse.md)
325
+
326
+ ### Authorization
327
+
328
+ [basicAuth](../README.md#basicAuth)
329
+
330
+ ### HTTP request headers
331
+
332
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
333
+ - **Accept**: application/json
334
+
335
+
336
+ ## unset_label
337
+
338
+ > <UnsetLabelResponse> unset_label(deb_source_index_href, unset_label)
339
+
340
+ Unset a label
341
+
342
+ Unset a single pulp_label on the object.
343
+
344
+ ### Examples
345
+
346
+ ```ruby
347
+ require 'time'
348
+ require 'pulp_deb_client'
349
+ # setup authorization
350
+ PulpDebClient.configure do |config|
351
+ # Configure HTTP basic authorization: basicAuth
352
+ config.username = 'YOUR USERNAME'
353
+ config.password = 'YOUR PASSWORD'
354
+ end
355
+
356
+ api_instance = PulpDebClient::ContentSourceIndicesApi.new
357
+ deb_source_index_href = 'deb_source_index_href_example' # String |
358
+ unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
359
+
360
+ begin
361
+ # Unset a label
362
+ result = api_instance.unset_label(deb_source_index_href, unset_label)
363
+ p result
364
+ rescue PulpDebClient::ApiError => e
365
+ puts "Error when calling ContentSourceIndicesApi->unset_label: #{e}"
366
+ end
367
+ ```
368
+
369
+ #### Using the unset_label_with_http_info variant
370
+
371
+ This returns an Array which contains the response data, status code and headers.
372
+
373
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_source_index_href, unset_label)
374
+
375
+ ```ruby
376
+ begin
377
+ # Unset a label
378
+ data, status_code, headers = api_instance.unset_label_with_http_info(deb_source_index_href, unset_label)
379
+ p status_code # => 2xx
380
+ p headers # => { ... }
381
+ p data # => <UnsetLabelResponse>
382
+ rescue PulpDebClient::ApiError => e
383
+ puts "Error when calling ContentSourceIndicesApi->unset_label_with_http_info: #{e}"
384
+ end
385
+ ```
386
+
387
+ ### Parameters
388
+
389
+ | Name | Type | Description | Notes |
390
+ | ---- | ---- | ----------- | ----- |
391
+ | **deb_source_index_href** | **String** | | |
392
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
393
+
394
+ ### Return type
395
+
396
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
397
+
398
+ ### Authorization
399
+
400
+ [basicAuth](../README.md#basicAuth)
401
+
402
+ ### HTTP request headers
403
+
404
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
405
+ - **Accept**: application/json
406
+