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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95974d0b9695f99c8f5fcd01eb8e2258781f11ae9ebb2c61f858eb47ec152aaf
4
- data.tar.gz: 40855607ce033af8c78034a12d4f619ff8d2b7735ee91a5b2a5ce2a33b0cf1ef
3
+ metadata.gz: 294ad214daa061d76990978c0c6b63b8992376db00b4af0399f53f3697770be6
4
+ data.tar.gz: 841ba108160c48b4e9aa2fcb9026c94c8562120c4f2866b9230862ef0266c087
5
5
  SHA512:
6
- metadata.gz: 389909fdfcf2891cc75cf090eadf8ae840562189332391ba93c4f4a2eb7e43977cae6e1cb81c0aba276462511a39465e6f0401e0a8204f6fbf0fa217174d6fef
7
- data.tar.gz: c364e4c2f062525a87570490216e3c8a3be698e924f59eb93a38f4ad7e65f5ab7bfdb91299ccdfba1e8ed203e46ce5c5ed2cca1b75e2b647e12e6fe2cf4bb768
6
+ metadata.gz: 420b04ea8c8555e670eb7b7ab784f352e80b12546b348606258b89b0797a876c29d7f7419340c2f0a1645ed2006cdd902d8bb717ee6bce312ed3e76d8c03f7ab
7
+ data.tar.gz: f32558ad8ae703fe7dda1f4fdc3eda043a00683315bbec0d4d7467ff06b5f7ef5f528ff8eaba2a6630c714e81c5df9e85b3fdf2864ed576fa87a00d19e247c49
data/README.md CHANGED
@@ -7,7 +7,8 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.4.0
10
+ - Package version: 3.5.1
11
+ - Generator version: 7.10.0
11
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
14
 
@@ -24,16 +25,16 @@ gem build pulp_deb_client.gemspec
24
25
  Then either install the gem locally:
25
26
 
26
27
  ```shell
27
- gem install ./pulp_deb_client-3.4.0.gem
28
+ gem install ./pulp_deb_client-3.5.1.gem
28
29
  ```
29
30
 
30
- (for development, run `gem install --dev ./pulp_deb_client-3.4.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_deb_client-3.5.1.gem` to install the development dependencies)
31
32
 
32
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
34
 
34
35
  Finally add this to the Gemfile:
35
36
 
36
- gem 'pulp_deb_client', '~> 3.4.0'
37
+ gem 'pulp_deb_client', '~> 3.5.1'
37
38
 
38
39
  ### Install from Git
39
40
 
@@ -62,6 +63,8 @@ PulpDebClient.configure do |config|
62
63
  # Configure HTTP basic authorization: basicAuth
63
64
  config.username = 'YOUR_USERNAME'
64
65
  config.password = 'YOUR_PASSWORD'
66
+ # Configure faraday connection
67
+ config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
65
68
  end
66
69
 
67
70
  api_instance = PulpDebClient::ContentGenericContentsApi.new
@@ -69,7 +72,7 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
69
72
  opts = {
70
73
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
71
74
  artifact: 'artifact_example', # String | Artifact file representing the physical content
72
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
75
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
73
76
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
74
77
  file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
75
78
  }
