pulp_rpm_client 3.17.22 → 3.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -4
  3. data/docs/AcsRpmApi.md +11 -13
  4. data/docs/ContentAdvisoriesApi.md +8 -8
  5. data/docs/ContentDistributionTreesApi.md +8 -8
  6. data/docs/ContentModulemdDefaultsApi.md +13 -29
  7. data/docs/ContentModulemdObsoletesApi.md +192 -0
  8. data/docs/ContentModulemdsApi.md +13 -41
  9. data/docs/ContentPackagecategoriesApi.md +8 -8
  10. data/docs/ContentPackageenvironmentsApi.md +8 -8
  11. data/docs/ContentPackagegroupsApi.md +8 -8
  12. data/docs/ContentPackagelangpacksApi.md +8 -8
  13. data/docs/ContentPackagesApi.md +12 -12
  14. data/docs/ContentRepoMetadataFilesApi.md +8 -8
  15. data/docs/DistributionsRpmApi.md +8 -8
  16. data/docs/PaginatedrpmModulemdObsoleteResponseList.md +23 -0
  17. data/docs/PatchedrpmRpmRepository.md +1 -1
  18. data/docs/PublicationsRpmApi.md +8 -8
  19. data/docs/RemotesRpmApi.md +8 -8
  20. data/docs/RemotesUlnApi.md +8 -8
  21. data/docs/RepositoriesRpmApi.md +8 -8
  22. data/docs/RepositoriesRpmVersionsApi.md +8 -8
  23. data/docs/RpmModulemd.md +8 -12
  24. data/docs/RpmModulemdDefaults.md +4 -12
  25. data/docs/RpmModulemdDefaultsResponse.md +0 -14
  26. data/docs/RpmModulemdObsolete.md +35 -0
  27. data/docs/RpmModulemdObsoleteResponse.md +37 -0
  28. data/docs/RpmModulemdResponse.md +5 -15
  29. data/docs/RpmPackage.md +1 -1
  30. data/docs/RpmRpmPublication.md +1 -1
  31. data/docs/RpmRpmPublicationResponse.md +1 -1
  32. data/docs/RpmRpmRepository.md +1 -1
  33. data/docs/RpmRpmRepositoryResponse.md +1 -1
  34. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +16 -24
  35. data/lib/pulp_rpm_client/api/content_advisories_api.rb +12 -12
  36. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -12
  37. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +23 -69
  38. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +238 -0
  39. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +23 -107
  40. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -12
  41. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -12
  42. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -12
  43. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -12
  44. data/lib/pulp_rpm_client/api/content_packages_api.rb +20 -24
  45. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -12
  46. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +12 -12
  47. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +12 -12
  48. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +12 -12
  49. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +12 -12
  50. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +12 -12
  51. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +12 -12
  52. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +237 -0
  53. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
  54. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +83 -78
  55. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +38 -78
  56. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -71
  57. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +464 -0
  58. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +332 -0
  59. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +30 -74
  60. data/lib/pulp_rpm_client/models/rpm_package.rb +3 -12
  61. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  62. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
  63. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
  64. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +1 -1
  65. data/lib/pulp_rpm_client/version.rb +1 -1
  66. data/lib/pulp_rpm_client.rb +4 -0
  67. data/spec/api/acs_rpm_api_spec.rb +4 -5
  68. data/spec/api/content_advisories_api_spec.rb +4 -4
  69. data/spec/api/content_distribution_trees_api_spec.rb +4 -4
  70. data/spec/api/content_modulemd_defaults_api_spec.rb +5 -12
  71. data/spec/api/content_modulemd_obsoletes_api_spec.rb +80 -0
  72. data/spec/api/content_modulemds_api_spec.rb +5 -18
  73. data/spec/api/content_packagecategories_api_spec.rb +4 -4
  74. data/spec/api/content_packageenvironments_api_spec.rb +4 -4
  75. data/spec/api/content_packagegroups_api_spec.rb +4 -4
  76. data/spec/api/content_packagelangpacks_api_spec.rb +4 -4
  77. data/spec/api/content_packages_api_spec.rb +5 -5
  78. data/spec/api/content_repo_metadata_files_api_spec.rb +4 -4
  79. data/spec/api/distributions_rpm_api_spec.rb +4 -4
  80. data/spec/api/publications_rpm_api_spec.rb +4 -4
  81. data/spec/api/remotes_rpm_api_spec.rb +4 -4
  82. data/spec/api/remotes_uln_api_spec.rb +4 -4
  83. data/spec/api/repositories_rpm_api_spec.rb +4 -4
  84. data/spec/api/repositories_rpm_versions_api_spec.rb +4 -4
  85. data/spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb +59 -0
  86. data/spec/models/rpm_modulemd_defaults_response_spec.rb +0 -42
  87. data/spec/models/rpm_modulemd_defaults_spec.rb +4 -28
  88. data/spec/models/rpm_modulemd_obsolete_response_spec.rb +101 -0
  89. data/spec/models/rpm_modulemd_obsolete_spec.rb +95 -0
  90. data/spec/models/rpm_modulemd_response_spec.rb +11 -41
  91. data/spec/models/rpm_modulemd_spec.rb +12 -24
  92. metadata +85 -69
