pulp_rpm_client 3.27.1 → 3.27.3

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 (140) 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 +2 -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/PatchedrpmRpmRepository.md +1 -1
  19. data/docs/PublicationsRpmApi.md +13 -11
  20. data/docs/RemotesRpmApi.md +5 -3
  21. data/docs/RemotesUlnApi.md +5 -3
  22. data/docs/RepositoriesRpmApi.md +9 -7
  23. data/docs/RepositoriesRpmVersionsApi.md +9 -7
  24. data/docs/RepositoryVersionResponse.md +2 -0
  25. data/docs/RpmCompsApi.md +1 -1
  26. data/docs/RpmCopyApi.md +1 -1
  27. data/docs/RpmModulemd.md +3 -3
  28. data/docs/RpmModulemdDefaults.md +1 -1
  29. data/docs/RpmModulemdDefaultsResponse.md +3 -1
  30. data/docs/RpmModulemdObsoleteResponse.md +2 -0
  31. data/docs/RpmModulemdResponse.md +5 -3
  32. data/docs/RpmPackage.md +3 -1
  33. data/docs/RpmPackageCategoryResponse.md +5 -3
  34. data/docs/RpmPackageEnvironmentResponse.md +6 -4
  35. data/docs/RpmPackageGroupResponse.md +5 -3
  36. data/docs/RpmPackageLangpacksResponse.md +3 -1
  37. data/docs/RpmPackageResponse.md +12 -10
  38. data/docs/RpmPruneApi.md +1 -1
  39. data/docs/RpmRepoMetadataFileResponse.md +2 -0
  40. data/docs/RpmRpmAlternateContentSourceResponse.md +2 -0
  41. data/docs/RpmRpmDistributionResponse.md +4 -0
  42. data/docs/RpmRpmPublication.md +1 -1
  43. data/docs/RpmRpmPublicationResponse.md +3 -1
  44. data/docs/RpmRpmRemoteResponse.md +2 -0
  45. data/docs/RpmRpmRepository.md +1 -1
  46. data/docs/RpmRpmRepositoryResponse.md +3 -1
  47. data/docs/RpmUlnRemoteResponse.md +2 -0
  48. data/docs/RpmUpdateCollection.md +1 -1
  49. data/docs/RpmUpdateCollectionResponse.md +1 -1
  50. data/docs/RpmUpdateRecord.md +3 -1
  51. data/docs/RpmUpdateRecordResponse.md +2 -0
  52. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +5 -2
  53. data/lib/pulp_rpm_client/api/content_advisories_api.rb +18 -8
  54. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -8
  55. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +11 -8
  56. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +11 -8
  57. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +11 -8
  58. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -8
  59. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -8
  60. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -8
  61. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -8
  62. data/lib/pulp_rpm_client/api/content_packages_api.rb +18 -8
  63. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -8
  64. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +5 -2
  65. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +14 -11
  66. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +5 -2
  67. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +5 -2
  68. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -6
  69. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -7
  70. data/lib/pulp_rpm_client/configuration.rb +2 -2
  71. data/lib/pulp_rpm_client/models/artifact_response.rb +12 -2
  72. data/lib/pulp_rpm_client/models/copy.rb +1 -1
  73. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
  74. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
  75. data/lib/pulp_rpm_client/models/repository_version_response.rb +12 -2
  76. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
  77. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
  78. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +12 -2
  79. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +11 -1
  80. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +14 -4
  81. data/lib/pulp_rpm_client/models/rpm_package.rb +29 -4
  82. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +14 -4
  83. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +15 -5
  84. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +14 -4
  85. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +12 -2
  86. data/lib/pulp_rpm_client/models/rpm_package_response.rb +21 -11
  87. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +11 -1
  88. data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +11 -1
  89. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +21 -1
  90. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  91. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +12 -2
  92. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +11 -1
  93. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
  94. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +12 -2
  95. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +11 -1
  96. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
  97. data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
  98. data/lib/pulp_rpm_client/models/rpm_update_record.rb +29 -4
  99. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +11 -1
  100. data/lib/pulp_rpm_client/version.rb +1 -1
  101. data/spec/api/acs_rpm_api_spec.rb +2 -1
  102. data/spec/api/content_advisories_api_spec.rb +6 -4
  103. data/spec/api/content_distribution_trees_api_spec.rb +5 -4
  104. data/spec/api/content_modulemd_defaults_api_spec.rb +5 -4
  105. data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -4
  106. data/spec/api/content_modulemds_api_spec.rb +5 -4
  107. data/spec/api/content_packagecategories_api_spec.rb +5 -4
  108. data/spec/api/content_packageenvironments_api_spec.rb +5 -4
  109. data/spec/api/content_packagegroups_api_spec.rb +5 -4
  110. data/spec/api/content_packagelangpacks_api_spec.rb +5 -4
  111. data/spec/api/content_packages_api_spec.rb +6 -4
  112. data/spec/api/content_repo_metadata_files_api_spec.rb +5 -4
  113. data/spec/api/distributions_rpm_api_spec.rb +2 -1
  114. data/spec/api/publications_rpm_api_spec.rb +6 -5
  115. data/spec/api/remotes_rpm_api_spec.rb +2 -1
  116. data/spec/api/remotes_uln_api_spec.rb +2 -1
  117. data/spec/api/repositories_rpm_api_spec.rb +4 -3
  118. data/spec/api/repositories_rpm_versions_api_spec.rb +4 -3
  119. data/spec/configuration_spec.rb +3 -3
  120. data/spec/models/artifact_response_spec.rb +6 -0
  121. data/spec/models/repository_version_response_spec.rb +6 -0
  122. data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
  123. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
  124. data/spec/models/rpm_modulemd_response_spec.rb +6 -0
  125. data/spec/models/rpm_package_category_response_spec.rb +6 -0
  126. data/spec/models/rpm_package_environment_response_spec.rb +6 -0
  127. data/spec/models/rpm_package_group_response_spec.rb +6 -0
  128. data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
  129. data/spec/models/rpm_package_response_spec.rb +6 -0
  130. data/spec/models/rpm_package_spec.rb +6 -0
  131. data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
  132. data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +6 -0
  133. data/spec/models/rpm_rpm_distribution_response_spec.rb +12 -0
  134. data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
  135. data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
  136. data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
  137. data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
  138. data/spec/models/rpm_update_record_response_spec.rb +6 -0
  139. data/spec/models/rpm_update_record_spec.rb +6 -0
  140. metadata +102 -102
