pulp_rpm_client 3.27.1 → 3.27.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) 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_remote.rb +20 -20
  74. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
  75. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
  76. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
  77. data/lib/pulp_rpm_client/models/repository_version_response.rb +12 -2
  78. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
  79. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
  80. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +12 -2
  81. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +11 -1
  82. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +14 -4
  83. data/lib/pulp_rpm_client/models/rpm_package.rb +29 -4
  84. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +14 -4
  85. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +15 -5
  86. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +14 -4
  87. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +12 -2
  88. data/lib/pulp_rpm_client/models/rpm_package_response.rb +21 -11
  89. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +11 -1
  90. data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +11 -1
  91. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +21 -1
  92. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  93. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +12 -2
  94. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
  95. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +31 -21
  96. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
  97. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +12 -2
  98. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
  99. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +31 -21
  100. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
  101. data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
  102. data/lib/pulp_rpm_client/models/rpm_update_record.rb +29 -4
  103. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +11 -1
  104. data/lib/pulp_rpm_client/version.rb +1 -1
  105. data/spec/api/acs_rpm_api_spec.rb +2 -1
  106. data/spec/api/content_advisories_api_spec.rb +6 -4
  107. data/spec/api/content_distribution_trees_api_spec.rb +5 -4
  108. data/spec/api/content_modulemd_defaults_api_spec.rb +5 -4
  109. data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -4
  110. data/spec/api/content_modulemds_api_spec.rb +5 -4
  111. data/spec/api/content_packagecategories_api_spec.rb +5 -4
  112. data/spec/api/content_packageenvironments_api_spec.rb +5 -4
  113. data/spec/api/content_packagegroups_api_spec.rb +5 -4
  114. data/spec/api/content_packagelangpacks_api_spec.rb +5 -4
  115. data/spec/api/content_packages_api_spec.rb +6 -4
  116. data/spec/api/content_repo_metadata_files_api_spec.rb +5 -4
  117. data/spec/api/distributions_rpm_api_spec.rb +2 -1
  118. data/spec/api/publications_rpm_api_spec.rb +6 -5
  119. data/spec/api/remotes_rpm_api_spec.rb +2 -1
  120. data/spec/api/remotes_uln_api_spec.rb +2 -1
  121. data/spec/api/repositories_rpm_api_spec.rb +4 -3
  122. data/spec/api/repositories_rpm_versions_api_spec.rb +4 -3
  123. data/spec/configuration_spec.rb +3 -3
  124. data/spec/models/artifact_response_spec.rb +6 -0
  125. data/spec/models/repository_version_response_spec.rb +6 -0
  126. data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
  127. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
  128. data/spec/models/rpm_modulemd_response_spec.rb +6 -0
  129. data/spec/models/rpm_package_category_response_spec.rb +6 -0
  130. data/spec/models/rpm_package_environment_response_spec.rb +6 -0
  131. data/spec/models/rpm_package_group_response_spec.rb +6 -0
  132. data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
  133. data/spec/models/rpm_package_response_spec.rb +6 -0
  134. data/spec/models/rpm_package_spec.rb +6 -0
  135. data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
  136. data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +6 -0
  137. data/spec/models/rpm_rpm_distribution_response_spec.rb +12 -0
  138. data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
  139. data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
  140. data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
  141. data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
  142. data/spec/models/rpm_update_record_response_spec.rb +6 -0
  143. data/spec/models/rpm_update_record_spec.rb +6 -0
  144. metadata +94 -94
@@ -17,6 +17,9 @@ module PulpRpmClient
17
17
  class RpmModulemdDefaultsResponse
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
 
@@ -36,6 +39,7 @@ module PulpRpmClient
36
39
  def self.attribute_map
