pulp_rpm_client 3.27.2 → 3.28.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 (322) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -9
  3. data/docs/AcsRpmApi.md +343 -156
  4. data/docs/AddonResponse.md +16 -15
  5. data/docs/ArtifactResponse.md +30 -29
  6. data/docs/AsyncOperationResponse.md +8 -7
  7. data/docs/ChecksumResponse.md +10 -9
  8. data/docs/CompressionTypeEnum.md +4 -5
  9. data/docs/ContentAdvisoriesApi.md +275 -75
  10. data/docs/ContentDistributionTreesApi.md +227 -46
  11. data/docs/ContentModulemdDefaultsApi.md +262 -64
  12. data/docs/ContentModulemdObsoletesApi.md +255 -57
  13. data/docs/ContentModulemdsApi.md +271 -73
  14. data/docs/ContentPackagecategoriesApi.md +227 -46
  15. data/docs/ContentPackageenvironmentsApi.md +227 -46
  16. data/docs/ContentPackagegroupsApi.md +227 -46
  17. data/docs/ContentPackagelangpacksApi.md +227 -46
  18. data/docs/ContentPackagesApi.md +298 -98
  19. data/docs/ContentRepoMetadataFilesApi.md +227 -46
  20. data/docs/ContentSummaryResponse.md +12 -11
  21. data/docs/Copy.md +10 -9
  22. data/docs/DistributionsRpmApi.md +385 -182
  23. data/docs/ImageResponse.md +14 -13
  24. data/docs/MyPermissionsResponse.md +8 -7
  25. data/docs/NestedRole.md +12 -11
  26. data/docs/NestedRoleResponse.md +12 -11
  27. data/docs/ObjectRolesResponse.md +8 -7
  28. data/docs/PackageChecksumTypeEnum.md +4 -5
  29. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  30. data/docs/PaginatedrpmDistributionTreeResponseList.md +14 -13
  31. data/docs/PaginatedrpmModulemdDefaultsResponseList.md +14 -13
  32. data/docs/PaginatedrpmModulemdObsoleteResponseList.md +14 -13
  33. data/docs/PaginatedrpmModulemdResponseList.md +14 -13
  34. data/docs/PaginatedrpmPackageCategoryResponseList.md +14 -13
  35. data/docs/PaginatedrpmPackageEnvironmentResponseList.md +14 -13
  36. data/docs/PaginatedrpmPackageGroupResponseList.md +14 -13
  37. data/docs/PaginatedrpmPackageLangpacksResponseList.md +14 -13
  38. data/docs/PaginatedrpmPackageResponseList.md +14 -13
  39. data/docs/PaginatedrpmRepoMetadataFileResponseList.md +14 -13
  40. data/docs/PaginatedrpmRpmAlternateContentSourceResponseList.md +14 -13
  41. data/docs/PaginatedrpmRpmDistributionResponseList.md +14 -13
  42. data/docs/PaginatedrpmRpmPublicationResponseList.md +14 -13
  43. data/docs/PaginatedrpmRpmRemoteResponseList.md +14 -13
  44. data/docs/PaginatedrpmRpmRepositoryResponseList.md +14 -13
  45. data/docs/PaginatedrpmUlnRemoteResponseList.md +14 -13
  46. data/docs/PaginatedrpmUpdateRecordResponseList.md +14 -13
  47. data/docs/PatchedrpmRpmAlternateContentSource.md +14 -13
  48. data/docs/PatchedrpmRpmDistribution.md +22 -21
  49. data/docs/PatchedrpmRpmRemote.md +50 -49
  50. data/docs/PatchedrpmRpmRepository.md +40 -39
  51. data/docs/PatchedrpmUlnRemote.md +50 -49
  52. data/docs/PolicyEnum.md +4 -5
  53. data/docs/PrunePackages.md +12 -11
  54. data/docs/PublicationsRpmApi.md +267 -130
  55. data/docs/RemotesRpmApi.md +389 -184
  56. data/docs/RemotesUlnApi.md +389 -184
  57. data/docs/Repair.md +8 -7
  58. data/docs/RepositoriesRpmApi.md +444 -207
  59. data/docs/RepositoriesRpmVersionsApi.md +152 -82
  60. data/docs/RepositoryAddRemoveContent.md +12 -11
  61. data/docs/RepositoryVersionResponse.md +22 -21
  62. data/docs/RpmCompsApi.md +32 -16
  63. data/docs/RpmCopyApi.md +30 -14
  64. data/docs/RpmDistributionTreeResponse.md +46 -43
  65. data/docs/RpmModulemd.md +34 -31
  66. data/docs/RpmModulemdDefaults.md +18 -15
  67. data/docs/RpmModulemdDefaultsResponse.md +22 -19
  68. data/docs/RpmModulemdObsolete.md +30 -27
  69. data/docs/RpmModulemdObsoleteResponse.md +34 -31
  70. data/docs/RpmModulemdResponse.md +38 -35
  71. data/docs/RpmPackageCategoryResponse.md +32 -29
  72. data/docs/RpmPackageEnvironmentResponse.md +34 -31
  73. data/docs/RpmPackageGroupResponse.md +38 -35
  74. data/docs/RpmPackageLangpacksResponse.md +20 -17
  75. data/docs/RpmPackageResponse.md +102 -99
  76. data/docs/RpmPruneApi.md +30 -13
  77. data/docs/RpmRepoMetadataFileResponse.md +38 -35
  78. data/docs/RpmRepositorySyncURL.md +16 -15
  79. data/docs/RpmRpmAlternateContentSource.md +14 -13
  80. data/docs/RpmRpmAlternateContentSourceResponse.md +22 -21
  81. data/docs/RpmRpmDistribution.md +22 -21
  82. data/docs/RpmRpmDistributionResponse.md +34 -33
  83. data/docs/RpmRpmPublication.md +24 -23
  84. data/docs/RpmRpmPublicationResponse.md +34 -33
  85. data/docs/RpmRpmRemote.md +50 -49
  86. data/docs/RpmRpmRemoteResponse.md +50 -49
  87. data/docs/RpmRpmRemoteResponseHiddenFieldsInner.md +20 -0
  88. data/docs/RpmRpmRepository.md +40 -39
  89. data/docs/RpmRpmRepositoryResponse.md +54 -53
  90. data/docs/RpmUlnRemote.md +50 -49
  91. data/docs/RpmUlnRemoteResponse.md +50 -49
  92. data/docs/RpmUpdateCollection.md +12 -11
  93. data/docs/RpmUpdateCollectionResponse.md +14 -13
  94. data/docs/RpmUpdateRecordResponse.md +52 -49
  95. data/docs/SetLabel.md +10 -9
  96. data/docs/SetLabelResponse.md +10 -9
  97. data/docs/SkipTypesEnum.md +4 -5
  98. data/docs/SyncPolicyEnum.md +4 -5
  99. data/docs/TaskGroupOperationResponse.md +8 -7
  100. data/docs/UnsetLabel.md +8 -7
  101. data/docs/UnsetLabelResponse.md +10 -9
  102. data/docs/VariantResponse.md +26 -25
  103. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +76 -50
  104. data/lib/pulp_rpm_client/api/content_advisories_api.rb +177 -17
  105. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +162 -9
  106. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +174 -17
  107. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +171 -14
  108. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +174 -17
  109. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +162 -9
  110. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +162 -9
  111. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +162 -9
  112. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +162 -9
  113. data/lib/pulp_rpm_client/api/content_packages_api.rb +177 -17
  114. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +162 -9
  115. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +89 -56
  116. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +67 -47
  117. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +104 -68
  118. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +104 -68
  119. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +107 -66
  120. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +40 -30
  121. data/lib/pulp_rpm_client/api/rpm_comps_api.rb +10 -6
  122. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +10 -6
  123. data/lib/pulp_rpm_client/api/rpm_prune_api.rb +10 -6
  124. data/lib/pulp_rpm_client/api_client.rb +137 -102
  125. data/lib/pulp_rpm_client/api_error.rb +2 -1
  126. data/lib/pulp_rpm_client/configuration.rb +162 -21
  127. data/lib/pulp_rpm_client/models/addon_response.rb +40 -22
  128. data/lib/pulp_rpm_client/models/artifact_response.rb +34 -24
  129. data/lib/pulp_rpm_client/models/async_operation_response.rb +32 -22
  130. data/lib/pulp_rpm_client/models/checksum_response.rb +34 -22
  131. data/lib/pulp_rpm_client/models/compression_type_enum.rb +8 -4
  132. data/lib/pulp_rpm_client/models/content_summary_response.rb +36 -22
  133. data/lib/pulp_rpm_client/models/copy.rb +34 -28
  134. data/lib/pulp_rpm_client/models/image_response.rb +38 -22
  135. data/lib/pulp_rpm_client/models/my_permissions_response.rb +32 -22
  136. data/lib/pulp_rpm_client/models/nested_role.rb +32 -22
  137. data/lib/pulp_rpm_client/models/nested_role_response.rb +32 -22
  138. data/lib/pulp_rpm_client/models/object_roles_response.rb +32 -22
  139. data/lib/pulp_rpm_client/models/package_checksum_type_enum.rb +8 -4
  140. data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +34 -22
  141. data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +34 -22
  142. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +34 -22
  143. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +34 -22
  144. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +34 -22
  145. data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +34 -22
  146. data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +34 -22
  147. data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +34 -22
  148. data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +34 -22
  149. data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +34 -22
  150. data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +34 -22
  151. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +34 -22
  152. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +34 -22
  153. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +34 -22
  154. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +34 -22
  155. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +34 -22
  156. data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +34 -22
  157. data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +34 -22
  158. data/lib/pulp_rpm_client/models/patchedrpm_rpm_alternate_content_source.rb +36 -24
  159. data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +40 -24
  160. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +82 -44
  161. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +68 -25
  162. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +92 -46
  163. data/lib/pulp_rpm_client/models/policy_enum.rb +8 -4
  164. data/lib/pulp_rpm_client/models/prune_packages.rb +37 -23
  165. data/lib/pulp_rpm_client/models/repair.rb +30 -22
  166. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +30 -22
  167. data/lib/pulp_rpm_client/models/repository_version_response.rb +32 -24
  168. data/lib/pulp_rpm_client/models/rpm_distribution_tree_response.rb +77 -23
  169. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +63 -23
  170. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +52 -28
  171. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +52 -30
  172. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +68 -28
  173. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +63 -25
  174. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +63 -25
  175. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +61 -25
  176. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +63 -25
  177. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +61 -25
  178. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +49 -25
  179. data/lib/pulp_rpm_client/models/rpm_package_response.rb +55 -25
  180. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +53 -25
  181. data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +52 -22
  182. data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source.rb +35 -23
  183. data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +37 -25
  184. data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +34 -22
  185. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +36 -24
  186. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +53 -22
  187. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +55 -24
  188. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +76 -42
  189. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +79 -45
  190. data/lib/pulp_rpm_client/models/{rpm_rpm_remote_response_hidden_fields.rb → rpm_rpm_remote_response_hidden_fields_inner.rb} +37 -25
  191. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +65 -24
  192. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +67 -26
  193. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +80 -42
  194. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +79 -45
  195. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +36 -22
  196. data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +36 -22
  197. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +45 -25
  198. data/lib/pulp_rpm_client/models/set_label.rb +34 -22
  199. data/lib/pulp_rpm_client/models/set_label_response.rb +34 -22
  200. data/lib/pulp_rpm_client/models/skip_types_enum.rb +8 -4
  201. data/lib/pulp_rpm_client/models/sync_policy_enum.rb +8 -4
  202. data/lib/pulp_rpm_client/models/task_group_operation_response.rb +32 -22
  203. data/lib/pulp_rpm_client/models/unset_label.rb +33 -23
  204. data/lib/pulp_rpm_client/models/unset_label_response.rb +33 -23
  205. data/lib/pulp_rpm_client/models/variant_response.rb +50 -22
  206. data/lib/pulp_rpm_client/version.rb +2 -2
  207. data/lib/pulp_rpm_client.rb +2 -5
  208. data/pulp_rpm_client.gemspec +9 -6
  209. data/spec/api/acs_rpm_api_spec.rb +12 -12
  210. data/spec/api/content_advisories_api_spec.rb +33 -5
  211. data/spec/api/content_distribution_trees_api_spec.rb +30 -3
  212. data/spec/api/content_modulemd_defaults_api_spec.rb +32 -5
  213. data/spec/api/content_modulemd_obsoletes_api_spec.rb +31 -4
  214. data/spec/api/content_modulemds_api_spec.rb +32 -5
  215. data/spec/api/content_packagecategories_api_spec.rb +30 -3
  216. data/spec/api/content_packageenvironments_api_spec.rb +30 -3
  217. data/spec/api/content_packagegroups_api_spec.rb +30 -3
  218. data/spec/api/content_packagelangpacks_api_spec.rb +30 -3
  219. data/spec/api/content_packages_api_spec.rb +33 -5
  220. data/spec/api/content_repo_metadata_files_api_spec.rb +30 -3
  221. data/spec/api/distributions_rpm_api_spec.rb +13 -13
  222. data/spec/api/publications_rpm_api_spec.rb +16 -15
  223. data/spec/api/remotes_rpm_api_spec.rb +20 -19
  224. data/spec/api/remotes_uln_api_spec.rb +20 -19
  225. data/spec/api/repositories_rpm_api_spec.rb +15 -15
  226. data/spec/api/repositories_rpm_versions_api_spec.rb +12 -11
  227. data/spec/api/rpm_comps_api_spec.rb +2 -2
  228. data/spec/api/rpm_copy_api_spec.rb +2 -2
  229. data/spec/api/rpm_prune_api_spec.rb +2 -2
  230. data/spec/models/addon_response_spec.rb +11 -16
  231. data/spec/models/artifact_response_spec.rb +18 -23
  232. data/spec/models/async_operation_response_spec.rb +7 -12
  233. data/spec/models/checksum_response_spec.rb +8 -13
  234. data/spec/models/compression_type_enum_spec.rb +6 -11
  235. data/spec/models/content_summary_response_spec.rb +9 -14
  236. data/spec/models/copy_spec.rb +8 -13
  237. data/spec/models/image_response_spec.rb +10 -15
  238. data/spec/models/my_permissions_response_spec.rb +7 -12
  239. data/spec/models/nested_role_response_spec.rb +9 -14
  240. data/spec/models/nested_role_spec.rb +9 -14
  241. data/spec/models/object_roles_response_spec.rb +7 -12
  242. data/spec/models/package_checksum_type_enum_spec.rb +6 -11
  243. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  244. data/spec/models/paginatedrpm_distribution_tree_response_list_spec.rb +10 -15
  245. data/spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb +10 -15
  246. data/spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb +10 -15
  247. data/spec/models/paginatedrpm_modulemd_response_list_spec.rb +10 -15
  248. data/spec/models/paginatedrpm_package_category_response_list_spec.rb +10 -15
  249. data/spec/models/paginatedrpm_package_environment_response_list_spec.rb +10 -15
  250. data/spec/models/paginatedrpm_package_group_response_list_spec.rb +10 -15
  251. data/spec/models/paginatedrpm_package_langpacks_response_list_spec.rb +10 -15
  252. data/spec/models/paginatedrpm_package_response_list_spec.rb +10 -15
  253. data/spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb +10 -15
  254. data/spec/models/paginatedrpm_rpm_alternate_content_source_response_list_spec.rb +10 -15
  255. data/spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb +10 -15
  256. data/spec/models/paginatedrpm_rpm_publication_response_list_spec.rb +10 -15
  257. data/spec/models/paginatedrpm_rpm_remote_response_list_spec.rb +10 -15
  258. data/spec/models/paginatedrpm_rpm_repository_response_list_spec.rb +10 -15
  259. data/spec/models/paginatedrpm_uln_remote_response_list_spec.rb +10 -15
  260. data/spec/models/paginatedrpm_update_record_response_list_spec.rb +10 -15
  261. data/spec/models/patchedrpm_rpm_alternate_content_source_spec.rb +10 -15
  262. data/spec/models/patchedrpm_rpm_distribution_spec.rb +14 -19
  263. data/spec/models/patchedrpm_rpm_remote_spec.rb +28 -33
  264. data/spec/models/patchedrpm_rpm_repository_spec.rb +23 -28
  265. data/spec/models/patchedrpm_uln_remote_spec.rb +28 -33
  266. data/spec/models/policy_enum_spec.rb +6 -11
  267. data/spec/models/prune_packages_spec.rb +9 -14
  268. data/spec/models/repair_spec.rb +7 -12
  269. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  270. data/spec/models/repository_version_response_spec.rb +14 -19
  271. data/spec/models/rpm_distribution_tree_response_spec.rb +31 -30
  272. data/spec/models/rpm_modulemd_defaults_response_spec.rb +19 -18
  273. data/spec/models/rpm_modulemd_defaults_spec.rb +17 -16
  274. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +25 -24
  275. data/spec/models/rpm_modulemd_obsolete_spec.rb +23 -22
  276. data/spec/models/rpm_modulemd_response_spec.rb +27 -26
  277. data/spec/models/rpm_modulemd_spec.rb +25 -24
  278. data/spec/models/rpm_package_category_response_spec.rb +24 -23
  279. data/spec/models/rpm_package_environment_response_spec.rb +25 -24
  280. data/spec/models/rpm_package_group_response_spec.rb +27 -26
  281. data/spec/models/rpm_package_langpacks_response_spec.rb +18 -17
  282. data/spec/models/rpm_package_response_spec.rb +59 -58
  283. data/spec/models/rpm_repo_metadata_file_response_spec.rb +27 -26
  284. data/spec/models/rpm_repository_sync_url_spec.rb +11 -16
  285. data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +14 -19
  286. data/spec/models/rpm_rpm_alternate_content_source_spec.rb +10 -15
  287. data/spec/models/rpm_rpm_distribution_response_spec.rb +20 -25
  288. data/spec/models/rpm_rpm_distribution_spec.rb +14 -19
  289. data/spec/models/rpm_rpm_publication_response_spec.rb +20 -25
  290. data/spec/models/rpm_rpm_publication_spec.rb +15 -20
  291. data/spec/models/{rpm_rpm_remote_response_hidden_fields_spec.rb → rpm_rpm_remote_response_hidden_fields_inner_spec.rb} +11 -16
  292. data/spec/models/rpm_rpm_remote_response_spec.rb +28 -33
  293. data/spec/models/rpm_rpm_remote_spec.rb +28 -33
  294. data/spec/models/rpm_rpm_repository_response_spec.rb +30 -35
  295. data/spec/models/rpm_rpm_repository_spec.rb +23 -28
  296. data/spec/models/rpm_uln_remote_response_spec.rb +28 -33
  297. data/spec/models/rpm_uln_remote_spec.rb +28 -33
  298. data/spec/models/rpm_update_collection_response_spec.rb +10 -15
  299. data/spec/models/rpm_update_collection_spec.rb +9 -14
  300. data/spec/models/rpm_update_record_response_spec.rb +34 -33
  301. data/spec/models/set_label_response_spec.rb +8 -13
  302. data/spec/models/set_label_spec.rb +8 -13
  303. data/spec/models/skip_types_enum_spec.rb +6 -11
  304. data/spec/models/sync_policy_enum_spec.rb +6 -11
  305. data/spec/models/task_group_operation_response_spec.rb +7 -12
  306. data/spec/models/unset_label_response_spec.rb +8 -13
  307. data/spec/models/unset_label_spec.rb +7 -12
  308. data/spec/models/variant_response_spec.rb +16 -21
  309. data/spec/spec_helper.rb +1 -1
  310. metadata +127 -115
  311. data/docs/CompsXml.md +0 -21
  312. data/docs/RpmPackage.md +0 -27
  313. data/docs/RpmRpmRemoteResponseHiddenFields.md +0 -19
  314. data/docs/RpmUpdateRecord.md +0 -23
  315. data/lib/pulp_rpm_client/models/comps_xml.rb +0 -233
  316. data/lib/pulp_rpm_client/models/rpm_package.rb +0 -288
  317. data/lib/pulp_rpm_client/models/rpm_update_record.rb +0 -253
  318. data/spec/api_client_spec.rb +0 -188
  319. data/spec/configuration_spec.rb +0 -42
  320. data/spec/models/comps_xml_spec.rb +0 -53
  321. data/spec/models/rpm_package_spec.rb +0 -71
  322. data/spec/models/rpm_update_record_spec.rb +0 -59