@@ -130,36 +133,56 @@ Class | Method | HTTP request | Description
130
133
  *PulpDebClient::ContentSourceReleaseComponentsApi* | [**list**](docs/ContentSourceReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/source_release_components/ | List source package release components
131
134
  *PulpDebClient::ContentSourceReleaseComponentsApi* | [**read**](docs/ContentSourceReleaseComponentsApi.md#read) | **GET** {deb_source_package_release_component_href} | Inspect a source package release component
132
135
  *PulpDebClient::DebCopyApi* | [**copy_content**](docs/DebCopyApi.md#copy_content) | **POST** /pulp/api/v3/deb/copy/ | Copy content
136
+ *PulpDebClient::DistributionsAptApi* | [**add_role**](docs/DistributionsAptApi.md#add_role) | **POST** {deb_apt_distribution_href}add_role/ | Add a role
133
137
  *PulpDebClient::DistributionsAptApi* | [**create**](docs/DistributionsAptApi.md#create) | **POST** /pulp/api/v3/distributions/deb/apt/ | Create an apt distribution
134
138
  *PulpDebClient::DistributionsAptApi* | [**delete**](docs/DistributionsAptApi.md#delete) | **DELETE** {deb_apt_distribution_href} | Delete an apt distribution
135
139
  *PulpDebClient::DistributionsAptApi* | [**list**](docs/DistributionsAptApi.md#list) | **GET** /pulp/api/v3/distributions/deb/apt/ | List apt distributions
140
+ *PulpDebClient::DistributionsAptApi* | [**list_roles**](docs/DistributionsAptApi.md#list_roles) | **GET** {deb_apt_distribution_href}list_roles/ | List roles
141
+ *PulpDebClient::DistributionsAptApi* | [**my_permissions**](docs/DistributionsAptApi.md#my_permissions) | **GET** {deb_apt_distribution_href}my_permissions/ | List user permissions
136
142
  *PulpDebClient::DistributionsAptApi* | [**partial_update**](docs/DistributionsAptApi.md#partial_update) | **PATCH** {deb_apt_distribution_href} | Update an apt distribution
137
143
  *PulpDebClient::DistributionsAptApi* | [**read**](docs/DistributionsAptApi.md#read) | **GET** {deb_apt_distribution_href} | Inspect an apt distribution
144
+ *PulpDebClient::DistributionsAptApi* | [**remove_role**](docs/DistributionsAptApi.md#remove_role) | **POST** {deb_apt_distribution_href}remove_role/ | Remove a role
138
145
  *PulpDebClient::DistributionsAptApi* | [**set_label**](docs/DistributionsAptApi.md#set_label) | **POST** {deb_apt_distribution_href}set_label/ | Set a label
139
146
  *PulpDebClient::DistributionsAptApi* | [**unset_label**](docs/DistributionsAptApi.md#unset_label) | **POST** {deb_apt_distribution_href}unset_label/ | Unset a label
140
147
  *PulpDebClient::DistributionsAptApi* | [**update**](docs/DistributionsAptApi.md#update) | **PUT** {deb_apt_distribution_href} | Update an apt distribution
148
+ *PulpDebClient::PublicationsAptApi* | [**add_role**](docs/PublicationsAptApi.md#add_role) | **POST** {deb_apt_publication_href}add_role/ | Add a role
141
149
  *PulpDebClient::PublicationsAptApi* | [**create**](docs/PublicationsAptApi.md#create) | **POST** /pulp/api/v3/publications/deb/apt/ | Create an apt publication
142
150
  *PulpDebClient::PublicationsAptApi* | [**delete**](docs/PublicationsAptApi.md#delete) | **DELETE** {deb_apt_publication_href} | Delete an apt publication
143
151
  *PulpDebClient::PublicationsAptApi* | [**list**](docs/PublicationsAptApi.md#list) | **GET** /pulp/api/v3/publications/deb/apt/ | List apt publications
152
+ *PulpDebClient::PublicationsAptApi* | [**list_roles**](docs/PublicationsAptApi.md#list_roles) | **GET** {deb_apt_publication_href}list_roles/ | List roles
153
+ *PulpDebClient::PublicationsAptApi* | [**my_permissions**](docs/PublicationsAptApi.md#my_permissions) | **GET** {deb_apt_publication_href}my_permissions/ | List user permissions
144
154
  *PulpDebClient::PublicationsAptApi* | [**read**](docs/PublicationsAptApi.md#read) | **GET** {deb_apt_publication_href} | Inspect an apt publication
155
+ *PulpDebClient::PublicationsAptApi* | [**remove_role**](docs/PublicationsAptApi.md#remove_role) | **POST** {deb_apt_publication_href}remove_role/ | Remove a role
156
+ *PulpDebClient::PublicationsVerbatimApi* | [**add_role**](docs/PublicationsVerbatimApi.md#add_role) | **POST** {deb_verbatim_publication_href}add_role/ | Add a role
145
157
  *PulpDebClient::PublicationsVerbatimApi* | [**create**](docs/PublicationsVerbatimApi.md#create) | **POST** /pulp/api/v3/publications/deb/verbatim/ | Create a verbatim publication
146
158
  *PulpDebClient::PublicationsVerbatimApi* | [**delete**](docs/PublicationsVerbatimApi.md#delete) | **DELETE** {deb_verbatim_publication_href} | Delete a verbatim publication
147
159
  *PulpDebClient::PublicationsVerbatimApi* | [**list**](docs/PublicationsVerbatimApi.md#list) | **GET** /pulp/api/v3/publications/deb/verbatim/ | List verbatim publications
160
+ *PulpDebClient::PublicationsVerbatimApi* | [**list_roles**](docs/PublicationsVerbatimApi.md#list_roles) | **GET** {deb_verbatim_publication_href}list_roles/ | List roles
161
+ *PulpDebClient::PublicationsVerbatimApi* | [**my_permissions**](docs/PublicationsVerbatimApi.md#my_permissions) | **GET** {deb_verbatim_publication_href}my_permissions/ | List user permissions
148
162
  *PulpDebClient::PublicationsVerbatimApi* | [**read**](docs/PublicationsVerbatimApi.md#read) | **GET** {deb_verbatim_publication_href} | Inspect a verbatim publication
163
+ *PulpDebClient::PublicationsVerbatimApi* | [**remove_role**](docs/PublicationsVerbatimApi.md#remove_role) | **POST** {deb_verbatim_publication_href}remove_role/ | Remove a role
164
+ *PulpDebClient::RemotesAptApi* | [**add_role**](docs/RemotesAptApi.md#add_role) | **POST** {deb_apt_remote_href}add_role/ | Add a role
149
165
  *PulpDebClient::RemotesAptApi* | [**create**](docs/RemotesAptApi.md#create) | **POST** /pulp/api/v3/remotes/deb/apt/ | Create an apt remote
150
166
  *PulpDebClient::RemotesAptApi* | [**delete**](docs/RemotesAptApi.md#delete) | **DELETE** {deb_apt_remote_href} | Delete an apt remote
151
167
  *PulpDebClient::RemotesAptApi* | [**list**](docs/RemotesAptApi.md#list) | **GET** /pulp/api/v3/remotes/deb/apt/ | List apt remotes
168
+ *PulpDebClient::RemotesAptApi* | [**list_roles**](docs/RemotesAptApi.md#list_roles) | **GET** {deb_apt_remote_href}list_roles/ | List roles
169
+ *PulpDebClient::RemotesAptApi* | [**my_permissions**](docs/RemotesAptApi.md#my_permissions) | **GET** {deb_apt_remote_href}my_permissions/ | List user permissions
152
170
  *PulpDebClient::RemotesAptApi* | [**partial_update**](docs/RemotesAptApi.md#partial_update) | **PATCH** {deb_apt_remote_href} | Update an apt remote
153
171
  *PulpDebClient::RemotesAptApi* | [**read**](docs/RemotesAptApi.md#read) | **GET** {deb_apt_remote_href} | Inspect an apt remote
172
+ *PulpDebClient::RemotesAptApi* | [**remove_role**](docs/RemotesAptApi.md#remove_role) | **POST** {deb_apt_remote_href}remove_role/ | Remove a role
154
173
  *PulpDebClient::RemotesAptApi* | [**set_label**](docs/RemotesAptApi.md#set_label) | **POST** {deb_apt_remote_href}set_label/ | Set a label
155
174
  *PulpDebClient::RemotesAptApi* | [**unset_label**](docs/RemotesAptApi.md#unset_label) | **POST** {deb_apt_remote_href}unset_label/ | Unset a label
156
175
  *PulpDebClient::RemotesAptApi* | [**update**](docs/RemotesAptApi.md#update) | **PUT** {deb_apt_remote_href} | Update an apt remote
176
+ *PulpDebClient::RepositoriesAptApi* | [**add_role**](docs/RepositoriesAptApi.md#add_role) | **POST** {deb_apt_repository_href}add_role/ | Add a role
157
177
  *PulpDebClient::RepositoriesAptApi* | [**create**](docs/RepositoriesAptApi.md#create) | **POST** /pulp/api/v3/repositories/deb/apt/ | Create an apt repository
158
178
  *PulpDebClient::RepositoriesAptApi* | [**delete**](docs/RepositoriesAptApi.md#delete) | **DELETE** {deb_apt_repository_href} | Delete an apt repository
159
179
  *PulpDebClient::RepositoriesAptApi* | [**list**](docs/RepositoriesAptApi.md#list) | **GET** /pulp/api/v3/repositories/deb/apt/ | List apt repositorys
180
+ *PulpDebClient::RepositoriesAptApi* | [**list_roles**](docs/RepositoriesAptApi.md#list_roles) | **GET** {deb_apt_repository_href}list_roles/ | List roles
160
181
  *PulpDebClient::RepositoriesAptApi* | [**modify**](docs/RepositoriesAptApi.md#modify) | **POST** {deb_apt_repository_href}modify/ | Modify Repository Content
182
+ *PulpDebClient::RepositoriesAptApi* | [**my_permissions**](docs/RepositoriesAptApi.md#my_permissions) | **GET** {deb_apt_repository_href}my_permissions/ | List user permissions
161
183
  *PulpDebClient::RepositoriesAptApi* | [**partial_update**](docs/RepositoriesAptApi.md#partial_update) | **PATCH** {deb_apt_repository_href} | Update an apt repository
162
184
  *PulpDebClient::RepositoriesAptApi* | [**read**](docs/RepositoriesAptApi.md#read) | **GET** {deb_apt_repository_href} | Inspect an apt repository
185
+ *PulpDebClient::RepositoriesAptApi* | [**remove_role**](docs/RepositoriesAptApi.md#remove_role) | **POST** {deb_apt_repository_href}remove_role/ | Remove a role
163
186
  *PulpDebClient::RepositoriesAptApi* | [**set_label**](docs/RepositoriesAptApi.md#set_label) | **POST** {deb_apt_repository_href}set_label/ | Set a label
164
187
  *PulpDebClient::RepositoriesAptApi* | [**sync**](docs/RepositoriesAptApi.md#sync) | **POST** {deb_apt_repository_href}sync/ | Sync from remote
165
188
  *PulpDebClient::RepositoriesAptApi* | [**unset_label**](docs/RepositoriesAptApi.md#unset_label) | **POST** {deb_apt_repository_href}unset_label/ | Unset a label
@@ -182,16 +205,13 @@ Class | Method | HTTP request | Description
182
205
  - [PulpDebClient::DebAptPublicationResponse](docs/DebAptPublicationResponse.md)
183
206
  - [PulpDebClient::DebAptRemote](docs/DebAptRemote.md)
184
207
  - [PulpDebClient::DebAptRemoteResponse](docs/DebAptRemoteResponse.md)
185
- - [PulpDebClient::DebAptRemoteResponseHiddenFields](docs/DebAptRemoteResponseHiddenFields.md)
208
+ - [PulpDebClient::DebAptRemoteResponseHiddenFieldsInner](docs/DebAptRemoteResponseHiddenFieldsInner.md)
186
209
  - [PulpDebClient::DebAptRepository](docs/DebAptRepository.md)
187
210
  - [PulpDebClient::DebAptRepositoryResponse](docs/DebAptRepositoryResponse.md)
188
- - [PulpDebClient::DebGenericContent](docs/DebGenericContent.md)
189
211
  - [PulpDebClient::DebGenericContentResponse](docs/DebGenericContentResponse.md)
190
212
  - [PulpDebClient::DebInstallerFileIndex](docs/DebInstallerFileIndex.md)
191
213
  - [PulpDebClient::DebInstallerFileIndexResponse](docs/DebInstallerFileIndexResponse.md)
192
- - [PulpDebClient::DebInstallerPackage](docs/DebInstallerPackage.md)
193
214
  - [PulpDebClient::DebInstallerPackageResponse](docs/DebInstallerPackageResponse.md)
194
- - [PulpDebClient::DebPackage](docs/DebPackage.md)
195
215
  - [PulpDebClient::DebPackageIndex](docs/DebPackageIndex.md)
196
216
  - [PulpDebClient::DebPackageIndexResponse](docs/DebPackageIndexResponse.md)
197
217
  - [PulpDebClient::DebPackageReleaseComponent](docs/DebPackageReleaseComponent.md)
@@ -213,6 +233,10 @@ Class | Method | HTTP request | Description
213
233
  - [PulpDebClient::DebSourcePackageResponse](docs/DebSourcePackageResponse.md)
214
234
  - [PulpDebClient::DebVerbatimPublication](docs/DebVerbatimPublication.md)
215
235
  - [PulpDebClient::DebVerbatimPublicationResponse](docs/DebVerbatimPublicationResponse.md)
236
+ - [PulpDebClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
237
+ - [PulpDebClient::NestedRole](docs/NestedRole.md)
238
+ - [PulpDebClient::NestedRoleResponse](docs/NestedRoleResponse.md)
239
+ - [PulpDebClient::ObjectRolesResponse](docs/ObjectRolesResponse.md)
216
240
  - [PulpDebClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
217
241
  - [PulpDebClient::PaginateddebAptDistributionResponseList](docs/PaginateddebAptDistributionResponseList.md)
218
242
  - [PulpDebClient::PaginateddebAptPublicationResponseList](docs/PaginateddebAptPublicationResponseList.md)
@@ -248,6 +272,7 @@ Class | Method | HTTP request | Description
248
272
  ## Documentation for Authorization
249
273
 
250
274
 
275
+ Authentication schemes defined for the API:
251
276
  ### basicAuth
252
277
 
253
278
  - **Type**: HTTP basic authentication
@@ -2,20 +2,21 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional]
8
- **mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional] [default to false]
9
- **optimize** | **Boolean** | Using optimize sync, will skip the processing of metadata if the checksum has not changed since the last sync. This greately improves re-sync performance in such situations. If you feel the sync is missing something that has changed about the remote repository you are syncing, try using optimize=False for a full re-sync. Consider opening an issue on why we should not optimize in your use case. | [optional] [default to true]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional] |
8
+ | **mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional][default to false] |
9
+ | **optimize** | **Boolean** | Using optimize sync, will skip the processing of metadata if the checksum has not changed since the last sync. This greately improves re-sync performance in such situations. If you feel the sync is missing something that has changed about the remote repository you are syncing, try using optimize=False for a full re-sync. Consider opening an issue on why we should not optimize in your use case. | [optional][default to true] |
10
10
 
11
- ## Code Sample
11
+ ## Example
12
12
 
13
13
  ```ruby
14
- require 'PulpDebClient'
14
+ require 'pulp_deb_client'
15
15
 
16
- instance = PulpDebClient::AptRepositorySyncURL.new(remote: null,
17
- mirror: null,
18
- optimize: null)
16
+ instance = PulpDebClient::AptRepositorySyncURL.new(
17
+ remote: null,
18
+ mirror: null,
19
+ optimize: null
20
+ )
19
21
  ```
20
22
 
21
-
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **task** | **String** | The href of the task. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **task** | **String** | The href of the task. | |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'PulpDebClient'
12
+ require 'pulp_deb_client'
13
13
 
14
- instance = PulpDebClient::AsyncOperationResponse.new(task: null)
14
+ instance = PulpDebClient::AsyncOperationResponse.new(
15
+ task: null
16
+ )
15
17
  ```
16
18
 
17
-
@@ -2,26 +2,25 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](ContentGenericContentsApi.md#create) | **POST** /pulp/api/v3/content/deb/generic_contents/ | Create a generic content
8
- [**list**](ContentGenericContentsApi.md#list) | **GET** /pulp/api/v3/content/deb/generic_contents/ | List generic contents
9
- [**read**](ContentGenericContentsApi.md#read) | **GET** {deb_generic_content_href} | Inspect a generic content
10
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](ContentGenericContentsApi.md#create) | **POST** /pulp/api/v3/content/deb/generic_contents/ | Create a generic content |
8
+ | [**list**](ContentGenericContentsApi.md#list) | **GET** /pulp/api/v3/content/deb/generic_contents/ | List generic contents |
9
+ | [**read**](ContentGenericContentsApi.md#read) | **GET** {deb_generic_content_href} | Inspect a generic content |
11
10
 
12
11
 
13
12
  ## create
14
13
 
15
- > AsyncOperationResponse create(relative_path, opts)
14
+ > <AsyncOperationResponse> create(relative_path, opts)
16
15
 
17
16
  Create a generic content
18
17
 
19
18
  Trigger an asynchronous task to create content,optionally create new repository version.
20
19
 
21
- ### Example
20
+ ### Examples
22
21
 
23
22
  ```ruby
24
- # load the gem
23
+ require 'time'
25
24
  require 'pulp_deb_client'
26
25
  # setup authorization
27
26
  PulpDebClient.configure do |config|
@@ -35,31 +34,48 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
35
34
  opts = {
36
35
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
37
36
  artifact: 'artifact_example', # String | Artifact file representing the physical content
38
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
37
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
39
38
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
40
39
  file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
41
40
  }
42
41
 
43
42
  begin
44
- #Create a generic content
43
+ # Create a generic content
45
44
  result = api_instance.create(relative_path, opts)
46
45
  p result
47
46
  rescue PulpDebClient::ApiError => e
48
- puts "Exception when calling ContentGenericContentsApi->create: #{e}"
47
+ puts "Error when calling ContentGenericContentsApi->create: #{e}"
49
48
  end
50
49
  ```
51
50
 
52
- ### Parameters
51
+ #### Using the create_with_http_info variant
52
+
53
+ This returns an Array which contains the response data, status code and headers.
54
+
55
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(relative_path, opts)
56
+
57
+ ```ruby
58
+ begin
59
+ # Create a generic content
60
+ data, status_code, headers = api_instance.create_with_http_info(relative_path, opts)
61
+ p status_code # => 2xx
62
+ p headers # => { ... }
63
+ p data # => <AsyncOperationResponse>
64
+ rescue PulpDebClient::ApiError => e
65
+ puts "Error when calling ContentGenericContentsApi->create_with_http_info: #{e}"
66
+ end
67
+ ```
53
68
 
69
+ ### Parameters
54
70
 
55
- Name | Type | Description | Notes
56
- ------------- | ------------- | ------------- | -------------
57
- **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
58
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
59
- **artifact** | **String**| Artifact file representing the physical content | [optional]
60
- **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
61
- **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
62
- **file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
71
+ | Name | Type | Description | Notes |
72
+ | ---- | ---- | ----------- | ----- |
73
+ | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
74
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
75
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
76
+ | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
77
+ | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
78
+ | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
63
79
 
64
80
  ### Return type
65
81
 
@@ -77,16 +93,16 @@ Name | Type | Description | Notes
77
93
 
78
94
  ## list
79
95
 
80
- > PaginateddebGenericContentResponseList list(opts)
96
+ > <PaginateddebGenericContentResponseList> list(opts)
81
97
 
82
98
  List generic contents
83
99
 
84
100
  GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
85
101
 
86
- ### Example
102
+ ### Examples
87
103
 
88
104
  ```ruby
89
- # load the gem
105
+ require 'time'
90
106
  require 'pulp_deb_client'
91
107
  # setup authorization
92
108
  PulpDebClient.configure do |config|
@@ -99,50 +115,67 @@ api_instance = PulpDebClient::ContentGenericContentsApi.new
99
115
  opts = {
100
116
  limit: 56, # Integer | Number of results to return per page.
101
117
  offset: 56, # Integer | The initial index from which to return the results.
102
- 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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
103
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
104
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
105
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
106
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
118
+ ordering: ['-pk'], # 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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
119
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
120
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
121
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
122
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
107
123
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
108
124
  relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
109
125
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
110
126
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
111
127
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
112
128
  sha256: 'sha256_example', # String | Filter results where sha256 matches value
113
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
114
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
129
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
130
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
115
131
  }
116
132
 
117
133
  begin
118
- #List generic contents
134
+ # List generic contents
119
135
  result = api_instance.list(opts)
120
136
  p result
121
137
  rescue PulpDebClient::ApiError => e
122
- puts "Exception when calling ContentGenericContentsApi->list: #{e}"
138
+ puts "Error when calling ContentGenericContentsApi->list: #{e}"
123
139
  end
124
140
  ```
125
141
 
126
- ### Parameters
142
+ #### Using the list_with_http_info variant
127
143
 
144
+ This returns an Array which contains the response data, status code and headers.
128
145
 
129
- Name | Type | Description | Notes
130
- ------------- | ------------- | ------------- | -------------
131
- **limit** | **Integer**| Number of results to return per page. | [optional]
132
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
133
- **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;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]
134
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
135
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
136
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
137
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
138
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
139
- **relative_path** | **String**| Filter results where relative_path matches value | [optional]
140
- **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
141
- **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
142
- **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
143
- **sha256** | **String**| Filter results where sha256 matches value | [optional]
144
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
145
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
146
+ > <Array(<PaginateddebGenericContentResponseList>, Integer, Hash)> list_with_http_info(opts)
147
+
148
+ ```ruby
149
+ begin
150
+ # List generic contents
151
+ data, status_code, headers = api_instance.list_with_http_info(opts)
152
+ p status_code # => 2xx
153
+ p headers # => { ... }
154
+ p data # => <PaginateddebGenericContentResponseList>
155
+ rescue PulpDebClient::ApiError => e
156
+ puts "Error when calling ContentGenericContentsApi->list_with_http_info: #{e}"
157
+ end
158
+ ```
159
+
160
+ ### Parameters
161
+
162
+ | Name | Type | Description | Notes |
163
+ | ---- | ---- | ----------- | ----- |
164
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
165
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
166
+ | **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;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] |
167
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
168
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
169
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
170
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
171
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
172
+ | **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
173
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
174
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
175
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
176
+ | **sha256** | **String** | Filter results where sha256 matches value | [optional] |
177
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
178
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
146
179
 
147
180
  ### Return type
148
181
 
@@ -160,16 +193,16 @@ Name | Type | Description | Notes
160
193
 
161
194
  ## read
162
195
 
163
- > DebGenericContentResponse read(deb_generic_content_href, opts)
196
+ > <DebGenericContentResponse> read(deb_generic_content_href, opts)
164
197
 
165
198
  Inspect a generic content
166
199
 
167
200
  GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
168
201
 
169
- ### Example
202
+ ### Examples
170
203
 
171
204
  ```ruby
172
- # load the gem
205
+ require 'time'
173
206
  require 'pulp_deb_client'
174
207
  # setup authorization
175
208
  PulpDebClient.configure do |config|
@@ -181,27 +214,44 @@ end
181
214
  api_instance = PulpDebClient::ContentGenericContentsApi.new
182
215
  deb_generic_content_href = 'deb_generic_content_href_example' # String |
183
216
  opts = {
184
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
185
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
217
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
218
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
186
219
  }
187
220
 
188
221
  begin
189
- #Inspect a generic content
222
+ # Inspect a generic content
190
223
  result = api_instance.read(deb_generic_content_href, opts)
191
224
  p result
192
225
  rescue PulpDebClient::ApiError => e
193
- puts "Exception when calling ContentGenericContentsApi->read: #{e}"
226
+ puts "Error when calling ContentGenericContentsApi->read: #{e}"
194
227
  end
195
228
  ```
196
229
 
197
- ### Parameters
230
+ #### Using the read_with_http_info variant
231
+
232
+ This returns an Array which contains the response data, status code and headers.
233
+
234
+ > <Array(<DebGenericContentResponse>, Integer, Hash)> read_with_http_info(deb_generic_content_href, opts)
198
235
 
236
+ ```ruby
237
+ begin
238
+ # Inspect a generic content
239
+ data, status_code, headers = api_instance.read_with_http_info(deb_generic_content_href, opts)
240
+ p status_code # => 2xx
241
+ p headers # => { ... }
242
+ p data # => <DebGenericContentResponse>
243
+ rescue PulpDebClient::ApiError => e
244
+ puts "Error when calling ContentGenericContentsApi->read_with_http_info: #{e}"
245
+ end
246
+ ```
247
+
248
+ ### Parameters
199
249
 
200
- Name | Type | Description | Notes
201
- ------------- | ------------- | ------------- | -------------
202
- **deb_generic_content_href** | **String**| |
203
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
204
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
250
+ | Name | Type | Description | Notes |
251
+ | ---- | ---- | ----------- | ----- |
252
+ | **deb_generic_content_href** | **String** | | |
253
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
254
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
205
255
 
206
256
  ### Return type
207
257