@@ -15,21 +15,6 @@ require 'date'
15
15
  module PulpRpmClient
16
16
  # Modulemd serializer.
17
17
  class RpmModulemd
18
- # Artifact file representing the physical content
19
- attr_accessor :artifact
20
-
21
- # Path where the artifact is located relative to distributions base_path
22
- attr_accessor :relative_path
23
-
24
- # An uploaded file that may be turned into the artifact of the content unit.
25
- attr_accessor :file
26
-
27
- # A URI of a repository the new content unit should be associated with.
28
- attr_accessor :repository
29
-
30
- # An uncommitted upload that may be turned into the artifact of the content unit.
31
- attr_accessor :upload
32
-
33
18
  # Modulemd name.
34
19
  attr_accessor :name
35
20
 
@@ -57,14 +42,18 @@ module PulpRpmClient
57
42
  # Modulemd artifacts' packages.
58
43
  attr_accessor :packages
59
44
 
45
+ # Modulemd snippet
46
+ attr_accessor :snippet
47
+
48
+ # Modulemd profiles.
49
+ attr_accessor :profiles
50
+
51
+ # Description of module.
52
+ attr_accessor :description
53
+
60
54
  # Attribute mapping from ruby-style variable name to JSON key.
61
55
  def self.attribute_map
62
56
  {
63
- :'artifact' => :'artifact',
64
- :'relative_path' => :'relative_path',
65
- :'file' => :'file',
66
- :'repository' => :'repository',
67
- :'upload' => :'upload',
68
57
  :'name' => :'name',
69
58
  :'stream' => :'stream',
70
59
  :'version' => :'version',
@@ -73,18 +62,16 @@ module PulpRpmClient
73
62
  :'arch' => :'arch',
74
63
  :'artifacts' => :'artifacts',
75
64
  :'dependencies' => :'dependencies',
76
- :'packages' => :'packages'
65
+ :'packages' => :'packages',
66
+ :'snippet' => :'snippet',
67
+ :'profiles' => :'profiles',
68
+ :'description' => :'description'
77
69
  }
78
70
  end
79
71
 
80
72
  # Attribute type mapping.
81
73
  def self.openapi_types
82
74
  {
83
- :'artifact' => :'String',
84
- :'relative_path' => :'String',
85
- :'file' => :'File',
86
- :'repository' => :'String',
87
- :'upload' => :'String',
88
75
  :'name' => :'String',
89
76
  :'stream' => :'String',
90
77
  :'version' => :'String',
@@ -93,7 +80,10 @@ module PulpRpmClient
93
80
  :'arch' => :'String',
94
81
  :'artifacts' => :'Object',
95
82
  :'dependencies' => :'Object',
96
- :'packages' => :'Array<String>'
83
+ :'packages' => :'Array<String>',
84
+ :'snippet' => :'String',
85
+ :'profiles' => :'Object',
86
+ :'description' => :'String'
97
87
  }
98
88
  end
99
89
 
@@ -102,6 +92,7 @@ module PulpRpmClient
102
92
  Set.new([
103
93
  :'artifacts',
104
94
  :'dependencies',
95
+ :'profiles',
105
96
  ])
106
97
  end
107
98
 
@@ -120,26 +111,6 @@ module PulpRpmClient
120
111
  h[k.to_sym] = v
121
112
  }
122
113
 