@@ -30,6 +30,9 @@ module PulpRpmClient
30
30
  # An uncommitted upload that may be turned into the content unit.
31
31
  attr_accessor :upload
32
32
 
33
+ # A url that Pulp can download and turn into the content unit.
34
+ attr_accessor :file_url
35
+
33
36
  # Attribute mapping from ruby-style variable name to JSON key.
34
37
  def self.attribute_map
35
38
  {
@@ -37,7 +40,8 @@ module PulpRpmClient
37
40
  :'artifact' => :'artifact',
38
41
  :'relative_path' => :'relative_path',
39
42
  :'file' => :'file',
40
- :'upload' => :'upload'
43
+ :'upload' => :'upload',
44
+ :'file_url' => :'file_url'
41
45
  }
42
46
  end
43
47
 
@@ -48,7 +52,8 @@ module PulpRpmClient
48
52
  :'artifact' => :'String',
49
53
  :'relative_path' => :'String',
50
54
  :'file' => :'File',
51
- :'upload' => :'String'
55
+ :'upload' => :'String',
56
+ :'file_url' => :'String'
52
57
  }
53
58
  end
54
59
 
@@ -92,6 +97,10 @@ module PulpRpmClient
92
97
  if attributes.key?(:'upload')
93
98
  self.upload = attributes[:'upload']
94
99
  end
100
+
101
+ if attributes.key?(:'file_url')
102
+ self.file_url = attributes[:'file_url']
103
+ end
95
104
  end
96
105
 
97
106
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -102,6 +111,10 @@ module PulpRpmClient
102
111
  invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
103
112
  end
104
113
 
114
+ if !@file_url.nil? && @file_url.to_s.length < 1
115
+ invalid_properties.push('invalid value for "file_url", the character length must be great than or equal to 1.')
116
+ end
117
+
105
118
  invalid_properties
106
119
  end
107
120
 
@@ -109,6 +122,7 @@ module PulpRpmClient
109
122
  # @return true if the model is valid
110
123
  def valid?
111
124
  return false if !@relative_path.nil? && @relative_path.to_s.length < 1
125
+ return false if !@file_url.nil? && @file_url.to_s.length < 1
112
126
  true
113
127
  end
114
128
 