@@ -2,40 +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
- **id** | **String** | Environment id. |
12
- **name** | **String** | Environment name. |
13
- **description** | **String** | Environment description. |
14
- **display_order** | **Integer** | Environment display order. |
15
- **group_ids** | [**Object**](.md) | Environment group list. |
16
- **option_ids** | [**Object**](.md) | Environment option ids |
17
- **desc_by_lang** | [**Object**](.md) | Environment description by language. |
18
- **name_by_lang** | [**Object**](.md) | Environment name by language. |
19
- **digest** | **String** | Environment digest. |
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
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
12
+ | **id** | **String** | Environment id. | |
13
+ | **name** | **String** | Environment name. | |
14
+ | **description** | **String** | Environment description. | |
15
+ | **display_order** | **Integer** | Environment display order. | |
16
+ | **group_ids** | **Object** | Environment group list. | |
17
+ | **option_ids** | **Object** | Environment option ids | |
18
+ | **desc_by_lang** | **Object** | Environment description by language. | |
19
+ | **name_by_lang** | **Object** | Environment name by language. | |
20
+ | **digest** | **String** | Environment digest. | |
20
21
 
21
- ## Code Sample
22
+ ## Example
22
23
 
23
24
  ```ruby
24
- require 'PulpRpmClient'
25
+ require 'pulp_rpm_client'
25
26
 
26
- instance = PulpRpmClient::RpmPackageEnvironmentResponse.new(pulp_href: null,
27
- prn: null,
28
- pulp_created: null,
29
- pulp_last_updated: null,
30
- id: null,
31
- name: null,
32
- description: null,
33
- display_order: null,
34
- group_ids: null,
35
- option_ids: null,
36
- desc_by_lang: null,
37
- name_by_lang: null,
38
- digest: null)
27
+ instance = PulpRpmClient::RpmPackageEnvironmentResponse.new(
28
+ pulp_href: null,
29
+ prn: null,
30
+ pulp_created: null,
31
+ pulp_last_updated: null,
32
+ pulp_labels: null,
33
+ id: null,
34
+ name: null,
35
+ description: null,
36
+ display_order: null,
37
+ group_ids: null,
38
+ option_ids: null,
39
+ desc_by_lang: null,
40
+ name_by_lang: null,
41
+ digest: null
42
+ )
39
43
  ```