37
40
  {
38
41
  :'pulp_href' => :'pulp_href',
42
+ :'prn' => :'prn',
39
43
  :'pulp_created' => :'pulp_created',
40
44
  :'pulp_last_updated' => :'pulp_last_updated',
41
45
  :'_module' => :'module',
@@ -48,11 +52,12 @@ module PulpRpmClient
48
52
  def self.openapi_types
49
53
  {
50
54
  :'pulp_href' => :'String',
55
+ :'prn' => :'String',
51
56
  :'pulp_created' => :'DateTime',
52
57
  :'pulp_last_updated' => :'DateTime',
53
58
  :'_module' => :'String',
54
59
  :'stream' => :'String',
55
- :'profiles' => :'AnyType'
60
+ :'profiles' => :'Object'
56
61
  }
57
62
  end
58
63
 
@@ -81,6 +86,10 @@ module PulpRpmClient
81
86
  self.pulp_href = attributes[:'pulp_href']
82
87
  end
83
88
 
89
+ if attributes.key?(:'prn')
90
+ self.prn = attributes[:'prn']
91
+ end
92
+
84
93
  if attributes.key?(:'pulp_created')
85
94
  self.pulp_created = attributes[:'pulp_created']
86
95
  end
@@ -136,6 +145,7 @@ module PulpRpmClient
136
145
  return true if self.equal?(o)
137
146
  self.class == o.class &&
138
147
  pulp_href == o.pulp_href &&
148
+ prn == o.prn &&
139
149
  pulp_created == o.pulp_created &&
140
150
  pulp_last_updated == o.pulp_last_updated &&
141
151
  _module == o._module &&
@@ -152,7 +162,7 @@ module PulpRpmClient
152
162
  # Calculates hash code according to all attributes.
153
163
  # @return [Integer] Hash code
154
164
  def hash
155
- [pulp_href, pulp_created, pulp_last_updated, _module, stream, profiles].hash
165
+ [pulp_href, prn, pulp_created, pulp_last_updated, _module, stream, profiles].hash
156
166
  end
157
167
 
158
168
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpRpmClient
17
17
  class RpmModulemdObsoleteResponse
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
  :'modified' => :'modified',
@@ -72,6 +76,7 @@ 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
  :'modified' => :'String',
@@ -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
  modified == o.modified &&
@@ -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, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream].hash
235
+ [pulp_href, prn, pulp_created, pulp_last_updated, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream].hash
226
236
  end
227
237
 
228
238
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpRpmClient
17
17
  class RpmModulemdResponse
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
  :'name' => :'name',
@@ -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
  :'name' => :'String',
@@ -88,10 +93,10 @@ module PulpRpmClient
88
93
  :'static_context' => :'Boolean',
89
94
  :'context' => :'String',
90
95
  :'arch' => :'String',
91
- :'artifacts' => :'AnyType',
92
- :'dependencies' => :'AnyType',
96
+ :'artifacts' => :'Object',
97
+ :'dependencies' => :'Object',
93
98
  :'packages' => :'Array<String>',
94
- :'profiles' => :'AnyType',
99
+ :'profiles' => :'Object',
95
100
  :'description' => :'String'
96
101
  }
97
102
  end
@@ -124,6 +129,10 @@ module PulpRpmClient
124
129
  self.pulp_href = attributes[:'pulp_href']
125
130
  end
126
131
 
132
+ if attributes.key?(:'prn')
133
+ self.prn = attributes[:'prn']
134
+ end
135
+
127
136
  if attributes.key?(:'pulp_created')
128
137
  self.pulp_created = attributes[:'pulp_created']
129
138
  end
@@ -228,6 +237,7 @@ module PulpRpmClient
228
237
  return true if self.equal?(o)
229
238
  self.class == o.class &&
230
239
  pulp_href == o.pulp_href &&
240
+ prn == o.prn &&
231
241
  pulp_created == o.pulp_created &&
232
242
  pulp_last_updated == o.pulp_last_updated &&
233
243
  name == o.name &&
@@ -252,7 +262,7 @@ module PulpRpmClient
252
262
  # Calculates hash code according to all attributes.
253
263
  # @return [Integer] Hash code
254
264
  def hash
255
- [pulp_href, pulp_created, pulp_last_updated, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, profiles, description].hash
265
+ [pulp_href, prn, pulp_created, pulp_last_updated, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, profiles, description].hash
256
266
  end
257
267
 
258
268
  # Builds the object from hash
@@ -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