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,26 +2,27 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/rpm/packages/ | Create a package
8
- [**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packages/ | List packages
9
- [**read**](ContentPackagesApi.md#read) | **GET** {rpm_package_href} | Inspect a package
10
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/rpm/packages/ | Create a package |
8
+ | [**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packages/ | List packages |
9
+ | [**read**](ContentPackagesApi.md#read) | **GET** {rpm_package_href} | Inspect a package |
10
+ | [**set_label**](ContentPackagesApi.md#set_label) | **POST** {rpm_package_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentPackagesApi.md#unset_label) | **POST** {rpm_package_href}unset_label/ | Unset a label |
11
12
 
12
13
 
13
14
  ## create
14
15
 
15
- > AsyncOperationResponse create(opts)
16
+ > <AsyncOperationResponse> create(opts)
16
17
 
17
18
  Create a package
18
19
 
19
20
  Trigger an asynchronous task to create an RPM package,optionally create new repository version.
20
21
 
21
- ### Example
22
+ ### Examples
22
23
 
23
24
  ```ruby
24
- # load the gem
25
+ require 'time'
25
26
  require 'pulp_rpm_client'
26
27
  # setup authorization
27
28
  PulpRpmClient.configure do |config|
@@ -33,33 +34,52 @@ end
33
34
  api_instance = PulpRpmClient::ContentPackagesApi.new
34
35
  opts = {
35
36
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
37
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
36
38
  artifact: 'artifact_example', # String | Artifact file representing the physical content
37
39
  relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
38
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
40
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
39
41
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
40
42
  file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
41
43
  }
42
44
 
43
45
  begin
44
- #Create a package
46
+ # Create a package
45
47
  result = api_instance.create(opts)
46
48
  p result
47
49
  rescue PulpRpmClient::ApiError => e
48
- puts "Exception when calling ContentPackagesApi->create: #{e}"
50
+ puts "Error when calling ContentPackagesApi->create: #{e}"
49
51
  end
50
52
  ```
51
53
 
52
- ### Parameters
54
+ #### Using the create_with_http_info variant
55
+
56
+ This returns an Array which contains the response data, status code and headers.
57
+
58
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(opts)
59
+
60
+ ```ruby
61
+ begin
62
+ # Create a package
63
+ data, status_code, headers = api_instance.create_with_http_info(opts)
64
+ p status_code # => 2xx
65
+ p headers # => { ... }
66
+ p data # => <AsyncOperationResponse>
67
+ rescue PulpRpmClient::ApiError => e
68
+ puts "Error when calling ContentPackagesApi->create_with_http_info: #{e}"
69
+ end
70
+ ```
53
71
 
72
+ ### Parameters
54
73
 
55
- Name | Type | Description | Notes
56
- ------------- | ------------- | ------------- | -------------
57
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
58
- **artifact** | **String**| Artifact file representing the physical content | [optional]
59
- **relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [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]
74
+ | Name | Type | Description | Notes |
75
+ | ---- | ---- | ----------- | ----- |
76
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
77
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
78
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
79
+ | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional] |
80
+ | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
81
+ | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
82
+ | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
63
83
 
64
84
  ### Return type
65
85
 
@@ -77,16 +97,16 @@ Name | Type | Description | Notes
77
97
 
78
98
  ## list
79
99
 
80
- > PaginatedrpmPackageResponseList list(opts)
100
+ > <PaginatedrpmPackageResponseList> list(opts)
81
101
 
82
102
  List packages
83
103
 
84
104
  A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
85
105
 
86
- ### Example
106
+ ### Examples
87
107
 
88
108
  ```ruby
89
- # load the gem
109
+ require 'time'
90
110
  require 'pulp_rpm_client'
91
111
  # setup authorization
92
112
  PulpRpmClient.configure do |config|
@@ -99,34 +119,35 @@ api_instance = PulpRpmClient::ContentPackagesApi.new
99
119
  opts = {
100
120
  arch: 'arch_example', # String | Filter results where arch matches value
101
121
  arch__contains: 'arch__contains_example', # String | Filter results where arch contains value
102
- arch__in: ['arch__in_example'], # Array<String> | Filter results where arch is in a comma-separated list of values
122
+ arch__in: ['inner_example'], # Array<String> | Filter results where arch is in a comma-separated list of values
103
123
  arch__ne: 'arch__ne_example', # String | Filter results where arch not equal to value
104
124
  arch__startswith: 'arch__startswith_example', # String | Filter results where arch starts with value
105
- checksum_type: 'checksum_type_example', # String | Filter results where checksum_type matches value * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
106
- checksum_type__in: ['checksum_type__in_example'], # Array<String> | Filter results where checksum_type is in a comma-separated list of values
125
+ checksum_type: 'md5', # String | Filter results where checksum_type matches value * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
126
+ checksum_type__in: ['inner_example'], # Array<String> | Filter results where checksum_type is in a comma-separated list of values
107
127
  checksum_type__ne: 'checksum_type__ne_example', # String | Filter results where checksum_type not equal to value
108
128
  epoch: 'epoch_example', # String | Filter results where epoch matches value
109
- epoch__in: ['epoch__in_example'], # Array<String> | Filter results where epoch is in a comma-separated list of values
129
+ epoch__in: ['inner_example'], # Array<String> | Filter results where epoch is in a comma-separated list of values
110
130
  epoch__ne: 'epoch__ne_example', # String | Filter results where epoch not equal to value
111
131
  filename: 'filename_example', # String |
112
132
  limit: 56, # Integer | Number of results to return per page.
113
133
  name: 'name_example', # String | Filter results where name matches value
114
134
  name__contains: 'name__contains_example', # String | Filter results where name contains value
115
- name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
135
+ name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
116
136
  name__ne: 'name__ne_example', # String | Filter results where name not equal to value
117
137
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
118
138
  offset: 56, # Integer | The initial index from which to return the results.
119
- 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) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `pk` - Pk * `-pk` - Pk (descending)
120
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
139
+ ordering: ['-arch'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `pk` - Pk * `-pk` - Pk (descending)
140
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
121
141
  pkg_id: 'pkg_id_example', # String | Filter results where pkgId matches value
122
- pkg_id__in: ['pkg_id__in_example'], # Array<String> | Filter results where pkgId is in a comma-separated list of values
123
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
124
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
125
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
142
+ pkg_id__in: ['inner_example'], # Array<String> | Filter results where pkgId is in a comma-separated list of values
143
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
144
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
145
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
146
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
126
147
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
127
148
  release: 'release_example', # String | Filter results where release matches value
128
149
  release__contains: 'release__contains_example', # String | Filter results where release contains value
129
- release__in: ['release__in_example'], # Array<String> | Filter results where release is in a comma-separated list of values
150
+ release__in: ['inner_example'], # Array<String> | Filter results where release is in a comma-separated list of values
130
151
  release__ne: 'release__ne_example', # String | Filter results where release not equal to value
131
152
  release__startswith: 'release__startswith_example', # String | Filter results where release starts with value
132
153
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
@@ -134,67 +155,85 @@ opts = {
134
155
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
135
156
  sha256: 'sha256_example', # String |
136
157
  version: 'version_example', # String | Filter results where version matches value
137
- version__in: ['version__in_example'], # Array<String> | Filter results where version is in a comma-separated list of values
158
+ version__in: ['inner_example'], # Array<String> | Filter results where version is in a comma-separated list of values
138
159
  version__ne: 'version__ne_example', # String | Filter results where version not equal to value
139
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
140
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
160
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
161
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
141
162
  }
142
163
 
143
164
  begin
144
- #List packages
165
+ # List packages
145
166
  result = api_instance.list(opts)
146
167
  p result
147
168
  rescue PulpRpmClient::ApiError => e
148
- puts "Exception when calling ContentPackagesApi->list: #{e}"
169
+ puts "Error when calling ContentPackagesApi->list: #{e}"
149
170
  end
150
171
  ```
151
172
 
152
- ### Parameters
173
+ #### Using the list_with_http_info variant
174
+
175
+ This returns an Array which contains the response data, status code and headers.
176
+
177
+ > <Array(<PaginatedrpmPackageResponseList>, Integer, Hash)> list_with_http_info(opts)
178
+
179
+ ```ruby
180
+ begin
181
+ # List packages
182
+ data, status_code, headers = api_instance.list_with_http_info(opts)
183
+ p status_code # => 2xx
184
+ p headers # => { ... }
185
+ p data # => <PaginatedrpmPackageResponseList>
186
+ rescue PulpRpmClient::ApiError => e
187
+ puts "Error when calling ContentPackagesApi->list_with_http_info: #{e}"
188
+ end
189
+ ```
153
190
 
191
+ ### Parameters
154
192
 
155
- Name | Type | Description | Notes
156
- ------------- | ------------- | ------------- | -------------
157
- **arch** | **String**| Filter results where arch matches value | [optional]
158
- **arch__contains** | **String**| Filter results where arch contains value | [optional]
159
- **arch__in** | [**Array&lt;String&gt;**](String.md)| Filter results where arch is in a comma-separated list of values | [optional]
160
- **arch__ne** | **String**| Filter results where arch not equal to value | [optional]
161
- **arch__startswith** | **String**| Filter results where arch starts with value | [optional]
162
- **checksum_type** | **String**| Filter results where checksum_type matches value * &#x60;unknown&#x60; - unknown * &#x60;md5&#x60; - md5 * &#x60;sha1&#x60; - sha1 * &#x60;sha1&#x60; - sha1 * &#x60;sha224&#x60; - sha224 * &#x60;sha256&#x60; - sha256 * &#x60;sha384&#x60; - sha384 * &#x60;sha512&#x60; - sha512 | [optional]
163
- **checksum_type__in** | [**Array&lt;String&gt;**](String.md)| Filter results where checksum_type is in a comma-separated list of values | [optional]
164
- **checksum_type__ne** | **String**| Filter results where checksum_type not equal to value | [optional]
165
- **epoch** | **String**| Filter results where epoch matches value | [optional]
166
- **epoch__in** | [**Array&lt;String&gt;**](String.md)| Filter results where epoch is in a comma-separated list of values | [optional]
167
- **epoch__ne** | **String**| Filter results where epoch not equal to value | [optional]
168
- **filename** | **String**| | [optional]
169
- **limit** | **Integer**| Number of results to return per page. | [optional]
170
- **name** | **String**| Filter results where name matches value | [optional]
171
- **name__contains** | **String**| Filter results where name contains value | [optional]
172
- **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
173
- **name__ne** | **String**| Filter results where name not equal to value | [optional]
174
- **name__startswith** | **String**| Filter results where name starts with value | [optional]
175
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
176
- **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;epoch&#x60; - Epoch * &#x60;-epoch&#x60; - Epoch (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;release&#x60; - Release * &#x60;-release&#x60; - Release (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;evr&#x60; - Evr * &#x60;-evr&#x60; - Evr (descending) * &#x60;pkgId&#x60; - Pkgid * &#x60;-pkgId&#x60; - Pkgid (descending) * &#x60;checksum_type&#x60; - Checksum type * &#x60;-checksum_type&#x60; - Checksum type (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;changelogs&#x60; - Changelogs * &#x60;-changelogs&#x60; - Changelogs (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;requires&#x60; - Requires * &#x60;-requires&#x60; - Requires (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;obsoletes&#x60; - Obsoletes * &#x60;-obsoletes&#x60; - Obsoletes (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;supplements&#x60; - Supplements * &#x60;-supplements&#x60; - Supplements (descending) * &#x60;location_base&#x60; - Location base * &#x60;-location_base&#x60; - Location base (descending) * &#x60;location_href&#x60; - Location href * &#x60;-location_href&#x60; - Location href (descending) * &#x60;rpm_buildhost&#x60; - Rpm buildhost * &#x60;-rpm_buildhost&#x60; - Rpm buildhost (descending) * &#x60;rpm_group&#x60; - Rpm group * &#x60;-rpm_group&#x60; - Rpm group (descending) * &#x60;rpm_license&#x60; - Rpm license * &#x60;-rpm_license&#x60; - Rpm license (descending) * &#x60;rpm_packager&#x60; - Rpm packager * &#x60;-rpm_packager&#x60; - Rpm packager (descending) * &#x60;rpm_sourcerpm&#x60; - Rpm sourcerpm * &#x60;-rpm_sourcerpm&#x60; - Rpm sourcerpm (descending) * &#x60;rpm_vendor&#x60; - Rpm vendor * &#x60;-rpm_vendor&#x60; - Rpm vendor (descending) * &#x60;rpm_header_start&#x60; - Rpm header start * &#x60;-rpm_header_start&#x60; - Rpm header start (descending) * &#x60;rpm_header_end&#x60; - Rpm header end * &#x60;-rpm_header_end&#x60; - Rpm header end (descending) * &#x60;size_archive&#x60; - Size archive * &#x60;-size_archive&#x60; - Size archive (descending) * &#x60;size_installed&#x60; - Size installed * &#x60;-size_installed&#x60; - Size installed (descending) * &#x60;size_package&#x60; - Size package * &#x60;-size_package&#x60; - Size package (descending) * &#x60;time_build&#x60; - Time build * &#x60;-time_build&#x60; - Time build (descending) * &#x60;time_file&#x60; - Time file * &#x60;-time_file&#x60; - Time file (descending) * &#x60;is_modular&#x60; - Is modular * &#x60;-is_modular&#x60; - Is modular (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
177
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
178
- **pkg_id** | **String**| Filter results where pkgId matches value | [optional]
179
- **pkg_id__in** | [**Array&lt;String&gt;**](String.md)| Filter results where pkgId is in a comma-separated list of values | [optional]
180
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
181
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
182
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
183
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
184
- **release** | **String**| Filter results where release matches value | [optional]
185
- **release__contains** | **String**| Filter results where release contains value | [optional]
186
- **release__in** | [**Array&lt;String&gt;**](String.md)| Filter results where release is in a comma-separated list of values | [optional]
187
- **release__ne** | **String**| Filter results where release not equal to value | [optional]
188
- **release__startswith** | **String**| Filter results where release starts with value | [optional]
189
- **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
190
- **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
191
- **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
192
- **sha256** | **String**| | [optional]
193
- **version** | **String**| Filter results where version matches value | [optional]
194
- **version__in** | [**Array&lt;String&gt;**](String.md)| Filter results where version is in a comma-separated list of values | [optional]
195
- **version__ne** | **String**| Filter results where version not equal to value | [optional]
196
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
197
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
193
+ | Name | Type | Description | Notes |
194
+ | ---- | ---- | ----------- | ----- |
195
+ | **arch** | **String** | Filter results where arch matches value | [optional] |
196
+ | **arch__contains** | **String** | Filter results where arch contains value | [optional] |
197
+ | **arch__in** | [**Array&lt;String&gt;**](String.md) | Filter results where arch is in a comma-separated list of values | [optional] |
198
+ | **arch__ne** | **String** | Filter results where arch not equal to value | [optional] |
199
+ | **arch__startswith** | **String** | Filter results where arch starts with value | [optional] |
200
+ | **checksum_type** | **String** | Filter results where checksum_type matches value * &#x60;unknown&#x60; - unknown * &#x60;md5&#x60; - md5 * &#x60;sha1&#x60; - sha1 * &#x60;sha1&#x60; - sha1 * &#x60;sha224&#x60; - sha224 * &#x60;sha256&#x60; - sha256 * &#x60;sha384&#x60; - sha384 * &#x60;sha512&#x60; - sha512 | [optional] |
201
+ | **checksum_type__in** | [**Array&lt;String&gt;**](String.md) | Filter results where checksum_type is in a comma-separated list of values | [optional] |
202
+ | **checksum_type__ne** | **String** | Filter results where checksum_type not equal to value | [optional] |
203
+ | **epoch** | **String** | Filter results where epoch matches value | [optional] |
204
+ | **epoch__in** | [**Array&lt;String&gt;**](String.md) | Filter results where epoch is in a comma-separated list of values | [optional] |
205
+ | **epoch__ne** | **String** | Filter results where epoch not equal to value | [optional] |
206
+ | **filename** | **String** | | [optional] |
207
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
208
+ | **name** | **String** | Filter results where name matches value | [optional] |
209
+ | **name__contains** | **String** | Filter results where name contains value | [optional] |
210
+ | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
211
+ | **name__ne** | **String** | Filter results where name not equal to value | [optional] |
212
+ | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
213
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
214
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;epoch&#x60; - Epoch * &#x60;-epoch&#x60; - Epoch (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;release&#x60; - Release * &#x60;-release&#x60; - Release (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;evr&#x60; - Evr * &#x60;-evr&#x60; - Evr (descending) * &#x60;pkgId&#x60; - Pkgid * &#x60;-pkgId&#x60; - Pkgid (descending) * &#x60;checksum_type&#x60; - Checksum type * &#x60;-checksum_type&#x60; - Checksum type (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;changelogs&#x60; - Changelogs * &#x60;-changelogs&#x60; - Changelogs (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;requires&#x60; - Requires * &#x60;-requires&#x60; - Requires (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;obsoletes&#x60; - Obsoletes * &#x60;-obsoletes&#x60; - Obsoletes (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;supplements&#x60; - Supplements * &#x60;-supplements&#x60; - Supplements (descending) * &#x60;location_base&#x60; - Location base * &#x60;-location_base&#x60; - Location base (descending) * &#x60;location_href&#x60; - Location href * &#x60;-location_href&#x60; - Location href (descending) * &#x60;rpm_buildhost&#x60; - Rpm buildhost * &#x60;-rpm_buildhost&#x60; - Rpm buildhost (descending) * &#x60;rpm_group&#x60; - Rpm group * &#x60;-rpm_group&#x60; - Rpm group (descending) * &#x60;rpm_license&#x60; - Rpm license * &#x60;-rpm_license&#x60; - Rpm license (descending) * &#x60;rpm_packager&#x60; - Rpm packager * &#x60;-rpm_packager&#x60; - Rpm packager (descending) * &#x60;rpm_sourcerpm&#x60; - Rpm sourcerpm * &#x60;-rpm_sourcerpm&#x60; - Rpm sourcerpm (descending) * &#x60;rpm_vendor&#x60; - Rpm vendor * &#x60;-rpm_vendor&#x60; - Rpm vendor (descending) * &#x60;rpm_header_start&#x60; - Rpm header start * &#x60;-rpm_header_start&#x60; - Rpm header start (descending) * &#x60;rpm_header_end&#x60; - Rpm header end * &#x60;-rpm_header_end&#x60; - Rpm header end (descending) * &#x60;size_archive&#x60; - Size archive * &#x60;-size_archive&#x60; - Size archive (descending) * &#x60;size_installed&#x60; - Size installed * &#x60;-size_installed&#x60; - Size installed (descending) * &#x60;size_package&#x60; - Size package * &#x60;-size_package&#x60; - Size package (descending) * &#x60;time_build&#x60; - Time build * &#x60;-time_build&#x60; - Time build (descending) * &#x60;time_file&#x60; - Time file * &#x60;-time_file&#x60; - Time file (descending) * &#x60;is_modular&#x60; - Is modular * &#x60;-is_modular&#x60; - Is modular (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
215
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
216
+ | **pkg_id** | **String** | Filter results where pkgId matches value | [optional] |
217
+ | **pkg_id__in** | [**Array&lt;String&gt;**](String.md) | Filter results where pkgId is in a comma-separated list of values | [optional] |
218
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
219
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
220
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
221
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
222
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
223
+ | **release** | **String** | Filter results where release matches value | [optional] |
224
+ | **release__contains** | **String** | Filter results where release contains value | [optional] |
225
+ | **release__in** | [**Array&lt;String&gt;**](String.md) | Filter results where release is in a comma-separated list of values | [optional] |
226
+ | **release__ne** | **String** | Filter results where release not equal to value | [optional] |
227
+ | **release__startswith** | **String** | Filter results where release starts with value | [optional] |
228
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
229
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
230
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
231
+ | **sha256** | **String** | | [optional] |
232
+ | **version** | **String** | Filter results where version matches value | [optional] |
233
+ | **version__in** | [**Array&lt;String&gt;**](String.md) | Filter results where version is in a comma-separated list of values | [optional] |
234
+ | **version__ne** | **String** | Filter results where version not equal to value | [optional] |
235
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
236
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
198
237
 
199
238
  ### Return type
200
239
 
@@ -212,16 +251,16 @@ Name | Type | Description | Notes
212
251
 
213
252
  ## read
214
253
 
215
- > RpmPackageResponse read(rpm_package_href, opts)
254
+ > <RpmPackageResponse> read(rpm_package_href, opts)
216
255
 
217
256
  Inspect a package
218
257
 
219
258
  A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
220
259
 
221
- ### Example
260
+ ### Examples
222
261
 
223
262
  ```ruby
224
- # load the gem
263
+ require 'time'
225
264
  require 'pulp_rpm_client'
226
265
  # setup authorization
227
266
  PulpRpmClient.configure do |config|
@@ -233,27 +272,44 @@ end
233
272
  api_instance = PulpRpmClient::ContentPackagesApi.new
234
273
  rpm_package_href = 'rpm_package_href_example' # String |
235
274
  opts = {
236
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
237
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
275
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
276
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
238
277
  }
239
278
 
240
279
  begin
241
- #Inspect a package
280
+ # Inspect a package
242
281
  result = api_instance.read(rpm_package_href, opts)
243
282
  p result
244
283
  rescue PulpRpmClient::ApiError => e
245
- puts "Exception when calling ContentPackagesApi->read: #{e}"
284
+ puts "Error when calling ContentPackagesApi->read: #{e}"
246
285
  end
247
286
  ```
248
287
 
249
- ### Parameters
288
+ #### Using the read_with_http_info variant
289
+
290
+ This returns an Array which contains the response data, status code and headers.
291
+
292
+ > <Array(<RpmPackageResponse>, Integer, Hash)> read_with_http_info(rpm_package_href, opts)
250
293
 
294
+ ```ruby
295
+ begin
296
+ # Inspect a package
297
+ data, status_code, headers = api_instance.read_with_http_info(rpm_package_href, opts)
298
+ p status_code # => 2xx
299
+ p headers # => { ... }
300
+ p data # => <RpmPackageResponse>
301
+ rescue PulpRpmClient::ApiError => e
302
+ puts "Error when calling ContentPackagesApi->read_with_http_info: #{e}"
303
+ end
304
+ ```
305
+
306
+ ### Parameters
251
307
 
252
- Name | Type | Description | Notes
253
- ------------- | ------------- | ------------- | -------------
254
- **rpm_package_href** | **String**| |
255
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
256
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
308
+ | Name | Type | Description | Notes |
309
+ | ---- | ---- | ----------- | ----- |
310
+ | **rpm_package_href** | **String** | | |
311
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
312
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
257
313
 
258
314
  ### Return type
259
315
 
@@ -268,3 +324,147 @@ Name | Type | Description | Notes
268
324
  - **Content-Type**: Not defined
269
325
  - **Accept**: application/json
270
326
 
327
+
328
+ ## set_label
329
+
330
+ > <SetLabelResponse> set_label(rpm_package_href, set_label)
331
+
332
+ Set a label
333
+
334
+ Set a single pulp_label on the object to a specific value or null.
335
+
336
+ ### Examples
337
+
338
+ ```ruby
339
+ require 'time'
340
+ require 'pulp_rpm_client'
341
+ # setup authorization
342
+ PulpRpmClient.configure do |config|
343
+ # Configure HTTP basic authorization: basicAuth
344
+ config.username = 'YOUR USERNAME'
345
+ config.password = 'YOUR PASSWORD'
346
+ end
347
+
348
+ api_instance = PulpRpmClient::ContentPackagesApi.new
349
+ rpm_package_href = 'rpm_package_href_example' # String |
350
+ set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
351
+
352
+ begin
353
+ # Set a label
354
+ result = api_instance.set_label(rpm_package_href, set_label)
355
+ p result
356
+ rescue PulpRpmClient::ApiError => e
357
+ puts "Error when calling ContentPackagesApi->set_label: #{e}"
358
+ end
359
+ ```
360
+
361
+ #### Using the set_label_with_http_info variant
362
+
363
+ This returns an Array which contains the response data, status code and headers.
364
+
365
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_package_href, set_label)
366
+
367
+ ```ruby
368
+ begin
369
+ # Set a label
370
+ data, status_code, headers = api_instance.set_label_with_http_info(rpm_package_href, set_label)
371
+ p status_code # => 2xx
372
+ p headers # => { ... }
373
+ p data # => <SetLabelResponse>
374
+ rescue PulpRpmClient::ApiError => e
375
+ puts "Error when calling ContentPackagesApi->set_label_with_http_info: #{e}"
376
+ end
377
+ ```
378
+
379
+ ### Parameters
380
+
381
+ | Name | Type | Description | Notes |
382
+ | ---- | ---- | ----------- | ----- |
383
+ | **rpm_package_href** | **String** | | |
384
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
385
+
386
+ ### Return type
387
+
388
+ [**SetLabelResponse**](SetLabelResponse.md)
389
+
390
+ ### Authorization
391
+
392
+ [basicAuth](../README.md#basicAuth)
393
+
394
+ ### HTTP request headers
395
+
396
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
397
+ - **Accept**: application/json
398
+
399
+
400
+ ## unset_label
401
+
402
+ > <UnsetLabelResponse> unset_label(rpm_package_href, unset_label)
403
+
404
+ Unset a label
405
+
406
+ Unset a single pulp_label on the object.
407
+
408
+ ### Examples
409
+
410
+ ```ruby
411
+ require 'time'
412
+ require 'pulp_rpm_client'
413
+ # setup authorization
414
+ PulpRpmClient.configure do |config|
415
+ # Configure HTTP basic authorization: basicAuth
416
+ config.username = 'YOUR USERNAME'
417
+ config.password = 'YOUR PASSWORD'
418
+ end
419
+
420
+ api_instance = PulpRpmClient::ContentPackagesApi.new
421
+ rpm_package_href = 'rpm_package_href_example' # String |
422
+ unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
423
+
424
+ begin
425
+ # Unset a label
426
+ result = api_instance.unset_label(rpm_package_href, unset_label)
427
+ p result
428
+ rescue PulpRpmClient::ApiError => e
429
+ puts "Error when calling ContentPackagesApi->unset_label: #{e}"
430
+ end
431
+ ```
432
+
433
+ #### Using the unset_label_with_http_info variant
434
+
435
+ This returns an Array which contains the response data, status code and headers.
436
+
437
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_package_href, unset_label)
438
+
439
+ ```ruby
440
+ begin
441
+ # Unset a label
442
+ data, status_code, headers = api_instance.unset_label_with_http_info(rpm_package_href, unset_label)
443
+ p status_code # => 2xx
444
+ p headers # => { ... }
445
+ p data # => <UnsetLabelResponse>
446
+ rescue PulpRpmClient::ApiError => e
447
+ puts "Error when calling ContentPackagesApi->unset_label_with_http_info: #{e}"
448
+ end
449
+ ```
450
+
451
+ ### Parameters
452
+
453
+ | Name | Type | Description | Notes |
454
+ | ---- | ---- | ----------- | ----- |
455
+ | **rpm_package_href** | **String** | | |
456
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
457
+
458
+ ### Return type
459
+
460
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
461
+
462
+ ### Authorization
463
+
464
+ [basicAuth](../README.md#basicAuth)
465
+
466
+ ### HTTP request headers
467
+
468
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
469
+ - **Accept**: application/json
470
+