pulp_rpm_client 3.27.2 → 3.28.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (322) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -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 +125 -75
  10. data/docs/ContentDistributionTreesApi.md +79 -46
  11. data/docs/ContentModulemdDefaultsApi.md +114 -64
  12. data/docs/ContentModulemdObsoletesApi.md +107 -57
  13. data/docs/ContentModulemdsApi.md +123 -73
  14. data/docs/ContentPackagecategoriesApi.md +79 -46
  15. data/docs/ContentPackageenvironmentsApi.md +79 -46
  16. data/docs/ContentPackagegroupsApi.md +79 -46
  17. data/docs/ContentPackagelangpacksApi.md +79 -46
  18. data/docs/ContentPackagesApi.md +148 -98
  19. data/docs/ContentRepoMetadataFilesApi.md +79 -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 +32 -31
  66. data/docs/RpmModulemdDefaults.md +16 -15
  67. data/docs/RpmModulemdDefaultsResponse.md +20 -19
  68. data/docs/RpmModulemdObsolete.md +28 -27
  69. data/docs/RpmModulemdObsoleteResponse.md +32 -31
  70. data/docs/RpmModulemdResponse.md +36 -35
  71. data/docs/RpmPackageCategoryResponse.md +30 -29
  72. data/docs/RpmPackageEnvironmentResponse.md +32 -31
  73. data/docs/RpmPackageGroupResponse.md +36 -35
  74. data/docs/RpmPackageLangpacksResponse.md +18 -17
  75. data/docs/RpmPackageResponse.md +100 -99
  76. data/docs/RpmPruneApi.md +30 -13
  77. data/docs/RpmRepoMetadataFileResponse.md +36 -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 +50 -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 +20 -14
  105. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -9
  106. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +20 -14
  107. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +20 -14
  108. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +20 -14
  109. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -9
  110. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -9
  111. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -9
  112. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -9
  113. data/lib/pulp_rpm_client/api/content_packages_api.rb +20 -14
  114. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -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 +50 -22
  170. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +39 -27
  171. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +39 -29
  172. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +55 -27
  173. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +50 -24
  174. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +50 -24
  175. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +48 -24
  176. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +50 -24
  177. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +48 -24
  178. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +36 -24
  179. data/lib/pulp_rpm_client/models/rpm_package_response.rb +42 -24
  180. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +40 -24
  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 +32 -24
  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 +32 -22
  204. data/lib/pulp_rpm_client/models/unset_label_response.rb +32 -22
  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 +4 -4
  211. data/spec/api/content_distribution_trees_api_spec.rb +3 -3
  212. data/spec/api/content_modulemd_defaults_api_spec.rb +4 -4
  213. data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -4
  214. data/spec/api/content_modulemds_api_spec.rb +4 -4
  215. data/spec/api/content_packagecategories_api_spec.rb +3 -3
  216. data/spec/api/content_packageenvironments_api_spec.rb +3 -3
  217. data/spec/api/content_packagegroups_api_spec.rb +3 -3
  218. data/spec/api/content_packagelangpacks_api_spec.rb +3 -3
  219. data/spec/api/content_packages_api_spec.rb +4 -4
  220. data/spec/api/content_repo_metadata_files_api_spec.rb +3 -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 +13 -18
  273. data/spec/models/rpm_modulemd_defaults_spec.rb +11 -16
  274. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +19 -24
  275. data/spec/models/rpm_modulemd_obsolete_spec.rb +17 -22
  276. data/spec/models/rpm_modulemd_response_spec.rb +21 -26
  277. data/spec/models/rpm_modulemd_spec.rb +19 -24
  278. data/spec/models/rpm_package_category_response_spec.rb +18 -23
  279. data/spec/models/rpm_package_environment_response_spec.rb +19 -24
  280. data/spec/models/rpm_package_group_response_spec.rb +21 -26
  281. data/spec/models/rpm_package_langpacks_response_spec.rb +12 -17
  282. data/spec/models/rpm_package_response_spec.rb +53 -58
  283. data/spec/models/rpm_repo_metadata_file_response_spec.rb +21 -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 +28 -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 +124 -112
  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,35 +2,34 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**add_role**](DistributionsRpmApi.md#add_role) | **POST** {rpm_rpm_distribution_href}add_role/ | Add a role
8
- [**create**](DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
9
- [**delete**](DistributionsRpmApi.md#delete) | **DELETE** {rpm_rpm_distribution_href} | Delete a rpm distribution
10
- [**list**](DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
11
- [**list_roles**](DistributionsRpmApi.md#list_roles) | **GET** {rpm_rpm_distribution_href}list_roles/ | List roles
12
- [**my_permissions**](DistributionsRpmApi.md#my_permissions) | **GET** {rpm_rpm_distribution_href}my_permissions/ | List user permissions
13
- [**partial_update**](DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_distribution_href} | Update a rpm distribution
14
- [**read**](DistributionsRpmApi.md#read) | **GET** {rpm_rpm_distribution_href} | Inspect a rpm distribution
15
- [**remove_role**](DistributionsRpmApi.md#remove_role) | **POST** {rpm_rpm_distribution_href}remove_role/ | Remove a role
16
- [**set_label**](DistributionsRpmApi.md#set_label) | **POST** {rpm_rpm_distribution_href}set_label/ | Set a label
17
- [**unset_label**](DistributionsRpmApi.md#unset_label) | **POST** {rpm_rpm_distribution_href}unset_label/ | Unset a label
18
- [**update**](DistributionsRpmApi.md#update) | **PUT** {rpm_rpm_distribution_href} | Update a rpm distribution
19
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_role**](DistributionsRpmApi.md#add_role) | **POST** {rpm_rpm_distribution_href}add_role/ | Add a role |
8
+ | [**create**](DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution |
9
+ | [**delete**](DistributionsRpmApi.md#delete) | **DELETE** {rpm_rpm_distribution_href} | Delete a rpm distribution |
10
+ | [**list**](DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions |
11
+ | [**list_roles**](DistributionsRpmApi.md#list_roles) | **GET** {rpm_rpm_distribution_href}list_roles/ | List roles |
12
+ | [**my_permissions**](DistributionsRpmApi.md#my_permissions) | **GET** {rpm_rpm_distribution_href}my_permissions/ | List user permissions |
13
+ | [**partial_update**](DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_distribution_href} | Update a rpm distribution |
14
+ | [**read**](DistributionsRpmApi.md#read) | **GET** {rpm_rpm_distribution_href} | Inspect a rpm distribution |
15
+ | [**remove_role**](DistributionsRpmApi.md#remove_role) | **POST** {rpm_rpm_distribution_href}remove_role/ | Remove a role |
16
+ | [**set_label**](DistributionsRpmApi.md#set_label) | **POST** {rpm_rpm_distribution_href}set_label/ | Set a label |
17
+ | [**unset_label**](DistributionsRpmApi.md#unset_label) | **POST** {rpm_rpm_distribution_href}unset_label/ | Unset a label |
18
+ | [**update**](DistributionsRpmApi.md#update) | **PUT** {rpm_rpm_distribution_href} | Update a rpm distribution |
20
19
 
21
20
 
22
21
  ## add_role
23
22
 
24
- > NestedRoleResponse add_role(rpm_rpm_distribution_href, nested_role)
23
+ > <NestedRoleResponse> add_role(rpm_rpm_distribution_href, nested_role)
25
24
 
26
25
  Add a role
27
26
 
28
27
  Add a role for this object to users/groups.
29
28
 
30
- ### Example
29
+ ### Examples
31
30
 
32
31
  ```ruby
33
- # load the gem
32
+ require 'time'
34
33
  require 'pulp_rpm_client'
35
34
  # setup authorization
36
35
  PulpRpmClient.configure do |config|
@@ -41,24 +40,41 @@ end
41
40
 
42
41
  api_instance = PulpRpmClient::DistributionsRpmApi.new
43
42
  rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
44
- nested_role = PulpRpmClient::NestedRole.new # NestedRole |
43
+ nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
45
44
 
46
45
  begin
47
- #Add a role
46
+ # Add a role
48
47
  result = api_instance.add_role(rpm_rpm_distribution_href, nested_role)
49
48
  p result
50
49
  rescue PulpRpmClient::ApiError => e
51
- puts "Exception when calling DistributionsRpmApi->add_role: #{e}"
50
+ puts "Error when calling DistributionsRpmApi->add_role: #{e}"
52
51
  end
53
52
  ```
54
53
 
55
- ### Parameters
54
+ #### Using the add_role_with_http_info variant
55
+
56
+ This returns an Array which contains the response data, status code and headers.
57
+
58
+ > <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(rpm_rpm_distribution_href, nested_role)
59
+
60
+ ```ruby
61
+ begin
62
+ # Add a role
63
+ data, status_code, headers = api_instance.add_role_with_http_info(rpm_rpm_distribution_href, nested_role)
64
+ p status_code # => 2xx
65
+ p headers # => { ... }
66
+ p data # => <NestedRoleResponse>
67
+ rescue PulpRpmClient::ApiError => e
68
+ puts "Error when calling DistributionsRpmApi->add_role_with_http_info: #{e}"
69
+ end
70
+ ```
56
71
 
72
+ ### Parameters
57
73
 
58
- Name | Type | Description | Notes
59
- ------------- | ------------- | ------------- | -------------
60
- **rpm_rpm_distribution_href** | **String**| |
61
- **nested_role** | [**NestedRole**](NestedRole.md)| |
74
+ | Name | Type | Description | Notes |
75
+ | ---- | ---- | ----------- | ----- |
76
+ | **rpm_rpm_distribution_href** | **String** | | |
77
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
62
78
 
63
79
  ### Return type
64
80
 
@@ -76,16 +92,16 @@ Name | Type | Description | Notes
76
92
 
77
93
  ## create
78
94
 
79
- > AsyncOperationResponse create(rpm_rpm_distribution)
95
+ > <AsyncOperationResponse> create(rpm_rpm_distribution)
80
96
 
81
97
  Create a rpm distribution
82
98
 
83
99
  Trigger an asynchronous create task
84
100
 
85
- ### Example
101
+ ### Examples
86
102
 
87
103
  ```ruby
88
- # load the gem
104
+ require 'time'
89
105
  require 'pulp_rpm_client'
90
106
  # setup authorization
91
107
  PulpRpmClient.configure do |config|
@@ -95,23 +111,40 @@ PulpRpmClient.configure do |config|
95
111
  end
96
112
 
97
113
  api_instance = PulpRpmClient::DistributionsRpmApi.new
98
- rpm_rpm_distribution = PulpRpmClient::RpmRpmDistribution.new # RpmRpmDistribution |
114
+ rpm_rpm_distribution = PulpRpmClient::RpmRpmDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # RpmRpmDistribution |
99
115
 
100
116
  begin
101
- #Create a rpm distribution
117
+ # Create a rpm distribution
102
118
  result = api_instance.create(rpm_rpm_distribution)
103
119
  p result
104
120
  rescue PulpRpmClient::ApiError => e
105
- puts "Exception when calling DistributionsRpmApi->create: #{e}"
121
+ puts "Error when calling DistributionsRpmApi->create: #{e}"
106
122
  end
107
123
  ```
108
124
 
109
- ### Parameters
125
+ #### Using the create_with_http_info variant
110
126
 
127
+ This returns an Array which contains the response data, status code and headers.
111
128
 
112
- Name | Type | Description | Notes
113
- ------------- | ------------- | ------------- | -------------
114
- **rpm_rpm_distribution** | [**RpmRpmDistribution**](RpmRpmDistribution.md)| |
129
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_rpm_distribution)
130
+
131
+ ```ruby
132
+ begin
133
+ # Create a rpm distribution
134
+ data, status_code, headers = api_instance.create_with_http_info(rpm_rpm_distribution)
135
+ p status_code # => 2xx
136
+ p headers # => { ... }
137
+ p data # => <AsyncOperationResponse>
138
+ rescue PulpRpmClient::ApiError => e
139
+ puts "Error when calling DistributionsRpmApi->create_with_http_info: #{e}"
140
+ end
141
+ ```
142
+
143
+ ### Parameters
144
+
145
+ | Name | Type | Description | Notes |
146
+ | ---- | ---- | ----------- | ----- |
147
+ | **rpm_rpm_distribution** | [**RpmRpmDistribution**](RpmRpmDistribution.md) | | |
115
148
 
116
149
  ### Return type
117
150
 
@@ -129,16 +162,16 @@ Name | Type | Description | Notes
129
162
 
130
163
  ## delete
131
164
 
132
- > AsyncOperationResponse delete(rpm_rpm_distribution_href)
165
+ > <AsyncOperationResponse> delete(rpm_rpm_distribution_href)
133
166
 
134
167
  Delete a rpm distribution
135
168
 
136
169
  Trigger an asynchronous delete task
137
170
 
138
- ### Example
171
+ ### Examples
139
172
 
140
173
  ```ruby
141
- # load the gem
174
+ require 'time'
142
175
  require 'pulp_rpm_client'
143
176
  # setup authorization
144
177
  PulpRpmClient.configure do |config|
@@ -151,20 +184,37 @@ api_instance = PulpRpmClient::DistributionsRpmApi.new
151
184
  rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
152
185
 
153
186
  begin
154
- #Delete a rpm distribution
187
+ # Delete a rpm distribution
155
188
  result = api_instance.delete(rpm_rpm_distribution_href)
156
189
  p result
157
190
  rescue PulpRpmClient::ApiError => e
158
- puts "Exception when calling DistributionsRpmApi->delete: #{e}"
191
+ puts "Error when calling DistributionsRpmApi->delete: #{e}"
159
192
  end
160
193
  ```
161
194
 
162
- ### Parameters
195
+ #### Using the delete_with_http_info variant
196
+
197
+ This returns an Array which contains the response data, status code and headers.
198
+
199
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(rpm_rpm_distribution_href)
163
200
 
201
+ ```ruby
202
+ begin
203
+ # Delete a rpm distribution
204
+ data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_distribution_href)
205
+ p status_code # => 2xx
206
+ p headers # => { ... }
207
+ p data # => <AsyncOperationResponse>
208
+ rescue PulpRpmClient::ApiError => e
209
+ puts "Error when calling DistributionsRpmApi->delete_with_http_info: #{e}"
210
+ end
211
+ ```
212
+
213
+ ### Parameters
164
214
 
165
- Name | Type | Description | Notes
166
- ------------- | ------------- | ------------- | -------------
167
- **rpm_rpm_distribution_href** | **String**| |
215
+ | Name | Type | Description | Notes |
216
+ | ---- | ---- | ----------- | ----- |
217
+ | **rpm_rpm_distribution_href** | **String** | | |
168
218
 
169
219
  ### Return type
170
220
 
@@ -182,16 +232,16 @@ Name | Type | Description | Notes
182
232
 
183
233
  ## list
184
234
 
185
- > PaginatedrpmRpmDistributionResponseList list(opts)
235
+ > <PaginatedrpmRpmDistributionResponseList> list(opts)
186
236
 
187
237
  List rpm distributions
188
238
 
189
239
  ViewSet for RPM Distributions.
190
240
 
191
- ### Example
241
+ ### Examples
192
242
 
193
243
  ```ruby
194
- # load the gem
244
+ require 'time'
195
245
  require 'pulp_rpm_client'
196
246
  # setup authorization
197
247
  PulpRpmClient.configure do |config|
@@ -205,71 +255,88 @@ opts = {
205
255
  base_path: 'base_path_example', # String | Filter results where base_path matches value
206
256
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
207
257
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
208
- base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
258
+ base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
209
259
  limit: 56, # Integer | Number of results to return per page.
210
260
  name: 'name_example', # String | Filter results where name matches value
211
261
  name__contains: 'name__contains_example', # String | Filter results where name contains value
212
262
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
213
263
  name__iexact: 'name__iexact_example', # String | Filter results where name matches value
214
- name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
264
+ name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
215
265
  name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
216
266
  name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
217
267
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
218
268
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
219
269
  offset: 56, # Integer | The initial index from which to return the results.
220
- 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
221
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
222
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
223
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
270
+ ordering: ['-base_path'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
271
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
272
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
273
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
224
274
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
225
275
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
226
- repository: 'repository_example', # String | Filter results where repository matches value
227
- repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
276
+ repository: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Filter results where repository matches value
277
+ repository__in: ['inner_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
228
278
  with_content: 'with_content_example', # String | Filter distributions based on the content served by them
229
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
230
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
279
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
280
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
231
281
  }
232
282
 
233
283
  begin
234
- #List rpm distributions
284
+ # List rpm distributions
235
285
  result = api_instance.list(opts)
236
286
  p result
237
287
  rescue PulpRpmClient::ApiError => e
238
- puts "Exception when calling DistributionsRpmApi->list: #{e}"
288
+ puts "Error when calling DistributionsRpmApi->list: #{e}"
239
289
  end
240
290
  ```
241
291
 
242
- ### Parameters
292
+ #### Using the list_with_http_info variant
293
+
294
+ This returns an Array which contains the response data, status code and headers.
243
295
 
296
+ > <Array(<PaginatedrpmRpmDistributionResponseList>, Integer, Hash)> list_with_http_info(opts)
244
297
 
245
- Name | Type | Description | Notes
246
- ------------- | ------------- | ------------- | -------------
247
- **base_path** | **String**| Filter results where base_path matches value | [optional]
248
- **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
249
- **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
250
- **base_path__in** | [**Array&lt;String&gt;**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
251
- **limit** | **Integer**| Number of results to return per page. | [optional]
252
- **name** | **String**| Filter results where name matches value | [optional]
253
- **name__contains** | **String**| Filter results where name contains value | [optional]
254
- **name__icontains** | **String**| Filter results where name contains value | [optional]
255
- **name__iexact** | **String**| Filter results where name matches value | [optional]
256
- **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
257
- **name__iregex** | **String**| Filter results where name matches regex value | [optional]
258
- **name__istartswith** | **String**| Filter results where name starts with value | [optional]
259
- **name__regex** | **String**| Filter results where name matches regex value | [optional]
260
- **name__startswith** | **String**| Filter results where name starts with value | [optional]
261
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
262
- **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
263
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
264
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
265
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
266
- **pulp_label_select** | **String**| Filter labels by search string | [optional]
267
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
268
- **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
269
- **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
270
- **with_content** | **String**| Filter distributions based on the content served by them | [optional]
271
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
272
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
298
+ ```ruby
299
+ begin
300
+ # List rpm distributions
301
+ data, status_code, headers = api_instance.list_with_http_info(opts)
302
+ p status_code # => 2xx
303
+ p headers # => { ... }
304
+ p data # => <PaginatedrpmRpmDistributionResponseList>
305
+ rescue PulpRpmClient::ApiError => e
306
+ puts "Error when calling DistributionsRpmApi->list_with_http_info: #{e}"
307
+ end
308
+ ```
309
+
310
+ ### Parameters
311
+
312
+ | Name | Type | Description | Notes |
313
+ | ---- | ---- | ----------- | ----- |
314
+ | **base_path** | **String** | Filter results where base_path matches value | [optional] |
315
+ | **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
316
+ | **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
317
+ | **base_path__in** | [**Array&lt;String&gt;**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
318
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
319
+ | **name** | **String** | Filter results where name matches value | [optional] |
320
+ | **name__contains** | **String** | Filter results where name contains value | [optional] |
321
+ | **name__icontains** | **String** | Filter results where name contains value | [optional] |
322
+ | **name__iexact** | **String** | Filter results where name matches value | [optional] |
323
+ | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
324
+ | **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
325
+ | **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
326
+ | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
327
+ | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
328
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
329
+ | **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
330
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
331
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
332
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
333
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
334
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
335
+ | **repository** | **String** | Filter results where repository matches value | [optional] |
336
+ | **repository__in** | [**Array&lt;String&gt;**](String.md) | Filter results where repository is in a comma-separated list of values | [optional] |
337
+ | **with_content** | **String** | Filter distributions based on the content served by them | [optional] |
338
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
339
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
273
340
 
274
341
  ### Return type
275
342
 
@@ -287,16 +354,16 @@ Name | Type | Description | Notes
287
354
 
288
355
  ## list_roles
289
356
 
290
- > ObjectRolesResponse list_roles(rpm_rpm_distribution_href, opts)
357
+ > <ObjectRolesResponse> list_roles(rpm_rpm_distribution_href, opts)
291
358
 
292
359
  List roles
293
360
 
294
361
  List roles assigned to this object.
295
362
 
296
- ### Example
363
+ ### Examples
297
364
 
298
365
  ```ruby
299
- # load the gem
366
+ require 'time'
300
367
  require 'pulp_rpm_client'
301
368
  # setup authorization
302
369
  PulpRpmClient.configure do |config|
@@ -308,27 +375,44 @@ end
308
375
  api_instance = PulpRpmClient::DistributionsRpmApi.new
309
376
  rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
310
377
  opts = {
311
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
312
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
378
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
379
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
313
380
  }
314
381
 
315
382
  begin
316
- #List roles
383
+ # List roles
317
384
  result = api_instance.list_roles(rpm_rpm_distribution_href, opts)
318
385
  p result
319
386
  rescue PulpRpmClient::ApiError => e
320
- puts "Exception when calling DistributionsRpmApi->list_roles: #{e}"
387
+ puts "Error when calling DistributionsRpmApi->list_roles: #{e}"
321
388
  end
322
389
  ```
323
390
 
324
- ### Parameters
391
+ #### Using the list_roles_with_http_info variant
392
+
393
+ This returns an Array which contains the response data, status code and headers.
394
+
395
+ > <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(rpm_rpm_distribution_href, opts)
396
+
397
+ ```ruby
398
+ begin
399
+ # List roles
400
+ data, status_code, headers = api_instance.list_roles_with_http_info(rpm_rpm_distribution_href, opts)
401
+ p status_code # => 2xx
402
+ p headers # => { ... }
403
+ p data # => <ObjectRolesResponse>
404
+ rescue PulpRpmClient::ApiError => e
405
+ puts "Error when calling DistributionsRpmApi->list_roles_with_http_info: #{e}"
406
+ end
407
+ ```
325
408
 
409
+ ### Parameters
326
410
 
327
- Name | Type | Description | Notes
328
- ------------- | ------------- | ------------- | -------------
329
- **rpm_rpm_distribution_href** | **String**| |
330
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
331
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
411
+ | Name | Type | Description | Notes |
412
+ | ---- | ---- | ----------- | ----- |
413
+ | **rpm_rpm_distribution_href** | **String** | | |
414
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
415
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
332
416
 
333
417
  ### Return type
334
418
 
@@ -346,16 +430,16 @@ Name | Type | Description | Notes
346
430
 
347
431
  ## my_permissions
348
432
 
349
- > MyPermissionsResponse my_permissions(rpm_rpm_distribution_href, opts)
433
+ > <MyPermissionsResponse> my_permissions(rpm_rpm_distribution_href, opts)
350
434
 
351
435
  List user permissions
352
436
 
353
437
  List permissions available to the current user on this object.
354
438
 
355
- ### Example
439
+ ### Examples
356
440
 
357
441
  ```ruby
358
- # load the gem
442
+ require 'time'
359
443
  require 'pulp_rpm_client'
360
444
  # setup authorization
361
445
  PulpRpmClient.configure do |config|
@@ -367,27 +451,44 @@ end
367
451
  api_instance = PulpRpmClient::DistributionsRpmApi.new
368
452
  rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
369
453
  opts = {
370
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
371
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
454
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
455
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
372
456
  }
373
457
 
374
458
  begin
375
- #List user permissions
459
+ # List user permissions
376
460
  result = api_instance.my_permissions(rpm_rpm_distribution_href, opts)
377
461
  p result
378
462
  rescue PulpRpmClient::ApiError => e
379
- puts "Exception when calling DistributionsRpmApi->my_permissions: #{e}"
463
+ puts "Error when calling DistributionsRpmApi->my_permissions: #{e}"
380
464
  end
381
465
  ```
382
466
 
383
- ### Parameters
467
+ #### Using the my_permissions_with_http_info variant
468
+
469
+ This returns an Array which contains the response data, status code and headers.
470
+
471
+ > <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(rpm_rpm_distribution_href, opts)
384
472
 
473
+ ```ruby
474
+ begin
475
+ # List user permissions
476
+ data, status_code, headers = api_instance.my_permissions_with_http_info(rpm_rpm_distribution_href, opts)
477
+ p status_code # => 2xx
478
+ p headers # => { ... }
479
+ p data # => <MyPermissionsResponse>
480
+ rescue PulpRpmClient::ApiError => e
481
+ puts "Error when calling DistributionsRpmApi->my_permissions_with_http_info: #{e}"
482
+ end
483
+ ```
484
+
485
+ ### Parameters
385
486
 
386
- Name | Type | Description | Notes
387
- ------------- | ------------- | ------------- | -------------
388
- **rpm_rpm_distribution_href** | **String**| |
389
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
390
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
487
+ | Name | Type | Description | Notes |
488
+ | ---- | ---- | ----------- | ----- |
489
+ | **rpm_rpm_distribution_href** | **String** | | |
490
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
491
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
391
492
 
392
493
  ### Return type
393
494
 
@@ -405,16 +506,16 @@ Name | Type | Description | Notes
405
506
 
406
507
  ## partial_update
407
508
 
408
- > AsyncOperationResponse partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
509
+ > <AsyncOperationResponse> partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
409
510
 
410
511
  Update a rpm distribution
411
512
 
412
513
  Trigger an asynchronous partial update task
413
514
 
414
- ### Example
515
+ ### Examples
415
516
 
416
517
  ```ruby
417
- # load the gem
518
+ require 'time'
418
519
  require 'pulp_rpm_client'
419
520
  # setup authorization
420
521
  PulpRpmClient.configure do |config|
@@ -428,21 +529,38 @@ rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
428
529
  patchedrpm_rpm_distribution = PulpRpmClient::PatchedrpmRpmDistribution.new # PatchedrpmRpmDistribution |
429
530
 
430
531
  begin
431
- #Update a rpm distribution
532
+ # Update a rpm distribution
432
533
  result = api_instance.partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
433
534
  p result
434
535
  rescue PulpRpmClient::ApiError => e
435
- puts "Exception when calling DistributionsRpmApi->partial_update: #{e}"
536
+ puts "Error when calling DistributionsRpmApi->partial_update: #{e}"
436
537
  end
437
538
  ```
438
539
 
439
- ### Parameters
540
+ #### Using the partial_update_with_http_info variant
541
+
542
+ This returns an Array which contains the response data, status code and headers.
440
543
 
544
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
441
545
 
442
- Name | Type | Description | Notes
443
- ------------- | ------------- | ------------- | -------------
444
- **rpm_rpm_distribution_href** | **String**| |
445
- **patchedrpm_rpm_distribution** | [**PatchedrpmRpmDistribution**](PatchedrpmRpmDistribution.md)| |
546
+ ```ruby
547
+ begin
548
+ # Update a rpm distribution
549
+ data, status_code, headers = api_instance.partial_update_with_http_info(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
550
+ p status_code # => 2xx
551
+ p headers # => { ... }
552
+ p data # => <AsyncOperationResponse>
553
+ rescue PulpRpmClient::ApiError => e
554
+ puts "Error when calling DistributionsRpmApi->partial_update_with_http_info: #{e}"
555
+ end
556
+ ```
557
+
558
+ ### Parameters
559
+
560
+ | Name | Type | Description | Notes |
561
+ | ---- | ---- | ----------- | ----- |
562
+ | **rpm_rpm_distribution_href** | **String** | | |
563
+ | **patchedrpm_rpm_distribution** | [**PatchedrpmRpmDistribution**](PatchedrpmRpmDistribution.md) | | |
446
564
 
447
565
  ### Return type
448
566
 
@@ -460,16 +578,16 @@ Name | Type | Description | Notes
460
578
 
461
579
  ## read
462
580
 
463
- > RpmRpmDistributionResponse read(rpm_rpm_distribution_href, opts)
581
+ > <RpmRpmDistributionResponse> read(rpm_rpm_distribution_href, opts)
464
582
 
465
583
  Inspect a rpm distribution
466
584
 
467
585
  ViewSet for RPM Distributions.
468
586
 
469
- ### Example
587
+ ### Examples
470
588
 
471
589
  ```ruby
472
- # load the gem
590
+ require 'time'
473
591
  require 'pulp_rpm_client'
474
592
  # setup authorization
475
593
  PulpRpmClient.configure do |config|
@@ -481,27 +599,44 @@ end
481
599
  api_instance = PulpRpmClient::DistributionsRpmApi.new
482
600
  rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
483
601
  opts = {
484
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
485
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
602
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
603
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
486
604
  }
487
605
 
488
606
  begin
489
- #Inspect a rpm distribution
607
+ # Inspect a rpm distribution
490
608
  result = api_instance.read(rpm_rpm_distribution_href, opts)
491
609
  p result
492
610
  rescue PulpRpmClient::ApiError => e
493
- puts "Exception when calling DistributionsRpmApi->read: #{e}"
611
+ puts "Error when calling DistributionsRpmApi->read: #{e}"
494
612
  end
495
613
  ```
496
614
 
497
- ### Parameters
615
+ #### Using the read_with_http_info variant
616
+
617
+ This returns an Array which contains the response data, status code and headers.
618
+
619
+ > <Array(<RpmRpmDistributionResponse>, Integer, Hash)> read_with_http_info(rpm_rpm_distribution_href, opts)
620
+
621
+ ```ruby
622
+ begin
623
+ # Inspect a rpm distribution
624
+ data, status_code, headers = api_instance.read_with_http_info(rpm_rpm_distribution_href, opts)
625
+ p status_code # => 2xx
626
+ p headers # => { ... }
627
+ p data # => <RpmRpmDistributionResponse>
628
+ rescue PulpRpmClient::ApiError => e
629
+ puts "Error when calling DistributionsRpmApi->read_with_http_info: #{e}"
630
+ end
631
+ ```
498
632
 
633
+ ### Parameters
499
634
 
500
- Name | Type | Description | Notes
501
- ------------- | ------------- | ------------- | -------------
502
- **rpm_rpm_distribution_href** | **String**| |
503
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
504
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
635
+ | Name | Type | Description | Notes |
636
+ | ---- | ---- | ----------- | ----- |
637
+ | **rpm_rpm_distribution_href** | **String** | | |
638
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
639
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
505
640
 
506
641
  ### Return type
507
642
 
@@ -519,16 +654,16 @@ Name | Type | Description | Notes
519
654
 
520
655
  ## remove_role
521
656
 
522
- > NestedRoleResponse remove_role(rpm_rpm_distribution_href, nested_role)
657
+ > <NestedRoleResponse> remove_role(rpm_rpm_distribution_href, nested_role)
523
658
 
524
659
  Remove a role
525
660
 
526
661
  Remove a role for this object from users/groups.
527
662
 
528
- ### Example
663
+ ### Examples
529
664
 
530
665
  ```ruby
531
- # load the gem
666
+ require 'time'
532
667
  require 'pulp_rpm_client'
533
668
  # setup authorization
534
669
  PulpRpmClient.configure do |config|
@@ -539,24 +674,41 @@ end
539
674
 
540
675
  api_instance = PulpRpmClient::DistributionsRpmApi.new
541
676
  rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
542
- nested_role = PulpRpmClient::NestedRole.new # NestedRole |
677
+ nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
543
678
 
544
679
  begin
545
- #Remove a role
680
+ # Remove a role
546
681
  result = api_instance.remove_role(rpm_rpm_distribution_href, nested_role)
547
682
  p result
548
683
  rescue PulpRpmClient::ApiError => e
549
- puts "Exception when calling DistributionsRpmApi->remove_role: #{e}"
684
+ puts "Error when calling DistributionsRpmApi->remove_role: #{e}"
550
685
  end
551
686
  ```
552
687
 
553
- ### Parameters
688
+ #### Using the remove_role_with_http_info variant
689
+
690
+ This returns an Array which contains the response data, status code and headers.
691
+
692
+ > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(rpm_rpm_distribution_href, nested_role)
554
693
 
694
+ ```ruby
695
+ begin
696
+ # Remove a role
697
+ data, status_code, headers = api_instance.remove_role_with_http_info(rpm_rpm_distribution_href, nested_role)
698
+ p status_code # => 2xx
699
+ p headers # => { ... }
700
+ p data # => <NestedRoleResponse>
701
+ rescue PulpRpmClient::ApiError => e
702
+ puts "Error when calling DistributionsRpmApi->remove_role_with_http_info: #{e}"
703
+ end
704
+ ```
705
+
706
+ ### Parameters
555
707
 
556
- Name | Type | Description | Notes
557
- ------------- | ------------- | ------------- | -------------
558
- **rpm_rpm_distribution_href** | **String**| |
559
- **nested_role** | [**NestedRole**](NestedRole.md)| |
708
+ | Name | Type | Description | Notes |
709
+ | ---- | ---- | ----------- | ----- |
710
+ | **rpm_rpm_distribution_href** | **String** | | |
711
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
560
712
 
561
713
  ### Return type
562
714
 
@@ -574,16 +726,16 @@ Name | Type | Description | Notes
574
726
 
575
727
  ## set_label
576
728
 
577
- > SetLabelResponse set_label(rpm_rpm_distribution_href, set_label)
729
+ > <SetLabelResponse> set_label(rpm_rpm_distribution_href, set_label)
578
730
 
579
731
  Set a label
580
732
 
581
733
  Set a single pulp_label on the object to a specific value or null.
582
734
 
583
- ### Example
735
+ ### Examples
584
736
 
585
737
  ```ruby
586
- # load the gem
738
+ require 'time'
587
739
  require 'pulp_rpm_client'
588
740
  # setup authorization
589
741
  PulpRpmClient.configure do |config|
@@ -594,24 +746,41 @@ end
594
746
 
595
747
  api_instance = PulpRpmClient::DistributionsRpmApi.new
596
748
  rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
597
- set_label = PulpRpmClient::SetLabel.new # SetLabel |
749
+ set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
598
750
 
599
751
  begin
600
- #Set a label
752
+ # Set a label
601
753
  result = api_instance.set_label(rpm_rpm_distribution_href, set_label)
602
754
  p result
603
755
  rescue PulpRpmClient::ApiError => e
604
- puts "Exception when calling DistributionsRpmApi->set_label: #{e}"
756
+ puts "Error when calling DistributionsRpmApi->set_label: #{e}"
605
757
  end
606
758
  ```
607
759
 
608
- ### Parameters
760
+ #### Using the set_label_with_http_info variant
761
+
762
+ This returns an Array which contains the response data, status code and headers.
609
763
 
764
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_rpm_distribution_href, set_label)
610
765
 
611
- Name | Type | Description | Notes
612
- ------------- | ------------- | ------------- | -------------
613
- **rpm_rpm_distribution_href** | **String**| |
614
- **set_label** | [**SetLabel**](SetLabel.md)| |
766
+ ```ruby
767
+ begin
768
+ # Set a label
769
+ data, status_code, headers = api_instance.set_label_with_http_info(rpm_rpm_distribution_href, set_label)
770
+ p status_code # => 2xx
771
+ p headers # => { ... }
772
+ p data # => <SetLabelResponse>
773
+ rescue PulpRpmClient::ApiError => e
774
+ puts "Error when calling DistributionsRpmApi->set_label_with_http_info: #{e}"
775
+ end
776
+ ```
777
+
778
+ ### Parameters
779
+
780
+ | Name | Type | Description | Notes |
781
+ | ---- | ---- | ----------- | ----- |
782
+ | **rpm_rpm_distribution_href** | **String** | | |
783
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
615
784
 
616
785
  ### Return type
617
786
 
@@ -629,16 +798,16 @@ Name | Type | Description | Notes
629
798
 
630
799
  ## unset_label
631
800
 
632
- > UnsetLabelResponse unset_label(rpm_rpm_distribution_href, unset_label)
801
+ > <UnsetLabelResponse> unset_label(rpm_rpm_distribution_href, unset_label)
633
802
 
634
803
  Unset a label
635
804
 
636
805
  Unset a single pulp_label on the object.
637
806
 
638
- ### Example
807
+ ### Examples
639
808
 
640
809
  ```ruby
641
- # load the gem
810
+ require 'time'
642
811
  require 'pulp_rpm_client'
643
812
  # setup authorization
644
813
  PulpRpmClient.configure do |config|
@@ -649,24 +818,41 @@ end
649
818
 
650
819
  api_instance = PulpRpmClient::DistributionsRpmApi.new
651
820
  rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
652
- unset_label = PulpRpmClient::UnsetLabel.new # UnsetLabel |
821
+ unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
653
822
 
654
823
  begin
655
- #Unset a label
824
+ # Unset a label
656
825
  result = api_instance.unset_label(rpm_rpm_distribution_href, unset_label)
657
826
  p result
658
827
  rescue PulpRpmClient::ApiError => e
659
- puts "Exception when calling DistributionsRpmApi->unset_label: #{e}"
828
+ puts "Error when calling DistributionsRpmApi->unset_label: #{e}"
660
829
  end
661
830
  ```
662
831
 
663
- ### Parameters
832
+ #### Using the unset_label_with_http_info variant
833
+
834
+ This returns an Array which contains the response data, status code and headers.
835
+
836
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_rpm_distribution_href, unset_label)
837
+
838
+ ```ruby
839
+ begin
840
+ # Unset a label
841
+ data, status_code, headers = api_instance.unset_label_with_http_info(rpm_rpm_distribution_href, unset_label)
842
+ p status_code # => 2xx
843
+ p headers # => { ... }
844
+ p data # => <UnsetLabelResponse>
845
+ rescue PulpRpmClient::ApiError => e
846
+ puts "Error when calling DistributionsRpmApi->unset_label_with_http_info: #{e}"
847
+ end
848
+ ```
664
849
 
850
+ ### Parameters
665
851
 
666
- Name | Type | Description | Notes
667
- ------------- | ------------- | ------------- | -------------
668
- **rpm_rpm_distribution_href** | **String**| |
669
- **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
852
+ | Name | Type | Description | Notes |
853
+ | ---- | ---- | ----------- | ----- |
854
+ | **rpm_rpm_distribution_href** | **String** | | |
855
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
670
856
 
671
857
  ### Return type
672
858
 
@@ -684,16 +870,16 @@ Name | Type | Description | Notes
684
870
 
685
871
  ## update
686
872
 
687
- > AsyncOperationResponse update(rpm_rpm_distribution_href, rpm_rpm_distribution)
873
+ > <AsyncOperationResponse> update(rpm_rpm_distribution_href, rpm_rpm_distribution)
688
874
 
689
875
  Update a rpm distribution
690
876
 
691
877
  Trigger an asynchronous update task
692
878
 
693
- ### Example
879
+ ### Examples
694
880
 
695
881
  ```ruby
696
- # load the gem
882
+ require 'time'
697
883
  require 'pulp_rpm_client'
698
884
  # setup authorization
699
885
  PulpRpmClient.configure do |config|
@@ -704,24 +890,41 @@ end
704
890
 
705
891
  api_instance = PulpRpmClient::DistributionsRpmApi.new
706
892
  rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
707
- rpm_rpm_distribution = PulpRpmClient::RpmRpmDistribution.new # RpmRpmDistribution |
893
+ rpm_rpm_distribution = PulpRpmClient::RpmRpmDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # RpmRpmDistribution |
708
894
 
709
895
  begin
710
- #Update a rpm distribution
896
+ # Update a rpm distribution
711
897
  result = api_instance.update(rpm_rpm_distribution_href, rpm_rpm_distribution)
712
898
  p result
713
899
  rescue PulpRpmClient::ApiError => e
714
- puts "Exception when calling DistributionsRpmApi->update: #{e}"
900
+ puts "Error when calling DistributionsRpmApi->update: #{e}"
715
901
  end
716
902
  ```
717
903
 
718
- ### Parameters
904
+ #### Using the update_with_http_info variant
905
+
906
+ This returns an Array which contains the response data, status code and headers.
907
+
908
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(rpm_rpm_distribution_href, rpm_rpm_distribution)
719
909
 
910
+ ```ruby
911
+ begin
912
+ # Update a rpm distribution
913
+ data, status_code, headers = api_instance.update_with_http_info(rpm_rpm_distribution_href, rpm_rpm_distribution)
914
+ p status_code # => 2xx
915
+ p headers # => { ... }
916
+ p data # => <AsyncOperationResponse>
917
+ rescue PulpRpmClient::ApiError => e
918
+ puts "Error when calling DistributionsRpmApi->update_with_http_info: #{e}"
919
+ end
920
+ ```
921
+
922
+ ### Parameters
720
923
 
721
- Name | Type | Description | Notes
722
- ------------- | ------------- | ------------- | -------------
723
- **rpm_rpm_distribution_href** | **String**| |
724
- **rpm_rpm_distribution** | [**RpmRpmDistribution**](RpmRpmDistribution.md)| |
924
+ | Name | Type | Description | Notes |
925
+ | ---- | ---- | ----------- | ----- |
926
+ | **rpm_rpm_distribution_href** | **String** | | |
927
+ | **rpm_rpm_distribution** | [**RpmRpmDistribution**](RpmRpmDistribution.md) | | |
725
928
 
726
929
  ### Return type
727
930