40
44
 
41
-
@@ -2,44 +2,47 @@
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
- **id** | **String** | PackageGroup id. |
12
- **default** | **Boolean** | PackageGroup default. | [optional]
13
- **user_visible** | **Boolean** | PackageGroup user visibility. | [optional]
14
- **display_order** | **Integer** | PackageGroup display order. |
15
- **name** | **String** | PackageGroup name. |
16
- **description** | **String** | PackageGroup description. |
17
- **packages** | [**Object**](.md) | PackageGroup package list. |
18
- **biarch_only** | **Boolean** | PackageGroup biarch only. | [optional]
19
- **desc_by_lang** | [**Object**](.md) | PackageGroup description by language. |
20
- **name_by_lang** | [**Object**](.md) | PackageGroup name by language. |
21
- **digest** | **String** | PackageGroup digest. |
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
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
12
+ | **id** | **String** | PackageGroup id. | |
13
+ | **default** | **Boolean** | PackageGroup default. | [optional] |
14
+ | **user_visible** | **Boolean** | PackageGroup user visibility. | [optional] |
15
+ | **display_order** | **Integer** | PackageGroup display order. | |
16
+ | **name** | **String** | PackageGroup name. | |
17
+ | **description** | **String** | PackageGroup description. | |
18
+ | **packages** | **Object** | PackageGroup package list. | |
19
+ | **biarch_only** | **Boolean** | PackageGroup biarch only. | [optional] |
20
+ | **desc_by_lang** | **Object** | PackageGroup description by language. | |
21
+ | **name_by_lang** | **Object** | PackageGroup name by language. | |
22
+ | **digest** | **String** | PackageGroup digest. | |
22
23
 
