pulp_rpm_client 3.11.1 → 3.11.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +19 -20
  4. data/docs/ContentAdvisoriesApi.md +30 -30
  5. data/docs/ContentDistributionTreesApi.md +8 -8
  6. data/docs/ContentModulemdDefaultsApi.md +18 -18
  7. data/docs/ContentModulemdsApi.md +18 -18
  8. data/docs/ContentPackagecategoriesApi.md +8 -8
  9. data/docs/ContentPackageenvironmentsApi.md +8 -8
  10. data/docs/ContentPackagegroupsApi.md +8 -8
  11. data/docs/ContentPackagelangpacksApi.md +8 -8
  12. data/docs/ContentPackagesApi.md +50 -50
  13. data/docs/ContentRepoMetadataFilesApi.md +8 -8
  14. data/docs/ContentSummary.md +3 -3
  15. data/docs/ContentSummaryResponse.md +3 -3
  16. data/docs/DistributionsRpmApi.md +14 -22
  17. data/docs/{PaginatedrpmUpdateRecordResponseList.md → InlineResponse200.md} +4 -4
  18. data/docs/{PaginatedrpmDistributionTreeResponseList.md → InlineResponse2001.md} +4 -4
  19. data/docs/{PaginatedrpmRpmDistributionResponseList.md → InlineResponse20010.md} +4 -4
  20. data/docs/{PaginatedrpmRpmPublicationResponseList.md → InlineResponse20011.md} +4 -4
  21. data/docs/{PaginatedrpmRpmRemoteResponseList.md → InlineResponse20012.md} +4 -4
  22. data/docs/{PaginatedrpmRpmRepositoryResponseList.md → InlineResponse20013.md} +4 -4
  23. data/docs/{PaginatedRepositoryVersionResponseList.md → InlineResponse20014.md} +4 -4
  24. data/docs/{PaginatedrpmModulemdDefaultsResponseList.md → InlineResponse2002.md} +4 -4
  25. data/docs/{PaginatedrpmModulemdResponseList.md → InlineResponse2003.md} +4 -4
  26. data/docs/{PaginatedrpmPackageCategoryResponseList.md → InlineResponse2004.md} +4 -4
  27. data/docs/{PaginatedrpmPackageEnvironmentResponseList.md → InlineResponse2005.md} +4 -4
  28. data/docs/{PaginatedrpmPackageGroupResponseList.md → InlineResponse2006.md} +4 -4
  29. data/docs/{PaginatedrpmPackageLangpacksResponseList.md → InlineResponse2007.md} +4 -4
  30. data/docs/{PaginatedrpmPackageResponseList.md → InlineResponse2008.md} +4 -4
  31. data/docs/{PaginatedrpmRepoMetadataFileResponseList.md → InlineResponse2009.md} +4 -4
  32. data/docs/PatchedrpmRpmDistribution.md +0 -2
  33. data/docs/PatchedrpmRpmRemote.md +1 -19
  34. data/docs/PatchedrpmRpmRepository.md +1 -3
  35. data/docs/PublicationsRpmApi.md +16 -16
  36. data/docs/RemotesRpmApi.md +18 -26
  37. data/docs/RepositoriesRpmApi.md +6 -14
  38. data/docs/RepositoriesRpmVersionsApi.md +32 -32
  39. data/docs/RepositoryAddRemoveContent.md +2 -2
  40. data/docs/RpmRepositorySyncURL.md +1 -1
  41. data/docs/RpmRpmDistribution.md +0 -2
  42. data/docs/RpmRpmDistributionResponse.md +0 -2
  43. data/docs/RpmRpmRemote.md +1 -19
  44. data/docs/RpmRpmRemoteResponse.md +7 -15
  45. data/docs/RpmRpmRepository.md +1 -3
  46. data/docs/RpmRpmRepositoryResponse.md +0 -2
  47. data/lib/pulp_rpm_client/api/content_advisories_api.rb +36 -36
  48. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +10 -10
  49. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +22 -22
  50. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +22 -22
  51. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +10 -10
  52. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +10 -10
  53. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +10 -10
  54. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +10 -10
  55. data/lib/pulp_rpm_client/api/content_packages_api.rb +60 -60
  56. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +10 -10
  57. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +18 -30
  58. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +19 -19
  59. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +22 -34
  60. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -21
  61. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +38 -38
  62. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +1 -1
  63. data/lib/pulp_rpm_client/api_client.rb +12 -8
  64. data/lib/pulp_rpm_client/api_error.rb +1 -1
  65. data/lib/pulp_rpm_client/configuration.rb +8 -1
  66. data/lib/pulp_rpm_client/models/addon_response.rb +1 -1
  67. data/lib/pulp_rpm_client/models/artifact_response.rb +1 -1
  68. data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
  69. data/lib/pulp_rpm_client/models/checksum_response.rb +1 -1
  70. data/lib/pulp_rpm_client/models/content_summary.rb +7 -13
  71. data/lib/pulp_rpm_client/models/content_summary_response.rb +7 -13
  72. data/lib/pulp_rpm_client/models/copy.rb +1 -1
  73. data/lib/pulp_rpm_client/models/image_response.rb +1 -1
  74. data/lib/pulp_rpm_client/models/{paginatedrpm_update_record_response_list.rb → inline_response200.rb} +4 -4
  75. data/lib/pulp_rpm_client/models/{paginatedrpm_distribution_tree_response_list.rb → inline_response2001.rb} +4 -4
  76. data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_distribution_response_list.rb → inline_response20010.rb} +4 -4
  77. data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_publication_response_list.rb → inline_response20011.rb} +4 -4
  78. data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_remote_response_list.rb → inline_response20012.rb} +4 -4
  79. data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_repository_response_list.rb → inline_response20013.rb} +4 -4
  80. data/lib/pulp_rpm_client/models/{paginated_repository_version_response_list.rb → inline_response20014.rb} +4 -4
  81. data/lib/pulp_rpm_client/models/{paginatedrpm_modulemd_defaults_response_list.rb → inline_response2002.rb} +4 -4
  82. data/lib/pulp_rpm_client/models/{paginatedrpm_modulemd_response_list.rb → inline_response2003.rb} +4 -4
  83. data/lib/pulp_rpm_client/models/{paginatedrpm_package_category_response_list.rb → inline_response2004.rb} +4 -4
  84. data/lib/pulp_rpm_client/models/{paginatedrpm_package_environment_response_list.rb → inline_response2005.rb} +4 -4
  85. data/lib/pulp_rpm_client/models/{paginatedrpm_package_group_response_list.rb → inline_response2006.rb} +4 -4
  86. data/lib/pulp_rpm_client/models/{paginatedrpm_package_langpacks_response_list.rb → inline_response2007.rb} +4 -4
  87. data/lib/pulp_rpm_client/models/{paginatedrpm_package_response_list.rb → inline_response2008.rb} +4 -4
  88. data/lib/pulp_rpm_client/models/{paginatedrpm_repo_metadata_file_response_list.rb → inline_response2009.rb} +4 -4
  89. data/lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb +1 -1
  90. data/lib/pulp_rpm_client/models/package_checksum_type_enum.rb +1 -1
  91. data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +2 -11
  92. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +3 -161
  93. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +2 -11
  94. data/lib/pulp_rpm_client/models/policy_enum.rb +1 -1
  95. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +3 -3
  96. data/lib/pulp_rpm_client/models/repository_version.rb +1 -1
  97. data/lib/pulp_rpm_client/models/repository_version_response.rb +1 -1
  98. data/lib/pulp_rpm_client/models/rpm_distribution_tree_response.rb +1 -1
  99. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +1 -1
  100. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
  101. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -1
  102. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +1 -1
  103. data/lib/pulp_rpm_client/models/rpm_package.rb +1 -1
  104. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +1 -1
  105. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +1 -1
  106. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +1 -1
  107. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -1
  108. data/lib/pulp_rpm_client/models/rpm_package_response.rb +1 -1
  109. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -1
  110. data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +2 -2
  111. data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +2 -11
  112. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +2 -11
  113. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  114. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
  115. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +3 -161
  116. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +33 -136
  117. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +2 -11
  118. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +2 -11
  119. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
  120. data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
  121. data/lib/pulp_rpm_client/models/rpm_update_record.rb +1 -1
  122. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -1
  123. data/lib/pulp_rpm_client/models/variant_response.rb +1 -1
  124. data/lib/pulp_rpm_client/version.rb +2 -2
  125. data/lib/pulp_rpm_client.rb +16 -17
  126. data/pulp_rpm_client.gemspec +1 -1
  127. data/spec/api/content_advisories_api_spec.rb +16 -16
  128. data/spec/api/content_distribution_trees_api_spec.rb +5 -5
  129. data/spec/api/content_modulemd_defaults_api_spec.rb +10 -10
  130. data/spec/api/content_modulemds_api_spec.rb +10 -10
  131. data/spec/api/content_packagecategories_api_spec.rb +5 -5
  132. data/spec/api/content_packageenvironments_api_spec.rb +5 -5
  133. data/spec/api/content_packagegroups_api_spec.rb +5 -5
  134. data/spec/api/content_packagelangpacks_api_spec.rb +5 -5
  135. data/spec/api/content_packages_api_spec.rb +26 -26
  136. data/spec/api/content_repo_metadata_files_api_spec.rb +5 -5
  137. data/spec/api/distributions_rpm_api_spec.rb +8 -12
  138. data/spec/api/publications_rpm_api_spec.rb +9 -9
  139. data/spec/api/remotes_rpm_api_spec.rb +10 -14
  140. data/spec/api/repositories_rpm_api_spec.rb +4 -8
  141. data/spec/api/repositories_rpm_versions_api_spec.rb +18 -18
  142. data/spec/api/rpm_copy_api_spec.rb +1 -1
  143. data/spec/api_client_spec.rb +2 -2
  144. data/spec/configuration_spec.rb +1 -1
  145. data/spec/models/addon_response_spec.rb +1 -1
  146. data/spec/models/artifact_response_spec.rb +1 -1
  147. data/spec/models/async_operation_response_spec.rb +1 -1
  148. data/spec/models/checksum_response_spec.rb +1 -1
  149. data/spec/models/content_summary_response_spec.rb +1 -1
  150. data/spec/models/content_summary_spec.rb +1 -1
  151. data/spec/models/copy_spec.rb +1 -1
  152. data/spec/models/image_response_spec.rb +1 -1
  153. data/spec/models/{paginatedrpm_package_response_list_spec.rb → inline_response20010_spec.rb} +7 -7
  154. data/spec/models/{paginatedrpm_modulemd_response_list_spec.rb → inline_response20011_spec.rb} +7 -7
  155. data/spec/models/{paginatedrpm_rpm_remote_response_list_spec.rb → inline_response20012_spec.rb} +7 -7
  156. data/spec/models/{paginatedrpm_package_group_response_list_spec.rb → inline_response20013_spec.rb} +7 -7
  157. data/spec/models/inline_response20014_spec.rb +59 -0
  158. data/spec/models/inline_response2001_spec.rb +59 -0
  159. data/spec/models/inline_response2002_spec.rb +59 -0
  160. data/spec/models/inline_response2003_spec.rb +59 -0
  161. data/spec/models/inline_response2004_spec.rb +59 -0
  162. data/spec/models/inline_response2005_spec.rb +59 -0
  163. data/spec/models/inline_response2006_spec.rb +59 -0
  164. data/spec/models/inline_response2007_spec.rb +59 -0
  165. data/spec/models/inline_response2008_spec.rb +59 -0
  166. data/spec/models/inline_response2009_spec.rb +59 -0
  167. data/spec/models/inline_response200_spec.rb +59 -0
  168. data/spec/models/metadata_checksum_type_enum_spec.rb +1 -1
  169. data/spec/models/package_checksum_type_enum_spec.rb +1 -1
  170. data/spec/models/patchedrpm_rpm_distribution_spec.rb +1 -7
  171. data/spec/models/patchedrpm_rpm_remote_spec.rb +1 -55
  172. data/spec/models/patchedrpm_rpm_repository_spec.rb +1 -7
  173. data/spec/models/policy_enum_spec.rb +1 -1
  174. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  175. data/spec/models/repository_version_response_spec.rb +1 -1
  176. data/spec/models/repository_version_spec.rb +1 -1
  177. data/spec/models/rpm_distribution_tree_response_spec.rb +1 -1
  178. data/spec/models/rpm_modulemd_defaults_response_spec.rb +1 -1
  179. data/spec/models/rpm_modulemd_defaults_spec.rb +1 -1
  180. data/spec/models/rpm_modulemd_response_spec.rb +1 -1
  181. data/spec/models/rpm_modulemd_spec.rb +1 -1
  182. data/spec/models/rpm_package_category_response_spec.rb +1 -1
  183. data/spec/models/rpm_package_environment_response_spec.rb +1 -1
  184. data/spec/models/rpm_package_group_response_spec.rb +1 -1
  185. data/spec/models/rpm_package_langpacks_response_spec.rb +1 -1
  186. data/spec/models/rpm_package_response_spec.rb +1 -1
  187. data/spec/models/rpm_package_spec.rb +1 -1
  188. data/spec/models/rpm_repo_metadata_file_response_spec.rb +1 -1
  189. data/spec/models/rpm_repository_sync_url_spec.rb +1 -1
  190. data/spec/models/rpm_rpm_distribution_response_spec.rb +1 -7
  191. data/spec/models/rpm_rpm_distribution_spec.rb +1 -7
  192. data/spec/models/rpm_rpm_publication_response_spec.rb +1 -1
  193. data/spec/models/rpm_rpm_publication_spec.rb +1 -1
  194. data/spec/models/rpm_rpm_remote_response_spec.rb +9 -33
  195. data/spec/models/rpm_rpm_remote_spec.rb +1 -55
  196. data/spec/models/rpm_rpm_repository_response_spec.rb +1 -7
  197. data/spec/models/rpm_rpm_repository_spec.rb +1 -7
  198. data/spec/models/rpm_update_collection_response_spec.rb +1 -1
  199. data/spec/models/rpm_update_collection_spec.rb +1 -1
  200. data/spec/models/rpm_update_record_response_spec.rb +1 -1
  201. data/spec/models/rpm_update_record_spec.rb +1 -1
  202. data/spec/models/variant_response_spec.rb +1 -1
  203. data/spec/spec_helper.rb +1 -1
  204. metadata +104 -108
  205. data/docs/SkipTypesEnum.md +0 -16
  206. data/lib/pulp_rpm_client/models/skip_types_enum.rb +0 -35
  207. data/spec/models/paginated_repository_version_response_list_spec.rb +0 -59
  208. data/spec/models/paginatedrpm_distribution_tree_response_list_spec.rb +0 -59
  209. data/spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb +0 -59
  210. data/spec/models/paginatedrpm_package_category_response_list_spec.rb +0 -59
  211. data/spec/models/paginatedrpm_package_environment_response_list_spec.rb +0 -59
  212. data/spec/models/paginatedrpm_package_langpacks_response_list_spec.rb +0 -59
  213. data/spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb +0 -59
  214. data/spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb +0 -59
  215. data/spec/models/paginatedrpm_rpm_publication_response_list_spec.rb +0 -59
  216. data/spec/models/paginatedrpm_rpm_repository_response_list_spec.rb +0 -59
  217. data/spec/models/paginatedrpm_update_record_response_list_spec.rb +0 -59
  218. data/spec/models/skip_types_enum_spec.rb +0 -35
