pulp_deb_client 3.5.0 → 3.5.2

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 (298) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -9
  3. data/docs/AptRepositorySyncURL.md +12 -11
  4. data/docs/AsyncOperationResponse.md +8 -7
  5. data/docs/ContentGenericContentsApi.md +264 -64
  6. data/docs/ContentInstallerFileIndicesApi.md +259 -61
  7. data/docs/ContentInstallerPackagesApi.md +280 -80
  8. data/docs/ContentPackageIndicesApi.md +259 -61
  9. data/docs/ContentPackageReleaseComponentsApi.md +259 -61
  10. data/docs/ContentPackagesApi.md +294 -94
  11. data/docs/ContentReleaseArchitecturesApi.md +257 -59
  12. data/docs/ContentReleaseComponentsApi.md +258 -60
  13. data/docs/ContentReleaseFilesApi.md +259 -61
  14. data/docs/ContentReleasesApi.md +262 -64
  15. data/docs/ContentSourceIndicesApi.md +258 -60
  16. data/docs/ContentSourcePackagesApi.md +285 -87
  17. data/docs/ContentSourceReleaseComponentsApi.md +259 -61
  18. data/docs/ContentSummaryResponse.md +12 -11
  19. data/docs/Copy.md +12 -11
  20. data/docs/DebAptDistribution.md +20 -19
  21. data/docs/DebAptDistributionResponse.md +32 -31
  22. data/docs/DebAptPublication.md +18 -17
  23. data/docs/DebAptPublicationResponse.md +26 -25
  24. data/docs/DebAptRemote.md +64 -63
  25. data/docs/DebAptRemoteResponse.md +64 -63
  26. data/docs/DebAptRemoteResponseHiddenFieldsInner.md +20 -0
  27. data/docs/DebAptRepository.md +22 -21
  28. data/docs/DebAptRepositoryResponse.md +34 -33
  29. data/docs/DebCopyApi.md +30 -14
  30. data/docs/DebGenericContentResponse.md +32 -29
  31. data/docs/DebInstallerFileIndex.md +18 -15
  32. data/docs/DebInstallerFileIndexResponse.md +24 -21
  33. data/docs/DebInstallerPackageResponse.md +90 -87
  34. data/docs/DebPackageIndex.md +18 -15
  35. data/docs/DebPackageIndexResponse.md +24 -21
  36. data/docs/DebPackageReleaseComponent.md +14 -11
  37. data/docs/DebPackageReleaseComponentResponse.md +20 -17
  38. data/docs/DebPackageResponse.md +94 -91
  39. data/docs/DebRelease.md +28 -25
  40. data/docs/DebReleaseArchitecture.md +14 -11
  41. data/docs/DebReleaseArchitectureResponse.md +20 -17
  42. data/docs/DebReleaseComponent.md +14 -11
  43. data/docs/DebReleaseComponentResponse.md +22 -19
  44. data/docs/DebReleaseFile.md +20 -17
  45. data/docs/DebReleaseFileResponse.md +26 -23
  46. data/docs/DebReleaseResponse.md +34 -31
  47. data/docs/DebSourceIndex.md +18 -15
  48. data/docs/DebSourceIndexResponse.md +24 -21
  49. data/docs/DebSourcePackage.md +14 -11
  50. data/docs/DebSourcePackageReleaseComponent.md +14 -11
  51. data/docs/DebSourcePackageReleaseComponentResponse.md +20 -17
  52. data/docs/DebSourcePackageResponse.md +76 -73
  53. data/docs/DebVerbatimPublication.md +10 -9
  54. data/docs/DebVerbatimPublicationResponse.md +18 -17
  55. data/docs/DistributionsAptApi.md +387 -182
  56. data/docs/MyPermissionsResponse.md +8 -7
  57. data/docs/NestedRole.md +12 -11
  58. data/docs/NestedRoleResponse.md +12 -11
  59. data/docs/ObjectRolesResponse.md +8 -7
  60. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  61. data/docs/PaginateddebAptDistributionResponseList.md +14 -13
  62. data/docs/PaginateddebAptPublicationResponseList.md +14 -13
  63. data/docs/PaginateddebAptRemoteResponseList.md +14 -13
  64. data/docs/PaginateddebAptRepositoryResponseList.md +14 -13
  65. data/docs/PaginateddebGenericContentResponseList.md +14 -13
  66. data/docs/PaginateddebInstallerFileIndexResponseList.md +14 -13
  67. data/docs/PaginateddebInstallerPackageResponseList.md +14 -13
  68. data/docs/PaginateddebPackageIndexResponseList.md +14 -13
  69. data/docs/PaginateddebPackageReleaseComponentResponseList.md +14 -13
  70. data/docs/PaginateddebPackageResponseList.md +14 -13
  71. data/docs/PaginateddebReleaseArchitectureResponseList.md +14 -13
  72. data/docs/PaginateddebReleaseComponentResponseList.md +14 -13
  73. data/docs/PaginateddebReleaseFileResponseList.md +14 -13
  74. data/docs/PaginateddebReleaseResponseList.md +14 -13
  75. data/docs/PaginateddebSourceIndexResponseList.md +14 -13
  76. data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +14 -13
  77. data/docs/PaginateddebSourcePackageResponseList.md +14 -13
  78. data/docs/PaginateddebVerbatimPublicationResponseList.md +14 -13
  79. data/docs/PatcheddebAptDistribution.md +20 -19
  80. data/docs/PatcheddebAptRemote.md +64 -63
  81. data/docs/PatcheddebAptRepository.md +22 -21
  82. data/docs/PolicyEnum.md +4 -5
  83. data/docs/PublicationsAptApi.md +269 -130
  84. data/docs/PublicationsVerbatimApi.md +269 -130
  85. data/docs/RemotesAptApi.md +389 -184
  86. data/docs/Repair.md +8 -7
  87. data/docs/RepositoriesAptApi.md +444 -207
  88. data/docs/RepositoriesAptVersionsApi.md +152 -82
  89. data/docs/RepositoryAddRemoveContent.md +12 -11
  90. data/docs/RepositoryVersionResponse.md +22 -21
  91. data/docs/SetLabel.md +10 -9
  92. data/docs/SetLabelResponse.md +10 -9
  93. data/docs/UnsetLabel.md +8 -7
  94. data/docs/UnsetLabelResponse.md +10 -9
  95. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +177 -17
  96. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +174 -17
  97. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +177 -25
  98. data/lib/pulp_deb_client/api/content_package_indices_api.rb +174 -17
  99. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +174 -17
  100. data/lib/pulp_deb_client/api/content_packages_api.rb +177 -25
  101. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +174 -17
  102. data/lib/pulp_deb_client/api/content_release_components_api.rb +174 -17
  103. data/lib/pulp_deb_client/api/content_release_files_api.rb +174 -17
  104. data/lib/pulp_deb_client/api/content_releases_api.rb +174 -17
  105. data/lib/pulp_deb_client/api/content_source_indices_api.rb +174 -17
  106. data/lib/pulp_deb_client/api/content_source_packages_api.rb +174 -17
  107. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +174 -17
  108. data/lib/pulp_deb_client/api/deb_copy_api.rb +10 -6
  109. data/lib/pulp_deb_client/api/distributions_apt_api.rb +95 -59
  110. data/lib/pulp_deb_client/api/publications_apt_api.rb +73 -50
  111. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +73 -50
  112. data/lib/pulp_deb_client/api/remotes_apt_api.rb +104 -68
  113. data/lib/pulp_deb_client/api/repositories_apt_api.rb +107 -66
  114. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +40 -30
  115. data/lib/pulp_deb_client/api_client.rb +137 -102
  116. data/lib/pulp_deb_client/api_error.rb +2 -1
  117. data/lib/pulp_deb_client/configuration.rb +162 -21
  118. data/lib/pulp_deb_client/models/apt_repository_sync_url.rb +30 -22
  119. data/lib/pulp_deb_client/models/async_operation_response.rb +32 -22
  120. data/lib/pulp_deb_client/models/content_summary_response.rb +36 -22
  121. data/lib/pulp_deb_client/models/copy.rb +34 -28
  122. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +34 -22
  123. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +36 -24
  124. data/lib/pulp_deb_client/models/deb_apt_publication.rb +30 -22
  125. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +32 -24
  126. data/lib/pulp_deb_client/models/deb_apt_remote.rb +58 -22
  127. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +61 -25
  128. data/lib/pulp_deb_client/models/{deb_apt_remote_response_hidden_fields.rb → deb_apt_remote_response_hidden_fields_inner.rb} +37 -25
  129. data/lib/pulp_deb_client/models/deb_apt_repository.rb +32 -22
  130. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +34 -24
  131. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +47 -25
  132. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +54 -24
  133. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +51 -25
  134. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +45 -25
  135. data/lib/pulp_deb_client/models/deb_package_index.rb +60 -26
  136. data/lib/pulp_deb_client/models/deb_package_index_response.rb +47 -25
  137. data/lib/pulp_deb_client/models/deb_package_release_component.rb +47 -23
  138. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +49 -25
  139. data/lib/pulp_deb_client/models/deb_package_response.rb +45 -25
  140. data/lib/pulp_deb_client/models/deb_release.rb +49 -23
  141. data/lib/pulp_deb_client/models/deb_release_architecture.rb +47 -23
  142. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +49 -25
  143. data/lib/pulp_deb_client/models/deb_release_component.rb +47 -23
  144. data/lib/pulp_deb_client/models/deb_release_component_response.rb +49 -25
  145. data/lib/pulp_deb_client/models/deb_release_file.rb +62 -26
  146. data/lib/pulp_deb_client/models/deb_release_file_response.rb +49 -25
  147. data/lib/pulp_deb_client/models/deb_release_response.rb +51 -25
  148. data/lib/pulp_deb_client/models/deb_source_index.rb +54 -24
  149. data/lib/pulp_deb_client/models/deb_source_index_response.rb +51 -25
  150. data/lib/pulp_deb_client/models/deb_source_package.rb +50 -24
  151. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +47 -23
  152. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +49 -25
  153. data/lib/pulp_deb_client/models/deb_source_package_response.rb +47 -25
  154. data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +30 -22
  155. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +32 -24
  156. data/lib/pulp_deb_client/models/my_permissions_response.rb +32 -22
  157. data/lib/pulp_deb_client/models/nested_role.rb +32 -22
  158. data/lib/pulp_deb_client/models/nested_role_response.rb +32 -22
  159. data/lib/pulp_deb_client/models/object_roles_response.rb +32 -22
  160. data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +34 -22
  161. data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +34 -22
  162. data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +34 -22
  163. data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +34 -22
  164. data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +34 -22
  165. data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +34 -22
  166. data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +34 -22
  167. data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +34 -22
  168. data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +34 -22
  169. data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +34 -22
  170. data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +34 -22
  171. data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +34 -22
  172. data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +34 -22
  173. data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +34 -22
  174. data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +34 -22
  175. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +34 -22
  176. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +34 -22
  177. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +34 -22
  178. data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +34 -22
  179. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +40 -24
  180. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +67 -25
  181. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +35 -23
  182. data/lib/pulp_deb_client/models/policy_enum.rb +8 -4
  183. data/lib/pulp_deb_client/models/repair.rb +30 -22
  184. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +30 -22
  185. data/lib/pulp_deb_client/models/repository_version_response.rb +32 -24
  186. data/lib/pulp_deb_client/models/set_label.rb +34 -22
  187. data/lib/pulp_deb_client/models/set_label_response.rb +34 -22
  188. data/lib/pulp_deb_client/models/unset_label.rb +33 -23
  189. data/lib/pulp_deb_client/models/unset_label_response.rb +33 -23
  190. data/lib/pulp_deb_client/version.rb +2 -2
  191. data/lib/pulp_deb_client.rb +2 -5
  192. data/pulp_deb_client.gemspec +7 -5
  193. data/spec/api/content_generic_contents_api_spec.rb +33 -5
  194. data/spec/api/content_installer_file_indices_api_spec.rb +32 -5
  195. data/spec/api/content_installer_packages_api_spec.rb +33 -5
  196. data/spec/api/content_package_indices_api_spec.rb +32 -5
  197. data/spec/api/content_package_release_components_api_spec.rb +32 -5
  198. data/spec/api/content_packages_api_spec.rb +33 -5
  199. data/spec/api/content_release_architectures_api_spec.rb +32 -5
  200. data/spec/api/content_release_components_api_spec.rb +32 -5
  201. data/spec/api/content_release_files_api_spec.rb +32 -5
  202. data/spec/api/content_releases_api_spec.rb +32 -5
  203. data/spec/api/content_source_indices_api_spec.rb +32 -5
  204. data/spec/api/content_source_packages_api_spec.rb +32 -5
  205. data/spec/api/content_source_release_components_api_spec.rb +32 -5
  206. data/spec/api/deb_copy_api_spec.rb +2 -2
  207. data/spec/api/distributions_apt_api_spec.rb +15 -14
  208. data/spec/api/publications_apt_api_spec.rb +18 -16
  209. data/spec/api/publications_verbatim_api_spec.rb +18 -16
  210. data/spec/api/remotes_apt_api_spec.rb +20 -19
  211. data/spec/api/repositories_apt_api_spec.rb +15 -15
  212. data/spec/api/repositories_apt_versions_api_spec.rb +12 -11
  213. data/spec/models/apt_repository_sync_url_spec.rb +9 -14
  214. data/spec/models/async_operation_response_spec.rb +7 -12
  215. data/spec/models/content_summary_response_spec.rb +9 -14
  216. data/spec/models/copy_spec.rb +9 -14
  217. data/spec/models/deb_apt_distribution_response_spec.rb +19 -24
  218. data/spec/models/deb_apt_distribution_spec.rb +13 -18
  219. data/spec/models/deb_apt_publication_response_spec.rb +16 -21
  220. data/spec/models/deb_apt_publication_spec.rb +12 -17
  221. data/spec/models/{deb_apt_remote_response_hidden_fields_spec.rb → deb_apt_remote_response_hidden_fields_inner_spec.rb} +11 -16
  222. data/spec/models/deb_apt_remote_response_spec.rb +35 -40
  223. data/spec/models/deb_apt_remote_spec.rb +35 -40
  224. data/spec/models/deb_apt_repository_response_spec.rb +20 -25
  225. data/spec/models/deb_apt_repository_spec.rb +14 -19
  226. data/spec/models/deb_generic_content_response_spec.rb +24 -23
  227. data/spec/models/deb_installer_file_index_response_spec.rb +20 -19
  228. data/spec/models/deb_installer_file_index_spec.rb +17 -16
  229. data/spec/models/deb_installer_package_response_spec.rb +53 -52
  230. data/spec/models/deb_package_index_response_spec.rb +20 -19
  231. data/spec/models/deb_package_index_spec.rb +17 -16
  232. data/spec/models/deb_package_release_component_response_spec.rb +18 -17
  233. data/spec/models/deb_package_release_component_spec.rb +15 -14
  234. data/spec/models/deb_package_response_spec.rb +55 -54
  235. data/spec/models/deb_release_architecture_response_spec.rb +18 -17
  236. data/spec/models/deb_release_architecture_spec.rb +15 -14
  237. data/spec/models/deb_release_component_response_spec.rb +19 -18
  238. data/spec/models/deb_release_component_spec.rb +15 -14
  239. data/spec/models/deb_release_file_response_spec.rb +21 -20
  240. data/spec/models/deb_release_file_spec.rb +18 -17
  241. data/spec/models/deb_release_response_spec.rb +25 -24
  242. data/spec/models/deb_release_spec.rb +22 -21
  243. data/spec/models/deb_source_index_response_spec.rb +20 -19
  244. data/spec/models/deb_source_index_spec.rb +17 -16
  245. data/spec/models/deb_source_package_release_component_response_spec.rb +18 -17
  246. data/spec/models/deb_source_package_release_component_spec.rb +15 -14
  247. data/spec/models/deb_source_package_response_spec.rb +46 -45
  248. data/spec/models/deb_source_package_spec.rb +15 -14
  249. data/spec/models/deb_verbatim_publication_response_spec.rb +12 -17
  250. data/spec/models/deb_verbatim_publication_spec.rb +8 -13
  251. data/spec/models/my_permissions_response_spec.rb +7 -12
  252. data/spec/models/nested_role_response_spec.rb +9 -14
  253. data/spec/models/nested_role_spec.rb +9 -14
  254. data/spec/models/object_roles_response_spec.rb +7 -12
  255. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  256. data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +10 -15
  257. data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +10 -15
  258. data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +10 -15
  259. data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +10 -15
  260. data/spec/models/paginateddeb_generic_content_response_list_spec.rb +10 -15
  261. data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +10 -15
  262. data/spec/models/paginateddeb_installer_package_response_list_spec.rb +10 -15
  263. data/spec/models/paginateddeb_package_index_response_list_spec.rb +10 -15
  264. data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +10 -15
  265. data/spec/models/paginateddeb_package_response_list_spec.rb +10 -15
  266. data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +10 -15
  267. data/spec/models/paginateddeb_release_component_response_list_spec.rb +10 -15
  268. data/spec/models/paginateddeb_release_file_response_list_spec.rb +10 -15
  269. data/spec/models/paginateddeb_release_response_list_spec.rb +10 -15
  270. data/spec/models/paginateddeb_source_index_response_list_spec.rb +10 -15
  271. data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +10 -15
  272. data/spec/models/paginateddeb_source_package_response_list_spec.rb +10 -15
  273. data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +10 -15
  274. data/spec/models/patcheddeb_apt_distribution_spec.rb +13 -18
  275. data/spec/models/patcheddeb_apt_remote_spec.rb +35 -40
  276. data/spec/models/patcheddeb_apt_repository_spec.rb +14 -19
  277. data/spec/models/policy_enum_spec.rb +6 -11
  278. data/spec/models/repair_spec.rb +7 -12
  279. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  280. data/spec/models/repository_version_response_spec.rb +14 -19
  281. data/spec/models/set_label_response_spec.rb +8 -13
  282. data/spec/models/set_label_spec.rb +8 -13
  283. data/spec/models/unset_label_response_spec.rb +8 -13
  284. data/spec/models/unset_label_spec.rb +7 -12
  285. data/spec/spec_helper.rb +1 -1
  286. metadata +92 -100
  287. data/docs/DebAptRemoteResponseHiddenFields.md +0 -19
  288. data/docs/DebGenericContent.md +0 -27
  289. data/docs/DebInstallerPackage.md +0 -27
  290. data/docs/DebPackage.md +0 -31
  291. data/lib/pulp_deb_client/models/deb_generic_content.rb +0 -297
  292. data/lib/pulp_deb_client/models/deb_installer_package.rb +0 -288
  293. data/lib/pulp_deb_client/models/deb_package.rb +0 -338
  294. data/spec/api_client_spec.rb +0 -188
  295. data/spec/configuration_spec.rb +0 -42
  296. data/spec/models/deb_generic_content_spec.rb +0 -71
  297. data/spec/models/deb_installer_package_spec.rb +0 -71
  298. data/spec/models/deb_package_spec.rb +0 -83
