pulp_deb_client 3.4.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +34 -9
  3. data/docs/AptRepositorySyncURL.md +12 -11
  4. data/docs/AsyncOperationResponse.md +8 -7
  5. data/docs/ContentGenericContentsApi.md +114 -64
  6. data/docs/ContentInstallerFileIndicesApi.md +111 -61
  7. data/docs/ContentInstallerPackagesApi.md +130 -80
  8. data/docs/ContentPackageIndicesApi.md +111 -61
  9. data/docs/ContentPackageReleaseComponentsApi.md +111 -61
  10. data/docs/ContentPackagesApi.md +144 -94
  11. data/docs/ContentReleaseArchitecturesApi.md +109 -59
  12. data/docs/ContentReleaseComponentsApi.md +110 -60
  13. data/docs/ContentReleaseFilesApi.md +111 -61
  14. data/docs/ContentReleasesApi.md +114 -64
  15. data/docs/ContentSourceIndicesApi.md +110 -60
  16. data/docs/ContentSourcePackagesApi.md +137 -87
  17. data/docs/ContentSourceReleaseComponentsApi.md +111 -61
  18. data/docs/ContentSummaryResponse.md +12 -11
  19. data/docs/Copy.md +12 -11
  20. data/docs/DebAptDistribution.md +20 -19
  21. data/docs/DebAptDistributionResponse.md +32 -31
  22. data/docs/DebAptPublication.md +18 -17
  23. data/docs/DebAptPublicationResponse.md +26 -25
  24. data/docs/DebAptRemote.md +64 -63
  25. data/docs/DebAptRemoteResponse.md +64 -63
  26. data/docs/DebAptRemoteResponseHiddenFieldsInner.md +20 -0
  27. data/docs/DebAptRepository.md +22 -21
  28. data/docs/DebAptRepositoryResponse.md +34 -33
  29. data/docs/DebCopyApi.md +30 -14
  30. data/docs/DebGenericContentResponse.md +30 -29
  31. data/docs/DebInstallerFileIndex.md +16 -15
  32. data/docs/DebInstallerFileIndexResponse.md +22 -21
  33. data/docs/DebInstallerPackageResponse.md +88 -87
  34. data/docs/DebPackageIndex.md +16 -15
  35. data/docs/DebPackageIndexResponse.md +22 -21
  36. data/docs/DebPackageReleaseComponent.md +12 -11
  37. data/docs/DebPackageReleaseComponentResponse.md +18 -17
  38. data/docs/DebPackageResponse.md +92 -91
  39. data/docs/DebRelease.md +26 -25
  40. data/docs/DebReleaseArchitecture.md +12 -11
  41. data/docs/DebReleaseArchitectureResponse.md +18 -17
  42. data/docs/DebReleaseComponent.md +12 -11
  43. data/docs/DebReleaseComponentResponse.md +20 -17
  44. data/docs/DebReleaseFile.md +18 -17
  45. data/docs/DebReleaseFileResponse.md +24 -23
  46. data/docs/DebReleaseResponse.md +32 -31
  47. data/docs/DebSourceIndex.md +16 -15
  48. data/docs/DebSourceIndexResponse.md +22 -21
  49. data/docs/DebSourcePackage.md +12 -11
  50. data/docs/DebSourcePackageReleaseComponent.md +12 -11
  51. data/docs/DebSourcePackageReleaseComponentResponse.md +18 -17
  52. data/docs/DebSourcePackageResponse.md +74 -71
  53. data/docs/DebVerbatimPublication.md +10 -9
  54. data/docs/DebVerbatimPublicationResponse.md +18 -17
  55. data/docs/DistributionsAptApi.md +564 -129
  56. data/docs/MyPermissionsResponse.md +18 -0
  57. data/docs/NestedRole.md +22 -0
  58. data/docs/NestedRoleResponse.md +22 -0
  59. data/docs/ObjectRolesResponse.md +18 -0
  60. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  61. data/docs/PaginateddebAptDistributionResponseList.md +14 -13
  62. data/docs/PaginateddebAptPublicationResponseList.md +14 -13
  63. data/docs/PaginateddebAptRemoteResponseList.md +14 -13
  64. data/docs/PaginateddebAptRepositoryResponseList.md +14 -13
  65. data/docs/PaginateddebGenericContentResponseList.md +14 -13
  66. data/docs/PaginateddebInstallerFileIndexResponseList.md +14 -13
  67. data/docs/PaginateddebInstallerPackageResponseList.md +14 -13
  68. data/docs/PaginateddebPackageIndexResponseList.md +14 -13
  69. data/docs/PaginateddebPackageReleaseComponentResponseList.md +14 -13
  70. data/docs/PaginateddebPackageResponseList.md +14 -13
  71. data/docs/PaginateddebReleaseArchitectureResponseList.md +14 -13
  72. data/docs/PaginateddebReleaseComponentResponseList.md +14 -13
  73. data/docs/PaginateddebReleaseFileResponseList.md +14 -13
  74. data/docs/PaginateddebReleaseResponseList.md +14 -13
  75. data/docs/PaginateddebSourceIndexResponseList.md +14 -13
  76. data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +14 -13
  77. data/docs/PaginateddebSourcePackageResponseList.md +14 -13
  78. data/docs/PaginateddebVerbatimPublicationResponseList.md +14 -13
  79. data/docs/PatcheddebAptDistribution.md +20 -19
  80. data/docs/PatcheddebAptRemote.md +64 -63
  81. data/docs/PatcheddebAptRepository.md +22 -21
  82. data/docs/PolicyEnum.md +4 -5
  83. data/docs/PublicationsAptApi.md +446 -77
  84. data/docs/PublicationsVerbatimApi.md +446 -77
  85. data/docs/RemotesAptApi.md +568 -131
  86. data/docs/Repair.md +8 -7
  87. data/docs/RepositoriesAptApi.md +623 -154
  88. data/docs/RepositoriesAptVersionsApi.md +152 -82
  89. data/docs/RepositoryAddRemoveContent.md +12 -11
  90. data/docs/RepositoryVersionResponse.md +22 -21
  91. data/docs/SetLabel.md +10 -9
  92. data/docs/SetLabelResponse.md +10 -9
  93. data/docs/UnsetLabel.md +8 -7
  94. data/docs/UnsetLabelResponse.md +10 -9
  95. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +20 -14
  96. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +20 -14
  97. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +20 -22
  98. data/lib/pulp_deb_client/api/content_package_indices_api.rb +20 -14
  99. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +20 -14
  100. data/lib/pulp_deb_client/api/content_packages_api.rb +20 -22
  101. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +20 -14
  102. data/lib/pulp_deb_client/api/content_release_components_api.rb +20 -14
  103. data/lib/pulp_deb_client/api/content_release_files_api.rb +20 -14
  104. data/lib/pulp_deb_client/api/content_releases_api.rb +20 -14
  105. data/lib/pulp_deb_client/api/content_source_indices_api.rb +20 -14
  106. data/lib/pulp_deb_client/api/content_source_packages_api.rb +20 -14
  107. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +20 -14
  108. data/lib/pulp_deb_client/api/deb_copy_api.rb +10 -6
  109. data/lib/pulp_deb_client/api/distributions_apt_api.rb +347 -38
  110. data/lib/pulp_deb_client/api/publications_apt_api.rb +325 -29
  111. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +325 -29
  112. data/lib/pulp_deb_client/api/remotes_apt_api.rb +362 -50
  113. data/lib/pulp_deb_client/api/repositories_apt_api.rb +365 -48
  114. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +40 -30
  115. data/lib/pulp_deb_client/api_client.rb +137 -102
  116. data/lib/pulp_deb_client/api_error.rb +2 -1
  117. data/lib/pulp_deb_client/configuration.rb +162 -21
  118. data/lib/pulp_deb_client/models/apt_repository_sync_url.rb +30 -22
  119. data/lib/pulp_deb_client/models/async_operation_response.rb +32 -22
  120. data/lib/pulp_deb_client/models/content_summary_response.rb +36 -22
  121. data/lib/pulp_deb_client/models/copy.rb +34 -28
  122. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +34 -22
  123. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +36 -24
  124. data/lib/pulp_deb_client/models/deb_apt_publication.rb +30 -22
  125. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +32 -24
  126. data/lib/pulp_deb_client/models/deb_apt_remote.rb +78 -42
  127. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +81 -45
  128. data/lib/pulp_deb_client/models/{deb_apt_remote_response_hidden_fields.rb → deb_apt_remote_response_hidden_fields_inner.rb} +37 -25
  129. data/lib/pulp_deb_client/models/deb_apt_repository.rb +32 -22
  130. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +34 -24
  131. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +34 -24
  132. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +41 -23
  133. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +38 -24
  134. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +32 -24
  135. data/lib/pulp_deb_client/models/deb_package_index.rb +47 -25
  136. data/lib/pulp_deb_client/models/deb_package_index_response.rb +34 -24
  137. data/lib/pulp_deb_client/models/deb_package_release_component.rb +34 -22
  138. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +36 -24
  139. data/lib/pulp_deb_client/models/deb_package_response.rb +32 -24
  140. data/lib/pulp_deb_client/models/deb_release.rb +36 -22
  141. data/lib/pulp_deb_client/models/deb_release_architecture.rb +34 -22
  142. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +36 -24
  143. data/lib/pulp_deb_client/models/deb_release_component.rb +34 -22
  144. data/lib/pulp_deb_client/models/deb_release_component_response.rb +50 -28
  145. data/lib/pulp_deb_client/models/deb_release_file.rb +49 -25
  146. data/lib/pulp_deb_client/models/deb_release_file_response.rb +36 -24
  147. data/lib/pulp_deb_client/models/deb_release_response.rb +38 -24
  148. data/lib/pulp_deb_client/models/deb_source_index.rb +41 -23
  149. data/lib/pulp_deb_client/models/deb_source_index_response.rb +38 -24
  150. data/lib/pulp_deb_client/models/deb_source_package.rb +37 -23
  151. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +34 -22
  152. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +36 -24
  153. data/lib/pulp_deb_client/models/deb_source_package_response.rb +45 -25
  154. data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +30 -22
  155. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +32 -24
  156. data/lib/pulp_deb_client/models/my_permissions_response.rb +223 -0
  157. data/lib/pulp_deb_client/models/{deb_installer_package.rb → nested_role.rb} +72 -97
  158. data/lib/pulp_deb_client/models/{deb_generic_content.rb → nested_role_response.rb} +62 -115
  159. data/lib/pulp_deb_client/models/object_roles_response.rb +223 -0
  160. data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +34 -22
  161. data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +34 -22
  162. data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +34 -22
  163. data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +34 -22
  164. data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +34 -22
  165. data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +34 -22
  166. data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +34 -22
  167. data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +34 -22
  168. data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +34 -22
  169. data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +34 -22
  170. data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +34 -22
  171. data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +34 -22
  172. data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +34 -22
  173. data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +34 -22
  174. data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +34 -22
  175. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +34 -22
  176. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +34 -22
  177. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +34 -22
  178. data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +34 -22
  179. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +40 -24
  180. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +87 -45
  181. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +35 -23
  182. data/lib/pulp_deb_client/models/policy_enum.rb +8 -4
  183. data/lib/pulp_deb_client/models/repair.rb +30 -22
  184. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +30 -22
  185. data/lib/pulp_deb_client/models/repository_version_response.rb +32 -24
  186. data/lib/pulp_deb_client/models/set_label.rb +34 -22
  187. data/lib/pulp_deb_client/models/set_label_response.rb +34 -22
  188. data/lib/pulp_deb_client/models/unset_label.rb +32 -22
  189. data/lib/pulp_deb_client/models/unset_label_response.rb +32 -22
  190. data/lib/pulp_deb_client/version.rb +2 -2
  191. data/lib/pulp_deb_client.rb +6 -5
  192. data/pulp_deb_client.gemspec +9 -6
  193. data/spec/api/content_generic_contents_api_spec.rb +4 -4
  194. data/spec/api/content_installer_file_indices_api_spec.rb +4 -4
  195. data/spec/api/content_installer_packages_api_spec.rb +4 -4
  196. data/spec/api/content_package_indices_api_spec.rb +4 -4
  197. data/spec/api/content_package_release_components_api_spec.rb +4 -4
  198. data/spec/api/content_packages_api_spec.rb +4 -4
  199. data/spec/api/content_release_architectures_api_spec.rb +4 -4
  200. data/spec/api/content_release_components_api_spec.rb +4 -4
  201. data/spec/api/content_release_files_api_spec.rb +4 -4
  202. data/spec/api/content_releases_api_spec.rb +4 -4
  203. data/spec/api/content_source_indices_api_spec.rb +4 -4
  204. data/spec/api/content_source_packages_api_spec.rb +4 -4
  205. data/spec/api/content_source_release_components_api_spec.rb +4 -4
  206. data/spec/api/deb_copy_api_spec.rb +2 -2
  207. data/spec/api/distributions_apt_api_spec.rb +63 -9
  208. data/spec/api/publications_apt_api_spec.rb +66 -11
  209. data/spec/api/publications_verbatim_api_spec.rb +66 -11
  210. data/spec/api/remotes_apt_api_spec.rb +70 -15
  211. data/spec/api/repositories_apt_api_spec.rb +65 -11
  212. data/spec/api/repositories_apt_versions_api_spec.rb +12 -11
  213. data/spec/models/apt_repository_sync_url_spec.rb +9 -14
  214. data/spec/models/async_operation_response_spec.rb +7 -12
  215. data/spec/models/content_summary_response_spec.rb +9 -14
  216. data/spec/models/copy_spec.rb +9 -14
  217. data/spec/models/deb_apt_distribution_response_spec.rb +19 -24
  218. data/spec/models/deb_apt_distribution_spec.rb +13 -18
  219. data/spec/models/deb_apt_publication_response_spec.rb +16 -21
  220. data/spec/models/deb_apt_publication_spec.rb +12 -17
  221. data/spec/models/{deb_apt_remote_response_hidden_fields_spec.rb → deb_apt_remote_response_hidden_fields_inner_spec.rb} +11 -16
  222. data/spec/models/deb_apt_remote_response_spec.rb +35 -40
  223. data/spec/models/deb_apt_remote_spec.rb +35 -40
  224. data/spec/models/deb_apt_repository_response_spec.rb +20 -25
  225. data/spec/models/deb_apt_repository_spec.rb +14 -19
  226. data/spec/models/deb_generic_content_response_spec.rb +18 -23
  227. data/spec/models/deb_installer_file_index_response_spec.rb +14 -19
  228. data/spec/models/deb_installer_file_index_spec.rb +11 -16
  229. data/spec/models/deb_installer_package_response_spec.rb +47 -52
  230. data/spec/models/deb_package_index_response_spec.rb +14 -19
  231. data/spec/models/deb_package_index_spec.rb +11 -16
  232. data/spec/models/deb_package_release_component_response_spec.rb +12 -17
  233. data/spec/models/deb_package_release_component_spec.rb +9 -14
  234. data/spec/models/deb_package_response_spec.rb +49 -54
  235. data/spec/models/deb_release_architecture_response_spec.rb +12 -17
  236. data/spec/models/deb_release_architecture_spec.rb +9 -14
  237. data/spec/models/deb_release_component_response_spec.rb +18 -17
  238. data/spec/models/deb_release_component_spec.rb +9 -14
  239. data/spec/models/deb_release_file_response_spec.rb +15 -20
  240. data/spec/models/deb_release_file_spec.rb +12 -17
  241. data/spec/models/deb_release_response_spec.rb +19 -24
  242. data/spec/models/deb_release_spec.rb +16 -21
  243. data/spec/models/deb_source_index_response_spec.rb +14 -19
  244. data/spec/models/deb_source_index_spec.rb +11 -16
  245. data/spec/models/deb_source_package_release_component_response_spec.rb +12 -17
  246. data/spec/models/deb_source_package_release_component_spec.rb +9 -14
  247. data/spec/models/deb_source_package_response_spec.rb +45 -44
  248. data/spec/models/deb_source_package_spec.rb +9 -14
  249. data/spec/models/deb_verbatim_publication_response_spec.rb +12 -17
  250. data/spec/models/deb_verbatim_publication_spec.rb +8 -13
  251. data/spec/models/my_permissions_response_spec.rb +36 -0
  252. data/spec/models/nested_role_response_spec.rb +48 -0
  253. data/spec/models/nested_role_spec.rb +48 -0
  254. data/spec/models/object_roles_response_spec.rb +36 -0
  255. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  256. data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +10 -15
  257. data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +10 -15
  258. data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +10 -15
  259. data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +10 -15
  260. data/spec/models/paginateddeb_generic_content_response_list_spec.rb +10 -15
  261. data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +10 -15
  262. data/spec/models/paginateddeb_installer_package_response_list_spec.rb +10 -15
  263. data/spec/models/paginateddeb_package_index_response_list_spec.rb +10 -15
  264. data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +10 -15
  265. data/spec/models/paginateddeb_package_response_list_spec.rb +10 -15
  266. data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +10 -15
  267. data/spec/models/paginateddeb_release_component_response_list_spec.rb +10 -15
  268. data/spec/models/paginateddeb_release_file_response_list_spec.rb +10 -15
  269. data/spec/models/paginateddeb_release_response_list_spec.rb +10 -15
  270. data/spec/models/paginateddeb_source_index_response_list_spec.rb +10 -15
  271. data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +10 -15
  272. data/spec/models/paginateddeb_source_package_response_list_spec.rb +10 -15
  273. data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +10 -15
  274. data/spec/models/patcheddeb_apt_distribution_spec.rb +13 -18
  275. data/spec/models/patcheddeb_apt_remote_spec.rb +35 -40
  276. data/spec/models/patcheddeb_apt_repository_spec.rb +14 -19
  277. data/spec/models/policy_enum_spec.rb +6 -11
  278. data/spec/models/repair_spec.rb +7 -12
  279. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  280. data/spec/models/repository_version_response_spec.rb +14 -19
  281. data/spec/models/set_label_response_spec.rb +8 -13
  282. data/spec/models/set_label_spec.rb +8 -13
  283. data/spec/models/unset_label_response_spec.rb +8 -13
  284. data/spec/models/unset_label_spec.rb +7 -12
  285. data/spec/spec_helper.rb +1 -1
  286. metadata +136 -108
  287. data/docs/DebAptRemoteResponseHiddenFields.md +0 -19
  288. data/docs/DebGenericContent.md +0 -27
  289. data/docs/DebInstallerPackage.md +0 -27
  290. data/docs/DebPackage.md +0 -31
  291. data/lib/pulp_deb_client/models/deb_package.rb +0 -338
  292. data/spec/api_client_spec.rb +0 -188
  293. data/spec/configuration_spec.rb +0 -42
  294. data/spec/models/deb_generic_content_spec.rb +0 -71
  295. data/spec/models/deb_installer_package_spec.rb +0 -71
  296. data/spec/models/deb_package_spec.rb +0 -83