@@ -6,7 +6,7 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -109,6 +109,12 @@ module PulpRpmClient
109
109
  # Client private key file (for client certificate)
110
110
  attr_accessor :ssl_client_key
111
111
 
112
+ # Set this to customize parameters encoder of array parameter.
113
+ # Default to nil. Faraday uses NestedParamsEncoder when nil.
114
+ #
115
+ # @see The params_encoder option of Faraday. Related source code:
116
+ # https://github.com/lostisland/faraday/tree/main/lib/faraday/encoders
117
+ attr_accessor :params_encoder
112
118
  # Set this to customize parameters encoding of array parameter with multi collectionFormat.
113
119
  # Default to nil.
114
120
  #
@@ -133,6 +139,7 @@ module PulpRpmClient
133
139
  @ssl_ca_file = nil
134
140
  @ssl_client_cert = nil
135
141
  @ssl_client_key = nil
142
+ @params_encoder = nil
136
143
  @debugging = false
137
144
  @inject_format = false
138
145
  @force_ending_format = false
@@ -6,7 +6,7 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -33,9 +33,9 @@ module PulpRpmClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Hash<String, Object>',
37
- :'removed' => :'Hash<String, Object>',
38
- :'present' => :'Hash<String, Object>'
36
+ :'added' => :'Object',
37
+ :'removed' => :'Object',
38
+ :'present' => :'Object'
39
39
  }