@@ -6,11 +6,12 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
+ require 'time'
14
15
 
15
16
  module PulpDebClient
16
17
  # A Serializer for SourcePackageReleaseComponent.
@@ -26,6 +27,9 @@ module PulpDebClient
26
27
  # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
27
28
  attr_accessor :pulp_last_updated
28
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
29
33
  # Source package that is contained in release_component.
30
34
  attr_accessor :source_package
31
35
 
@@ -39,18 +43,25 @@ module PulpDebClient
39
43
  :'prn' => :'prn',
40
44
  :'pulp_created' => :'pulp_created',
41
45
  :'pulp_last_updated' => :'pulp_last_updated',
46
+ :'pulp_labels' => :'pulp_labels',
42
47
  :'source_package' => :'source_package',
43
48
  :'release_component' => :'release_component'
44
49
  }
45
50
  end
46
51
 
52
+ # Returns all the JSON keys this model knows about
53
+ def self.acceptable_attributes
54
+ attribute_map.values
55
+ end
56
+
47
57
  # Attribute type mapping.
48
58
  def self.openapi_types
49
59
  {
50
60
  :'pulp_href' => :'String',
51
61
  :'prn' => :'String',
52
- :'pulp_created' => :'DateTime',
53
- :'pulp_last_updated' => :'DateTime',
62
+ :'pulp_created' => :'Time',
63
+ :'pulp_last_updated' => :'Time',
64
+ :'pulp_labels' => :'Hash<String, String>',
54
65
  :'source_package' => :'String',
55
66
  :'release_component' => :'String'
56
67
  }