123
- if attributes.key?(:'artifact')
124
- self.artifact = attributes[:'artifact']
125
- end
126
-
127
- if attributes.key?(:'relative_path')
128
- self.relative_path = attributes[:'relative_path']
129
- end
130
-
131
- if attributes.key?(:'file')
132
- self.file = attributes[:'file']
133
- end
134
-
135
- if attributes.key?(:'repository')
136
- self.repository = attributes[:'repository']
137
- end
138
-
139
- if attributes.key?(:'upload')
140
- self.upload = attributes[:'upload']
141
- end
142
-
143
114
  if attributes.key?(:'name')
144
115
  self.name = attributes[:'name']
145
116
  end
@@ -177,20 +148,24 @@ module PulpRpmClient
177
148
  self.packages = value
178
149
  end
179
150
  end
151
+
152
+ if attributes.key?(:'snippet')
153
+ self.snippet = attributes[:'snippet']
154
+ end
155
+
156
+ if attributes.key?(:'profiles')
157
+ self.profiles = attributes[:'profiles']
158
+ end
159
+
160
+ if attributes.key?(:'description')
161
+ self.description = attributes[:'description']
162
+ end
180
163
  end
181
164
 
182
165
  # Show invalid properties with the reasons. Usually used together with valid?
183
166
  # @return Array for valid properties with the reasons
184
167
  def list_invalid_properties
185
168
  invalid_properties = Array.new
186
- if @relative_path.nil?
187
- invalid_properties.push('invalid value for "relative_path", relative_path cannot be nil.')
188
- end
189
-
190
- if @relative_path.to_s.length < 1
191
- invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
192
- end
193
-
194
169
  if @name.nil?
195
170
  invalid_properties.push('invalid value for "name", name cannot be nil.')
196
171
  end
@@ -231,14 +206,28 @@ module PulpRpmClient
231
206
  invalid_properties.push('invalid value for "arch", the character length must be great than or equal to 1.')
232
207
  end
233
208
 
209
+ if @snippet.nil?
210
+ invalid_properties.push('invalid value for "snippet", snippet cannot be nil.')
211
+ end
212
+
213
+ if @snippet.to_s.length < 1
214
+ invalid_properties.push('invalid value for "snippet", the character length must be great than or equal to 1.')
215
+ end
216
+
217
+ if @description.nil?
218
+ invalid_properties.push('invalid value for "description", description cannot be nil.')
219
+ end
220
+
221
+ if @description.to_s.length < 1
222
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
223
+ end
224
+
234
225
  invalid_properties
235
226
  end
236
227
 
237
228
  # Check to see if the all the properties in the model are valid
238
229
  # @return true if the model is valid
239
230
  def valid?
240
- return false if @relative_path.nil?
241
- return false if @relative_path.to_s.length < 1
242
231
  return false if @name.nil?
243
232
  return false if @name.to_s.length < 1
244
233
  return false if @stream.nil?
@@ -249,23 +238,13 @@ module PulpRpmClient
249
238
  return false if @context.to_s.length < 1
250
239
  return false if @arch.nil?
251
240
  return false if @arch.to_s.length < 1
241
+ return false if @snippet.nil?
242
+ return false if @snippet.to_s.length < 1
243
+ return false if @description.nil?
244
+ return false if @description.to_s.length < 1
252
245
  true
253
246
  end
254
247
 
255
- # Custom attribute writer method with validation
256
- # @param [Object] relative_path Value to be assigned
257
- def relative_path=(relative_path)
258
- if relative_path.nil?
259
- fail ArgumentError, 'relative_path cannot be nil'
260
- end
261
-
262
- if relative_path.to_s.length < 1
263
- fail ArgumentError, 'invalid value for "relative_path", the character length must be great than or equal to 1.'
264
- end
265
-
266
- @relative_path = relative_path
267
- end
268
-
269
248
  # Custom attribute writer method with validation
270
249
  # @param [Object] name Value to be assigned
271
250
  def name=(name)
@@ -336,16 +315,39 @@ module PulpRpmClient
336
315
  @arch = arch
337
316
  end
338
317
 
318
+ # Custom attribute writer method with validation
319
+ # @param [Object] snippet Value to be assigned
320
+ def snippet=(snippet)
321
+ if snippet.nil?
322
+ fail ArgumentError, 'snippet cannot be nil'
323
+ end
324
+
325
+ if snippet.to_s.length < 1
326
+ fail ArgumentError, 'invalid value for "snippet", the character length must be great than or equal to 1.'
327
+ end
328
+
329
+ @snippet = snippet
330
+ end
331
+
332
+ # Custom attribute writer method with validation
333
+ # @param [Object] description Value to be assigned
334
+ def description=(description)
335
+ if description.nil?
336
+ fail ArgumentError, 'description cannot be nil'
337
+ end
338
+
339
+ if description.to_s.length < 1
340
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
341
+ end
342
+
343
+ @description = description
344
+ end
345
+
339
346
  # Checks equality by comparing each attribute.