40
40
  end
41
41
 
@@ -61,21 +61,15 @@ module PulpRpmClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- if (value = attributes[:'added']).is_a?(Hash)
65
- self.added = value
66
- end
64
+ self.added = attributes[:'added']
67
65
  end
68
66
 
69
67
  if attributes.key?(:'removed')
70
- if (value = attributes[:'removed']).is_a?(Hash)
71
- self.removed = value
72
- end
68
+ self.removed = attributes[:'removed']
73
69
  end
74
70
 
75
71
  if attributes.key?(:'present')
76
- if (value = attributes[:'present']).is_a?(Hash)
77
- self.present = value
78
- end
72
+ self.present = attributes[:'present']
79
73
  end
80
74
  end
81
75
 
@@ -6,7 +6,7 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -33,9 +33,9 @@ module PulpRpmClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Hash<String, Object>',
37
- :'removed' => :'Hash<String, Object>',
38
- :'present' => :'Hash<String, Object>'
36
+ :'added' => :'Object',
37
+ :'removed' => :'Object',
38
+ :'present' => :'Object'
39
39
  }
40
40
  end
41
41
 
@@ -61,21 +61,15 @@ module PulpRpmClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- if (value = attributes[:'added']).is_a?(Hash)
65
- self.added = value
66
- end
64
+ self.added = attributes[:'added']
67
65
  end