@@ -122,6 +136,16 @@ module PulpRpmClient
122
136
  @relative_path = relative_path
123
137
  end
124
138
 
139
+ # Custom attribute writer method with validation
140
+ # @param [Object] file_url Value to be assigned
141
+ def file_url=(file_url)
142
+ if !file_url.nil? && file_url.to_s.length < 1
143
+ fail ArgumentError, 'invalid value for "file_url", the character length must be great than or equal to 1.'
144
+ end
145
+
146
+ @file_url = file_url
147
+ end
148
+
125
149
  # Checks equality by comparing each attribute.
126
150
  # @param [Object] Object to be compared
127
151
  def ==(o)
@@ -131,7 +155,8 @@ module PulpRpmClient
131
155
  artifact == o.artifact &&
132
156
  relative_path == o.relative_path &&
133
157
  file == o.file &&
134
- upload == o.upload
158
+ upload == o.upload &&
159
+ file_url == o.file_url
135
160
  end
136
161
 
137
162
  # @see the `==` method
@@ -143,7 +168,7 @@ module PulpRpmClient
143
168
  # Calculates hash code according to all attributes.
144
169
  # @return [Integer] Hash code
145
170
  def hash
146
- [repository, artifact, relative_path, file, upload].hash
171
+ [repository, artifact, relative_path, file, upload, file_url].hash
147
172
  end
148
173
 
149
174
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpRpmClient
17
17
  class RpmPackageCategoryResponse
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
 
@@ -51,6 +54,7 @@ module PulpRpmClient
51
54
  def self.attribute_map