data/docs/DebAptRemote.md CHANGED
@@ -2,72 +2,73 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | A unique name for this remote. |
8
- **url** | **String** | The URL of an external content source. |
9
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
10
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
11
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
12
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
14
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
15
- **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
16
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
- **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
18
- **pulp_labels** | **Hash<String, String>** | | [optional]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
21
- **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional]
22
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
26
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
27
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
28
- **distributions** | **String** | Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax. |
29
- **components** | **String** | Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\". | [optional]
30
- **architectures** | **String** | Whitespace separated list of architectures to sync If none are supplied, all that are available will be synchronized. A list of valid architecture specification strings can be found by running \"dpkg-architecture -L\". A sync will download the intersection of the list of architectures provided via this field and those provided by the relevant \"Release\" file. Architecture=\"all\" is always synchronized and does not need to be provided here. | [optional]
31
- **sync_sources** | **Boolean** | Sync source packages | [optional]
32
- **sync_udebs** | **Boolean** | Sync installer packages | [optional]
33
- **sync_installer** | **Boolean** | Sync installer files | [optional]
34
- **gpgkey** | **String** | Gpg public key to verify origin releases against | [optional]
35
- **ignore_missing_package_indices** | **Boolean** | By default, upstream repositories that declare architectures and corresponding package indices in their Release files without actually publishing them, will fail to synchronize. Set this flag to True to allow the synchronization of such \"partial mirrors\" instead. Alternatively, you could make your remote filter by architectures for which the upstream repository does have indices. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | A unique name for this remote. | |
8
+ | **url** | **String** | The URL of an external content source. | |
9
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
10
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
11
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
12
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
13
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
14
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
15
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
17
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
18
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
19
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
20
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
21
+ | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
22
+ | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
23
+ | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
24
+ | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
25
+ | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
26
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
27
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
28
+ | **distributions** | **String** | Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax. | |
29
+ | **components** | **String** | Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\". | [optional] |
30
+ | **architectures** | **String** | Whitespace separated list of architectures to sync If none are supplied, all that are available will be synchronized. A list of valid architecture specification strings can be found by running \"dpkg-architecture -L\". A sync will download the intersection of the list of architectures provided via this field and those provided by the relevant \"Release\" file. Architecture=\"all\" is always synchronized and does not need to be provided here. | [optional] |
31
+ | **sync_sources** | **Boolean** | Sync source packages | [optional] |
32
+ | **sync_udebs** | **Boolean** | Sync installer packages | [optional] |
33
+ | **sync_installer** | **Boolean** | Sync installer files | [optional] |
34
+ | **gpgkey** | **String** | Gpg public key to verify origin releases against | [optional] |
35
+ | **ignore_missing_package_indices** | **Boolean** | By default, upstream repositories that declare architectures and corresponding package indices in their Release files without actually publishing them, will fail to synchronize. Set this flag to True to allow the synchronization of such \"partial mirrors\" instead. Alternatively, you could make your remote filter by architectures for which the upstream repository does have indices. | [optional] |
36
36
 