@@ -93,18 +104,29 @@ module PulpDebClient
93
104
  self.pulp_last_updated = attributes[:'pulp_last_updated']
94
105
  end
95
106
 
107
+ if attributes.key?(:'pulp_labels')
108
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
109
+ self.pulp_labels = value
110
+ end
111
+ end
112
+
96
113
  if attributes.key?(:'source_package')
97
114
  self.source_package = attributes[:'source_package']
115
+ else
116
+ self.source_package = nil
98
117
  end
99
118
 
100
119
  if attributes.key?(:'release_component')
101
120
  self.release_component = attributes[:'release_component']
121
+ else
122
+ self.release_component = nil
102
123
  end
103
124
  end
104
125
 
105
126
  # Show invalid properties with the reasons. Usually used together with valid?
106
127
  # @return Array for valid properties with the reasons
107
128
  def list_invalid_properties
129
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
108
130
  invalid_properties = Array.new
109
131
  if @source_package.nil?
110
132
  invalid_properties.push('invalid value for "source_package", source_package cannot be nil.')
@@ -120,6 +142,7 @@ module PulpDebClient
120
142
  # Check to see if the all the properties in the model are valid
121
143
  # @return true if the model is valid
122
144
  def valid?
145
+ warn '[DEPRECATED] the `valid?` method is obsolete'
123
146
  return false if @source_package.nil?