52
55
  {
53
56
  :'pulp_href' => :'pulp_href',
57
+ :'prn' => :'prn',
54
58
  :'pulp_created' => :'pulp_created',
55
59
  :'pulp_last_updated' => :'pulp_last_updated',
56
60
  :'id' => :'id',
@@ -68,15 +72,16 @@ module PulpRpmClient
68
72
  def self.openapi_types
69
73
  {
70
74
  :'pulp_href' => :'String',
75
+ :'prn' => :'String',
71
76
  :'pulp_created' => :'DateTime',
72
77
  :'pulp_last_updated' => :'DateTime',
73
78
  :'id' => :'String',
74
79
  :'name' => :'String',
75
80
  :'description' => :'String',
76
81
  :'display_order' => :'Integer',
77
- :'group_ids' => :'AnyType',
78
- :'desc_by_lang' => :'AnyType',
79
- :'name_by_lang' => :'AnyType',
82
+ :'group_ids' => :'Object',
83
+ :'desc_by_lang' => :'Object',
84
+ :'name_by_lang' => :'Object',
80
85
  :'digest' => :'String'
81
86
  }
82
87
  end
@@ -110,6 +115,10 @@ module PulpRpmClient
110
115
  self.pulp_href = attributes[:'pulp_href']
111
116
  end
112
117
 
118
+ if attributes.key?(:'prn')
119
+ self.prn = attributes[:'prn']
120
+ end
121
+
113
122
  if attributes.key?(:'pulp_created')
114
123
  self.pulp_created = attributes[:'pulp_created']
115
124
  end
@@ -190,6 +199,7 @@ module PulpRpmClient
190
199
  return true if self.equal?(o)
191
200
  self.class == o.class &&
192
201
  pulp_href == o.pulp_href &&
202
+ prn == o.prn &&
193
203
  pulp_created == o.pulp_created &&
194
204
  pulp_last_updated == o.pulp_last_updated &&
195
205
  id == o.id &&
@@ -211,7 +221,7 @@ module PulpRpmClient
211
221
  # Calculates hash code according to all attributes.
212
222
  # @return [Integer] Hash code
213
223
  def hash
214
- [pulp_href, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
224
+ [pulp_href, prn, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
215
225
  end
216
226
 
217
227
  # Builds the object from hash
@@ -17,6 +17,9 @@ 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
 
@@ -54,6 +57,7 @@ module PulpRpmClient
54
57
  def self.attribute_map
55
58
  {
56
59
  :'pulp_href' => :'pulp_href',
60
+ :'prn' => :'prn',
57
61
  :'pulp_created' => :'pulp_created',
58
62
  :'pulp_last_updated' => :'pulp_last_updated',
59
63
  :'id' => :'id',
@@ -72,16 +76,17 @@ module PulpRpmClient
72
76
  def self.openapi_types
73
77
  {
74
78
  :'pulp_href' => :'String',
79
+ :'prn' => :'String',
75
80
  :'pulp_created' => :'DateTime',
76
81
  :'pulp_last_updated' => :'DateTime',
77
82
  :'id' => :'String',
78
83
  :'name' => :'String',
79
84
  :'description' => :'String',
80
85
  :'display_order' => :'Integer',
81
- :'group_ids' => :'AnyType',
82
- :'option_ids' => :'AnyType',
83
- :'desc_by_lang' => :'AnyType',
84
- :'name_by_lang' => :'AnyType',
86
+ :'group_ids' => :'Object',
87
+ :'option_ids' => :'Object',
88
+ :'desc_by_lang' => :'Object',
89
+ :'name_by_lang' => :'Object',
85
90
  :'digest' => :'String'
86
91
  }
87
92
  end
@@ -116,6 +121,10 @@ module PulpRpmClient
116
121
  self.pulp_href = attributes[:'pulp_href']
117
122
  end
118
123
 
124
+ if attributes.key?(:'prn')
125
+ self.prn = attributes[:'prn']
126
+ end
127
+
119
128
  if attributes.key?(:'pulp_created')
120
129
  self.pulp_created = attributes[:'pulp_created']
121
130
  end
@@ -200,6 +209,7 @@ module PulpRpmClient
200
209
  return true if self.equal?(o)
201
210
  self.class == o.class &&
202
211
  pulp_href == o.pulp_href &&
212
+ prn == o.prn &&
203
213
  pulp_created == o.pulp_created &&
204
214
  pulp_last_updated == o.pulp_last_updated &&
205
215
  id == o.id &&
@@ -222,7 +232,7 @@ module PulpRpmClient
222
232
  # Calculates hash code according to all attributes.
223
233
  # @return [Integer] Hash code
224
234
  def hash
225
- [pulp_href, pulp_created, pulp_last_updated, 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
226
236
  end
227
237
 
228
238
  # Builds the object from hash
@@ -17,6 +17,9 @@ 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
 
@@ -60,6 +63,7 @@ module PulpRpmClient
60
63
  def self.attribute_map
61
64
  {
62
65
  :'pulp_href' => :'pulp_href',
66
+ :'prn' => :'prn',
63
67
  :'pulp_created' => :'pulp_created',
64
68
  :'pulp_last_updated' => :'pulp_last_updated',
65
69
  :'id' => :'id',
@@ -80,6 +84,7 @@ module PulpRpmClient
80
84
  def self.openapi_types
81
85
  {
82
86
  :'pulp_href' => :'String',
87
+ :'prn' => :'String',
83
88
  :'pulp_created' => :'DateTime',
84
89
  :'pulp_last_updated' => :'DateTime',
85
90
  :'id' => :'String',
@@ -88,10 +93,10 @@ module PulpRpmClient
88
93
  :'display_order' => :'Integer',
89
94
  :'name' => :'String',
90
95
  :'description' => :'String',
91
- :'packages' => :'AnyType',
96
+ :'packages' => :'Object',
92
97
  :'biarch_only' => :'Boolean',
93
- :'desc_by_lang' => :'AnyType',
94
- :'name_by_lang' => :'AnyType',
98
+ :'desc_by_lang' => :'Object',
99
+ :'name_by_lang' => :'Object',
95
100
  :'digest' => :'String'
96
101
  }
97
102
  end
@@ -125,6 +130,10 @@ module PulpRpmClient
125
130
  self.pulp_href = attributes[:'pulp_href']
126
131
  end
127
132
 
133
+ if attributes.key?(:'prn')
134
+ self.prn = attributes[:'prn']
135
+ end
136
+
128
137
  if attributes.key?(:'pulp_created')
129
138
  self.pulp_created = attributes[:'pulp_created']
130
139
  end
@@ -217,6 +226,7 @@ module PulpRpmClient
217
226
  return true if self.equal?(o)
218
227
  self.class == o.class &&
219
228
  pulp_href == o.pulp_href &&
229
+ prn == o.prn &&
220
230
  pulp_created == o.pulp_created &&
221
231
  pulp_last_updated == o.pulp_last_updated &&
222
232
  id == o.id &&
@@ -241,7 +251,7 @@ module PulpRpmClient
241
251
  # Calculates hash code according to all attributes.
242
252
  # @return [Integer] Hash code
243
253
  def hash
244
- [pulp_href, pulp_created, pulp_last_updated, 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
245
255
  end
246
256
 
247
257
  # Builds the object from hash
@@ -17,6 +17,9 @@ 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
 
@@ -33,6 +36,7 @@ module PulpRpmClient
33
36
  def self.attribute_map
34
37
  {
35
38
  :'pulp_href' => :'pulp_href',
39
+ :'prn' => :'prn',
36
40
  :'pulp_created' => :'pulp_created',
37
41
  :'pulp_last_updated' => :'pulp_last_updated',
38
42
  :'matches' => :'matches',
@@ -44,9 +48,10 @@ module PulpRpmClient
44
48
  def self.openapi_types
45
49
  {
46
50
  :'pulp_href' => :'String',
51
+ :'prn' => :'String',
47
52
  :'pulp_created' => :'DateTime',
48
53
  :'pulp_last_updated' => :'DateTime',
49
- :'matches' => :'AnyType',
54
+ :'matches' => :'Object',
50
55
  :'digest' => :'String'
51
56
  }
52
57
  end
@@ -78,6 +83,10 @@ module PulpRpmClient
78
83
  self.pulp_href = attributes[:'pulp_href']
79
84
  end
80
85
 
86
+ if attributes.key?(:'prn')
87
+ self.prn = attributes[:'prn']
88
+ end
89
+
81
90
  if attributes.key?(:'pulp_created')
82
91
  self.pulp_created = attributes[:'pulp_created']
83
92
  end
@@ -114,6 +123,7 @@ module PulpRpmClient
114
123
  return true if self.equal?(o)
115
124
  self.class == o.class &&
116
125
  pulp_href == o.pulp_href &&
126
+ prn == o.prn &&
117
127
  pulp_created == o.pulp_created &&
118
128
  pulp_last_updated == o.pulp_last_updated &&
119
129
  matches == o.matches &&
@@ -129,7 +139,7 @@ module PulpRpmClient
129
139
  # Calculates hash code according to all attributes.
130
140
  # @return [Integer] Hash code
131
141
  def hash
132
- [pulp_href, pulp_created, pulp_last_updated, matches, digest].hash
142
+ [pulp_href, prn, pulp_created, pulp_last_updated, matches, digest].hash
133
143
  end
134
144
 
135
145
  # Builds the object from hash
@@ -17,6 +17,9 @@ 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
 
@@ -156,6 +159,7 @@ module PulpRpmClient
156
159
  def self.attribute_map
157
160
  {
158
161
  :'pulp_href' => :'pulp_href',
162
+ :'prn' => :'prn',
159
163
  :'pulp_created' => :'pulp_created',
160
164
  :'pulp_last_updated' => :'pulp_last_updated',
161
165
  :'md5' => :'md5',
@@ -208,6 +212,7 @@ module PulpRpmClient
208
212
  def self.openapi_types
209
213
  {
210
214
  :'pulp_href' => :'String',
215
+ :'prn' => :'String',
211
216
  :'pulp_created' => :'DateTime',
212
217
  :'pulp_last_updated' => :'DateTime',
213
218
  :'md5' => :'String',
@@ -227,16 +232,16 @@ module PulpRpmClient
227
232
  :'summary' => :'String',
228
233
  :'description' => :'String',
229
234
  :'url' => :'String',
230
- :'changelogs' => :'AnyType',
231
- :'files' => :'AnyType',
232
- :'requires' => :'AnyType',
233
- :'provides' => :'AnyType',
234
- :'conflicts' => :'AnyType',
235
- :'obsoletes' => :'AnyType',
236
- :'suggests' => :'AnyType',
237
- :'enhances' => :'AnyType',
238
- :'recommends' => :'AnyType',
239
- :'supplements' => :'AnyType',
235
+ :'changelogs' => :'Object',
236
+ :'files' => :'Object',
237
+ :'requires' => :'Object',
238
+ :'provides' => :'Object',
239
+ :'conflicts' => :'Object',
240
+ :'obsoletes' => :'Object',
241
+ :'suggests' => :'Object',
242
+ :'enhances' => :'Object',
243
+ :'recommends' => :'Object',
244
+ :'supplements' => :'Object',
240
245
  :'location_base' => :'String',
241
246
  :'location_href' => :'String',
242
247
  :'rpm_buildhost' => :'String',
@@ -281,6 +286,10 @@ module PulpRpmClient
281
286
  self.pulp_href = attributes[:'pulp_href']
282
287
  end
283
288
 
289
+ if attributes.key?(:'prn')
290
+ self.prn = attributes[:'prn']
291
+ end
292
+
284
293
  if attributes.key?(:'pulp_created')
285
294
  self.pulp_created = attributes[:'pulp_created']
286
295
  end
@@ -481,6 +490,7 @@ module PulpRpmClient
481
490
  return true if self.equal?(o)
482
491
  self.class == o.class &&
483
492
  pulp_href == o.pulp_href &&
493
+ prn == o.prn &&
484
494
  pulp_created == o.pulp_created &&
485
495
  pulp_last_updated == o.pulp_last_updated &&
486
496
  md5 == o.md5 &&
@@ -537,7 +547,7 @@ module PulpRpmClient
537
547
  # Calculates hash code according to all attributes.
538
548
  # @return [Integer] Hash code
539
549
  def hash
540
- [pulp_href, 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
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
541
551
  end
542
552
 
543
553
  # Builds the object from hash
@@ -17,6 +17,9 @@ 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
 
@@ -60,6 +63,7 @@ module PulpRpmClient
60
63
  def self.attribute_map
61
64
  {
62
65
  :'pulp_href' => :'pulp_href',
66
+ :'prn' => :'prn',
63
67
  :'pulp_created' => :'pulp_created',
64
68
  :'pulp_last_updated' => :'pulp_last_updated',
65
69
  :'md5' => :'md5',
@@ -80,6 +84,7 @@ module PulpRpmClient
80
84
  def self.openapi_types
81
85
  {
82
86
  :'pulp_href' => :'String',
87
+ :'prn' => :'String',
83
88
  :'pulp_created' => :'DateTime',
84
89
  :'pulp_last_updated' => :'DateTime',
85
90
  :'md5' => :'String',
@@ -121,6 +126,10 @@ module PulpRpmClient
121
126
  self.pulp_href = attributes[:'pulp_href']
122
127
  end
123
128
 
129
+ if attributes.key?(:'prn')
130
+ self.prn = attributes[:'prn']
131
+ end
132
+
124
133
  if attributes.key?(:'pulp_created')
125
134
  self.pulp_created = attributes[:'pulp_created']
126
135
  end
@@ -213,6 +222,7 @@ module PulpRpmClient
213
222
  return true if self.equal?(o)
214
223
  self.class == o.class &&
215
224
  pulp_href == o.pulp_href &&
225
+ prn == o.prn &&
216
226
  pulp_created == o.pulp_created &&
217
227
  pulp_last_updated == o.pulp_last_updated &&
218
228
  md5 == o.md5 &&
@@ -237,7 +247,7 @@ module PulpRpmClient
237
247
  # Calculates hash code according to all attributes.
238
248
  # @return [Integer] Hash code
239
249
  def hash
240
- [pulp_href, pulp_created, pulp_last_updated, 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
241
251
  end
242
252
 
243
253
  # Builds the object from hash
@@ -17,6 +17,9 @@ 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
 
@@ -39,6 +42,7 @@ module PulpRpmClient
39
42
  def self.attribute_map
40
43
  {
41
44
  :'pulp_href' => :'pulp_href',
45
+ :'prn' => :'prn',
42
46
  :'pulp_created' => :'pulp_created',
43
47
  :'pulp_last_updated' => :'pulp_last_updated',
44
48
  :'name' => :'name',
@@ -52,6 +56,7 @@ module PulpRpmClient
52
56
  def self.openapi_types
53
57
  {
54
58
  :'pulp_href' => :'String',
59
+ :'prn' => :'String',
55
60
  :'pulp_created' => :'DateTime',
56
61
  :'pulp_last_updated' => :'DateTime',
57
62
  :'name' => :'String',
@@ -87,6 +92,10 @@ module PulpRpmClient
87
92
  self.pulp_href = attributes[:'pulp_href']
88
93
  end
89
94
 
95
+ if attributes.key?(:'prn')
96
+ self.prn = attributes[:'prn']
97
+ end
98
+
90
99
  if attributes.key?(:'pulp_created')
91
100
  self.pulp_created = attributes[:'pulp_created']
92
101
  end
@@ -143,6 +152,7 @@ module PulpRpmClient
143
152
  return true if self.equal?(o)
144
153
  self.class == o.class &&
145
154
  pulp_href == o.pulp_href &&
155
+ prn == o.prn &&
146
156
  pulp_created == o.pulp_created &&
147
157
  pulp_last_updated == o.pulp_last_updated &&
148
158
  name == o.name &&
@@ -160,7 +170,7 @@ module PulpRpmClient
160
170
  # Calculates hash code according to all attributes.
161
171
  # @return [Integer] Hash code
162
172
  def hash
163
- [pulp_href, pulp_created, pulp_last_updated, name, last_refreshed, paths, remote].hash
173
+ [pulp_href, prn, pulp_created, pulp_last_updated, name, last_refreshed, paths, remote].hash
164
174
  end
165
175
 
166
176
  # Builds the object from hash
@@ -17,6 +17,9 @@ 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
 
@@ -32,6 +35,9 @@ module PulpRpmClient
32
35
  # An optional content-guard.
33
36
  attr_accessor :content_guard
34
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
+
35
41
  # Whether this distribution should be shown in the content app.
36
42
  attr_accessor :hidden
37
43
 
@@ -53,11 +59,13 @@ module PulpRpmClient
53
59
  def self.attribute_map
54
60
  {
55
61
  :'pulp_href' => :'pulp_href',
62
+ :'prn' => :'prn',
56
63
  :'pulp_created' => :'pulp_created',
57
64
  :'pulp_last_updated' => :'pulp_last_updated',
58
65
  :'base_path' => :'base_path',
59
66
  :'base_url' => :'base_url',
60
67
  :'content_guard' => :'content_guard',
68
+ :'no_content_change_since' => :'no_content_change_since',
61
69
  :'hidden' => :'hidden',
62
70
  :'pulp_labels' => :'pulp_labels',
63
71
  :'name' => :'name',
@@ -71,11 +79,13 @@ module PulpRpmClient
71
79
  def self.openapi_types
72
80
  {
73
81
  :'pulp_href' => :'String',
82
+ :'prn' => :'String',
74
83
  :'pulp_created' => :'DateTime',
75
84
  :'pulp_last_updated' => :'DateTime',
76
85
  :'base_path' => :'String',
77
86
  :'base_url' => :'String',
78
87
  :'content_guard' => :'String',
88
+ :'no_content_change_since' => :'String',
79
89
  :'hidden' => :'Boolean',
80
90
  :'pulp_labels' => :'Hash<String, String>',
81
91
  :'name' => :'String',
@@ -113,6 +123,10 @@ module PulpRpmClient
113
123
  self.pulp_href = attributes[:'pulp_href']
114
124
  end
115
125
 
126
+ if attributes.key?(:'prn')
127
+ self.prn = attributes[:'prn']
128
+ end
129
+
116
130
  if attributes.key?(:'pulp_created')
117
131
  self.pulp_created = attributes[:'pulp_created']
118
132
  end
@@ -133,6 +147,10 @@ module PulpRpmClient
133
147
  self.content_guard = attributes[:'content_guard']
134
148
  end
135
149
 
150
+ if attributes.key?(:'no_content_change_since')
151
+ self.no_content_change_since = attributes[:'no_content_change_since']
152
+ end
153
+
136
154
  if attributes.key?(:'hidden')
137
155
  self.hidden = attributes[:'hidden']
138
156
  else
@@ -193,11 +211,13 @@ module PulpRpmClient
193
211
  return true if self.equal?(o)
194
212
  self.class == o.class &&
195
213
  pulp_href == o.pulp_href &&
214
+ prn == o.prn &&
196
215
  pulp_created == o.pulp_created &&
197
216
  pulp_last_updated == o.pulp_last_updated &&
198
217
  base_path == o.base_path &&
199
218
  base_url == o.base_url &&
200
219
  content_guard == o.content_guard &&
220
+ no_content_change_since == o.no_content_change_since &&
201
221
  hidden == o.hidden &&
202
222
  pulp_labels == o.pulp_labels &&
203
223
  name == o.name &&
@@ -215,7 +235,7 @@ module PulpRpmClient
215
235
  # Calculates hash code according to all attributes.
216
236
  # @return [Integer] Hash code
217
237
  def hash
218
- [pulp_href, pulp_created, pulp_last_updated, 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
219
239
  end
220
240
 
221
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' => :'AnyType',
69
+ :'repo_config' => :'Object',
70
70
  :'compression_type' => :'CompressionTypeEnum'
71
71
  }
72
72
  end