340
347
  # @param [Object] Object to be compared
341
348
  def ==(o)
342
349
  return true if self.equal?(o)
343
350
  self.class == o.class &&
344
- artifact == o.artifact &&
345
- relative_path == o.relative_path &&
346
- file == o.file &&
347
- repository == o.repository &&
348
- upload == o.upload &&
349
351
  name == o.name &&
350
352
  stream == o.stream &&
351
353
  version == o.version &&
@@ -354,7 +356,10 @@ module PulpRpmClient
354
356
  arch == o.arch &&
355
357
  artifacts == o.artifacts &&
356
358
  dependencies == o.dependencies &&
357
- packages == o.packages
359
+ packages == o.packages &&
360
+ snippet == o.snippet &&
361
+ profiles == o.profiles &&
362
+ description == o.description
358
363
  end
359
364
 
360
365
  # @see the `==` method
@@ -366,7 +371,7 @@ module PulpRpmClient
366
371
  # Calculates hash code according to all attributes.
367
372
  # @return [Integer] Hash code
368
373
  def hash
369
- [artifact, relative_path, file, repository, upload, name, stream, version, static_context, context, arch, artifacts, dependencies, packages].hash
374
+ [name, stream, version, static_context, context, arch, artifacts, dependencies, packages, snippet, profiles, description].hash
370
375
  end
371
376
 
372
377
  # Builds the object from hash
@@ -15,21 +15,6 @@ require 'date'
15
15
  module PulpRpmClient
16
16
  # ModulemdDefaults serializer.
17
17
  class RpmModulemdDefaults
18
- # Artifact file representing the physical content
19
- attr_accessor :artifact
20
-
21
- # Path where the artifact is located relative to distributions base_path
22
- attr_accessor :relative_path
23
-
24
- # An uploaded file that may be turned into the artifact of the content unit.
25
- attr_accessor :file
26
-
27
- # A URI of a repository the new content unit should be associated with.
28
- attr_accessor :repository
29
-
30
- # An uncommitted upload that may be turned into the artifact of the content unit.
31
- attr_accessor :upload
32
-
33
18
  # Modulemd name.
34
19
  attr_accessor :_module
35
20
 
@@ -39,31 +24,26 @@ module PulpRpmClient
39
24
  # Default profiles for modulemd streams.
40
25
  attr_accessor :profiles
41
26
 
27
+ # Modulemd default snippet
28
+ attr_accessor :snippet
29
+
42
30
  # Attribute mapping from ruby-style variable name to JSON key.
43
31
  def self.attribute_map
44
32
  {
45
- :'artifact' => :'artifact',
46
- :'relative_path' => :'relative_path',
47
- :'file' => :'file',
48
- :'repository' => :'repository',
49
- :'upload' => :'upload',
50
33
  :'_module' => :'module',
51
34
  :'stream' => :'stream',
52
- :'profiles' => :'profiles'
35
+ :'profiles' => :'profiles',
36
+ :'snippet' => :'snippet'
53
37
  }
54
38
  end
55
39
 
56
40
  # Attribute type mapping.
57
41
  def self.openapi_types
58
42
  {
59
- :'artifact' => :'String',
60
- :'relative_path' => :'String',
61
- :'file' => :'File',
62
- :'repository' => :'String',
63
- :'upload' => :'String',
64
43
  :'_module' => :'String',
65
44
  :'stream' => :'String',
66
- :'profiles' => :'Object'
45
+ :'profiles' => :'Object',
46
+ :'snippet' => :'String'
67
47
  }
68
48
  end
69
49
 
@@ -88,26 +68,6 @@ module PulpRpmClient
88
68
  h[k.to_sym] = v
89
69
  }
90
70
 
91
- if attributes.key?(:'artifact')
92
- self.artifact = attributes[:'artifact']
93
- end
94
-
95
- if attributes.key?(:'relative_path')
96
- self.relative_path = attributes[:'relative_path']
97
- end
98
-
99
- if attributes.key?(:'file')
100
- self.file = attributes[:'file']
101
- end
102
-
103
- if attributes.key?(:'repository')
104
- self.repository = attributes[:'repository']
105
- end
106
-
107
- if attributes.key?(:'upload')
108
- self.upload = attributes[:'upload']
109
- end
110
-
111
71
  if attributes.key?(:'_module')