124
147
  return false if @release_component.nil?
125
148
  true
@@ -134,6 +157,7 @@ module PulpDebClient
134
157
  prn == o.prn &&
135
158
  pulp_created == o.pulp_created &&
136
159
  pulp_last_updated == o.pulp_last_updated &&
160
+ pulp_labels == o.pulp_labels &&
137
161
  source_package == o.source_package &&
138
162
  release_component == o.release_component
139
163
  end
@@ -147,44 +171,40 @@ module PulpDebClient
147
171
  # Calculates hash code according to all attributes.
148
172
  # @return [Integer] Hash code
149
173
  def hash
150
- [pulp_href, prn, pulp_created, pulp_last_updated, source_package, release_component].hash
174
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, source_package, release_component].hash
151
175
  end
152
176
 
153
177
  # Builds the object from hash
154
178
  # @param [Hash] attributes Model attributes in the form of hash
155
179
  # @return [Object] Returns the model itself
156
180
  def self.build_from_hash(attributes)
157
- new.build_from_hash(attributes)
158
- end
159
-
160
- # Builds the object from hash
161
- # @param [Hash] attributes Model attributes in the form of hash
162
- # @return [Object] Returns the model itself
163
- def build_from_hash(attributes)
164
181
  return nil unless attributes.is_a?(Hash)