37
- ## Code Sample
37
+ ## Example
38
38
 
39
39
  ```ruby
40
- require 'PulpDebClient'
40
+ require 'pulp_deb_client'
41
41
 
42
- instance = PulpDebClient::DebAptRemote.new(name: null,
43
- url: null,
44
- ca_cert: null,
45
- client_cert: null,
46
- client_key: null,
47
- tls_validation: null,
48
- proxy_url: null,
49
- proxy_username: null,
50
- proxy_password: null,
51
- username: null,
52
- password: null,
53
- pulp_labels: null,
54
- download_concurrency: null,
55
- max_retries: null,
56
- policy: null,
57
- total_timeout: null,
58
- connect_timeout: null,
59
- sock_connect_timeout: null,
60
- sock_read_timeout: null,
61
- headers: null,
62
- rate_limit: null,
63
- distributions: null,
64
- components: null,
65
- architectures: null,
66
- sync_sources: null,
67
- sync_udebs: null,
68
- sync_installer: null,
69
- gpgkey: null,
70
- ignore_missing_package_indices: null)
42
+ instance = PulpDebClient::DebAptRemote.new(
43
+ name: null,
44
+ url: null,
45
+ ca_cert: null,
46
+ client_cert: null,
47
+ client_key: null,
48
+ tls_validation: null,
49
+ proxy_url: null,
50
+ proxy_username: null,
51
+ proxy_password: null,
52
+ username: null,
53
+ password: null,
54
+ pulp_labels: null,
55
+ download_concurrency: null,
56
+ max_retries: null,
57
+ policy: null,
58
+ total_timeout: null,
59
+ connect_timeout: null,
60
+ sock_connect_timeout: null,
61
+ sock_read_timeout: null,
62
+ headers: null,
63
+ rate_limit: null,
64
+ distributions: null,
65
+ components: null,
66
+ architectures: null,
67
+ sync_sources: null,
68
+ sync_udebs: null,
69
+ sync_installer: null,
70
+ gpgkey: null,
71
+ ignore_missing_package_indices: null
72
+ )
71
73
  ```