23
- ## Code Sample
24
+ ## Example
24
25
 
25
26
  ```ruby
26
- require 'PulpRpmClient'
27
+ require 'pulp_rpm_client'
27
28
 
28
- instance = PulpRpmClient::RpmPackageGroupResponse.new(pulp_href: null,
29
- prn: null,
30
- pulp_created: null,
31
- pulp_last_updated: null,
32
- id: null,
33
- default: null,
34
- user_visible: null,
35
- display_order: null,
36
- name: null,
37
- description: null,
38
- packages: null,
39
- biarch_only: null,
40
- desc_by_lang: null,
41
- name_by_lang: null,
42
- digest: null)
29
+ instance = PulpRpmClient::RpmPackageGroupResponse.new(
30
+ pulp_href: null,
31
+ prn: null,
32
+ pulp_created: null,
33
+ pulp_last_updated: null,
34
+ pulp_labels: null,
35
+ id: null,
36
+ default: null,
37
+ user_visible: null,
38
+ display_order: null,
39
+ name: null,
40
+ description: null,
41
+ packages: null,
42
+ biarch_only: null,
43
+ desc_by_lang: null,
44
+ name_by_lang: null,
45
+ digest: null
46
+ )
43
47
  ```
44
48
 
45
-
@@ -2,26 +2,29 @@
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
- **matches** | [**Object**](.md) | Langpacks matches. |
12
- **digest** | **String** | Langpacks digest. |
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
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
12
+ | **matches** | **Object** | Langpacks matches. | |
13
+ | **digest** | **String** | Langpacks digest. | |
13
14
 