165
- self.class.openapi_types.each_pair do |key, type|
166
- if type =~ /\AArray<(.*)>/i
182
+ attributes = attributes.transform_keys(&:to_sym)
183
+ transformed_hash = {}
184
+ openapi_types.each_pair do |key, type|
185
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
186
+ transformed_hash["#{key}"] = nil
187
+ elsif type =~ /\AArray<(.*)>/i
167
188
  # check to ensure the input is an array given that the attribute
168
189
  # is documented as an array but the input is not
169
- if attributes[self.class.attribute_map[key]].is_a?(Array)
170
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
190
+ if attributes[attribute_map[key]].is_a?(Array)
191
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
171
192
  end
172
- elsif !attributes[self.class.attribute_map[key]].nil?
173
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
174
- end # or else data not found in attributes(hash), not an issue as the data can be optional
193
+ elsif !attributes[attribute_map[key]].nil?
194
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
195
+ end
175
196
  end
176
-
177
- self
197
+ new(transformed_hash)
178
198
  end
179
199
 
180
200
  # Deserializes the data based on type
181
201
  # @param string type Data type
182
202
  # @param string value Value to be deserialized
183
203
  # @return [Object] Deserialized data
184
- def _deserialize(type, value)
204
+ def self._deserialize(type, value)
185
205
  case type.to_sym
186
- when :DateTime
187
- DateTime.parse(value)
206
+ when :Time
207
+ Time.parse(value)
188
208
  when :Date
189
209
  Date.parse(value)
190
210
  when :String
@@ -214,7 +234,9 @@ module PulpDebClient
214
234
  end
215
235
  end
216
236
  else # model
217
- PulpDebClient.const_get(type).build_from_hash(value)
237
+ # models (e.g. Pet) or oneOf
238
+ klass = PulpDebClient.const_get(type)
239
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
218
240
  end
219
241
  end
220
242
 
@@ -240,7 +262,7 @@ module PulpDebClient
240
262
  is_nullable = self.class.openapi_nullable.include?(attr)
241
263
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
242
264
  end
243
-
265
+
244
266
  hash[param] = _to_hash(value)
245
267
  end
246
268
  hash
@@ -263,5 +285,7 @@ module PulpDebClient
263
285
  value
264
286
  end
265
287
  end
288
+
266
289
  end
290
+
267
291
  end
@@ -6,11 +6,12 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
+ require 'time'
14
15
 
15
16
  module PulpDebClient
