pulp_deb_client 3.6.0 → 3.7.1
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentInstallerPackagesApi.md +2 -2
- data/docs/ContentPackagesApi.md +2 -2
- data/docs/Copy.md +1 -1
- data/docs/DebAptRemoteResponse.md +1 -1
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DistributionsAptApi.md +10 -10
- data/docs/RemotesAptApi.md +10 -10
- data/docs/RepositoriesAptApi.md +10 -10
- data/docs/RepositoryVersionResponse.md +3 -1
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +8 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +8 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +10 -10
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +10 -10
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +10 -10
- data/lib/pulp_deb_client/models/copy.rb +0 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +0 -15
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +0 -15
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +0 -15
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +0 -15
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +10 -1
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +0 -15
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +0 -15
- data/lib/pulp_deb_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/distributions_apt_api_spec.rb +4 -4
- data/spec/api/remotes_apt_api_spec.rb +4 -4
- data/spec/api/repositories_apt_api_spec.rb +4 -4
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +74 -74
|
@@ -30,6 +30,8 @@ module PulpDebClient
|
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
31
|
attr_accessor :pulp_labels
|
|
32
32
|
|
|
33
|
+
attr_accessor :vuln_report
|
|
34
|
+
|
|
33
35
|
# Artifact file representing the physical content
|
|
34
36
|
attr_accessor :artifact
|
|
35
37
|
|
|
@@ -126,6 +128,7 @@ module PulpDebClient
|
|
|
126
128
|
:'pulp_created' => :'pulp_created',
|
|
127
129
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
128
130
|
:'pulp_labels' => :'pulp_labels',
|
|
131
|
+
:'vuln_report' => :'vuln_report',
|
|
129
132
|
:'artifact' => :'artifact',
|
|
130
133
|
:'relative_path' => :'relative_path',
|
|
131
134
|
:'distribution' => :'distribution',
|
|
@@ -181,6 +184,7 @@ module PulpDebClient
|
|
|
181
184
|
:'pulp_created' => :'Time',
|
|
182
185
|
:'pulp_last_updated' => :'Time',
|
|
183
186
|
:'pulp_labels' => :'Hash<String, String>',
|
|
187
|
+
:'vuln_report' => :'String',
|
|
184
188
|
:'artifact' => :'String',
|
|
185
189
|
:'relative_path' => :'String',
|
|
186
190
|
:'distribution' => :'String',
|
|
@@ -266,6 +270,10 @@ module PulpDebClient
|
|
|
266
270
|
end
|
|
267
271
|
end
|
|
268
272
|
|
|
273
|
+
if attributes.key?(:'vuln_report')
|
|
274
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
275
|
+
end
|
|
276
|
+
|
|
269
277
|
if attributes.key?(:'artifact')
|
|
270
278
|
self.artifact = attributes[:'artifact']
|
|
271
279
|
end
|
|
@@ -448,6 +456,7 @@ module PulpDebClient
|
|
|
448
456
|
pulp_created == o.pulp_created &&
|
|
449
457
|
pulp_last_updated == o.pulp_last_updated &&
|
|
450
458
|
pulp_labels == o.pulp_labels &&
|
|
459
|
+
vuln_report == o.vuln_report &&
|
|
451
460
|
artifact == o.artifact &&
|
|
452
461
|
relative_path == o.relative_path &&
|
|
453
462
|
distribution == o.distribution &&
|
|
@@ -498,7 +507,7 @@ module PulpDebClient
|
|
|
498
507
|
# Calculates hash code according to all attributes.
|
|
499
508
|
# @return [Integer] Hash code
|
|
500
509
|
def hash
|
|
501
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, distribution, component, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
|
|
510
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, relative_path, distribution, component, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
|
|
502
511
|
end
|
|
503
512
|
|
|
504
513
|
# Builds the object from hash
|
|
@@ -30,6 +30,8 @@ module PulpDebClient
|
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
31
|
attr_accessor :pulp_labels
|
|
32
32
|
|
|
33
|
+
attr_accessor :vuln_report
|
|
34
|
+
|
|
33
35
|
# Name of the architecture.
|
|
34
36
|
attr_accessor :architecture
|
|
35
37
|
|
|
@@ -44,6 +46,7 @@ module PulpDebClient
|
|
|
44
46
|
:'pulp_created' => :'pulp_created',
|
|
45
47
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
46
48
|
:'pulp_labels' => :'pulp_labels',
|
|
49
|
+
:'vuln_report' => :'vuln_report',
|
|
47
50
|
:'architecture' => :'architecture',
|
|
48
51
|
:'distribution' => :'distribution'
|
|
49
52
|
}
|
|
@@ -62,6 +65,7 @@ module PulpDebClient
|
|
|
62
65
|
:'pulp_created' => :'Time',
|
|
63
66
|
:'pulp_last_updated' => :'Time',
|
|
64
67
|
:'pulp_labels' => :'Hash<String, String>',
|
|
68
|
+
:'vuln_report' => :'String',
|
|
65
69
|
:'architecture' => :'String',
|
|
66
70
|
:'distribution' => :'String'
|
|
67
71
|
}
|
|
@@ -110,6 +114,10 @@ module PulpDebClient
|
|
|
110
114
|
end
|
|
111
115
|
end
|
|
112
116
|
|
|
117
|
+
if attributes.key?(:'vuln_report')
|
|
118
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
119
|
+
end
|
|
120
|
+
|
|
113
121
|
if attributes.key?(:'architecture')
|
|
114
122
|
self.architecture = attributes[:'architecture']
|
|
115
123
|
else
|
|
@@ -158,6 +166,7 @@ module PulpDebClient
|
|
|
158
166
|
pulp_created == o.pulp_created &&
|
|
159
167
|
pulp_last_updated == o.pulp_last_updated &&
|
|
160
168
|
pulp_labels == o.pulp_labels &&
|
|
169
|
+
vuln_report == o.vuln_report &&
|
|
161
170
|
architecture == o.architecture &&
|
|
162
171
|
distribution == o.distribution
|
|
163
172
|
end
|
|
@@ -171,7 +180,7 @@ module PulpDebClient
|
|
|
171
180
|
# Calculates hash code according to all attributes.
|
|
172
181
|
# @return [Integer] Hash code
|
|
173
182
|
def hash
|
|
174
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, architecture, distribution].hash
|
|
183
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, architecture, distribution].hash
|
|
175
184
|
end
|
|
176
185
|
|
|
177
186
|
# Builds the object from hash
|
|
@@ -30,6 +30,8 @@ module PulpDebClient
|
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
31
|
attr_accessor :pulp_labels
|
|
32
32
|
|
|
33
|
+
attr_accessor :vuln_report
|
|
34
|
+
|
|
33
35
|
# Name of the component.
|
|
34
36
|
attr_accessor :component
|
|
35
37
|
|
|
@@ -47,6 +49,7 @@ module PulpDebClient
|
|
|
47
49
|
:'pulp_created' => :'pulp_created',
|
|
48
50
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
49
51
|
:'pulp_labels' => :'pulp_labels',
|
|
52
|
+
:'vuln_report' => :'vuln_report',
|
|
50
53
|
:'component' => :'component',
|
|
51
54
|
:'distribution' => :'distribution',
|
|
52
55
|
:'plain_component' => :'plain_component'
|
|
@@ -66,6 +69,7 @@ module PulpDebClient
|
|
|
66
69
|
:'pulp_created' => :'Time',
|
|
67
70
|
:'pulp_last_updated' => :'Time',
|
|
68
71
|
:'pulp_labels' => :'Hash<String, String>',
|
|
72
|
+
:'vuln_report' => :'String',
|
|
69
73
|
:'component' => :'String',
|
|
70
74
|
:'distribution' => :'String',
|
|
71
75
|
:'plain_component' => :'String'
|
|
@@ -115,6 +119,10 @@ module PulpDebClient
|
|
|
115
119
|
end
|
|
116
120
|
end
|
|
117
121
|
|
|
122
|
+
if attributes.key?(:'vuln_report')
|
|
123
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
124
|
+
end
|
|
125
|
+
|
|
118
126
|
if attributes.key?(:'component')
|
|
119
127
|
self.component = attributes[:'component']
|
|
120
128
|
else
|
|
@@ -167,6 +175,7 @@ module PulpDebClient
|
|
|
167
175
|
pulp_created == o.pulp_created &&
|
|
168
176
|
pulp_last_updated == o.pulp_last_updated &&
|
|
169
177
|
pulp_labels == o.pulp_labels &&
|
|
178
|
+
vuln_report == o.vuln_report &&
|
|
170
179
|
component == o.component &&
|
|
171
180
|
distribution == o.distribution &&
|
|
172
181
|
plain_component == o.plain_component
|
|
@@ -181,7 +190,7 @@ module PulpDebClient
|
|
|
181
190
|
# Calculates hash code according to all attributes.
|
|
182
191
|
# @return [Integer] Hash code
|
|
183
192
|
def hash
|
|
184
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, component, distribution, plain_component].hash
|
|
193
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, component, distribution, plain_component].hash
|
|
185
194
|
end
|
|
186
195
|
|
|
187
196
|
# Builds the object from hash
|
|
@@ -30,6 +30,8 @@ module PulpDebClient
|
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
31
|
attr_accessor :pulp_labels
|
|
32
32
|
|
|
33
|
+
attr_accessor :vuln_report
|
|
34
|
+
|
|
33
35
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
|
34
36
|
attr_accessor :artifacts
|
|
35
37
|
|
|
@@ -53,6 +55,7 @@ module PulpDebClient
|
|
|
53
55
|
:'pulp_created' => :'pulp_created',
|
|
54
56
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
55
57
|
:'pulp_labels' => :'pulp_labels',
|
|
58
|
+
:'vuln_report' => :'vuln_report',
|
|
56
59
|
:'artifacts' => :'artifacts',
|
|
57
60
|
:'codename' => :'codename',
|
|
58
61
|
:'suite' => :'suite',
|
|
@@ -74,6 +77,7 @@ module PulpDebClient
|
|
|
74
77
|
:'pulp_created' => :'Time',
|
|
75
78
|
:'pulp_last_updated' => :'Time',
|
|
76
79
|
:'pulp_labels' => :'Hash<String, String>',
|
|
80
|
+
:'vuln_report' => :'String',
|
|
77
81
|
:'artifacts' => :'Object',
|
|
78
82
|
:'codename' => :'String',
|
|
79
83
|
:'suite' => :'String',
|
|
@@ -125,6 +129,10 @@ module PulpDebClient
|
|
|
125
129
|
end
|
|
126
130
|
end
|
|
127
131
|
|
|
132
|
+
if attributes.key?(:'vuln_report')
|
|
133
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
134
|
+
end
|
|
135
|
+
|
|
128
136
|
if attributes.key?(:'artifacts')
|
|
129
137
|
self.artifacts = attributes[:'artifacts']
|
|
130
138
|
else
|
|
@@ -185,6 +193,7 @@ module PulpDebClient
|
|
|
185
193
|
pulp_created == o.pulp_created &&
|
|
186
194
|
pulp_last_updated == o.pulp_last_updated &&
|
|
187
195
|
pulp_labels == o.pulp_labels &&
|
|
196
|
+
vuln_report == o.vuln_report &&
|
|
188
197
|
artifacts == o.artifacts &&
|
|
189
198
|
codename == o.codename &&
|
|
190
199
|
suite == o.suite &&
|
|
@@ -201,7 +210,7 @@ module PulpDebClient
|
|
|
201
210
|
# Calculates hash code according to all attributes.
|
|
202
211
|
# @return [Integer] Hash code
|
|
203
212
|
def hash
|
|
204
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, codename, suite, distribution, relative_path].hash
|
|
213
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifacts, codename, suite, distribution, relative_path].hash
|
|
205
214
|
end
|
|
206
215
|
|
|
207
216
|
# Builds the object from hash
|
|
@@ -30,6 +30,8 @@ module PulpDebClient
|
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
31
|
attr_accessor :pulp_labels
|
|
32
32
|
|
|
33
|
+
attr_accessor :vuln_report
|
|
34
|
+
|
|
33
35
|
attr_accessor :codename
|
|
34
36
|
|
|
35
37
|
attr_accessor :suite
|
|
@@ -56,6 +58,7 @@ module PulpDebClient
|
|
|
56
58
|
:'pulp_created' => :'pulp_created',
|
|
57
59
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
58
60
|
:'pulp_labels' => :'pulp_labels',
|
|
61
|
+
:'vuln_report' => :'vuln_report',
|
|
59
62
|
:'codename' => :'codename',
|
|
60
63
|
:'suite' => :'suite',
|
|
61
64
|
:'distribution' => :'distribution',
|
|
@@ -81,6 +84,7 @@ module PulpDebClient
|
|
|
81
84
|
:'pulp_created' => :'Time',
|
|
82
85
|
:'pulp_last_updated' => :'Time',
|
|
83
86
|
:'pulp_labels' => :'Hash<String, String>',
|
|
87
|
+
:'vuln_report' => :'String',
|
|
84
88
|
:'codename' => :'String',
|
|
85
89
|
:'suite' => :'String',
|
|
86
90
|
:'distribution' => :'String',
|
|
@@ -140,6 +144,10 @@ module PulpDebClient
|
|
|
140
144
|
end
|
|
141
145
|
end
|
|
142
146
|
|
|
147
|
+
if attributes.key?(:'vuln_report')
|
|
148
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
149
|
+
end
|
|
150
|
+
|
|
143
151
|
if attributes.key?(:'codename')
|
|
144
152
|
self.codename = attributes[:'codename']
|
|
145
153
|
else
|
|
@@ -227,6 +235,7 @@ module PulpDebClient
|
|
|
227
235
|
pulp_created == o.pulp_created &&
|
|
228
236
|
pulp_last_updated == o.pulp_last_updated &&
|
|
229
237
|
pulp_labels == o.pulp_labels &&
|
|
238
|
+
vuln_report == o.vuln_report &&
|
|
230
239
|
codename == o.codename &&
|
|
231
240
|
suite == o.suite &&
|
|
232
241
|
distribution == o.distribution &&
|
|
@@ -247,7 +256,7 @@ module PulpDebClient
|
|
|
247
256
|
# Calculates hash code according to all attributes.
|
|
248
257
|
# @return [Integer] Hash code
|
|
249
258
|
def hash
|
|
250
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, codename, suite, distribution, version, origin, label, description, architectures, components].hash
|
|
259
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, codename, suite, distribution, version, origin, label, description, architectures, components].hash
|
|
251
260
|
end
|
|
252
261
|
|
|
253
262
|
# Builds the object from hash
|
|
@@ -30,6 +30,8 @@ module PulpDebClient
|
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
31
|
attr_accessor :pulp_labels
|
|
32
32
|
|
|
33
|
+
attr_accessor :vuln_report
|
|
34
|
+
|
|
33
35
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
|
34
36
|
attr_accessor :artifacts
|
|
35
37
|
|
|
@@ -50,6 +52,7 @@ module PulpDebClient
|
|
|
50
52
|
:'pulp_created' => :'pulp_created',
|
|
51
53
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
52
54
|
:'pulp_labels' => :'pulp_labels',
|
|
55
|
+
:'vuln_report' => :'vuln_report',
|
|
53
56
|
:'artifacts' => :'artifacts',
|
|
54
57
|
:'release' => :'release',
|
|
55
58
|
:'component' => :'component',
|
|
@@ -70,6 +73,7 @@ module PulpDebClient
|
|
|
70
73
|
:'pulp_created' => :'Time',
|
|
71
74
|
:'pulp_last_updated' => :'Time',
|
|
72
75
|
:'pulp_labels' => :'Hash<String, String>',
|
|
76
|
+
:'vuln_report' => :'String',
|
|
73
77
|
:'artifacts' => :'Object',
|
|
74
78
|
:'release' => :'String',
|
|
75
79
|
:'component' => :'String',
|
|
@@ -120,6 +124,10 @@ module PulpDebClient
|
|
|
120
124
|
end
|
|
121
125
|
end
|
|
122
126
|
|
|
127
|
+
if attributes.key?(:'vuln_report')
|
|
128
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
129
|
+
end
|
|
130
|
+
|
|
123
131
|
if attributes.key?(:'artifacts')
|
|
124
132
|
self.artifacts = attributes[:'artifacts']
|
|
125
133
|
else
|
|
@@ -183,6 +191,7 @@ module PulpDebClient
|
|
|
183
191
|
pulp_created == o.pulp_created &&
|
|
184
192
|
pulp_last_updated == o.pulp_last_updated &&
|
|
185
193
|
pulp_labels == o.pulp_labels &&
|
|
194
|
+
vuln_report == o.vuln_report &&
|
|
186
195
|
artifacts == o.artifacts &&
|
|
187
196
|
release == o.release &&
|
|
188
197
|
component == o.component &&
|
|
@@ -198,7 +207,7 @@ module PulpDebClient
|
|
|
198
207
|
# Calculates hash code according to all attributes.
|
|
199
208
|
# @return [Integer] Hash code
|
|
200
209
|
def hash
|
|
201
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, release, component, relative_path].hash
|
|
210
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifacts, release, component, relative_path].hash
|
|
202
211
|
end
|
|
203
212
|
|
|
204
213
|
# Builds the object from hash
|
|
@@ -30,6 +30,8 @@ module PulpDebClient
|
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
31
|
attr_accessor :pulp_labels
|
|
32
32
|
|
|
33
|
+
attr_accessor :vuln_report
|
|
34
|
+
|
|
33
35
|
# Source package that is contained in release_component.
|
|
34
36
|
attr_accessor :source_package
|
|
35
37
|
|
|
@@ -44,6 +46,7 @@ module PulpDebClient
|
|
|
44
46
|
:'pulp_created' => :'pulp_created',
|
|
45
47
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
46
48
|
:'pulp_labels' => :'pulp_labels',
|
|
49
|
+
:'vuln_report' => :'vuln_report',
|
|
47
50
|
:'source_package' => :'source_package',
|
|
48
51
|
:'release_component' => :'release_component'
|
|
49
52
|
}
|
|
@@ -62,6 +65,7 @@ module PulpDebClient
|
|
|
62
65
|
:'pulp_created' => :'Time',
|
|
63
66
|
:'pulp_last_updated' => :'Time',
|
|
64
67
|
:'pulp_labels' => :'Hash<String, String>',
|
|
68
|
+
:'vuln_report' => :'String',
|
|
65
69
|
:'source_package' => :'String',
|
|
66
70
|
:'release_component' => :'String'
|
|
67
71
|
}
|
|
@@ -110,6 +114,10 @@ module PulpDebClient
|
|
|
110
114
|
end
|
|
111
115
|
end
|
|
112
116
|
|
|
117
|
+
if attributes.key?(:'vuln_report')
|
|
118
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
119
|
+
end
|
|
120
|
+
|
|
113
121
|
if attributes.key?(:'source_package')
|
|
114
122
|
self.source_package = attributes[:'source_package']
|
|
115
123
|
else
|
|
@@ -158,6 +166,7 @@ module PulpDebClient
|
|
|
158
166
|
pulp_created == o.pulp_created &&
|
|
159
167
|
pulp_last_updated == o.pulp_last_updated &&
|
|
160
168
|
pulp_labels == o.pulp_labels &&
|
|
169
|
+
vuln_report == o.vuln_report &&
|
|
161
170
|
source_package == o.source_package &&
|
|
162
171
|
release_component == o.release_component
|
|
163
172
|
end
|
|
@@ -171,7 +180,7 @@ module PulpDebClient
|
|
|
171
180
|
# Calculates hash code according to all attributes.
|
|
172
181
|
# @return [Integer] Hash code
|
|
173
182
|
def hash
|
|
174
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, source_package, release_component].hash
|
|
183
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, source_package, release_component].hash
|
|
175
184
|
end
|
|
176
185
|
|
|
177
186
|
# Builds the object from hash
|
|
@@ -30,6 +30,8 @@ module PulpDebClient
|
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
31
|
attr_accessor :pulp_labels
|
|
32
32
|
|
|
33
|
+
attr_accessor :vuln_report
|
|
34
|
+
|
|
33
35
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
|
34
36
|
attr_accessor :artifacts
|
|
35
37
|
|
|
@@ -101,6 +103,7 @@ module PulpDebClient
|
|
|
101
103
|
:'pulp_created' => :'pulp_created',
|
|
102
104
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
103
105
|
:'pulp_labels' => :'pulp_labels',
|
|
106
|
+
:'vuln_report' => :'vuln_report',
|
|
104
107
|
:'artifacts' => :'artifacts',
|
|
105
108
|
:'relative_path' => :'relative_path',
|
|
106
109
|
:'sha256' => :'sha256',
|
|
@@ -147,6 +150,7 @@ module PulpDebClient
|
|
|
147
150
|
:'pulp_created' => :'Time',
|
|
148
151
|
:'pulp_last_updated' => :'Time',
|
|
149
152
|
:'pulp_labels' => :'Hash<String, String>',
|
|
153
|
+
:'vuln_report' => :'String',
|
|
150
154
|
:'artifacts' => :'Object',
|
|
151
155
|
:'relative_path' => :'String',
|
|
152
156
|
:'sha256' => :'String',
|
|
@@ -223,6 +227,10 @@ module PulpDebClient
|
|
|
223
227
|
end
|
|
224
228
|
end
|
|
225
229
|
|
|
230
|
+
if attributes.key?(:'vuln_report')
|
|
231
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
232
|
+
end
|
|
233
|
+
|
|
226
234
|
if attributes.key?(:'artifacts')
|
|
227
235
|
self.artifacts = attributes[:'artifacts']
|
|
228
236
|
else
|
|
@@ -376,6 +384,7 @@ module PulpDebClient
|
|
|
376
384
|
pulp_created == o.pulp_created &&
|
|
377
385
|
pulp_last_updated == o.pulp_last_updated &&
|
|
378
386
|
pulp_labels == o.pulp_labels &&
|
|
387
|
+
vuln_report == o.vuln_report &&
|
|
379
388
|
artifacts == o.artifacts &&
|
|
380
389
|
relative_path == o.relative_path &&
|
|
381
390
|
sha256 == o.sha256 &&
|
|
@@ -417,7 +426,7 @@ module PulpDebClient
|
|
|
417
426
|
# Calculates hash code according to all attributes.
|
|
418
427
|
# @return [Integer] Hash code
|
|
419
428
|
def hash
|
|
420
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, relative_path, sha256, format, source, binary, architecture, version, maintainer, uploaders, homepage, vcs_browser, vcs_arch, vcs_bzr, vcs_cvs, vcs_darcs, vcs_git, vcs_hg, vcs_mtn, vcs_snv, testsuite, dgit, standards_version, build_depends, build_depends_indep, build_depends_arch, build_conflicts, build_conflicts_indep, build_conflicts_arch, package_list].hash
|
|
429
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifacts, relative_path, sha256, format, source, binary, architecture, version, maintainer, uploaders, homepage, vcs_browser, vcs_arch, vcs_bzr, vcs_cvs, vcs_darcs, vcs_git, vcs_hg, vcs_mtn, vcs_snv, testsuite, dgit, standards_version, build_depends, build_depends_indep, build_depends_arch, build_conflicts, build_conflicts_indep, build_conflicts_arch, package_list].hash
|
|
421
430
|
end
|
|
422
431
|
|
|
423
432
|
# Builds the object from hash
|
|
@@ -404,10 +404,6 @@ module PulpDebClient
|
|
|
404
404
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
|
405
405
|
end
|
|
406
406
|
|
|
407
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
408
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
409
|
-
end
|
|
410
|
-
|
|
411
407
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
|
412
408
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
|
413
409
|
end
|
|
@@ -457,7 +453,6 @@ module PulpDebClient
|
|
|
457
453
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
|
458
454
|
return false if !@username.nil? && @username.to_s.length < 1
|
|
459
455
|
return false if !@password.nil? && @password.to_s.length < 1
|
|
460
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
461
456
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
|
462
457
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
463
458
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
@@ -577,16 +572,6 @@ module PulpDebClient
|
|
|
577
572
|
@password = password
|
|
578
573
|
end
|
|
579
574
|
|
|
580
|
-
# Custom attribute writer method with validation
|
|
581
|
-
# @param [Object] download_concurrency Value to be assigned
|
|
582
|
-
def download_concurrency=(download_concurrency)
|
|
583
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
|
584
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
585
|
-
end
|
|
586
|
-
|
|
587
|
-
@download_concurrency = download_concurrency
|
|
588
|
-
end
|
|
589
|
-
|
|
590
575
|
# Custom attribute writer method with validation
|
|
591
576
|
# @param [Object] total_timeout Value to be assigned
|
|
592
577
|
def total_timeout=(total_timeout)
|