72
74
 
73
-
@@ -2,72 +2,73 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
9
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
11
- **name** | **String** | A unique name for this remote. |
12
- **url** | **String** | The URL of an external content source. |
13
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
14
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
15
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
16
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
17
- **pulp_labels** | **Hash<String, String>** | | [optional]
18
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
19
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
- **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional]
21
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
22
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
26
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
27
- **hidden_fields** | [**Array<DebAptRemoteResponseHiddenFields>**](DebAptRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
28
- **distributions** | **String** | Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax. |
29
- **components** | **String** | Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\". | [optional]
30
- **architectures** | **String** | Whitespace separated list of architectures to sync If none are supplied, all that are available will be synchronized. A list of valid architecture specification strings can be found by running \"dpkg-architecture -L\". A sync will download the intersection of the list of architectures provided via this field and those provided by the relevant \"Release\" file. Architecture=\"all\" is always synchronized and does not need to be provided here. | [optional]
31
- **sync_sources** | **Boolean** | Sync source packages | [optional]
32
- **sync_udebs** | **Boolean** | Sync installer packages | [optional]
33
- **sync_installer** | **Boolean** | Sync installer files | [optional]
34
- **gpgkey** | **String** | Gpg public key to verify origin releases against | [optional]
35
- **ignore_missing_package_indices** | **Boolean** | By default, upstream repositories that declare architectures and corresponding package indices in their Release files without actually publishing them, will fail to synchronize. Set this flag to True to allow the synchronization of such \"partial mirrors\" instead. Alternatively, you could make your remote filter by architectures for which the upstream repository does have indices. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
11
+ | **name** | **String** | A unique name for this remote. | |
12
+ | **url** | **String** | The URL of an external content source. | |
13
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
15
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
16
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
17
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
18
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
19
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
20
+ | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
21
+ | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
22
+ | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
23
+ | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
24
+ | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
25
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
26
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
27
+ | **hidden_fields** | [**Array<DebAptRemoteResponseHiddenFieldsInner>**](DebAptRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
28
+ | **distributions** | **String** | Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax. | |
29
+ | **components** | **String** | Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\". | [optional] |
30
+ | **architectures** | **String** | Whitespace separated list of architectures to sync If none are supplied, all that are available will be synchronized. A list of valid architecture specification strings can be found by running \"dpkg-architecture -L\". A sync will download the intersection of the list of architectures provided via this field and those provided by the relevant \"Release\" file. Architecture=\"all\" is always synchronized and does not need to be provided here. | [optional] |
31
+ | **sync_sources** | **Boolean** | Sync source packages | [optional] |
32
+ | **sync_udebs** | **Boolean** | Sync installer packages | [optional] |
33
+ | **sync_installer** | **Boolean** | Sync installer files | [optional] |
34
+ | **gpgkey** | **String** | Gpg public key to verify origin releases against | [optional] |
35
+ | **ignore_missing_package_indices** | **Boolean** | By default, upstream repositories that declare architectures and corresponding package indices in their Release files without actually publishing them, will fail to synchronize. Set this flag to True to allow the synchronization of such \"partial mirrors\" instead. Alternatively, you could make your remote filter by architectures for which the upstream repository does have indices. | [optional] |
36
36
 
37
- ## Code Sample
37
+ ## Example
38
38
 
39
39
  ```ruby
40
- require 'PulpDebClient'
40
+ require 'pulp_deb_client'
41
41
 
42
- instance = PulpDebClient::DebAptRemoteResponse.new(pulp_href: null,
43
- prn: null,
44
- pulp_created: null,
45
- pulp_last_updated: null,
46
- name: null,
47
- url: null,
48
- ca_cert: null,
49
- client_cert: null,
50
- tls_validation: null,
51
- proxy_url: null,
52
- pulp_labels: null,
53
- download_concurrency: null,
54
- max_retries: null,
55
- policy: null,
56
- total_timeout: null,
57
- connect_timeout: null,
58
- sock_connect_timeout: null,
59
- sock_read_timeout: null,
60
- headers: null,
61
- rate_limit: null,
62
- hidden_fields: null,
63
- distributions: null,
64
- components: null,
65
- architectures: null,
66
- sync_sources: null,
67
- sync_udebs: null,
68
- sync_installer: null,
69
- gpgkey: null,
70
- ignore_missing_package_indices: null)
42
+ instance = PulpDebClient::DebAptRemoteResponse.new(
43
+ pulp_href: null,
44
+ prn: null,
45
+ pulp_created: null,
46
+ pulp_last_updated: null,
47
+ name: null,
48
+ url: null,
49
+ ca_cert: null,
50
+ client_cert: null,
51
+ tls_validation: null,
52
+ proxy_url: null,
53
+ pulp_labels: null,
54
+ download_concurrency: null,
55
+ max_retries: null,
56
+ policy: null,
57
+ total_timeout: null,
58
+ connect_timeout: null,
59
+ sock_connect_timeout: null,
60
+ sock_read_timeout: null,
61
+ headers: null,
62
+ rate_limit: null,
63
+ hidden_fields: null,
64
+ distributions: null,
65
+ components: null,
66
+ architectures: null,
67
+ sync_sources: null,
68
+ sync_udebs: null,
69
+ sync_installer: null,
70
+ gpgkey: null,
71
+ ignore_missing_package_indices: null
72
+ )
71
73
  ```
72
74
 
73
-
@@ -0,0 +1,20 @@
1
+ # PulpDebClient::DebAptRemoteResponseHiddenFieldsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | |
8
+ | **is_set** | **Boolean** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'pulp_deb_client'
14
+
15
+ instance = PulpDebClient::DebAptRemoteResponseHiddenFieldsInner.new(
16
+ name: null,
17
+ is_set: null
18
+ )
19
+ ```
20
+
@@ -2,30 +2,31 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **name** | **String** | A unique name for this repository. |
9
- **description** | **String** | An optional description. | [optional]
10
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
- **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
- **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional]
13
- **signing_service** | **String** | A reference to an associated signing service. Used if AptPublication.signing_service is not set | [optional]
14
- **signing_service_release_overrides** | **Hash<String, String>** | A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"} | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
8
+ | **name** | **String** | A unique name for this repository. | |
9
+ | **description** | **String** | An optional description. | [optional] |
10
+ | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
11
+ | **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
12
+ | **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional] |
13
+ | **signing_service** | **String** | A reference to an associated signing service. Used if AptPublication.signing_service is not set | [optional] |
14
+ | **signing_service_release_overrides** | **Hash<String, String>** | A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"} | [optional] |
15
15
 
16
- ## Code Sample
16
+ ## Example
17
17
 
18
18
  ```ruby
19
- require 'PulpDebClient'
19
+ require 'pulp_deb_client'
20
20
 
21
- instance = PulpDebClient::DebAptRepository.new(pulp_labels: null,
22
- name: null,
23
- description: null,
24
- retain_repo_versions: null,
25
- remote: null,
26
- publish_upstream_release_fields: null,
27
- signing_service: null,
28
- signing_service_release_overrides: null)
21
+ instance = PulpDebClient::DebAptRepository.new(
22
+ pulp_labels: null,
23
+ name: null,
24
+ description: null,
25
+ retain_repo_versions: null,
26
+ remote: null,
27
+ publish_upstream_release_fields: null,
28
+ signing_service: null,
29
+ signing_service_release_overrides: null
30
+ )
29
31
  ```
30
32
 
31
-
@@ -2,42 +2,43 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
9
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
- **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
11
- **versions_href** | **String** | | [optional] [readonly]
12
- **pulp_labels** | **Hash<String, String>** | | [optional]
13
- **latest_version_href** | **String** | | [optional] [readonly]
14
- **name** | **String** | A unique name for this repository. |
15
- **description** | **String** | An optional description. | [optional]
16
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
17
- **remote** | **String** | An optional remote to use by default when syncing. | [optional]
18
- **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional]
19
- **signing_service** | **String** | A reference to an associated signing service. Used if AptPublication.signing_service is not set | [optional]
20
- **signing_service_release_overrides** | **Hash<String, String>** | A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"} | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
+ | **versions_href** | **String** | | [optional][readonly] |
12
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
13
+ | **latest_version_href** | **String** | | [optional][readonly] |
14
+ | **name** | **String** | A unique name for this repository. | |
15
+ | **description** | **String** | An optional description. | [optional] |
16
+ | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
17
+ | **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
18
+ | **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional] |
19
+ | **signing_service** | **String** | A reference to an associated signing service. Used if AptPublication.signing_service is not set | [optional] |
20
+ | **signing_service_release_overrides** | **Hash<String, String>** | A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"} | [optional] |
21
21
 
22
- ## Code Sample
22
+ ## Example
23
23
 
24
24
  ```ruby
25
- require 'PulpDebClient'
25
+ require 'pulp_deb_client'
26
26
 
27
- instance = PulpDebClient::DebAptRepositoryResponse.new(pulp_href: null,
28
- prn: null,
29
- pulp_created: null,
30
- pulp_last_updated: null,
31
- versions_href: null,
32
- pulp_labels: null,
33
- latest_version_href: null,
34
- name: null,
35
- description: null,
36
- retain_repo_versions: null,
37
- remote: null,
38
- publish_upstream_release_fields: null,
39
- signing_service: null,
40
- signing_service_release_overrides: null)
27
+ instance = PulpDebClient::DebAptRepositoryResponse.new(
28
+ pulp_href: null,
29
+ prn: null,
30
+ pulp_created: null,
31
+ pulp_last_updated: null,
32
+ versions_href: null,
33
+ pulp_labels: null,
34
+ latest_version_href: null,
35
+ name: null,
36
+ description: null,
37
+ retain_repo_versions: null,
38
+ remote: null,
39
+ publish_upstream_release_fields: null,
40
+ signing_service: null,
41
+ signing_service_release_overrides: null
42
+ )
41
43
  ```
42
44
 
43
-
data/docs/DebCopyApi.md CHANGED
@@ -2,24 +2,23 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**copy_content**](DebCopyApi.md#copy_content) | **POST** /pulp/api/v3/deb/copy/ | Copy content
8
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**copy_content**](DebCopyApi.md#copy_content) | **POST** /pulp/api/v3/deb/copy/ | Copy content |
9
8
 
10
9
 
11
10
  ## copy_content
12
11
 
13
- > AsyncOperationResponse copy_content(copy)
12
+ > <AsyncOperationResponse> copy_content(copy)
14
13
 
15
14
  Copy content
16
15
 
17
16
  Trigger an asynchronous task to copy APT contentfrom one repository into another, creating a newrepository version.
18
17
 
19
- ### Example
18
+ ### Examples
20
19
 
21
20
  ```ruby
22
- # load the gem
21
+ require 'time'
23
22
  require 'pulp_deb_client'
24
23
  # setup authorization
25
24
  PulpDebClient.configure do |config|
@@ -29,23 +28,40 @@ PulpDebClient.configure do |config|
29
28
  end
30
29
 
31
30
  api_instance = PulpDebClient::DebCopyApi.new
32
- copy = PulpDebClient::Copy.new # Copy |
31
+ copy = PulpDebClient::Copy.new({config: 3.56}) # Copy |
33
32
 
34
33
  begin
35
- #Copy content
34
+ # Copy content
36
35
  result = api_instance.copy_content(copy)
37
36
  p result
38
37
  rescue PulpDebClient::ApiError => e
39
- puts "Exception when calling DebCopyApi->copy_content: #{e}"
38
+ puts "Error when calling DebCopyApi->copy_content: #{e}"
40
39
  end
41
40
  ```
42
41
 
43
- ### Parameters
42
+ #### Using the copy_content_with_http_info variant
43
+
44
+ This returns an Array which contains the response data, status code and headers.
44
45
 
46
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> copy_content_with_http_info(copy)
47
+
48
+ ```ruby
49
+ begin
50
+ # Copy content
51
+ data, status_code, headers = api_instance.copy_content_with_http_info(copy)
52
+ p status_code # => 2xx
53
+ p headers # => { ... }
54
+ p data # => <AsyncOperationResponse>
55
+ rescue PulpDebClient::ApiError => e
56
+ puts "Error when calling DebCopyApi->copy_content_with_http_info: #{e}"
57
+ end
58
+ ```
59
+
60
+ ### Parameters
45
61
 
46
- Name | Type | Description | Notes
47
- ------------- | ------------- | ------------- | -------------
48
- **copy** | [**Copy**](Copy.md)| |
62
+ | Name | Type | Description | Notes |
63
+ | ---- | ---- | ----------- | ----- |
64
+ | **copy** | [**Copy**](Copy.md) | | |
49
65
 
50
66
  ### Return type
51
67
 
@@ -2,38 +2,39 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
9
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
- **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
11
- **artifact** | **String** | Artifact file representing the physical content | [optional]
12
- **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
13
- **md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
14
- **sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
15
- **sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
16
- **sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
17
- **sha384** | **String** | The SHA-384 checksum if available. | [optional] [readonly]
18
- **sha512** | **String** | The SHA-512 checksum if available. | [optional] [readonly]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
12
+ | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
13
+ | **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
14
+ | **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
15
+ | **sha224** | **String** | The SHA-224 checksum if available. | [optional][readonly] |
16
+ | **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
17
+ | **sha384** | **String** | The SHA-384 checksum if available. | [optional][readonly] |
18
+ | **sha512** | **String** | The SHA-512 checksum if available. | [optional][readonly] |
19
19
 
20
- ## Code Sample
20
+ ## Example
21
21
 
22
22
  ```ruby
23
- require 'PulpDebClient'
23
+ require 'pulp_deb_client'
24
24
 
25
- instance = PulpDebClient::DebGenericContentResponse.new(pulp_href: null,
26
- prn: null,
27
- pulp_created: null,
28
- pulp_last_updated: null,
29
- artifact: null,
30
- relative_path: null,
31
- md5: null,
32
- sha1: null,
33
- sha224: null,
34
- sha256: null,
35
- sha384: null,
36
- sha512: null)
25
+ instance = PulpDebClient::DebGenericContentResponse.new(
26
+ pulp_href: null,
27
+ prn: null,
28
+ pulp_created: null,
29
+ pulp_last_updated: null,
30
+ artifact: null,
31
+ relative_path: null,
32
+ md5: null,
33
+ sha1: null,
34
+ sha224: null,
35
+ sha256: null,
36
+ sha384: null,
37
+ sha512: null
38
+ )
37
39
  ```
38
40
 
39
-