16
17
  # A Serializer for DscFile.
@@ -26,6 +27,9 @@ module PulpDebClient
26
27
  # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
27
28
  attr_accessor :pulp_last_updated
28
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
29
33
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
30
34
  attr_accessor :artifacts
31
35
 
@@ -96,6 +100,7 @@ module PulpDebClient
96
100
  :'prn' => :'prn',
97
101
  :'pulp_created' => :'pulp_created',
98
102
  :'pulp_last_updated' => :'pulp_last_updated',
103
+ :'pulp_labels' => :'pulp_labels',
99
104
  :'artifacts' => :'artifacts',
100
105
  :'relative_path' => :'relative_path',
101
106
  :'sha256' => :'sha256',
@@ -129,13 +134,19 @@ module PulpDebClient
129
134
  }
130
135
  end
131
136
 
137
+ # Returns all the JSON keys this model knows about
138
+ def self.acceptable_attributes
139
+ attribute_map.values
140
+ end
141
+
132
142
  # Attribute type mapping.
133
143
  def self.openapi_types
134
144
  {
135
145
  :'pulp_href' => :'String',
136
146
  :'prn' => :'String',
137
- :'pulp_created' => :'DateTime',
138
- :'pulp_last_updated' => :'DateTime',
147
+ :'pulp_created' => :'Time',
148
+ :'pulp_last_updated' => :'Time',
149
+ :'pulp_labels' => :'Hash<String, String>',
139
150
  :'artifacts' => :'Object',
140
151
  :'relative_path' => :'String',
141
152
  :'sha256' => :'String',
@@ -206,8 +217,16 @@ module PulpDebClient
206
217
  self.pulp_last_updated = attributes[:'pulp_last_updated']
207
218
  end
208
219
 
220
+ if attributes.key?(:'pulp_labels')
221
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
222
+ self.pulp_labels = value
223
+ end
224
+ end
225
+
209
226
  if attributes.key?(:'artifacts')
210
227
  self.artifacts = attributes[:'artifacts']
228
+ else
229
+ self.artifacts = nil
211
230
  end
212
231
 
213
232
  if attributes.key?(:'relative_path')
@@ -330,6 +349,7 @@ module PulpDebClient
330
349
  # Show invalid properties with the reasons. Usually used together with valid?
331
350
  # @return Array for valid properties with the reasons
332
351
  def list_invalid_properties
352
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
333
353
  invalid_properties = Array.new
334
354
  if @artifacts.nil?
335
355
  invalid_properties.push('invalid value for "artifacts", artifacts cannot be nil.')
@@ -341,6 +361,7 @@ module PulpDebClient
341
361
  # Check to see if the all the properties in the model are valid
342
362
  # @return true if the model is valid
343
363
  def valid?
364
+ warn '[DEPRECATED] the `valid?` method is obsolete'
344
365
  return false if @artifacts.nil?
345
366
  true
346
367
  end
@@ -354,6 +375,7 @@ module PulpDebClient
354
375
  prn == o.prn &&
355
376
  pulp_created == o.pulp_created &&
356
377
  pulp_last_updated == o.pulp_last_updated &&
378
+ pulp_labels == o.pulp_labels &&
357
379
  artifacts == o.artifacts &&
358
380
  relative_path == o.relative_path &&
359
381
  sha256 == o.sha256 &&
@@ -395,44 +417,40 @@ module PulpDebClient
395
417
  # Calculates hash code according to all attributes.
396
418
  # @return [Integer] Hash code
397
419
  def hash
398
- [pulp_href, prn, pulp_created, pulp_last_updated, artifacts, relative_path, sha256, format, source, binary, architecture, version, maintainer, uploaders, homepage, vcs_browser, vcs_arch, vcs_bzr, vcs_cvs, vcs_darcs, vcs_git, vcs_hg, vcs_mtn, vcs_snv, testsuite, dgit, standards_version, build_depends, build_depends_indep, build_depends_arch, build_conflicts, build_conflicts_indep, build_conflicts_arch, package_list].hash
420
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, relative_path, sha256, format, source, binary, architecture, version, maintainer, uploaders, homepage, vcs_browser, vcs_arch, vcs_bzr, vcs_cvs, vcs_darcs, vcs_git, vcs_hg, vcs_mtn, vcs_snv, testsuite, dgit, standards_version, build_depends, build_depends_indep, build_depends_arch, build_conflicts, build_conflicts_indep, build_conflicts_arch, package_list].hash
399
421
  end
400
422
 
401
423
  # Builds the object from hash
402
424
  # @param [Hash] attributes Model attributes in the form of hash
403
425
  # @return [Object] Returns the model itself
404
426
  def self.build_from_hash(attributes)
405
- new.build_from_hash(attributes)
406
- end
407
-
408
- # Builds the object from hash
409
- # @param [Hash] attributes Model attributes in the form of hash
410
- # @return [Object] Returns the model itself
411
- def build_from_hash(attributes)
412
427
  return nil unless attributes.is_a?(Hash)
413
- self.class.openapi_types.each_pair do |key, type|
414
- if type =~ /\AArray<(.*)>/i
428
+ attributes = attributes.transform_keys(&:to_sym)
429
+ transformed_hash = {}
430
+ openapi_types.each_pair do |key, type|
431
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
432
+ transformed_hash["#{key}"] = nil
433
+ elsif type =~ /\AArray<(.*)>/i
415
434
  # check to ensure the input is an array given that the attribute