68
66
 
69
67
  if attributes.key?(:'removed')
70
- if (value = attributes[:'removed']).is_a?(Hash)
71
- self.removed = value
72
- end
68
+ self.removed = attributes[:'removed']
73
69
  end
74
70
 
75
71
  if attributes.key?(:'present')
76
- if (value = attributes[:'present']).is_a?(Hash)
77
- self.present = value
78
- end
72
+ self.present = attributes[:'present']
79
73
  end
80
74
  end
81
75
 
@@ -6,7 +6,7 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,14 +6,14 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- class PaginatedrpmUpdateRecordResponseList
16
+ class InlineResponse200
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpRpmClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmUpdateRecordResponseList` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::InlineResponse200` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmUpdateRecordResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::InlineResponse200`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -6,14 +6,14 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- class PaginatedrpmDistributionTreeResponseList
16
+ class InlineResponse2001
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpRpmClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmDistributionTreeResponseList` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::InlineResponse2001` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmDistributionTreeResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::InlineResponse2001`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -6,14 +6,14 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- class PaginatedrpmRpmDistributionResponseList
16
+ class InlineResponse20010
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpRpmClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmRpmDistributionResponseList` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::InlineResponse20010` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmRpmDistributionResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::InlineResponse20010`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -6,14 +6,14 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- class PaginatedrpmRpmPublicationResponseList
16
+ class InlineResponse20011
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpRpmClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmRpmPublicationResponseList` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::InlineResponse20011` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmRpmPublicationResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::InlineResponse20011`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -6,14 +6,14 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- class PaginatedrpmRpmRemoteResponseList
16
+ class InlineResponse20012
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpRpmClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmRpmRemoteResponseList` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::InlineResponse20012` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmRpmRemoteResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::InlineResponse20012`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -6,14 +6,14 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- class PaginatedrpmRpmRepositoryResponseList
16
+ class InlineResponse20013
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpRpmClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmRpmRepositoryResponseList` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::InlineResponse20013` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmRpmRepositoryResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::InlineResponse20013`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -6,14 +6,14 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- class PaginatedRepositoryVersionResponseList
16
+ class InlineResponse20014
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpRpmClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedRepositoryVersionResponseList` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::InlineResponse20014` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedRepositoryVersionResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::InlineResponse20014`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -6,14 +6,14 @@
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- class PaginatedrpmModulemdDefaultsResponseList
16
+ class InlineResponse2002
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpRpmClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmModulemdDefaultsResponseList` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::InlineResponse2002` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmModulemdDefaultsResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::InlineResponse2002`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }