pulp_rpm_client 3.25.5 → 3.25.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/AcsRpmApi.md +5 -3
  4. data/docs/ArtifactResponse.md +4 -0
  5. data/docs/ContentAdvisoriesApi.md +14 -10
  6. data/docs/ContentDistributionTreesApi.md +11 -9
  7. data/docs/ContentModulemdDefaultsApi.md +11 -9
  8. data/docs/ContentModulemdObsoletesApi.md +11 -9
  9. data/docs/ContentModulemdsApi.md +11 -9
  10. data/docs/ContentPackagecategoriesApi.md +11 -9
  11. data/docs/ContentPackageenvironmentsApi.md +11 -9
  12. data/docs/ContentPackagegroupsApi.md +11 -9
  13. data/docs/ContentPackagelangpacksApi.md +11 -9
  14. data/docs/ContentPackagesApi.md +14 -10
  15. data/docs/ContentRepoMetadataFilesApi.md +11 -9
  16. data/docs/Copy.md +1 -1
  17. data/docs/DistributionsRpmApi.md +5 -3
  18. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  19. data/docs/PaginatedrpmDistributionTreeResponseList.md +2 -2
  20. data/docs/PaginatedrpmModulemdDefaultsResponseList.md +2 -2
  21. data/docs/PaginatedrpmModulemdObsoleteResponseList.md +2 -2
  22. data/docs/PaginatedrpmModulemdResponseList.md +2 -2
  23. data/docs/PaginatedrpmPackageCategoryResponseList.md +2 -2
  24. data/docs/PaginatedrpmPackageEnvironmentResponseList.md +2 -2
  25. data/docs/PaginatedrpmPackageGroupResponseList.md +2 -2
  26. data/docs/PaginatedrpmPackageLangpacksResponseList.md +2 -2
  27. data/docs/PaginatedrpmPackageResponseList.md +2 -2
  28. data/docs/PaginatedrpmRepoMetadataFileResponseList.md +2 -2
  29. data/docs/PaginatedrpmRpmAlternateContentSourceResponseList.md +2 -2
  30. data/docs/PaginatedrpmRpmDistributionResponseList.md +2 -2
  31. data/docs/PaginatedrpmRpmPublicationResponseList.md +2 -2
  32. data/docs/PaginatedrpmRpmRemoteResponseList.md +2 -2
  33. data/docs/PaginatedrpmRpmRepositoryResponseList.md +2 -2
  34. data/docs/PaginatedrpmUlnRemoteResponseList.md +2 -2
  35. data/docs/PaginatedrpmUpdateRecordResponseList.md +2 -2
  36. data/docs/PatchedrpmRpmRepository.md +1 -1
  37. data/docs/PublicationsRpmApi.md +13 -11
  38. data/docs/RemotesRpmApi.md +5 -3
  39. data/docs/RemotesUlnApi.md +5 -3
  40. data/docs/RepositoriesRpmApi.md +9 -7
  41. data/docs/RepositoriesRpmVersionsApi.md +9 -7
  42. data/docs/RepositoryVersionResponse.md +4 -0
  43. data/docs/RpmCompsApi.md +1 -1
  44. data/docs/RpmCopyApi.md +1 -1
  45. data/docs/RpmModulemd.md +3 -3
  46. data/docs/RpmModulemdDefaults.md +1 -1
  47. data/docs/RpmModulemdDefaultsResponse.md +5 -1
  48. data/docs/RpmModulemdObsoleteResponse.md +4 -0
  49. data/docs/RpmModulemdResponse.md +7 -3
  50. data/docs/RpmPackage.md +3 -1
  51. data/docs/RpmPackageCategoryResponse.md +7 -3
  52. data/docs/RpmPackageEnvironmentResponse.md +8 -4
  53. data/docs/RpmPackageGroupResponse.md +7 -3
  54. data/docs/RpmPackageLangpacksResponse.md +5 -1
  55. data/docs/RpmPackageResponse.md +14 -10
  56. data/docs/RpmRepoMetadataFileResponse.md +4 -0
  57. data/docs/RpmRpmAlternateContentSourceResponse.md +4 -0
  58. data/docs/RpmRpmDistributionResponse.md +6 -0
  59. data/docs/RpmRpmPublication.md +1 -1
  60. data/docs/RpmRpmPublicationResponse.md +5 -1
  61. data/docs/RpmRpmRemoteResponse.md +4 -2
  62. data/docs/RpmRpmRemoteResponseHiddenFields.md +2 -2
  63. data/docs/RpmRpmRepository.md +1 -1
  64. data/docs/RpmRpmRepositoryResponse.md +5 -1
  65. data/docs/RpmUlnRemoteResponse.md +4 -2
  66. data/docs/RpmUpdateCollection.md +1 -1
  67. data/docs/RpmUpdateCollectionResponse.md +1 -1
  68. data/docs/RpmUpdateRecord.md +3 -1
  69. data/docs/RpmUpdateRecordResponse.md +4 -0
  70. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +5 -2
  71. data/lib/pulp_rpm_client/api/content_advisories_api.rb +18 -8
  72. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -8
  73. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +11 -8
  74. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +11 -8
  75. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +11 -8
  76. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -8
  77. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -8
  78. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -8
  79. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -8
  80. data/lib/pulp_rpm_client/api/content_packages_api.rb +18 -8
  81. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -8
  82. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +5 -2
  83. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +14 -11
  84. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +5 -2
  85. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +5 -2
  86. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -6
  87. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -7
  88. data/lib/pulp_rpm_client/configuration.rb +2 -2
  89. data/lib/pulp_rpm_client/models/artifact_response.rb +22 -2
  90. data/lib/pulp_rpm_client/models/copy.rb +1 -1
  91. data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +10 -0
  92. data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +10 -0
  93. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +10 -0
  94. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +10 -0
  95. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +10 -0
  96. data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +10 -0
  97. data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +10 -0
  98. data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +10 -0
  99. data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +10 -0
  100. data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +10 -0
  101. data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +10 -0
  102. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +10 -0
  103. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +10 -0
  104. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +10 -0
  105. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +10 -0
  106. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +10 -0
  107. data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +10 -0
  108. data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +10 -0
  109. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
  110. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
  111. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
  112. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
  113. data/lib/pulp_rpm_client/models/repository_version_response.rb +22 -2
  114. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
  115. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
  116. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +22 -2
  117. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +21 -1
  118. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +24 -4
  119. data/lib/pulp_rpm_client/models/rpm_package.rb +29 -4
  120. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +24 -4
  121. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +25 -5
  122. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +24 -4
  123. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +22 -2
  124. data/lib/pulp_rpm_client/models/rpm_package_response.rb +31 -11
  125. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +21 -1
  126. data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +21 -1
  127. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +31 -1
  128. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  129. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +22 -2
  130. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
  131. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +41 -31
  132. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +10 -0
  133. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
  134. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +22 -2
  135. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
  136. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +41 -31
  137. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
  138. data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
  139. data/lib/pulp_rpm_client/models/rpm_update_record.rb +29 -4
  140. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +21 -1
  141. data/lib/pulp_rpm_client/version.rb +1 -1
  142. data/spec/api/acs_rpm_api_spec.rb +2 -1
  143. data/spec/api/content_advisories_api_spec.rb +6 -4
  144. data/spec/api/content_distribution_trees_api_spec.rb +5 -4
  145. data/spec/api/content_modulemd_defaults_api_spec.rb +5 -4
  146. data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -4
  147. data/spec/api/content_modulemds_api_spec.rb +5 -4
  148. data/spec/api/content_packagecategories_api_spec.rb +5 -4
  149. data/spec/api/content_packageenvironments_api_spec.rb +5 -4
  150. data/spec/api/content_packagegroups_api_spec.rb +5 -4
  151. data/spec/api/content_packagelangpacks_api_spec.rb +5 -4
  152. data/spec/api/content_packages_api_spec.rb +6 -4
  153. data/spec/api/content_repo_metadata_files_api_spec.rb +5 -4
  154. data/spec/api/distributions_rpm_api_spec.rb +2 -1
  155. data/spec/api/publications_rpm_api_spec.rb +6 -5
  156. data/spec/api/remotes_rpm_api_spec.rb +2 -1
  157. data/spec/api/remotes_uln_api_spec.rb +2 -1
  158. data/spec/api/repositories_rpm_api_spec.rb +4 -3
  159. data/spec/api/repositories_rpm_versions_api_spec.rb +4 -3
  160. data/spec/configuration_spec.rb +3 -3
  161. data/spec/models/artifact_response_spec.rb +12 -0
  162. data/spec/models/repository_version_response_spec.rb +12 -0
  163. data/spec/models/rpm_modulemd_defaults_response_spec.rb +12 -0
  164. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +12 -0
  165. data/spec/models/rpm_modulemd_response_spec.rb +12 -0
  166. data/spec/models/rpm_package_category_response_spec.rb +12 -0
  167. data/spec/models/rpm_package_environment_response_spec.rb +12 -0
  168. data/spec/models/rpm_package_group_response_spec.rb +12 -0
  169. data/spec/models/rpm_package_langpacks_response_spec.rb +12 -0
  170. data/spec/models/rpm_package_response_spec.rb +12 -0
  171. data/spec/models/rpm_package_spec.rb +6 -0
  172. data/spec/models/rpm_repo_metadata_file_response_spec.rb +12 -0
  173. data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +12 -0
  174. data/spec/models/rpm_rpm_distribution_response_spec.rb +18 -0
  175. data/spec/models/rpm_rpm_publication_response_spec.rb +12 -0
  176. data/spec/models/rpm_rpm_remote_response_spec.rb +12 -6
  177. data/spec/models/rpm_rpm_repository_response_spec.rb +12 -0
  178. data/spec/models/rpm_uln_remote_response_spec.rb +12 -6
  179. data/spec/models/rpm_update_record_response_spec.rb +12 -0
  180. data/spec/models/rpm_update_record_spec.rb +6 -0
  181. metadata +96 -96
@@ -17,9 +17,15 @@ module PulpRpmClient
17
17
  class RpmPackageEnvironmentResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
26
+ # 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
+ attr_accessor :pulp_last_updated
28
+
23
29
  # Environment id.
24
30
  attr_accessor :id
25
31
 
@@ -51,7 +57,9 @@ module PulpRpmClient
51
57
  def self.attribute_map
52
58
  {
53
59
  :'pulp_href' => :'pulp_href',
60
+ :'prn' => :'prn',
54
61
  :'pulp_created' => :'pulp_created',
62
+ :'pulp_last_updated' => :'pulp_last_updated',
55
63
  :'id' => :'id',
56
64
  :'name' => :'name',
57
65
  :'description' => :'description',
@@ -68,15 +76,17 @@ module PulpRpmClient
68
76
  def self.openapi_types
69
77
  {
70
78
  :'pulp_href' => :'String',
79
+ :'prn' => :'String',
71
80
  :'pulp_created' => :'DateTime',
81
+ :'pulp_last_updated' => :'DateTime',
72
82
  :'id' => :'String',
73
83
  :'name' => :'String',
74
84
  :'description' => :'String',
75
85
  :'display_order' => :'Integer',
76
- :'group_ids' => :'Object',
77
- :'option_ids' => :'Object',
78
- :'desc_by_lang' => :'Object',
79
- :'name_by_lang' => :'Object',
86
+ :'group_ids' => :'AnyType',
87
+ :'option_ids' => :'AnyType',
88
+ :'desc_by_lang' => :'AnyType',
89
+ :'name_by_lang' => :'AnyType',
80
90
  :'digest' => :'String'
81
91
  }
82
92
  end
@@ -111,10 +121,18 @@ module PulpRpmClient
111
121
  self.pulp_href = attributes[:'pulp_href']
112
122
  end
113
123
 
124
+ if attributes.key?(:'prn')
125
+ self.prn = attributes[:'prn']
126
+ end
127
+
114
128
  if attributes.key?(:'pulp_created')
115
129
  self.pulp_created = attributes[:'pulp_created']
116
130
  end
117
131
 
132
+ if attributes.key?(:'pulp_last_updated')
133
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
134
+ end
135
+
118
136
  if attributes.key?(:'id')
119
137
  self.id = attributes[:'id']
120
138
  end
@@ -191,7 +209,9 @@ module PulpRpmClient
191
209
  return true if self.equal?(o)
192
210
  self.class == o.class &&
193
211
  pulp_href == o.pulp_href &&
212
+ prn == o.prn &&
194
213
  pulp_created == o.pulp_created &&
214
+ pulp_last_updated == o.pulp_last_updated &&
195
215
  id == o.id &&
196
216
  name == o.name &&
197
217
  description == o.description &&
@@ -212,7 +232,7 @@ module PulpRpmClient
212
232
  # Calculates hash code according to all attributes.
213
233
  # @return [Integer] Hash code
214
234
  def hash
215
- [pulp_href, pulp_created, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest].hash
235
+ [pulp_href, prn, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest].hash
216
236
  end
217
237
 
218
238
  # Builds the object from hash
@@ -17,9 +17,15 @@ module PulpRpmClient
17
17
  class RpmPackageGroupResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
26
+ # 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
+ attr_accessor :pulp_last_updated
28
+
23
29
  # PackageGroup id.
24
30
  attr_accessor :id
25
31
 
@@ -57,7 +63,9 @@ module PulpRpmClient
57
63
  def self.attribute_map
58
64
  {
59
65
  :'pulp_href' => :'pulp_href',
66
+ :'prn' => :'prn',
60
67
  :'pulp_created' => :'pulp_created',
68
+ :'pulp_last_updated' => :'pulp_last_updated',
61
69
  :'id' => :'id',
62
70
  :'default' => :'default',
63
71
  :'user_visible' => :'user_visible',
@@ -76,17 +84,19 @@ module PulpRpmClient
76
84
  def self.openapi_types
77
85
  {
78
86
  :'pulp_href' => :'String',
87
+ :'prn' => :'String',
79
88
  :'pulp_created' => :'DateTime',
89
+ :'pulp_last_updated' => :'DateTime',
80
90
  :'id' => :'String',
81
91
  :'default' => :'Boolean',
82
92
  :'user_visible' => :'Boolean',
83
93
  :'display_order' => :'Integer',
84
94
  :'name' => :'String',
85
95
  :'description' => :'String',
86
- :'packages' => :'Object',
96
+ :'packages' => :'AnyType',
87
97
  :'biarch_only' => :'Boolean',
88
- :'desc_by_lang' => :'Object',
89
- :'name_by_lang' => :'Object',
98
+ :'desc_by_lang' => :'AnyType',
99
+ :'name_by_lang' => :'AnyType',
90
100
  :'digest' => :'String'
91
101
  }
92
102
  end
@@ -120,10 +130,18 @@ module PulpRpmClient
120
130
  self.pulp_href = attributes[:'pulp_href']
121
131
  end
122
132
 
133
+ if attributes.key?(:'prn')
134
+ self.prn = attributes[:'prn']
135
+ end
136
+
123
137
  if attributes.key?(:'pulp_created')
124
138
  self.pulp_created = attributes[:'pulp_created']
125
139
  end
126
140
 
141
+ if attributes.key?(:'pulp_last_updated')
142
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
143
+ end
144
+
127
145
  if attributes.key?(:'id')
128
146
  self.id = attributes[:'id']
129
147
  end
@@ -208,7 +226,9 @@ module PulpRpmClient
208
226
  return true if self.equal?(o)
209
227
  self.class == o.class &&
210
228
  pulp_href == o.pulp_href &&
229
+ prn == o.prn &&
211
230
  pulp_created == o.pulp_created &&
231
+ pulp_last_updated == o.pulp_last_updated &&
212
232
  id == o.id &&
213
233
  default == o.default &&
214
234
  user_visible == o.user_visible &&
@@ -231,7 +251,7 @@ module PulpRpmClient
231
251
  # Calculates hash code according to all attributes.
232
252
  # @return [Integer] Hash code
233
253
  def hash
234
- [pulp_href, pulp_created, id, default, user_visible, display_order, name, description, packages, biarch_only, desc_by_lang, name_by_lang, digest].hash
254
+ [pulp_href, prn, pulp_created, pulp_last_updated, id, default, user_visible, display_order, name, description, packages, biarch_only, desc_by_lang, name_by_lang, digest].hash
235
255
  end
236
256
 
237
257
  # Builds the object from hash
@@ -17,9 +17,15 @@ module PulpRpmClient
17
17
  class RpmPackageLangpacksResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
26
+ # 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
+ attr_accessor :pulp_last_updated
28
+
23
29
  # Langpacks matches.
24
30
  attr_accessor :matches
25
31
 
@@ -30,7 +36,9 @@ module PulpRpmClient
30
36
  def self.attribute_map
31
37
  {
32
38
  :'pulp_href' => :'pulp_href',
39
+ :'prn' => :'prn',
33
40
  :'pulp_created' => :'pulp_created',
41
+ :'pulp_last_updated' => :'pulp_last_updated',
34
42
  :'matches' => :'matches',
35
43
  :'digest' => :'digest'
36
44
  }
@@ -40,8 +48,10 @@ module PulpRpmClient
40
48
  def self.openapi_types
41
49
  {
42
50
  :'pulp_href' => :'String',
51
+ :'prn' => :'String',
43
52
  :'pulp_created' => :'DateTime',
44
- :'matches' => :'Object',
53
+ :'pulp_last_updated' => :'DateTime',
54
+ :'matches' => :'AnyType',
45
55
  :'digest' => :'String'
46
56
  }
47
57
  end
@@ -73,10 +83,18 @@ module PulpRpmClient
73
83
  self.pulp_href = attributes[:'pulp_href']
74
84
  end
75
85
 
86
+ if attributes.key?(:'prn')
87
+ self.prn = attributes[:'prn']
88
+ end
89
+
76
90
  if attributes.key?(:'pulp_created')
77
91
  self.pulp_created = attributes[:'pulp_created']
78
92
  end
79
93
 
94
+ if attributes.key?(:'pulp_last_updated')
95
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
96
+ end
97
+
80
98
  if attributes.key?(:'matches')
81
99
  self.matches = attributes[:'matches']
82
100
  end
@@ -105,7 +123,9 @@ module PulpRpmClient
105
123
  return true if self.equal?(o)
106
124
  self.class == o.class &&
107
125
  pulp_href == o.pulp_href &&
126
+ prn == o.prn &&
108
127
  pulp_created == o.pulp_created &&
128
+ pulp_last_updated == o.pulp_last_updated &&
109
129
  matches == o.matches &&
110
130
  digest == o.digest
111
131
  end
@@ -119,7 +139,7 @@ module PulpRpmClient
119
139
  # Calculates hash code according to all attributes.
120
140
  # @return [Integer] Hash code
121
141
  def hash
122
- [pulp_href, pulp_created, matches, digest].hash
142
+ [pulp_href, prn, pulp_created, pulp_last_updated, matches, digest].hash
123
143
  end
124
144
 
125
145
  # Builds the object from hash
@@ -17,9 +17,15 @@ module PulpRpmClient
17
17
  class RpmPackageResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
26
+ # 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
+ attr_accessor :pulp_last_updated
28
+
23
29
  # The MD5 checksum if available.
24
30
  attr_accessor :md5
25
31
 
@@ -153,7 +159,9 @@ module PulpRpmClient
153
159
  def self.attribute_map
154
160
  {
155
161
  :'pulp_href' => :'pulp_href',
162
+ :'prn' => :'prn',
156
163
  :'pulp_created' => :'pulp_created',
164
+ :'pulp_last_updated' => :'pulp_last_updated',
157
165
  :'md5' => :'md5',
158
166
  :'sha1' => :'sha1',
159
167
  :'sha224' => :'sha224',
@@ -204,7 +212,9 @@ module PulpRpmClient
204
212
  def self.openapi_types
205
213
  {
206
214
  :'pulp_href' => :'String',
215
+ :'prn' => :'String',
207
216
  :'pulp_created' => :'DateTime',
217
+ :'pulp_last_updated' => :'DateTime',
208
218
  :'md5' => :'String',
209
219
  :'sha1' => :'String',
210
220
  :'sha224' => :'String',
@@ -222,16 +232,16 @@ module PulpRpmClient
222
232
  :'summary' => :'String',
223
233
  :'description' => :'String',
224
234
  :'url' => :'String',
225
- :'changelogs' => :'Object',
226
- :'files' => :'Object',
227
- :'requires' => :'Object',
228
- :'provides' => :'Object',
229
- :'conflicts' => :'Object',
230
- :'obsoletes' => :'Object',
231
- :'suggests' => :'Object',
232
- :'enhances' => :'Object',
233
- :'recommends' => :'Object',
234
- :'supplements' => :'Object',
235
+ :'changelogs' => :'AnyType',
236
+ :'files' => :'AnyType',
237
+ :'requires' => :'AnyType',
238
+ :'provides' => :'AnyType',
239
+ :'conflicts' => :'AnyType',
240
+ :'obsoletes' => :'AnyType',
241
+ :'suggests' => :'AnyType',
242
+ :'enhances' => :'AnyType',
243
+ :'recommends' => :'AnyType',
244
+ :'supplements' => :'AnyType',
235
245
  :'location_base' => :'String',
236
246
  :'location_href' => :'String',
237
247
  :'rpm_buildhost' => :'String',
@@ -276,10 +286,18 @@ module PulpRpmClient
276
286
  self.pulp_href = attributes[:'pulp_href']
277
287
  end
278
288
 
289
+ if attributes.key?(:'prn')
290
+ self.prn = attributes[:'prn']
291
+ end
292
+
279
293
  if attributes.key?(:'pulp_created')
280
294
  self.pulp_created = attributes[:'pulp_created']
281
295
  end
282
296
 
297
+ if attributes.key?(:'pulp_last_updated')
298
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
299
+ end
300
+
283
301
  if attributes.key?(:'md5')
284
302
  self.md5 = attributes[:'md5']
285
303
  end
@@ -472,7 +490,9 @@ module PulpRpmClient
472
490
  return true if self.equal?(o)
473
491
  self.class == o.class &&
474
492
  pulp_href == o.pulp_href &&
493
+ prn == o.prn &&
475
494
  pulp_created == o.pulp_created &&
495
+ pulp_last_updated == o.pulp_last_updated &&
476
496
  md5 == o.md5 &&
477
497
  sha1 == o.sha1 &&
478
498
  sha224 == o.sha224 &&
@@ -527,7 +547,7 @@ module PulpRpmClient
527
547
  # Calculates hash code according to all attributes.
528
548
  # @return [Integer] Hash code
529
549
  def hash
530
- [pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, artifact, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, is_modular, size_archive, size_installed, size_package, time_build, time_file].hash
550
+ [pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, artifact, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, is_modular, size_archive, size_installed, size_package, time_build, time_file].hash
531
551
  end
532
552
 
533
553
  # Builds the object from hash
@@ -17,9 +17,15 @@ module PulpRpmClient
17
17
  class RpmRepoMetadataFileResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
26
+ # 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
+ attr_accessor :pulp_last_updated
28
+
23
29
  # The MD5 checksum if available.
24
30
  attr_accessor :md5
25
31
 
@@ -57,7 +63,9 @@ module PulpRpmClient
57
63
  def self.attribute_map
58
64
  {
59
65
  :'pulp_href' => :'pulp_href',
66
+ :'prn' => :'prn',
60
67
  :'pulp_created' => :'pulp_created',
68
+ :'pulp_last_updated' => :'pulp_last_updated',
61
69
  :'md5' => :'md5',
62
70
  :'sha1' => :'sha1',
63
71
  :'sha224' => :'sha224',
@@ -76,7 +84,9 @@ module PulpRpmClient
76
84
  def self.openapi_types
77
85
  {
78
86
  :'pulp_href' => :'String',
87
+ :'prn' => :'String',
79
88
  :'pulp_created' => :'DateTime',
89
+ :'pulp_last_updated' => :'DateTime',
80
90
  :'md5' => :'String',
81
91
  :'sha1' => :'String',
82
92
  :'sha224' => :'String',
@@ -116,10 +126,18 @@ module PulpRpmClient
116
126
  self.pulp_href = attributes[:'pulp_href']
117
127
  end
118
128
 
129
+ if attributes.key?(:'prn')
130
+ self.prn = attributes[:'prn']
131
+ end
132
+
119
133
  if attributes.key?(:'pulp_created')
120
134
  self.pulp_created = attributes[:'pulp_created']
121
135
  end
122
136
 
137
+ if attributes.key?(:'pulp_last_updated')
138
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
139
+ end
140
+
123
141
  if attributes.key?(:'md5')
124
142
  self.md5 = attributes[:'md5']
125
143
  end
@@ -204,7 +222,9 @@ module PulpRpmClient
204
222
  return true if self.equal?(o)
205
223
  self.class == o.class &&
206
224
  pulp_href == o.pulp_href &&
225
+ prn == o.prn &&
207
226
  pulp_created == o.pulp_created &&
227
+ pulp_last_updated == o.pulp_last_updated &&
208
228
  md5 == o.md5 &&
209
229
  sha1 == o.sha1 &&
210
230
  sha224 == o.sha224 &&
@@ -227,7 +247,7 @@ module PulpRpmClient
227
247
  # Calculates hash code according to all attributes.
228
248
  # @return [Integer] Hash code
229
249
  def hash
230
- [pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, artifact, relative_path, data_type, checksum_type, checksum].hash
250
+ [pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, artifact, relative_path, data_type, checksum_type, checksum].hash
231
251
  end
232
252
 
233
253
  # Builds the object from hash
@@ -17,9 +17,15 @@ module PulpRpmClient
17
17
  class RpmRpmAlternateContentSourceResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
26
+ # 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
+ attr_accessor :pulp_last_updated
28
+
23
29
  # Name of Alternate Content Source.
24
30
  attr_accessor :name
25
31
 
@@ -36,7 +42,9 @@ module PulpRpmClient
36
42
  def self.attribute_map
37
43
  {
38
44
  :'pulp_href' => :'pulp_href',
45
+ :'prn' => :'prn',
39
46
  :'pulp_created' => :'pulp_created',
47
+ :'pulp_last_updated' => :'pulp_last_updated',
40
48
  :'name' => :'name',
41
49
  :'last_refreshed' => :'last_refreshed',
42
50
  :'paths' => :'paths',
@@ -48,7 +56,9 @@ module PulpRpmClient
48
56
  def self.openapi_types
49
57
  {
50
58
  :'pulp_href' => :'String',
59
+ :'prn' => :'String',
51
60
  :'pulp_created' => :'DateTime',
61
+ :'pulp_last_updated' => :'DateTime',
52
62
  :'name' => :'String',
53
63
  :'last_refreshed' => :'DateTime',
54
64
  :'paths' => :'Array<String>',
@@ -82,10 +92,18 @@ module PulpRpmClient
82
92
  self.pulp_href = attributes[:'pulp_href']
83
93
  end
84
94
 
95
+ if attributes.key?(:'prn')
96
+ self.prn = attributes[:'prn']
97
+ end
98
+
85
99
  if attributes.key?(:'pulp_created')
86
100
  self.pulp_created = attributes[:'pulp_created']
87
101
  end
88
102
 
103
+ if attributes.key?(:'pulp_last_updated')
104
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
105
+ end
106
+
89
107
  if attributes.key?(:'name')
90
108
  self.name = attributes[:'name']
91
109
  end
@@ -134,7 +152,9 @@ module PulpRpmClient
134
152
  return true if self.equal?(o)
135
153
  self.class == o.class &&
136
154
  pulp_href == o.pulp_href &&
155
+ prn == o.prn &&
137
156
  pulp_created == o.pulp_created &&
157
+ pulp_last_updated == o.pulp_last_updated &&
138
158
  name == o.name &&
139
159
  last_refreshed == o.last_refreshed &&
140
160
  paths == o.paths &&
@@ -150,7 +170,7 @@ module PulpRpmClient
150
170
  # Calculates hash code according to all attributes.
151
171
  # @return [Integer] Hash code
152
172
  def hash
153
- [pulp_href, pulp_created, name, last_refreshed, paths, remote].hash
173
+ [pulp_href, prn, pulp_created, pulp_last_updated, name, last_refreshed, paths, remote].hash
154
174
  end
155
175
 
156
176
  # Builds the object from hash
@@ -17,9 +17,15 @@ module PulpRpmClient
17
17
  class RpmRpmDistributionResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
26
+ # 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
+ attr_accessor :pulp_last_updated
28
+
23
29
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
24
30
  attr_accessor :base_path
25
31
 
@@ -29,6 +35,9 @@ module PulpRpmClient
29
35
  # An optional content-guard.
30
36
  attr_accessor :content_guard
31
37
 
38
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
39
+ attr_accessor :no_content_change_since
40
+
32
41
  # Whether this distribution should be shown in the content app.
33
42
  attr_accessor :hidden
34
43
 
@@ -50,10 +59,13 @@ module PulpRpmClient
50
59
  def self.attribute_map
51
60
  {
52
61
  :'pulp_href' => :'pulp_href',
62
+ :'prn' => :'prn',
53
63
  :'pulp_created' => :'pulp_created',
64
+ :'pulp_last_updated' => :'pulp_last_updated',
54
65
  :'base_path' => :'base_path',
55
66
  :'base_url' => :'base_url',
56
67
  :'content_guard' => :'content_guard',
68
+ :'no_content_change_since' => :'no_content_change_since',
57
69
  :'hidden' => :'hidden',
58
70
  :'pulp_labels' => :'pulp_labels',
59
71
  :'name' => :'name',
@@ -67,10 +79,13 @@ module PulpRpmClient
67
79
  def self.openapi_types
68
80
  {
69
81
  :'pulp_href' => :'String',
82
+ :'prn' => :'String',
70
83
  :'pulp_created' => :'DateTime',
84
+ :'pulp_last_updated' => :'DateTime',
71
85
  :'base_path' => :'String',
72
86
  :'base_url' => :'String',
73
87
  :'content_guard' => :'String',
88
+ :'no_content_change_since' => :'String',
74
89
  :'hidden' => :'Boolean',
75
90
  :'pulp_labels' => :'Hash<String, String>',
76
91
  :'name' => :'String',
@@ -108,10 +123,18 @@ module PulpRpmClient
108
123
  self.pulp_href = attributes[:'pulp_href']
109
124
  end
110
125
 
126
+ if attributes.key?(:'prn')
127
+ self.prn = attributes[:'prn']
128
+ end
129
+
111
130
  if attributes.key?(:'pulp_created')
112
131
  self.pulp_created = attributes[:'pulp_created']
113
132
  end
114
133
 
134
+ if attributes.key?(:'pulp_last_updated')
135
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
136
+ end
137
+
115
138
  if attributes.key?(:'base_path')
116
139
  self.base_path = attributes[:'base_path']
117
140
  end
@@ -124,6 +147,10 @@ module PulpRpmClient
124
147
  self.content_guard = attributes[:'content_guard']
125
148
  end
126
149
 
150
+ if attributes.key?(:'no_content_change_since')
151
+ self.no_content_change_since = attributes[:'no_content_change_since']
152
+ end
153
+
127
154
  if attributes.key?(:'hidden')
128
155
  self.hidden = attributes[:'hidden']
129
156
  else
@@ -184,10 +211,13 @@ module PulpRpmClient
184
211
  return true if self.equal?(o)
185
212
  self.class == o.class &&
186
213
  pulp_href == o.pulp_href &&
214
+ prn == o.prn &&
187
215
  pulp_created == o.pulp_created &&
216
+ pulp_last_updated == o.pulp_last_updated &&
188
217
  base_path == o.base_path &&
189
218
  base_url == o.base_url &&
190
219
  content_guard == o.content_guard &&
220
+ no_content_change_since == o.no_content_change_since &&
191
221
  hidden == o.hidden &&
192
222
  pulp_labels == o.pulp_labels &&
193
223
  name == o.name &&
@@ -205,7 +235,7 @@ module PulpRpmClient
205
235
  # Calculates hash code according to all attributes.
206
236
  # @return [Integer] Hash code
207
237
  def hash
208
- [pulp_href, pulp_created, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config].hash
238
+ [pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication, generate_repo_config].hash
209
239
  end
210
240
 
211
241
  # Builds the object from hash
@@ -66,7 +66,7 @@ module PulpRpmClient
66
66
  :'package_checksum_type' => :'PackageChecksumTypeEnum',
67
67
  :'gpgcheck' => :'Integer',
68
68
  :'repo_gpgcheck' => :'Integer',
69
- :'repo_config' => :'Object',
69
+ :'repo_config' => :'AnyType',
70
70
  :'compression_type' => :'CompressionTypeEnum'
71
71
  }
72
72
  end