112
72
  self._module = attributes[:'_module']
113
73
  end
@@ -119,20 +79,16 @@ module PulpRpmClient
119
79
  if attributes.key?(:'profiles')
120
80
  self.profiles = attributes[:'profiles']
121
81
  end
82
+
83
+ if attributes.key?(:'snippet')
84
+ self.snippet = attributes[:'snippet']
85
+ end
122
86
  end
123
87
 
124
88
  # Show invalid properties with the reasons. Usually used together with valid?
125
89
  # @return Array for valid properties with the reasons
126
90
  def list_invalid_properties
127
91
  invalid_properties = Array.new
128
- if @relative_path.nil?
129
- invalid_properties.push('invalid value for "relative_path", relative_path cannot be nil.')
130
- end
131
-
132
- if @relative_path.to_s.length < 1
133
- invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
134
- end
135
-
136
92
  if @_module.nil?
137
93
  invalid_properties.push('invalid value for "_module", _module cannot be nil.')
138
94
  end
@@ -153,36 +109,30 @@ module PulpRpmClient
153
109
  invalid_properties.push('invalid value for "profiles", profiles cannot be nil.')
154
110
  end
155
111
 
112
+ if @snippet.nil?
113
+ invalid_properties.push('invalid value for "snippet", snippet cannot be nil.')
114
+ end
115
+
116
+ if @snippet.to_s.length < 1
117
+ invalid_properties.push('invalid value for "snippet", the character length must be great than or equal to 1.')
118
+ end
119
+
156
120
  invalid_properties
157
121
  end
158
122
 
159
123
  # Check to see if the all the properties in the model are valid
160
124
  # @return true if the model is valid
161
125
  def valid?
162
- return false if @relative_path.nil?
163
- return false if @relative_path.to_s.length < 1
164
126
  return false if @_module.nil?
165
127
  return false if @_module.to_s.length < 1
166
128
  return false if @stream.nil?
167
129
  return false if @stream.to_s.length < 1
168
130
  return false if @profiles.nil?
131
+ return false if @snippet.nil?
132
+ return false if @snippet.to_s.length < 1
169
133
  true
170
134
  end
171
135
 
172
- # Custom attribute writer method with validation
173
- # @param [Object] relative_path Value to be assigned
174
- def relative_path=(relative_path)
175
- if relative_path.nil?
176
- fail ArgumentError, 'relative_path cannot be nil'
177
- end
178
-
179
- if relative_path.to_s.length < 1
180
- fail ArgumentError, 'invalid value for "relative_path", the character length must be great than or equal to 1.'
181
- end
182
-
183
- @relative_path = relative_path
184
- end
185
-
186
136
  # Custom attribute writer method with validation
187
137
  # @param [Object] _module Value to be assigned
188
138
  def _module=(_module)
@@ -211,19 +161,29 @@ module PulpRpmClient
211
161
  @stream = stream
212
162
  end
213
163
 
164
+ # Custom attribute writer method with validation
165
+ # @param [Object] snippet Value to be assigned
166
+ def snippet=(snippet)
167
+ if snippet.nil?
168
+ fail ArgumentError, 'snippet cannot be nil'
169
+ end
170
+
171
+ if snippet.to_s.length < 1
172
+ fail ArgumentError, 'invalid value for "snippet", the character length must be great than or equal to 1.'
173
+ end
174
+
175
+ @snippet = snippet
176
+ end
177
+
214
178
  # Checks equality by comparing each attribute.
215
179
  # @param [Object] Object to be compared
216
180
  def ==(o)
217
181
  return true if self.equal?(o)
218
182
  self.class == o.class &&
219
- artifact == o.artifact &&
220
- relative_path == o.relative_path &&
221
- file == o.file &&
222
- repository == o.repository &&
223
- upload == o.upload &&
224
183
  _module == o._module &&
225
184
  stream == o.stream &&
226
- profiles == o.profiles
185
+ profiles == o.profiles &&
186
+ snippet == o.snippet
227
187
  end
228
188
 
229
189
  # @see the `==` method
@@ -235,7 +195,7 @@ module PulpRpmClient
235
195
  # Calculates hash code according to all attributes.
