pulp_deb_client 3.5.1 → 3.5.2
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 +31 -4
- data/docs/ContentGenericContentsApi.md +152 -2
- data/docs/ContentInstallerFileIndicesApi.md +150 -2
- data/docs/ContentInstallerPackagesApi.md +152 -2
- data/docs/ContentPackageIndicesApi.md +150 -2
- data/docs/ContentPackageReleaseComponentsApi.md +150 -2
- data/docs/ContentPackagesApi.md +152 -2
- data/docs/ContentReleaseArchitecturesApi.md +150 -2
- data/docs/ContentReleaseComponentsApi.md +150 -2
- data/docs/ContentReleaseFilesApi.md +150 -2
- data/docs/ContentReleasesApi.md +150 -2
- data/docs/ContentSourceIndicesApi.md +150 -2
- data/docs/ContentSourcePackagesApi.md +150 -2
- data/docs/ContentSourceReleaseComponentsApi.md +150 -2
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndex.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndex.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponent.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebRelease.md +2 -0
- data/docs/DebReleaseArchitecture.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponent.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFile.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndex.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackage.md +2 -0
- data/docs/DebSourcePackageReleaseComponent.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DistributionsAptApi.md +4 -2
- data/docs/PublicationsAptApi.md +4 -2
- data/docs/PublicationsVerbatimApi.md +4 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +6 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +6 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +6 -3
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/unset_label.rb +1 -1
- data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +0 -1
- data/spec/api/content_generic_contents_api_spec.rb +29 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +28 -1
- data/spec/api/content_installer_packages_api_spec.rb +29 -1
- data/spec/api/content_package_indices_api_spec.rb +28 -1
- data/spec/api/content_package_release_components_api_spec.rb +28 -1
- data/spec/api/content_packages_api_spec.rb +29 -1
- data/spec/api/content_release_architectures_api_spec.rb +28 -1
- data/spec/api/content_release_components_api_spec.rb +28 -1
- data/spec/api/content_release_files_api_spec.rb +28 -1
- data/spec/api/content_releases_api_spec.rb +28 -1
- data/spec/api/content_source_indices_api_spec.rb +28 -1
- data/spec/api/content_source_packages_api_spec.rb +28 -1
- data/spec/api/content_source_release_components_api_spec.rb +28 -1
- data/spec/api/distributions_apt_api_spec.rb +2 -1
- data/spec/api/publications_apt_api_spec.rb +2 -1
- data/spec/api/publications_verbatim_api_spec.rb +2 -1
- 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_file_index_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_index_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_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_architecture_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_component_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_file_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_release_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_index_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_source_package_spec.rb +6 -0
- metadata +73 -93
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Artifact file representing the physical content
|
31
34
|
attr_accessor :artifact
|
32
35
|
|
@@ -122,6 +125,7 @@ module PulpDebClient
|
|
122
125
|
:'prn' => :'prn',
|
123
126
|
:'pulp_created' => :'pulp_created',
|
124
127
|
:'pulp_last_updated' => :'pulp_last_updated',
|
128
|
+
:'pulp_labels' => :'pulp_labels',
|
125
129
|
:'artifact' => :'artifact',
|
126
130
|
:'relative_path' => :'relative_path',
|
127
131
|
:'distribution' => :'distribution',
|
@@ -176,6 +180,7 @@ module PulpDebClient
|
|
176
180
|
:'prn' => :'String',
|
177
181
|
:'pulp_created' => :'Time',
|
178
182
|
:'pulp_last_updated' => :'Time',
|
183
|
+
:'pulp_labels' => :'Hash<String, String>',
|
179
184
|
:'artifact' => :'String',
|
180
185
|
:'relative_path' => :'String',
|
181
186
|
:'distribution' => :'String',
|
@@ -255,6 +260,12 @@ module PulpDebClient
|
|
255
260
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
256
261
|
end
|
257
262
|
|
263
|
+
if attributes.key?(:'pulp_labels')
|
264
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
265
|
+
self.pulp_labels = value
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
258
269
|
if attributes.key?(:'artifact')
|
259
270
|
self.artifact = attributes[:'artifact']
|
260
271
|
end
|
@@ -436,6 +447,7 @@ module PulpDebClient
|
|
436
447
|
prn == o.prn &&
|
437
448
|
pulp_created == o.pulp_created &&
|
438
449
|
pulp_last_updated == o.pulp_last_updated &&
|
450
|
+
pulp_labels == o.pulp_labels &&
|
439
451
|
artifact == o.artifact &&
|
440
452
|
relative_path == o.relative_path &&
|
441
453
|
distribution == o.distribution &&
|
@@ -486,7 +498,7 @@ module PulpDebClient
|
|
486
498
|
# Calculates hash code according to all attributes.
|
487
499
|
# @return [Integer] Hash code
|
488
500
|
def hash
|
489
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, 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
|
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
|
490
502
|
end
|
491
503
|
|
492
504
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
attr_accessor :codename
|
23
26
|
|
24
27
|
attr_accessor :suite
|
@@ -41,6 +44,7 @@ module PulpDebClient
|
|
41
44
|
def self.attribute_map
|
42
45
|
{
|
43
46
|
:'repository' => :'repository',
|
47
|
+
:'pulp_labels' => :'pulp_labels',
|
44
48
|
:'codename' => :'codename',
|
45
49
|
:'suite' => :'suite',
|
46
50
|
:'distribution' => :'distribution',
|
@@ -62,6 +66,7 @@ module PulpDebClient
|
|
62
66
|
def self.openapi_types
|
63
67
|
{
|
64
68
|
:'repository' => :'String',
|
69
|
+
:'pulp_labels' => :'Hash<String, String>',
|
65
70
|
:'codename' => :'String',
|
66
71
|
:'suite' => :'String',
|
67
72
|
:'distribution' => :'String',
|
@@ -103,6 +108,12 @@ module PulpDebClient
|
|
103
108
|
self.repository = attributes[:'repository']
|
104
109
|
end
|
105
110
|
|
111
|
+
if attributes.key?(:'pulp_labels')
|
112
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
113
|
+
self.pulp_labels = value
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
106
117
|
if attributes.key?(:'codename')
|
107
118
|
self.codename = attributes[:'codename']
|
108
119
|
else
|
@@ -303,6 +314,7 @@ module PulpDebClient
|
|
303
314
|
return true if self.equal?(o)
|
304
315
|
self.class == o.class &&
|
305
316
|
repository == o.repository &&
|
317
|
+
pulp_labels == o.pulp_labels &&
|
306
318
|
codename == o.codename &&
|
307
319
|
suite == o.suite &&
|
308
320
|
distribution == o.distribution &&
|
@@ -323,7 +335,7 @@ module PulpDebClient
|
|
323
335
|
# Calculates hash code according to all attributes.
|
324
336
|
# @return [Integer] Hash code
|
325
337
|
def hash
|
326
|
-
[repository, codename, suite, distribution, version, origin, label, description, architectures, components].hash
|
338
|
+
[repository, pulp_labels, codename, suite, distribution, version, origin, label, description, architectures, components].hash
|
327
339
|
end
|
328
340
|
|
329
341
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# Name of the architecture.
|
23
26
|
attr_accessor :architecture
|
24
27
|
|
@@ -29,6 +32,7 @@ module PulpDebClient
|
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
31
34
|
:'repository' => :'repository',
|
35
|
+
:'pulp_labels' => :'pulp_labels',
|
32
36
|
:'architecture' => :'architecture',
|
33
37
|
:'distribution' => :'distribution'
|
34
38
|
}
|
@@ -43,6 +47,7 @@ module PulpDebClient
|
|
43
47
|
def self.openapi_types
|
44
48
|
{
|
45
49
|
:'repository' => :'String',
|
50
|
+
:'pulp_labels' => :'Hash<String, String>',
|
46
51
|
:'architecture' => :'String',
|
47
52
|
:'distribution' => :'String'
|
48
53
|
}
|
@@ -73,6 +78,12 @@ module PulpDebClient
|
|
73
78
|
self.repository = attributes[:'repository']
|
74
79
|
end
|
75
80
|
|
81
|
+
if attributes.key?(:'pulp_labels')
|
82
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
83
|
+
self.pulp_labels = value
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
76
87
|
if attributes.key?(:'architecture')
|
77
88
|
self.architecture = attributes[:'architecture']
|
78
89
|
else
|
@@ -155,6 +166,7 @@ module PulpDebClient
|
|
155
166
|
return true if self.equal?(o)
|
156
167
|
self.class == o.class &&
|
157
168
|
repository == o.repository &&
|
169
|
+
pulp_labels == o.pulp_labels &&
|
158
170
|
architecture == o.architecture &&
|
159
171
|
distribution == o.distribution
|
160
172
|
end
|
@@ -168,7 +180,7 @@ module PulpDebClient
|
|
168
180
|
# Calculates hash code according to all attributes.
|
169
181
|
# @return [Integer] Hash code
|
170
182
|
def hash
|
171
|
-
[repository, architecture, distribution].hash
|
183
|
+
[repository, pulp_labels, architecture, distribution].hash
|
172
184
|
end
|
173
185
|
|
174
186
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Name of the architecture.
|
31
34
|
attr_accessor :architecture
|
32
35
|
|
@@ -40,6 +43,7 @@ module PulpDebClient
|
|
40
43
|
:'prn' => :'prn',
|
41
44
|
:'pulp_created' => :'pulp_created',
|
42
45
|
:'pulp_last_updated' => :'pulp_last_updated',
|
46
|
+
:'pulp_labels' => :'pulp_labels',
|
43
47
|
:'architecture' => :'architecture',
|
44
48
|
:'distribution' => :'distribution'
|
45
49
|
}
|
@@ -57,6 +61,7 @@ module PulpDebClient
|
|
57
61
|
:'prn' => :'String',
|
58
62
|
:'pulp_created' => :'Time',
|
59
63
|
:'pulp_last_updated' => :'Time',
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
60
65
|
:'architecture' => :'String',
|
61
66
|
:'distribution' => :'String'
|
62
67
|
}
|
@@ -99,6 +104,12 @@ module PulpDebClient
|
|
99
104
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
100
105
|
end
|
101
106
|
|
107
|
+
if attributes.key?(:'pulp_labels')
|
108
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
109
|
+
self.pulp_labels = value
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
102
113
|
if attributes.key?(:'architecture')
|
103
114
|
self.architecture = attributes[:'architecture']
|
104
115
|
else
|
@@ -146,6 +157,7 @@ module PulpDebClient
|
|
146
157
|
prn == o.prn &&
|
147
158
|
pulp_created == o.pulp_created &&
|
148
159
|
pulp_last_updated == o.pulp_last_updated &&
|
160
|
+
pulp_labels == o.pulp_labels &&
|
149
161
|
architecture == o.architecture &&
|
150
162
|
distribution == o.distribution
|
151
163
|
end
|
@@ -159,7 +171,7 @@ module PulpDebClient
|
|
159
171
|
# Calculates hash code according to all attributes.
|
160
172
|
# @return [Integer] Hash code
|
161
173
|
def hash
|
162
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, architecture, distribution].hash
|
174
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, architecture, distribution].hash
|
163
175
|
end
|
164
176
|
|
165
177
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# Name of the component.
|
23
26
|
attr_accessor :component
|
24
27
|
|
@@ -29,6 +32,7 @@ module PulpDebClient
|
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
31
34
|
:'repository' => :'repository',
|
35
|
+
:'pulp_labels' => :'pulp_labels',
|
32
36
|
:'component' => :'component',
|
33
37
|
:'distribution' => :'distribution'
|
34
38
|
}
|
@@ -43,6 +47,7 @@ module PulpDebClient
|
|
43
47
|
def self.openapi_types
|
44
48
|
{
|
45
49
|
:'repository' => :'String',
|
50
|
+
:'pulp_labels' => :'Hash<String, String>',
|
46
51
|
:'component' => :'String',
|
47
52
|
:'distribution' => :'String'
|
48
53
|
}
|
@@ -73,6 +78,12 @@ module PulpDebClient
|
|
73
78
|
self.repository = attributes[:'repository']
|
74
79
|
end
|
75
80
|
|
81
|
+
if attributes.key?(:'pulp_labels')
|
82
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
83
|
+
self.pulp_labels = value
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
76
87
|
if attributes.key?(:'component')
|
77
88
|
self.component = attributes[:'component']
|
78
89
|
else
|
@@ -155,6 +166,7 @@ module PulpDebClient
|
|
155
166
|
return true if self.equal?(o)
|
156
167
|
self.class == o.class &&
|
157
168
|
repository == o.repository &&
|
169
|
+
pulp_labels == o.pulp_labels &&
|
158
170
|
component == o.component &&
|
159
171
|
distribution == o.distribution
|
160
172
|
end
|
@@ -168,7 +180,7 @@ module PulpDebClient
|
|
168
180
|
# Calculates hash code according to all attributes.
|
169
181
|
# @return [Integer] Hash code
|
170
182
|
def hash
|
171
|
-
[repository, component, distribution].hash
|
183
|
+
[repository, pulp_labels, component, distribution].hash
|
172
184
|
end
|
173
185
|
|
174
186
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Name of the component.
|
31
34
|
attr_accessor :component
|
32
35
|
|
@@ -43,6 +46,7 @@ module PulpDebClient
|
|
43
46
|
:'prn' => :'prn',
|
44
47
|
:'pulp_created' => :'pulp_created',
|
45
48
|
:'pulp_last_updated' => :'pulp_last_updated',
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
46
50
|
:'component' => :'component',
|
47
51
|
:'distribution' => :'distribution',
|
48
52
|
:'plain_component' => :'plain_component'
|
@@ -61,6 +65,7 @@ module PulpDebClient
|
|
61
65
|
:'prn' => :'String',
|
62
66
|
:'pulp_created' => :'Time',
|
63
67
|
:'pulp_last_updated' => :'Time',
|
68
|
+
:'pulp_labels' => :'Hash<String, String>',
|
64
69
|
:'component' => :'String',
|
65
70
|
:'distribution' => :'String',
|
66
71
|
:'plain_component' => :'String'
|
@@ -104,6 +109,12 @@ module PulpDebClient
|
|
104
109
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
105
110
|
end
|
106
111
|
|
112
|
+
if attributes.key?(:'pulp_labels')
|
113
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
114
|
+
self.pulp_labels = value
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
107
118
|
if attributes.key?(:'component')
|
108
119
|
self.component = attributes[:'component']
|
109
120
|
else
|
@@ -155,6 +166,7 @@ module PulpDebClient
|
|
155
166
|
prn == o.prn &&
|
156
167
|
pulp_created == o.pulp_created &&
|
157
168
|
pulp_last_updated == o.pulp_last_updated &&
|
169
|
+
pulp_labels == o.pulp_labels &&
|
158
170
|
component == o.component &&
|
159
171
|
distribution == o.distribution &&
|
160
172
|
plain_component == o.plain_component
|
@@ -169,7 +181,7 @@ module PulpDebClient
|
|
169
181
|
# Calculates hash code according to all attributes.
|
170
182
|
# @return [Integer] Hash code
|
171
183
|
def hash
|
172
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, component, distribution, plain_component].hash
|
184
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, component, distribution, plain_component].hash
|
173
185
|
end
|
174
186
|
|
175
187
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
23
26
|
attr_accessor :artifacts
|
24
27
|
|
@@ -38,6 +41,7 @@ module PulpDebClient
|
|
38
41
|
def self.attribute_map
|
39
42
|
{
|
40
43
|
:'repository' => :'repository',
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
41
45
|
:'artifacts' => :'artifacts',
|
42
46
|
:'codename' => :'codename',
|
43
47
|
:'suite' => :'suite',
|
@@ -55,6 +59,7 @@ module PulpDebClient
|
|
55
59
|
def self.openapi_types
|
56
60
|
{
|
57
61
|
:'repository' => :'String',
|
62
|
+
:'pulp_labels' => :'Hash<String, String>',
|
58
63
|
:'artifacts' => :'Object',
|
59
64
|
:'codename' => :'String',
|
60
65
|
:'suite' => :'String',
|
@@ -88,6 +93,12 @@ module PulpDebClient
|
|
88
93
|
self.repository = attributes[:'repository']
|
89
94
|
end
|
90
95
|
|
96
|
+
if attributes.key?(:'pulp_labels')
|
97
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
98
|
+
self.pulp_labels = value
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
91
102
|
if attributes.key?(:'artifacts')
|
92
103
|
self.artifacts = attributes[:'artifacts']
|
93
104
|
else
|
@@ -220,6 +231,7 @@ module PulpDebClient
|
|
220
231
|
return true if self.equal?(o)
|
221
232
|
self.class == o.class &&
|
222
233
|
repository == o.repository &&
|
234
|
+
pulp_labels == o.pulp_labels &&
|
223
235
|
artifacts == o.artifacts &&
|
224
236
|
codename == o.codename &&
|
225
237
|
suite == o.suite &&
|
@@ -236,7 +248,7 @@ module PulpDebClient
|
|
236
248
|
# Calculates hash code according to all attributes.
|
237
249
|
# @return [Integer] Hash code
|
238
250
|
def hash
|
239
|
-
[repository, artifacts, codename, suite, distribution, relative_path].hash
|
251
|
+
[repository, pulp_labels, artifacts, codename, suite, distribution, relative_path].hash
|
240
252
|
end
|
241
253
|
|
242
254
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
31
34
|
attr_accessor :artifacts
|
32
35
|
|
@@ -49,6 +52,7 @@ module PulpDebClient
|
|
49
52
|
:'prn' => :'prn',
|
50
53
|
:'pulp_created' => :'pulp_created',
|
51
54
|
:'pulp_last_updated' => :'pulp_last_updated',
|
55
|
+
:'pulp_labels' => :'pulp_labels',
|
52
56
|
:'artifacts' => :'artifacts',
|
53
57
|
:'codename' => :'codename',
|
54
58
|
:'suite' => :'suite',
|
@@ -69,6 +73,7 @@ module PulpDebClient
|
|
69
73
|
:'prn' => :'String',
|
70
74
|
:'pulp_created' => :'Time',
|
71
75
|
:'pulp_last_updated' => :'Time',
|
76
|
+
:'pulp_labels' => :'Hash<String, String>',
|
72
77
|
:'artifacts' => :'Object',
|
73
78
|
:'codename' => :'String',
|
74
79
|
:'suite' => :'String',
|
@@ -114,6 +119,12 @@ module PulpDebClient
|
|
114
119
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
115
120
|
end
|
116
121
|
|
122
|
+
if attributes.key?(:'pulp_labels')
|
123
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
124
|
+
self.pulp_labels = value
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
117
128
|
if attributes.key?(:'artifacts')
|
118
129
|
self.artifacts = attributes[:'artifacts']
|
119
130
|
else
|
@@ -173,6 +184,7 @@ module PulpDebClient
|
|
173
184
|
prn == o.prn &&
|
174
185
|
pulp_created == o.pulp_created &&
|
175
186
|
pulp_last_updated == o.pulp_last_updated &&
|
187
|
+
pulp_labels == o.pulp_labels &&
|
176
188
|
artifacts == o.artifacts &&
|
177
189
|
codename == o.codename &&
|
178
190
|
suite == o.suite &&
|
@@ -189,7 +201,7 @@ module PulpDebClient
|
|
189
201
|
# Calculates hash code according to all attributes.
|
190
202
|
# @return [Integer] Hash code
|
191
203
|
def hash
|
192
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, codename, suite, distribution, relative_path].hash
|
204
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, codename, suite, distribution, relative_path].hash
|
193
205
|
end
|
194
206
|
|
195
207
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
attr_accessor :codename
|
31
34
|
|
32
35
|
attr_accessor :suite
|
@@ -52,6 +55,7 @@ module PulpDebClient
|
|
52
55
|
:'prn' => :'prn',
|
53
56
|
:'pulp_created' => :'pulp_created',
|
54
57
|
:'pulp_last_updated' => :'pulp_last_updated',
|
58
|
+
:'pulp_labels' => :'pulp_labels',
|
55
59
|
:'codename' => :'codename',
|
56
60
|
:'suite' => :'suite',
|
57
61
|
:'distribution' => :'distribution',
|
@@ -76,6 +80,7 @@ module PulpDebClient
|
|
76
80
|
:'prn' => :'String',
|
77
81
|
:'pulp_created' => :'Time',
|
78
82
|
:'pulp_last_updated' => :'Time',
|
83
|
+
:'pulp_labels' => :'Hash<String, String>',
|
79
84
|
:'codename' => :'String',
|
80
85
|
:'suite' => :'String',
|
81
86
|
:'distribution' => :'String',
|
@@ -129,6 +134,12 @@ module PulpDebClient
|
|
129
134
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
130
135
|
end
|
131
136
|
|
137
|
+
if attributes.key?(:'pulp_labels')
|
138
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
139
|
+
self.pulp_labels = value
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
132
143
|
if attributes.key?(:'codename')
|
133
144
|
self.codename = attributes[:'codename']
|
134
145
|
else
|
@@ -215,6 +226,7 @@ module PulpDebClient
|
|
215
226
|
prn == o.prn &&
|
216
227
|
pulp_created == o.pulp_created &&
|
217
228
|
pulp_last_updated == o.pulp_last_updated &&
|
229
|
+
pulp_labels == o.pulp_labels &&
|
218
230
|
codename == o.codename &&
|
219
231
|
suite == o.suite &&
|
220
232
|
distribution == o.distribution &&
|
@@ -235,7 +247,7 @@ module PulpDebClient
|
|
235
247
|
# Calculates hash code according to all attributes.
|
236
248
|
# @return [Integer] Hash code
|
237
249
|
def hash
|
238
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, codename, suite, distribution, version, origin, label, description, architectures, components].hash
|
250
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, codename, suite, distribution, version, origin, label, description, architectures, components].hash
|
239
251
|
end
|
240
252
|
|
241
253
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
23
26
|
attr_accessor :artifacts
|
24
27
|
|
@@ -35,6 +38,7 @@ module PulpDebClient
|
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
37
40
|
:'repository' => :'repository',
|
41
|
+
:'pulp_labels' => :'pulp_labels',
|
38
42
|
:'artifacts' => :'artifacts',
|
39
43
|
:'release' => :'release',
|
40
44
|
:'component' => :'component',
|
@@ -51,6 +55,7 @@ module PulpDebClient
|
|
51
55
|
def self.openapi_types
|
52
56
|
{
|
53
57
|
:'repository' => :'String',
|
58
|
+
:'pulp_labels' => :'Hash<String, String>',
|
54
59
|
:'artifacts' => :'Object',
|
55
60
|
:'release' => :'String',
|
56
61
|
:'component' => :'String',
|
@@ -83,6 +88,12 @@ module PulpDebClient
|
|
83
88
|
self.repository = attributes[:'repository']
|
84
89
|
end
|
85
90
|
|
91
|
+
if attributes.key?(:'pulp_labels')
|
92
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
93
|
+
self.pulp_labels = value
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
86
97
|
if attributes.key?(:'artifacts')
|
87
98
|
self.artifacts = attributes[:'artifacts']
|
88
99
|
else
|
@@ -180,6 +191,7 @@ module PulpDebClient
|
|
180
191
|
return true if self.equal?(o)
|
181
192
|
self.class == o.class &&
|
182
193
|
repository == o.repository &&
|
194
|
+
pulp_labels == o.pulp_labels &&
|
183
195
|
artifacts == o.artifacts &&
|
184
196
|
release == o.release &&
|
185
197
|
component == o.component &&
|
@@ -195,7 +207,7 @@ module PulpDebClient
|
|
195
207
|
# Calculates hash code according to all attributes.
|
196
208
|
# @return [Integer] Hash code
|
197
209
|
def hash
|
198
|
-
[repository, artifacts, release, component, relative_path].hash
|
210
|
+
[repository, pulp_labels, artifacts, release, component, relative_path].hash
|
199
211
|
end
|
200
212
|
|
201
213
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpDebClient
|
|
27
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
28
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
31
34
|
attr_accessor :artifacts
|
32
35
|
|
@@ -46,6 +49,7 @@ module PulpDebClient
|
|
46
49
|
:'prn' => :'prn',
|
47
50
|
:'pulp_created' => :'pulp_created',
|
48
51
|
:'pulp_last_updated' => :'pulp_last_updated',
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
49
53
|
:'artifacts' => :'artifacts',
|
50
54
|
:'release' => :'release',
|
51
55
|
:'component' => :'component',
|
@@ -65,6 +69,7 @@ module PulpDebClient
|
|
65
69
|
:'prn' => :'String',
|
66
70
|
:'pulp_created' => :'Time',
|
67
71
|
:'pulp_last_updated' => :'Time',
|
72
|
+
:'pulp_labels' => :'Hash<String, String>',
|
68
73
|
:'artifacts' => :'Object',
|
69
74
|
:'release' => :'String',
|
70
75
|
:'component' => :'String',
|
@@ -109,6 +114,12 @@ module PulpDebClient
|
|
109
114
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
110
115
|
end
|
111
116
|
|
117
|
+
if attributes.key?(:'pulp_labels')
|
118
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
119
|
+
self.pulp_labels = value
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
112
123
|
if attributes.key?(:'artifacts')
|
113
124
|
self.artifacts = attributes[:'artifacts']
|
114
125
|
else
|
@@ -171,6 +182,7 @@ module PulpDebClient
|
|
171
182
|
prn == o.prn &&
|
172
183
|
pulp_created == o.pulp_created &&
|
173
184
|
pulp_last_updated == o.pulp_last_updated &&
|
185
|
+
pulp_labels == o.pulp_labels &&
|
174
186
|
artifacts == o.artifacts &&
|
175
187
|
release == o.release &&
|
176
188
|
component == o.component &&
|
@@ -186,7 +198,7 @@ module PulpDebClient
|
|
186
198
|
# Calculates hash code according to all attributes.
|
187
199
|
# @return [Integer] Hash code
|
188
200
|
def hash
|
189
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts, release, component, relative_path].hash
|
201
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, release, component, relative_path].hash
|
190
202
|
end
|
191
203
|
|
192
204
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpDebClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# Artifact URL of the Debian Source Control (dsc) file.
|
23
26
|
attr_accessor :artifact
|
24
27
|
|
@@ -29,6 +32,7 @@ module PulpDebClient
|
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
31
34
|
:'repository' => :'repository',
|
35
|
+
:'pulp_labels' => :'pulp_labels',
|
32
36
|
:'artifact' => :'artifact',
|
33
37
|
:'relative_path' => :'relative_path'
|
34
38
|
}
|
@@ -43,6 +47,7 @@ module PulpDebClient
|
|
43
47
|
def self.openapi_types
|
44
48
|
{
|
45
49
|
:'repository' => :'String',
|
50
|
+
:'pulp_labels' => :'Hash<String, String>',
|
46
51
|
:'artifact' => :'String',
|
47
52
|
:'relative_path' => :'String'
|
48
53
|
}
|
@@ -73,6 +78,12 @@ module PulpDebClient
|
|
73
78
|
self.repository = attributes[:'repository']
|
74
79
|
end
|
75
80
|
|
81
|
+
if attributes.key?(:'pulp_labels')
|
82
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
83
|
+
self.pulp_labels = value
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
76
87
|
if attributes.key?(:'artifact')
|
77
88
|
self.artifact = attributes[:'artifact']
|
78
89
|
else
|
@@ -129,6 +140,7 @@ module PulpDebClient
|
|
129
140
|
return true if self.equal?(o)
|
130
141
|
self.class == o.class &&
|
131
142
|
repository == o.repository &&
|
143
|
+
pulp_labels == o.pulp_labels &&
|
132
144
|
artifact == o.artifact &&
|
133
145
|
relative_path == o.relative_path
|
134
146
|
end
|
@@ -142,7 +154,7 @@ module PulpDebClient
|
|
142
154
|
# Calculates hash code according to all attributes.
|
143
155
|
# @return [Integer] Hash code
|
144
156
|
def hash
|
145
|
-
[repository, artifact, relative_path].hash
|
157
|
+
[repository, pulp_labels, artifact, relative_path].hash
|
146
158
|
end
|
147
159
|
|
148
160
|
# Builds the object from hash
|