416
435
  # is documented as an array but the input is not
417
- if attributes[self.class.attribute_map[key]].is_a?(Array)
418
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
436
+ if attributes[attribute_map[key]].is_a?(Array)
437
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
419
438
  end
420
- elsif !attributes[self.class.attribute_map[key]].nil?
421
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
422
- end # or else data not found in attributes(hash), not an issue as the data can be optional
439
+ elsif !attributes[attribute_map[key]].nil?
440
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
441
+ end
423
442
  end
424
-
425
- self
443
+ new(transformed_hash)
426
444
  end
427
445
 
428
446
  # Deserializes the data based on type
429
447
  # @param string type Data type
430
448
  # @param string value Value to be deserialized
431
449
  # @return [Object] Deserialized data
432
- def _deserialize(type, value)
450
+ def self._deserialize(type, value)
433
451
  case type.to_sym
434
- when :DateTime
435
- DateTime.parse(value)
452
+ when :Time
453
+ Time.parse(value)
436
454
  when :Date
437
455
  Date.parse(value)
438
456
  when :String
@@ -462,7 +480,9 @@ module PulpDebClient
462
480
  end
463
481
  end
464
482
  else # model
465
- PulpDebClient.const_get(type).build_from_hash(value)
483
+ # models (e.g. Pet) or oneOf
484
+ klass = PulpDebClient.const_get(type)
485
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
466
486
  end
467
487
  end
468
488
 
@@ -488,7 +508,7 @@ module PulpDebClient
488
508
  is_nullable = self.class.openapi_nullable.include?(attr)
489
509
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
490
510
  end
491
-
511
+
492
512
  hash[param] = _to_hash(value)
493
513
  end
494
514
  hash
@@ -511,5 +531,7 @@ module PulpDebClient
511
531
  value
512
532
  end
513
533
  end
534
+
514
535
  end
536
+
515
537
  end
@@ -6,11 +6,12 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
+ require 'time'
14
15
 
15
16
  module PulpDebClient
16
17
  # A Serializer for VerbatimPublication.
@@ -28,6 +29,11 @@ module PulpDebClient
28
29
  }
29
30
  end
30
31
 
32
+ # Returns all the JSON keys this model knows about
33
+ def self.acceptable_attributes
34
+ attribute_map.values
35
+ end
36
+
31
37
  # Attribute type mapping.
32
38
  def self.openapi_types
33
39
  {
@@ -69,6 +75,7 @@ module PulpDebClient
69
75
  # Show invalid properties with the reasons. Usually used together with valid?
70
76
  # @return Array for valid properties with the reasons
71
77
  def list_invalid_properties
78
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
72
79
  invalid_properties = Array.new
73
80
  invalid_properties
74
81
  end
@@ -76,6 +83,7 @@ module PulpDebClient
76
83
  # Check to see if the all the properties in the model are valid
77
84
  # @return true if the model is valid
78
85
  def valid?
86
+ warn '[DEPRECATED] the `valid?` method is obsolete'
79
87
  true
80
88
  end
81
89
 
@@ -104,37 +112,33 @@ module PulpDebClient
104
112
  # @param [Hash] attributes Model attributes in the form of hash
105
113
  # @return [Object] Returns the model itself
106
114
  def self.build_from_hash(attributes)
107
- new.build_from_hash(attributes)
108
- end
109
-
110
- # Builds the object from hash
111
- # @param [Hash] attributes Model attributes in the form of hash
112
- # @return [Object] Returns the model itself
113
- def build_from_hash(attributes)
114
115
  return nil unless attributes.is_a?(Hash)
115
- self.class.openapi_types.each_pair do |key, type|
116
- if type =~ /\AArray<(.*)>/i
116
+ attributes = attributes.transform_keys(&:to_sym)
117
+ transformed_hash = {}
118
+ openapi_types.each_pair do |key, type|
119
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
120
+ transformed_hash["#{key}"] = nil
121
+ elsif type =~ /\AArray<(.*)>/i
117
122
  # check to ensure the input is an array given that the attribute
118
123
  # is documented as an array but the input is not
119
- if attributes[self.class.attribute_map[key]].is_a?(Array)
120
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
124
+ if attributes[attribute_map[key]].is_a?(Array)
125
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
121
126
  end
122
- elsif !attributes[self.class.attribute_map[key]].nil?
123
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
124
- end # or else data not found in attributes(hash), not an issue as the data can be optional
127
+ elsif !attributes[attribute_map[key]].nil?
128
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
129
+ end
125
130
  end
126
-
127
- self
131
+ new(transformed_hash)
128
132
  end
129
133
 
130
134
  # Deserializes the data based on type
131
135
  # @param string type Data type
132
136
  # @param string value Value to be deserialized
133
137
  # @return [Object] Deserialized data
134
- def _deserialize(type, value)
138
+ def self._deserialize(type, value)
135
139
  case type.to_sym
136
- when :DateTime
137
- DateTime.parse(value)
140
+ when :Time
141
+ Time.parse(value)
138
142
  when :Date
139
143
  Date.parse(value)
140
144
  when :String
@@ -164,7 +168,9 @@ module PulpDebClient
164
168
  end
165
169
  end
166
170
  else # model
167
- PulpDebClient.const_get(type).build_from_hash(value)
171
+ # models (e.g. Pet) or oneOf
172
+ klass = PulpDebClient.const_get(type)
173
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
168
174
  end
169
175
  end
170
176
 
@@ -190,7 +196,7 @@ module PulpDebClient
190
196
  is_nullable = self.class.openapi_nullable.include?(attr)
191
197
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
192
198
  end
193
-
199
+
194
200
  hash[param] = _to_hash(value)
195
201
  end
196
202
  hash
@@ -213,5 +219,7 @@ module PulpDebClient
213
219
  value
214
220
  end
215
221
  end
222
+
216
223
  end
224
+
217
225
  end
@@ -6,11 +6,12 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
+ require 'time'
14
15
 
15
16
  module PulpDebClient
16
17
  # A Serializer for VerbatimPublication.
@@ -43,13 +44,18 @@ module PulpDebClient
43
44
  }
