pulp_rpm_client 3.8.0 → 3.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/DistributionsRpmApi.md +8 -0
- data/docs/PatchedrpmRpmDistribution.md +2 -0
- data/docs/PatchedrpmRpmRemote.md +12 -0
- data/docs/PatchedrpmRpmRepository.md +3 -1
- data/docs/RemotesRpmApi.md +8 -0
- data/docs/RepositoriesRpmApi.md +8 -0
- data/docs/RepositoriesRpmVersionsApi.md +2 -2
- data/docs/RpmModulemdDefaultsResponse.md +13 -3
- data/docs/RpmModulemdResponse.md +13 -3
- data/docs/RpmPackageResponse.md +12 -2
- data/docs/RpmRepoMetadataFileResponse.md +13 -3
- data/docs/RpmRpmDistribution.md +2 -0
- data/docs/RpmRpmDistributionResponse.md +2 -0
- data/docs/RpmRpmPublication.md +3 -1
- data/docs/RpmRpmPublicationResponse.md +3 -1
- data/docs/RpmRpmRemote.md +12 -0
- data/docs/RpmRpmRemoteResponse.md +12 -0
- data/docs/RpmRpmRepository.md +3 -1
- data/docs/RpmRpmRepositoryResponse.md +2 -0
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +12 -0
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +12 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +12 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +4 -4
- data/lib/pulp_rpm_client/models/image_response.rb +1 -5
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +10 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +125 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +10 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +64 -14
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +64 -14
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +61 -11
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +64 -14
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +10 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +10 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +16 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +16 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +125 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +125 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +10 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +10 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/distributions_rpm_api_spec.rb +4 -0
- data/spec/api/remotes_rpm_api_spec.rb +4 -0
- data/spec/api/repositories_rpm_api_spec.rb +4 -0
- data/spec/api/repositories_rpm_versions_api_spec.rb +2 -2
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/patchedrpm_rpm_remote_spec.rb +36 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +6 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +35 -5
- data/spec/models/rpm_modulemd_response_spec.rb +36 -6
- data/spec/models/rpm_package_response_spec.rb +36 -6
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +36 -6
- data/spec/models/rpm_rpm_distribution_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_spec.rb +6 -0
- data/spec/models/rpm_rpm_remote_response_spec.rb +36 -0
- data/spec/models/rpm_rpm_remote_spec.rb +36 -0
- data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_spec.rb +6 -0
- metadata +58 -58
@@ -20,6 +20,24 @@ 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
|
+
|
23
41
|
# Artifact file representing the physical content
|
24
42
|
attr_accessor :artifact
|
25
43
|
|
@@ -47,14 +65,17 @@ module PulpRpmClient
|
|
47
65
|
# Modulemd artifacts' packages.
|
48
66
|
attr_accessor :packages
|
49
67
|
|
50
|
-
# The SHA-256 checksum if available.
|
51
|
-
attr_accessor :sha256
|
52
|
-
|
53
68
|
# Attribute mapping from ruby-style variable name to JSON key.
|
54
69
|
def self.attribute_map
|
55
70
|
{
|
56
71
|
:'pulp_href' => :'pulp_href',
|
57
72
|
:'pulp_created' => :'pulp_created',
|
73
|
+
:'md5' => :'md5',
|
74
|
+
:'sha1' => :'sha1',
|
75
|
+
:'sha224' => :'sha224',
|
76
|
+
:'sha256' => :'sha256',
|
77
|
+
:'sha384' => :'sha384',
|
78
|
+
:'sha512' => :'sha512',
|
58
79
|
:'artifact' => :'artifact',
|
59
80
|
:'name' => :'name',
|
60
81
|
:'stream' => :'stream',
|
@@ -63,8 +84,7 @@ module PulpRpmClient
|
|
63
84
|
:'arch' => :'arch',
|
64
85
|
:'artifacts' => :'artifacts',
|
65
86
|
:'dependencies' => :'dependencies',
|
66
|
-
:'packages' => :'packages'
|
67
|
-
:'sha256' => :'sha256'
|
87
|
+
:'packages' => :'packages'
|
68
88
|
}
|
69
89
|
end
|
70
90
|
|
@@ -73,6 +93,12 @@ module PulpRpmClient
|
|
73
93
|
{
|
74
94
|
:'pulp_href' => :'String',
|
75
95
|
:'pulp_created' => :'DateTime',
|
96
|
+
:'md5' => :'String',
|
97
|
+
:'sha1' => :'String',
|
98
|
+
:'sha224' => :'String',
|
99
|
+
:'sha256' => :'String',
|
100
|
+
:'sha384' => :'String',
|
101
|
+
:'sha512' => :'String',
|
76
102
|
:'artifact' => :'String',
|
77
103
|
:'name' => :'String',
|
78
104
|
:'stream' => :'String',
|
@@ -81,8 +107,7 @@ module PulpRpmClient
|
|
81
107
|
:'arch' => :'String',
|
82
108
|
:'artifacts' => :'Object',
|
83
109
|
:'dependencies' => :'Object',
|
84
|
-
:'packages' => :'Array<String>'
|
85
|
-
:'sha256' => :'String'
|
110
|
+
:'packages' => :'Array<String>'
|
86
111
|
}
|
87
112
|
end
|
88
113
|
|
@@ -117,6 +142,30 @@ module PulpRpmClient
|
|
117
142
|
self.pulp_created = attributes[:'pulp_created']
|
118
143
|
end
|
119
144
|
|
145
|
+
if attributes.key?(:'md5')
|
146
|
+
self.md5 = attributes[:'md5']
|
147
|
+
end
|
148
|
+
|
149
|
+
if attributes.key?(:'sha1')
|
150
|
+
self.sha1 = attributes[:'sha1']
|
151
|
+
end
|
152
|
+
|
153
|
+
if attributes.key?(:'sha224')
|
154
|
+
self.sha224 = attributes[:'sha224']
|
155
|
+
end
|
156
|
+
|
157
|
+
if attributes.key?(:'sha256')
|
158
|
+
self.sha256 = attributes[:'sha256']
|
159
|
+
end
|
160
|
+
|
161
|
+
if attributes.key?(:'sha384')
|
162
|
+
self.sha384 = attributes[:'sha384']
|
163
|
+
end
|
164
|
+
|
165
|
+
if attributes.key?(:'sha512')
|
166
|
+
self.sha512 = attributes[:'sha512']
|
167
|
+
end
|
168
|
+
|
120
169
|
if attributes.key?(:'artifact')
|
121
170
|
self.artifact = attributes[:'artifact']
|
122
171
|
end
|
@@ -154,10 +203,6 @@ module PulpRpmClient
|
|
154
203
|
self.packages = value
|
155
204
|
end
|
156
205
|
end
|
157
|
-
|
158
|
-
if attributes.key?(:'sha256')
|
159
|
-
self.sha256 = attributes[:'sha256']
|
160
|
-
end
|
161
206
|
end
|
162
207
|
|
163
208
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -205,6 +250,12 @@ module PulpRpmClient
|
|
205
250
|
self.class == o.class &&
|
206
251
|
pulp_href == o.pulp_href &&
|
207
252
|
pulp_created == o.pulp_created &&
|
253
|
+
md5 == o.md5 &&
|
254
|
+
sha1 == o.sha1 &&
|
255
|
+
sha224 == o.sha224 &&
|
256
|
+
sha256 == o.sha256 &&
|
257
|
+
sha384 == o.sha384 &&
|
258
|
+
sha512 == o.sha512 &&
|
208
259
|
artifact == o.artifact &&
|
209
260
|
name == o.name &&
|
210
261
|
stream == o.stream &&
|
@@ -213,8 +264,7 @@ module PulpRpmClient
|
|
213
264
|
arch == o.arch &&
|
214
265
|
artifacts == o.artifacts &&
|
215
266
|
dependencies == o.dependencies &&
|
216
|
-
packages == o.packages
|
217
|
-
sha256 == o.sha256
|
267
|
+
packages == o.packages
|
218
268
|
end
|
219
269
|
|
220
270
|
# @see the `==` method
|
@@ -226,7 +276,7 @@ module PulpRpmClient
|
|
226
276
|
# Calculates hash code according to all attributes.
|
227
277
|
# @return [Integer] Hash code
|
228
278
|
def hash
|
229
|
-
[pulp_href, pulp_created, artifact, name, stream, version, context, arch, artifacts, dependencies, packages
|
279
|
+
[pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, artifact, name, stream, version, context, arch, artifacts, dependencies, packages].hash
|
230
280
|
end
|
231
281
|
|
232
282
|
# Builds the object from hash
|
@@ -20,6 +20,24 @@ 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
|
+
|
23
41
|
# Artifact file representing the physical content
|
24
42
|
attr_accessor :artifact
|
25
43
|
|
@@ -80,9 +98,6 @@ module PulpRpmClient
|
|
80
98
|
# Capabilities the package recommends
|
81
99
|
attr_accessor :recommends
|
82
100
|
|
83
|
-
# The SHA-256 checksum if available.
|
84
|
-
attr_accessor :sha256
|
85
|
-
|
86
101
|
# Capabilities the package supplements
|
87
102
|
attr_accessor :supplements
|
88
103
|
|
@@ -139,6 +154,12 @@ module PulpRpmClient
|
|
139
154
|
{
|
140
155
|
:'pulp_href' => :'pulp_href',
|
141
156
|
:'pulp_created' => :'pulp_created',
|
157
|
+
:'md5' => :'md5',
|
158
|
+
:'sha1' => :'sha1',
|
159
|
+
:'sha224' => :'sha224',
|
160
|
+
:'sha256' => :'sha256',
|
161
|
+
:'sha384' => :'sha384',
|
162
|
+
:'sha512' => :'sha512',
|
142
163
|
:'artifact' => :'artifact',
|
143
164
|
:'name' => :'name',
|
144
165
|
:'epoch' => :'epoch',
|
@@ -159,7 +180,6 @@ module PulpRpmClient
|
|
159
180
|
:'suggests' => :'suggests',
|
160
181
|
:'enhances' => :'enhances',
|
161
182
|
:'recommends' => :'recommends',
|
162
|
-
:'sha256' => :'sha256',
|
163
183
|
:'supplements' => :'supplements',
|
164
184
|
:'location_base' => :'location_base',
|
165
185
|
:'location_href' => :'location_href',
|
@@ -185,6 +205,12 @@ module PulpRpmClient
|
|
185
205
|
{
|
186
206
|
:'pulp_href' => :'String',
|
187
207
|
:'pulp_created' => :'DateTime',
|
208
|
+
:'md5' => :'String',
|
209
|
+
:'sha1' => :'String',
|
210
|
+
:'sha224' => :'String',
|
211
|
+
:'sha256' => :'String',
|
212
|
+
:'sha384' => :'String',
|
213
|
+
:'sha512' => :'String',
|
188
214
|
:'artifact' => :'String',
|
189
215
|
:'name' => :'String',
|
190
216
|
:'epoch' => :'String',
|
@@ -205,7 +231,6 @@ module PulpRpmClient
|
|
205
231
|
:'suggests' => :'Object',
|
206
232
|
:'enhances' => :'Object',
|
207
233
|
:'recommends' => :'Object',
|
208
|
-
:'sha256' => :'String',
|
209
234
|
:'supplements' => :'Object',
|
210
235
|
:'location_base' => :'String',
|
211
236
|
:'location_href' => :'String',
|
@@ -255,6 +280,30 @@ module PulpRpmClient
|
|
255
280
|
self.pulp_created = attributes[:'pulp_created']
|
256
281
|
end
|
257
282
|
|
283
|
+
if attributes.key?(:'md5')
|
284
|
+
self.md5 = attributes[:'md5']
|
285
|
+
end
|
286
|
+
|
287
|
+
if attributes.key?(:'sha1')
|
288
|
+
self.sha1 = attributes[:'sha1']
|
289
|
+
end
|
290
|
+
|
291
|
+
if attributes.key?(:'sha224')
|
292
|
+
self.sha224 = attributes[:'sha224']
|
293
|
+
end
|
294
|
+
|
295
|
+
if attributes.key?(:'sha256')
|
296
|
+
self.sha256 = attributes[:'sha256']
|
297
|
+
end
|
298
|
+
|
299
|
+
if attributes.key?(:'sha384')
|
300
|
+
self.sha384 = attributes[:'sha384']
|
301
|
+
end
|
302
|
+
|
303
|
+
if attributes.key?(:'sha512')
|
304
|
+
self.sha512 = attributes[:'sha512']
|
305
|
+
end
|
306
|
+
|
258
307
|
if attributes.key?(:'artifact')
|
259
308
|
self.artifact = attributes[:'artifact']
|
260
309
|
end
|
@@ -335,10 +384,6 @@ module PulpRpmClient
|
|
335
384
|
self.recommends = attributes[:'recommends']
|
336
385
|
end
|
337
386
|
|
338
|
-
if attributes.key?(:'sha256')
|
339
|
-
self.sha256 = attributes[:'sha256']
|
340
|
-
end
|
341
|
-
|
342
387
|
if attributes.key?(:'supplements')
|
343
388
|
self.supplements = attributes[:'supplements']
|
344
389
|
end
|
@@ -428,6 +473,12 @@ module PulpRpmClient
|
|
428
473
|
self.class == o.class &&
|
429
474
|
pulp_href == o.pulp_href &&
|
430
475
|
pulp_created == o.pulp_created &&
|
476
|
+
md5 == o.md5 &&
|
477
|
+
sha1 == o.sha1 &&
|
478
|
+
sha224 == o.sha224 &&
|
479
|
+
sha256 == o.sha256 &&
|
480
|
+
sha384 == o.sha384 &&
|
481
|
+
sha512 == o.sha512 &&
|
431
482
|
artifact == o.artifact &&
|
432
483
|
name == o.name &&
|
433
484
|
epoch == o.epoch &&
|
@@ -448,7 +499,6 @@ module PulpRpmClient
|
|
448
499
|
suggests == o.suggests &&
|
449
500
|
enhances == o.enhances &&
|
450
501
|
recommends == o.recommends &&
|
451
|
-
sha256 == o.sha256 &&
|
452
502
|
supplements == o.supplements &&
|
453
503
|
location_base == o.location_base &&
|
454
504
|
location_href == o.location_href &&
|
@@ -477,7 +527,7 @@ module PulpRpmClient
|
|
477
527
|
# Calculates hash code according to all attributes.
|
478
528
|
# @return [Integer] Hash code
|
479
529
|
def hash
|
480
|
-
[pulp_href, pulp_created, artifact, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends,
|
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
|
481
531
|
end
|
482
532
|
|
483
533
|
# Builds the object from hash
|
@@ -20,6 +20,24 @@ 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
|
+
|
23
41
|
# Artifact file representing the physical content
|
24
42
|
attr_accessor :artifact
|
25
43
|
|
@@ -35,20 +53,22 @@ module PulpRpmClient
|
|
35
53
|
# Checksum for the file.
|
36
54
|
attr_accessor :checksum
|
37
55
|
|
38
|
-
# The SHA-256 checksum if available.
|
39
|
-
attr_accessor :sha256
|
40
|
-
|
41
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
57
|
def self.attribute_map
|
43
58
|
{
|
44
59
|
:'pulp_href' => :'pulp_href',
|
45
60
|
:'pulp_created' => :'pulp_created',
|
61
|
+
:'md5' => :'md5',
|
62
|
+
:'sha1' => :'sha1',
|
63
|
+
:'sha224' => :'sha224',
|
64
|
+
:'sha256' => :'sha256',
|
65
|
+
:'sha384' => :'sha384',
|
66
|
+
:'sha512' => :'sha512',
|
46
67
|
:'artifact' => :'artifact',
|
47
68
|
:'relative_path' => :'relative_path',
|
48
69
|
:'data_type' => :'data_type',
|
49
70
|
:'checksum_type' => :'checksum_type',
|
50
|
-
:'checksum' => :'checksum'
|
51
|
-
:'sha256' => :'sha256'
|
71
|
+
:'checksum' => :'checksum'
|
52
72
|
}
|
53
73
|
end
|
54
74
|
|
@@ -57,12 +77,17 @@ module PulpRpmClient
|
|
57
77
|
{
|
58
78
|
:'pulp_href' => :'String',
|
59
79
|
:'pulp_created' => :'DateTime',
|
80
|
+
:'md5' => :'String',
|
81
|
+
:'sha1' => :'String',
|
82
|
+
:'sha224' => :'String',
|
83
|
+
:'sha256' => :'String',
|
84
|
+
:'sha384' => :'String',
|
85
|
+
:'sha512' => :'String',
|
60
86
|
:'artifact' => :'String',
|
61
87
|
:'relative_path' => :'String',
|
62
88
|
:'data_type' => :'String',
|
63
89
|
:'checksum_type' => :'String',
|
64
|
-
:'checksum' => :'String'
|
65
|
-
:'sha256' => :'String'
|
90
|
+
:'checksum' => :'String'
|
66
91
|
}
|
67
92
|
end
|
68
93
|
|
@@ -95,6 +120,30 @@ module PulpRpmClient
|
|
95
120
|
self.pulp_created = attributes[:'pulp_created']
|
96
121
|
end
|
97
122
|
|
123
|
+
if attributes.key?(:'md5')
|
124
|
+
self.md5 = attributes[:'md5']
|
125
|
+
end
|
126
|
+
|
127
|
+
if attributes.key?(:'sha1')
|
128
|
+
self.sha1 = attributes[:'sha1']
|
129
|
+
end
|
130
|
+
|
131
|
+
if attributes.key?(:'sha224')
|
132
|
+
self.sha224 = attributes[:'sha224']
|
133
|
+
end
|
134
|
+
|
135
|
+
if attributes.key?(:'sha256')
|
136
|
+
self.sha256 = attributes[:'sha256']
|
137
|
+
end
|
138
|
+
|
139
|
+
if attributes.key?(:'sha384')
|
140
|
+
self.sha384 = attributes[:'sha384']
|
141
|
+
end
|
142
|
+
|
143
|
+
if attributes.key?(:'sha512')
|
144
|
+
self.sha512 = attributes[:'sha512']
|
145
|
+
end
|
146
|
+
|
98
147
|
if attributes.key?(:'artifact')
|
99
148
|
self.artifact = attributes[:'artifact']
|
100
149
|
end
|
@@ -114,10 +163,6 @@ module PulpRpmClient
|
|
114
163
|
if attributes.key?(:'checksum')
|
115
164
|
self.checksum = attributes[:'checksum']
|
116
165
|
end
|
117
|
-
|
118
|
-
if attributes.key?(:'sha256')
|
119
|
-
self.sha256 = attributes[:'sha256']
|
120
|
-
end
|
121
166
|
end
|
122
167
|
|
123
168
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -160,12 +205,17 @@ module PulpRpmClient
|
|
160
205
|
self.class == o.class &&
|
161
206
|
pulp_href == o.pulp_href &&
|
162
207
|
pulp_created == o.pulp_created &&
|
208
|
+
md5 == o.md5 &&
|
209
|
+
sha1 == o.sha1 &&
|
210
|
+
sha224 == o.sha224 &&
|
211
|
+
sha256 == o.sha256 &&
|
212
|
+
sha384 == o.sha384 &&
|
213
|
+
sha512 == o.sha512 &&
|
163
214
|
artifact == o.artifact &&
|
164
215
|
relative_path == o.relative_path &&
|
165
216
|
data_type == o.data_type &&
|
166
217
|
checksum_type == o.checksum_type &&
|
167
|
-
checksum == o.checksum
|
168
|
-
sha256 == o.sha256
|
218
|
+
checksum == o.checksum
|
169
219
|
end
|
170
220
|
|
171
221
|
# @see the `==` method
|
@@ -177,7 +227,7 @@ module PulpRpmClient
|
|
177
227
|
# Calculates hash code according to all attributes.
|
178
228
|
# @return [Integer] Hash code
|
179
229
|
def hash
|
180
|
-
[pulp_href, pulp_created, artifact, relative_path, data_type, checksum_type, checksum
|
230
|
+
[pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, artifact, relative_path, data_type, checksum_type, checksum].hash
|
181
231
|
end
|
182
232
|
|
183
233
|
# Builds the object from hash
|
@@ -21,6 +21,8 @@ module PulpRpmClient
|
|
21
21
|
# An optional content-guard.
|
22
22
|
attr_accessor :content_guard
|
23
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
24
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
27
|
attr_accessor :name
|
26
28
|
|
@@ -32,6 +34,7 @@ module PulpRpmClient
|
|
32
34
|
{
|
33
35
|
:'base_path' => :'base_path',
|
34
36
|
:'content_guard' => :'content_guard',
|
37
|
+
:'pulp_labels' => :'pulp_labels',
|
35
38
|
:'name' => :'name',
|
36
39
|
:'publication' => :'publication'
|
37
40
|
}
|
@@ -42,6 +45,7 @@ module PulpRpmClient
|
|
42
45
|
{
|
43
46
|
:'base_path' => :'String',
|
44
47
|
:'content_guard' => :'String',
|
48
|
+
:'pulp_labels' => :'Object',
|
45
49
|
:'name' => :'String',
|
46
50
|
:'publication' => :'String'
|
47
51
|
}
|
@@ -78,6 +82,10 @@ module PulpRpmClient
|
|
78
82
|
self.content_guard = attributes[:'content_guard']
|
79
83
|
end
|
80
84
|
|
85
|
+
if attributes.key?(:'pulp_labels')
|
86
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
87
|
+
end
|
88
|
+
|
81
89
|
if attributes.key?(:'name')
|
82
90
|
self.name = attributes[:'name']
|
83
91
|
end
|
@@ -117,6 +125,7 @@ module PulpRpmClient
|
|
117
125
|
self.class == o.class &&
|
118
126
|
base_path == o.base_path &&
|
119
127
|
content_guard == o.content_guard &&
|
128
|
+
pulp_labels == o.pulp_labels &&
|
120
129
|
name == o.name &&
|
121
130
|
publication == o.publication
|
122
131
|
end
|
@@ -130,7 +139,7 @@ module PulpRpmClient
|
|
130
139
|
# Calculates hash code according to all attributes.
|
131
140
|
# @return [Integer] Hash code
|
132
141
|
def hash
|
133
|
-
[base_path, content_guard, name, publication].hash
|
142
|
+
[base_path, content_guard, pulp_labels, name, publication].hash
|
134
143
|
end
|
135
144
|
|
136
145
|
# Builds the object from hash
|
@@ -29,6 +29,8 @@ module PulpRpmClient
|
|
29
29
|
# An optional content-guard.
|
30
30
|
attr_accessor :content_guard
|
31
31
|
|
32
|
+
attr_accessor :pulp_labels
|
33
|
+
|
32
34
|
# A unique name. Ex, `rawhide` and `stable`.
|
33
35
|
attr_accessor :name
|
34
36
|
|
@@ -43,6 +45,7 @@ module PulpRpmClient
|
|
43
45
|
:'base_path' => :'base_path',
|
44
46
|
:'base_url' => :'base_url',
|
45
47
|
:'content_guard' => :'content_guard',
|
48
|
+
:'pulp_labels' => :'pulp_labels',
|
46
49
|
:'name' => :'name',
|
47
50
|
:'publication' => :'publication'
|
48
51
|
}
|
@@ -56,6 +59,7 @@ module PulpRpmClient
|
|
56
59
|
:'base_path' => :'String',
|
57
60
|
:'base_url' => :'String',
|
58
61
|
:'content_guard' => :'String',
|
62
|
+
:'pulp_labels' => :'Object',
|
59
63
|
:'name' => :'String',
|
60
64
|
:'publication' => :'String'
|
61
65
|
}
|
@@ -104,6 +108,10 @@ module PulpRpmClient
|
|
104
108
|
self.content_guard = attributes[:'content_guard']
|
105
109
|
end
|
106
110
|
|
111
|
+
if attributes.key?(:'pulp_labels')
|
112
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
113
|
+
end
|
114
|
+
|
107
115
|
if attributes.key?(:'name')
|
108
116
|
self.name = attributes[:'name']
|
109
117
|
end
|
@@ -146,6 +154,7 @@ module PulpRpmClient
|
|
146
154
|
base_path == o.base_path &&
|
147
155
|
base_url == o.base_url &&
|
148
156
|
content_guard == o.content_guard &&
|
157
|
+
pulp_labels == o.pulp_labels &&
|
149
158
|
name == o.name &&
|
150
159
|
publication == o.publication
|
151
160
|
end
|
@@ -159,7 +168,7 @@ module PulpRpmClient
|
|
159
168
|
# Calculates hash code according to all attributes.
|
160
169
|
# @return [Integer] Hash code
|
161
170
|
def hash
|
162
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard, name, publication].hash
|
171
|
+
[pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, publication].hash
|
163
172
|
end
|
164
173
|
|
165
174
|
# Builds the object from hash
|
@@ -32,6 +32,9 @@ module PulpRpmClient
|
|
32
32
|
# An option specifying whether a client should perform a GPG signature check on the repodata.
|
33
33
|
attr_accessor :repo_gpgcheck
|
34
34
|
|
35
|
+
# An option specifying whether Pulp should generate SQLite metadata.
|
36
|
+
attr_accessor :sqlite_metadata
|
37
|
+
|
35
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
39
|
def self.attribute_map
|
37
40
|
{
|
@@ -40,7 +43,8 @@ module PulpRpmClient
|
|
40
43
|
:'metadata_checksum_type' => :'metadata_checksum_type',
|
41
44
|
:'package_checksum_type' => :'package_checksum_type',
|
42
45
|
:'gpgcheck' => :'gpgcheck',
|
43
|
-
:'repo_gpgcheck' => :'repo_gpgcheck'
|
46
|
+
:'repo_gpgcheck' => :'repo_gpgcheck',
|
47
|
+
:'sqlite_metadata' => :'sqlite_metadata'
|
44
48
|
}
|
45
49
|
end
|
46
50
|
|
@@ -52,7 +56,8 @@ module PulpRpmClient
|
|
52
56
|
:'metadata_checksum_type' => :'MetadataChecksumTypeEnum',
|
53
57
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
54
58
|
:'gpgcheck' => :'Integer',
|
55
|
-
:'repo_gpgcheck' => :'Integer'
|
59
|
+
:'repo_gpgcheck' => :'Integer',
|
60
|
+
:'sqlite_metadata' => :'Boolean'
|
56
61
|
}
|
57
62
|
end
|
58
63
|
|
@@ -104,6 +109,12 @@ module PulpRpmClient
|
|
104
109
|
else
|
105
110
|
self.repo_gpgcheck = 0
|
106
111
|
end
|
112
|
+
|
113
|
+
if attributes.key?(:'sqlite_metadata')
|
114
|
+
self.sqlite_metadata = attributes[:'sqlite_metadata']
|
115
|
+
else
|
116
|
+
self.sqlite_metadata = false
|
117
|
+
end
|
107
118
|
end
|
108
119
|
|
109
120
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -177,7 +188,8 @@ module PulpRpmClient
|
|
177
188
|
metadata_checksum_type == o.metadata_checksum_type &&
|
178
189
|
package_checksum_type == o.package_checksum_type &&
|
179
190
|
gpgcheck == o.gpgcheck &&
|
180
|
-
repo_gpgcheck == o.repo_gpgcheck
|
191
|
+
repo_gpgcheck == o.repo_gpgcheck &&
|
192
|
+
sqlite_metadata == o.sqlite_metadata
|
181
193
|
end
|
182
194
|
|
183
195
|
# @see the `==` method
|
@@ -189,7 +201,7 @@ module PulpRpmClient
|
|
189
201
|
# Calculates hash code according to all attributes.
|
190
202
|
# @return [Integer] Hash code
|
191
203
|
def hash
|
192
|
-
[repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck].hash
|
204
|
+
[repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
|
193
205
|
end
|
194
206
|
|
195
207
|
# Builds the object from hash
|
@@ -37,6 +37,9 @@ module PulpRpmClient
|
|
37
37
|
# An option specifying whether a client should perform a GPG signature check on the repodata.
|
38
38
|
attr_accessor :repo_gpgcheck
|
39
39
|
|
40
|
+
# An option specifying whether Pulp should generate SQLite metadata.
|
41
|
+
attr_accessor :sqlite_metadata
|
42
|
+
|
40
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
44
|
def self.attribute_map
|
42
45
|
{
|
@@ -47,7 +50,8 @@ module PulpRpmClient
|
|
47
50
|
:'metadata_checksum_type' => :'metadata_checksum_type',
|
48
51
|
:'package_checksum_type' => :'package_checksum_type',
|
49
52
|
:'gpgcheck' => :'gpgcheck',
|
50
|
-
:'repo_gpgcheck' => :'repo_gpgcheck'
|
53
|
+
:'repo_gpgcheck' => :'repo_gpgcheck',
|
54
|
+
:'sqlite_metadata' => :'sqlite_metadata'
|
51
55
|
}
|
52
56
|
end
|
53
57
|
|
@@ -61,7 +65,8 @@ module PulpRpmClient
|
|
61
65
|
:'metadata_checksum_type' => :'MetadataChecksumTypeEnum',
|
62
66
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
63
67
|
:'gpgcheck' => :'Integer',
|
64
|
-
:'repo_gpgcheck' => :'Integer'
|
68
|
+
:'repo_gpgcheck' => :'Integer',
|
69
|
+
:'sqlite_metadata' => :'Boolean'
|
65
70
|
}
|
66
71
|
end
|
67
72
|
|
@@ -121,6 +126,12 @@ module PulpRpmClient
|
|
121
126
|
else
|
122
127
|
self.repo_gpgcheck = 0
|
123
128
|
end
|
129
|
+
|
130
|
+
if attributes.key?(:'sqlite_metadata')
|
131
|
+
self.sqlite_metadata = attributes[:'sqlite_metadata']
|
132
|
+
else
|
133
|
+
self.sqlite_metadata = false
|
134
|
+
end
|
124
135
|
end
|
125
136
|
|
126
137
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -196,7 +207,8 @@ module PulpRpmClient
|
|
196
207
|
metadata_checksum_type == o.metadata_checksum_type &&
|
197
208
|
package_checksum_type == o.package_checksum_type &&
|
198
209
|
gpgcheck == o.gpgcheck &&
|
199
|
-
repo_gpgcheck == o.repo_gpgcheck
|
210
|
+
repo_gpgcheck == o.repo_gpgcheck &&
|
211
|
+
sqlite_metadata == o.sqlite_metadata
|
200
212
|
end
|
201
213
|
|
202
214
|
# @see the `==` method
|
@@ -208,7 +220,7 @@ module PulpRpmClient
|
|
208
220
|
# Calculates hash code according to all attributes.
|
209
221
|
# @return [Integer] Hash code
|
210
222
|
def hash
|
211
|
-
[pulp_href, pulp_created, repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck].hash
|
223
|
+
[pulp_href, pulp_created, repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
|
212
224
|
end
|
213
225
|
|
214
226
|
# Builds the object from hash
|