14
- ## Code Sample
15
+ ## Example
15
16
 
16
17
  ```ruby
17
- require 'PulpRpmClient'
18
+ require 'pulp_rpm_client'
18
19
 
19
- instance = PulpRpmClient::RpmPackageLangpacksResponse.new(pulp_href: null,
20
- prn: null,
21
- pulp_created: null,
22
- pulp_last_updated: null,
23
- matches: null,
24
- digest: null)
20
+ instance = PulpRpmClient::RpmPackageLangpacksResponse.new(
21
+ pulp_href: null,
22
+ prn: null,
23
+ pulp_created: null,
24
+ pulp_last_updated: null,
25
+ pulp_labels: null,
26
+ matches: null,
27
+ digest: null
28
+ )
25
29
  ```
26
30
 
27
-
@@ -2,108 +2,111 @@
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
- **md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
12
- **sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
13
- **sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
14
- **sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
15
- **sha384** | **String** | The SHA-384 checksum if available. | [optional] [readonly]
16
- **sha512** | **String** | The SHA-512 checksum if available. | [optional] [readonly]
17
- **artifact** | **String** | Artifact file representing the physical content | [optional]
18
- **name** | **String** | Name of the package | [optional] [readonly]
19
- **epoch** | **String** | The package's epoch | [optional] [readonly]
20
- **version** | **String** | The version of the package. For example, '2.8.0' | [optional] [readonly]
21
- **release** | **String** | The release of a particular version of the package. e.g. '1.el7' or '3.f24' | [optional] [readonly]
22
- **arch** | **String** | The target architecture for a package.For example, 'x86_64', 'i686', or 'noarch' | [optional] [readonly]
23
- **pkg_id** | **String** | Checksum of the package file | [optional] [readonly]
24
- **checksum_type** | **String** | Type of checksum, e.g. 'sha256', 'md5' | [optional] [readonly]
25
- **summary** | **String** | Short description of the packaged software | [optional] [readonly]
26
- **description** | **String** | In-depth description of the packaged software | [optional] [readonly]
27
- **url** | **String** | URL with more information about the packaged software | [optional] [readonly]
28
- **changelogs** | [**Object**](.md) | Changelogs that package contains | [optional] [readonly]
29
- **files** | [**Object**](.md) | Files that package contains | [optional] [readonly]
30
- **requires** | [**Object**](.md) | Capabilities the package requires | [optional] [readonly]
31
- **provides** | [**Object**](.md) | Capabilities the package provides | [optional] [readonly]
32
- **conflicts** | [**Object**](.md) | Capabilities the package conflicts | [optional] [readonly]
33
- **obsoletes** | [**Object**](.md) | Capabilities the package obsoletes | [optional] [readonly]
34
- **suggests** | [**Object**](.md) | Capabilities the package suggests | [optional] [readonly]
35
- **enhances** | [**Object**](.md) | Capabilities the package enhances | [optional] [readonly]
36
- **recommends** | [**Object**](.md) | Capabilities the package recommends | [optional] [readonly]
37
- **supplements** | [**Object**](.md) | Capabilities the package supplements | [optional] [readonly]
38
- **location_base** | **String** | Base location of this package | [optional] [readonly]
39
- **location_href** | **String** | Relative location of package to the repodata | [optional] [readonly]
40
- **rpm_buildhost** | **String** | Hostname of the system that built the package | [optional] [readonly]
41
- **rpm_group** | **String** | RPM group (See: http://fedoraproject.org/wiki/RPMGroups) | [optional] [readonly]
42
- **rpm_license** | **String** | License term applicable to the package software (GPLv2, etc.) | [optional] [readonly]
43
- **rpm_packager** | **String** | Person or persons responsible for creating the package | [optional] [readonly]
44
- **rpm_sourcerpm** | **String** | Name of the source package (srpm) the package was built from | [optional] [readonly]
45
- **rpm_vendor** | **String** | Name of the organization that produced the package | [optional] [readonly]
46
- **rpm_header_start** | **Integer** | First byte of the header | [optional] [readonly]
47
- **rpm_header_end** | **Integer** | Last byte of the header | [optional] [readonly]
48
- **is_modular** | **Boolean** | Flag to identify if the package is modular | [optional] [readonly]
49
- **size_archive** | **Integer** | Size, in bytes, of the archive portion of the original package file | [optional] [readonly]
50
- **size_installed** | **Integer** | Total size, in bytes, of every file installed by this package | [optional] [readonly]
51
- **size_package** | **Integer** | Size, in bytes, of the package | [optional] [readonly]
52
- **time_build** | **Integer** | Time the package was built in seconds since the epoch | [optional] [readonly]
53
- **time_file** | **Integer** | The 'file' time attribute in the primary XML - file mtime in seconds since the epoch. | [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
+ | **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
12
+ | **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
13
+ | **sha224** | **String** | The SHA-224 checksum if available. | [optional][readonly] |
14
+ | **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
15
+ | **sha384** | **String** | The SHA-384 checksum if available. | [optional][readonly] |
16
+ | **sha512** | **String** | The SHA-512 checksum if available. | [optional][readonly] |
17
+ | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
18
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
19
+ | **name** | **String** | Name of the package | [optional][readonly] |
20
+ | **epoch** | **String** | The package's epoch | [optional][readonly] |
21
+ | **version** | **String** | The version of the package. For example, '2.8.0' | [optional][readonly] |
22
+ | **release** | **String** | The release of a particular version of the package. e.g. '1.el7' or '3.f24' | [optional][readonly] |
23
+ | **arch** | **String** | The target architecture for a package.For example, 'x86_64', 'i686', or 'noarch' | [optional][readonly] |
24
+ | **pkg_id** | **String** | Checksum of the package file | [optional][readonly] |
25
+ | **checksum_type** | **String** | Type of checksum, e.g. 'sha256', 'md5' | [optional][readonly] |
26
+ | **summary** | **String** | Short description of the packaged software | [optional][readonly] |
27
+ | **description** | **String** | In-depth description of the packaged software | [optional][readonly] |
28
+ | **url** | **String** | URL with more information about the packaged software | [optional][readonly] |
29
+ | **changelogs** | **Object** | Changelogs that package contains | [optional][readonly] |
30
+ | **files** | **Object** | Files that package contains | [optional][readonly] |
31
+ | **requires** | **Object** | Capabilities the package requires | [optional][readonly] |
32
+ | **provides** | **Object** | Capabilities the package provides | [optional][readonly] |
33
+ | **conflicts** | **Object** | Capabilities the package conflicts | [optional][readonly] |
34
+ | **obsoletes** | **Object** | Capabilities the package obsoletes | [optional][readonly] |
35
+ | **suggests** | **Object** | Capabilities the package suggests | [optional][readonly] |
36
+ | **enhances** | **Object** | Capabilities the package enhances | [optional][readonly] |
37
+ | **recommends** | **Object** | Capabilities the package recommends | [optional][readonly] |
38
+ | **supplements** | **Object** | Capabilities the package supplements | [optional][readonly] |
39
+ | **location_base** | **String** | Base location of this package | [optional][readonly] |
40
+ | **location_href** | **String** | Relative location of package to the repodata | [optional][readonly] |
41
+ | **rpm_buildhost** | **String** | Hostname of the system that built the package | [optional][readonly] |
42
+ | **rpm_group** | **String** | RPM group (See: http://fedoraproject.org/wiki/RPMGroups) | [optional][readonly] |
43
+ | **rpm_license** | **String** | License term applicable to the package software (GPLv2, etc.) | [optional][readonly] |
44
+ | **rpm_packager** | **String** | Person or persons responsible for creating the package | [optional][readonly] |
45
+ | **rpm_sourcerpm** | **String** | Name of the source package (srpm) the package was built from | [optional][readonly] |
46
+ | **rpm_vendor** | **String** | Name of the organization that produced the package | [optional][readonly] |
47
+ | **rpm_header_start** | **Integer** | First byte of the header | [optional][readonly] |
48
+ | **rpm_header_end** | **Integer** | Last byte of the header | [optional][readonly] |
49
+ | **is_modular** | **Boolean** | Flag to identify if the package is modular | [optional][readonly] |
50
+ | **size_archive** | **Integer** | Size, in bytes, of the archive portion of the original package file | [optional][readonly] |
51
+ | **size_installed** | **Integer** | Total size, in bytes, of every file installed by this package | [optional][readonly] |
52
+ | **size_package** | **Integer** | Size, in bytes, of the package | [optional][readonly] |
53
+ | **time_build** | **Integer** | Time the package was built in seconds since the epoch | [optional][readonly] |
54
+ | **time_file** | **Integer** | The 'file' time attribute in the primary XML - file mtime in seconds since the epoch. | [optional][readonly] |
54
55
 
55
- ## Code Sample
56
+ ## Example
56
57
 
57
58
  ```ruby
58
- require 'PulpRpmClient'
59
+ require 'pulp_rpm_client'
59
60
 
60
- instance = PulpRpmClient::RpmPackageResponse.new(pulp_href: null,
61
- prn: null,
62
- pulp_created: null,
63
- pulp_last_updated: null,
64
- md5: null,
65
- sha1: null,
66
- sha224: null,
67
- sha256: null,
68
- sha384: null,
69
- sha512: null,
70
- artifact: null,
71
- name: null,
72
- epoch: null,
73
- version: null,
74
- release: null,
75
- arch: null,
76
- pkg_id: null,
77
- checksum_type: null,
78
- summary: null,
79
- description: null,
80
- url: null,
81
- changelogs: null,
82
- files: null,
83
- requires: null,
84
- provides: null,
85
- conflicts: null,
86
- obsoletes: null,
87
- suggests: null,
88
- enhances: null,
89
- recommends: null,
90
- supplements: null,
91
- location_base: null,
92
- location_href: null,
93
- rpm_buildhost: null,
94
- rpm_group: null,
95
- rpm_license: null,
96
- rpm_packager: null,
97
- rpm_sourcerpm: null,
98
- rpm_vendor: null,
99
- rpm_header_start: null,
100
- rpm_header_end: null,
101
- is_modular: null,
102
- size_archive: null,
103
- size_installed: null,
104
- size_package: null,
105
- time_build: null,
106
- time_file: null)
61
+ instance = PulpRpmClient::RpmPackageResponse.new(
62
+ pulp_href: null,
63
+ prn: null,
64
+ pulp_created: null,
65
+ pulp_last_updated: null,
66
+ md5: null,
67
+ sha1: null,
68
+ sha224: null,
69
+ sha256: null,
70
+ sha384: null,
71
+ sha512: null,
72
+ pulp_labels: null,
73
+ artifact: null,
74
+ name: null,
75
+ epoch: null,
76
+ version: null,
77
+ release: null,
78
+ arch: null,
79
+ pkg_id: null,
80
+ checksum_type: null,
81
+ summary: null,
82
+ description: null,
83
+ url: null,
84
+ changelogs: null,
85
+ files: null,
86
+ requires: null,
87
+ provides: null,
88
+ conflicts: null,
89
+ obsoletes: null,
90
+ suggests: null,
91
+ enhances: null,
92
+ recommends: null,
93
+ supplements: null,
94
+ location_base: null,
95
+ location_href: null,
96
+ rpm_buildhost: null,
97
+ rpm_group: null,
98
+ rpm_license: null,
99
+ rpm_packager: null,
100
+ rpm_sourcerpm: null,
101
+ rpm_vendor: null,
102
+ rpm_header_start: null,
103
+ rpm_header_end: null,
104
+ is_modular: null,
105
+ size_archive: null,
106
+ size_installed: null,
107
+ size_package: null,
108
+ time_build: null,
109
+ time_file: null
110
+ )
107
111
  ```
108
112
 
109
-
data/docs/RpmPruneApi.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
- [**prune_packages**](RpmPruneApi.md#prune_packages) | **POST** /pulp/api/v3/rpm/prune/ |
8
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**prune_packages**](RpmPruneApi.md#prune_packages) | **POST** /pulp/api/v3/rpm/prune/ | |
9
8
 
10
9
 
11
10
  ## prune_packages
12
11
 
13
- > TaskGroupOperationResponse prune_packages(prune_packages)
12
+ > <TaskGroupOperationResponse> prune_packages(prune_packages)
14
13
 
15
14
 
16
15
 
17
16
  Trigger an asynchronous old-Package-prune operation.
18
17
 
19
- ### Example
18
+ ### Examples
20
19
 
21
20
  ```ruby
22
- # load the gem
21
+ require 'time'
23
22
  require 'pulp_rpm_client'
24
23
  # setup authorization
25
24
  PulpRpmClient.configure do |config|
@@ -29,22 +28,40 @@ PulpRpmClient.configure do |config|
29
28
  end
30
29
 
31
30
  api_instance = PulpRpmClient::RpmPruneApi.new
32
- prune_packages = PulpRpmClient::PrunePackages.new # PrunePackages |
31
+ prune_packages = PulpRpmClient::PrunePackages.new({repo_hrefs: ['repo_hrefs_example']}) # PrunePackages |
33
32
 
34
33
  begin
34
+
35
35
  result = api_instance.prune_packages(prune_packages)
36
36
  p result
37
37
  rescue PulpRpmClient::ApiError => e
38
- puts "Exception when calling RpmPruneApi->prune_packages: #{e}"
38
+ puts "Error when calling RpmPruneApi->prune_packages: #{e}"
39
39
  end
40
40
  ```
41
41
 
42
- ### Parameters
42
+ #### Using the prune_packages_with_http_info variant
43
+
44
+ This returns an Array which contains the response data, status code and headers.
43
45
 
46
+ > <Array(<TaskGroupOperationResponse>, Integer, Hash)> prune_packages_with_http_info(prune_packages)
47
+
48
+ ```ruby
49
+ begin
50
+
51
+ data, status_code, headers = api_instance.prune_packages_with_http_info(prune_packages)
52
+ p status_code # => 2xx
53
+ p headers # => { ... }
54
+ p data # => <TaskGroupOperationResponse>
55
+ rescue PulpRpmClient::ApiError => e
56
+ puts "Error when calling RpmPruneApi->prune_packages_with_http_info: #{e}"
57
+ end
58
+ ```
59
+
60
+ ### Parameters
44
61
 
45
- Name | Type | Description | Notes
46
- ------------- | ------------- | ------------- | -------------
47
- **prune_packages** | [**PrunePackages**](PrunePackages.md)| |
62
+ | Name | Type | Description | Notes |
63
+ | ---- | ---- | ----------- | ----- |
64
+ | **prune_packages** | [**PrunePackages**](PrunePackages.md) | | |
48
65
 
49
66
  ### Return type
50
67
 
@@ -2,44 +2,47 @@
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
- **md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
12
- **sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
13
- **sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
14
- **sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
15
- **sha384** | **String** | The SHA-384 checksum if available. | [optional] [readonly]
16
- **sha512** | **String** | The SHA-512 checksum if available. | [optional] [readonly]
17
- **artifact** | **String** | Artifact file representing the physical content | [optional]
18
- **relative_path** | **String** | Relative path of the file. |
19
- **data_type** | **String** | Metadata type. |
20
- **checksum_type** | **String** | Checksum type for the file. |
21
- **checksum** | **String** | Checksum for the file. |
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
+ | **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
12
+ | **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
13
+ | **sha224** | **String** | The SHA-224 checksum if available. | [optional][readonly] |
14
+ | **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
15
+ | **sha384** | **String** | The SHA-384 checksum if available. | [optional][readonly] |
16
+ | **sha512** | **String** | The SHA-512 checksum if available. | [optional][readonly] |
17
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
18
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
19
+ | **relative_path** | **String** | Relative path of the file. | |
20
+ | **data_type** | **String** | Metadata type. | |
21
+ | **checksum_type** | **String** | Checksum type for the file. | |
22
+ | **checksum** | **String** | Checksum for the file. | |
22
23
 
23
- ## Code Sample
24
+ ## Example
24
25
 
25
26
  ```ruby
26
- require 'PulpRpmClient'
27
+ require 'pulp_rpm_client'
27
28
 
28
- instance = PulpRpmClient::RpmRepoMetadataFileResponse.new(pulp_href: null,
29
- prn: null,
30
- pulp_created: null,
31
- pulp_last_updated: null,
32
- md5: null,
33
- sha1: null,
34
- sha224: null,
35
- sha256: null,
36
- sha384: null,
37
- sha512: null,
38
- artifact: null,
39
- relative_path: null,
40
- data_type: null,
41
- checksum_type: null,
42
- checksum: null)
29
+ instance = PulpRpmClient::RpmRepoMetadataFileResponse.new(
30
+ pulp_href: null,
31
+ prn: null,
32
+ pulp_created: null,
33
+ pulp_last_updated: null,
34
+ md5: null,
35
+ sha1: null,
36
+ sha224: null,
37
+ sha256: null,
38
+ sha384: null,
39
+ sha512: null,
40
+ pulp_labels: null,
41
+ artifact: null,
42
+ relative_path: null,
43
+ data_type: null,
44
+ checksum_type: null,
45
+ checksum: null
46
+ )
43
47
  ```
44
48
 
45
-