44
45
  end
45
46
 
47
+ # Returns all the JSON keys this model knows about
48
+ def self.acceptable_attributes
49
+ attribute_map.values
50
+ end
51
+
46
52
  # Attribute type mapping.
47
53
  def self.openapi_types
48
54
  {
49
55
  :'pulp_href' => :'String',
50
56
  :'prn' => :'String',
51
- :'pulp_created' => :'DateTime',
52
- :'pulp_last_updated' => :'DateTime',
57
+ :'pulp_created' => :'Time',
58
+ :'pulp_last_updated' => :'Time',
53
59
  :'repository_version' => :'String',
54
60
  :'repository' => :'String'
55
61
  }
@@ -104,6 +110,7 @@ module PulpDebClient
104
110
  # Show invalid properties with the reasons. Usually used together with valid?
105
111
  # @return Array for valid properties with the reasons
106
112
  def list_invalid_properties
113
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
107
114
  invalid_properties = Array.new
108
115
  invalid_properties
109
116
  end
@@ -111,6 +118,7 @@ module PulpDebClient
111
118
  # Check to see if the all the properties in the model are valid
112
119
  # @return true if the model is valid
113
120
  def valid?
121
+ warn '[DEPRECATED] the `valid?` method is obsolete'
114
122
  true
115
123
  end
116
124
 
@@ -143,37 +151,33 @@ module PulpDebClient
143
151
  # @param [Hash] attributes Model attributes in the form of hash
144
152
  # @return [Object] Returns the model itself
145
153
  def self.build_from_hash(attributes)
146
- new.build_from_hash(attributes)
147
- end
148
-
149
- # Builds the object from hash
150
- # @param [Hash] attributes Model attributes in the form of hash
151
- # @return [Object] Returns the model itself
152
- def build_from_hash(attributes)
153
154
  return nil unless attributes.is_a?(Hash)
154
- self.class.openapi_types.each_pair do |key, type|
155
- if type =~ /\AArray<(.*)>/i
155
+ attributes = attributes.transform_keys(&:to_sym)
156
+ transformed_hash = {}
157
+ openapi_types.each_pair do |key, type|
158
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
159
+ transformed_hash["#{key}"] = nil
160
+ elsif type =~ /\AArray<(.*)>/i
156
161
  # check to ensure the input is an array given that the attribute
157
162
  # is documented as an array but the input is not
158
- if attributes[self.class.attribute_map[key]].is_a?(Array)
159
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
163
+ if attributes[attribute_map[key]].is_a?(Array)
164
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
160
165
  end
161
- elsif !attributes[self.class.attribute_map[key]].nil?
162
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
163
- end # or else data not found in attributes(hash), not an issue as the data can be optional
166
+ elsif !attributes[attribute_map[key]].nil?
167
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
168
+ end
164
169
  end
165
-
166
- self
170
+ new(transformed_hash)
167
171
  end
168
172
 
169
173
  # Deserializes the data based on type
170
174
  # @param string type Data type
171
175
  # @param string value Value to be deserialized
172
176
  # @return [Object] Deserialized data
173
- def _deserialize(type, value)
177
+ def self._deserialize(type, value)
174
178
  case type.to_sym
175
- when :DateTime
176
- DateTime.parse(value)
179
+ when :Time
180
+ Time.parse(value)
177
181
  when :Date
178
182
  Date.parse(value)
179
183
  when :String
@@ -203,7 +207,9 @@ module PulpDebClient
203
207
  end
204
208
  end
205
209
  else # model
206
- PulpDebClient.const_get(type).build_from_hash(value)
210
+ # models (e.g. Pet) or oneOf
211
+ klass = PulpDebClient.const_get(type)
212
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
207
213
  end
208
214
  end
209
215
 
@@ -229,7 +235,7 @@ module PulpDebClient
229
235
  is_nullable = self.class.openapi_nullable.include?(attr)
230
236
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
231
237
  end
232
-
238
+
233
239
  hash[param] = _to_hash(value)
234
240
  end
235
241
  hash
@@ -252,5 +258,7 @@ module PulpDebClient
252
258
  value
253
259
  end
254
260
  end
261
+
255
262
  end
263
+
256
264
  end