236
196
  # @return [Integer] Hash code
237
197
  def hash
238
- [artifact, relative_path, file, repository, upload, _module, stream, profiles].hash
198
+ [_module, stream, profiles, snippet].hash
239
199
  end
240
200
 
241
201
  # Builds the object from hash
@@ -20,27 +20,6 @@ module PulpRpmClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
- # The MD5 checksum if available.
24
- attr_accessor :md5
25
-
26
- # The SHA-1 checksum if available.
27
- attr_accessor :sha1
28
-
29
- # The SHA-224 checksum if available.
30
- attr_accessor :sha224
31
-
32
- # The SHA-256 checksum if available.
33
- attr_accessor :sha256
34
-
35
- # The SHA-384 checksum if available.
36
- attr_accessor :sha384
37
-
38
- # The SHA-512 checksum if available.
39
- attr_accessor :sha512
40
-
41
- # Artifact file representing the physical content
42
- attr_accessor :artifact
43
-
44
23
  # Modulemd name.
45
24
  attr_accessor :_module
46
25
 
@@ -55,13 +34,6 @@ module PulpRpmClient
55
34
  {
56
35
  :'pulp_href' => :'pulp_href',
57
36
  :'pulp_created' => :'pulp_created',
58
- :'md5' => :'md5',
59
- :'sha1' => :'sha1',
60
- :'sha224' => :'sha224',
61
- :'sha256' => :'sha256',
62
- :'sha384' => :'sha384',
63
- :'sha512' => :'sha512',
64
- :'artifact' => :'artifact',
65
37
  :'_module' => :'module',
66
38
  :'stream' => :'stream',
67
39
  :'profiles' => :'profiles'
@@ -73,13 +45,6 @@ module PulpRpmClient
73
45
  {
74
46
  :'pulp_href' => :'String',
75
47
  :'pulp_created' => :'DateTime',
76
- :'md5' => :'String',
77
- :'sha1' => :'String',
78
- :'sha224' => :'String',
79
- :'sha256' => :'String',
80
- :'sha384' => :'String',
81
- :'sha512' => :'String',
82
- :'artifact' => :'String',
83
48
  :'_module' => :'String',
84
49
  :'stream' => :'String',
85
50
  :'profiles' => :'Object'
@@ -115,34 +80,6 @@ module PulpRpmClient
115
80
  self.pulp_created = attributes[:'pulp_created']
116
81
  end
117
82
 
118
- if attributes.key?(:'md5')
119
- self.md5 = attributes[:'md5']
120
- end
121
-
122
- if attributes.key?(:'sha1')
123
- self.sha1 = attributes[:'sha1']
124
- end
125
-
126
- if attributes.key?(:'sha224')
127
- self.sha224 = attributes[:'sha224']
128
- end
129
-
130
- if attributes.key?(:'sha256')
131
- self.sha256 = attributes[:'sha256']
132
- end
133
-
134
- if attributes.key?(:'sha384')
135
- self.sha384 = attributes[:'sha384']
136
- end
137
-
138
- if attributes.key?(:'sha512')
139
- self.sha512 = attributes[:'sha512']
140
- end
141
-
142
- if attributes.key?(:'artifact')
143
- self.artifact = attributes[:'artifact']
144
- end
145
-
146
83
  if attributes.key?(:'_module')
147
84
  self._module = attributes[:'_module']
148
85
  end
@@ -191,13 +128,6 @@ module PulpRpmClient
191
128
  self.class == o.class &&
192
129
  pulp_href == o.pulp_href &&
193
130
  pulp_created == o.pulp_created &&
194
- md5 == o.md5 &&
195
- sha1 == o.sha1 &&
196
- sha224 == o.sha224 &&
197
- sha256 == o.sha256 &&
198
- sha384 == o.sha384 &&
199
- sha512 == o.sha512 &&
200
- artifact == o.artifact &&
201
131
  _module == o._module &&
202
132
  stream == o.stream &&
203
133
  profiles == o.profiles
@@ -212,7 +142,7 @@ module PulpRpmClient
212
142
  # Calculates hash code according to all attributes.
213
143
  # @return [Integer] Hash code
214
144
  def hash
215
- [pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, artifact, _module, stream, profiles].hash
145
+ [pulp_href, pulp_created, _module, stream, profiles].hash
216
146
  end
217
147
 
218
148
  # Builds the object from hash