pulp_deb_client 3.2.0 → 3.3.0
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/ContentReleasesApi.md +3 -3
- data/docs/Copy.md +1 -1
- data/docs/DebAptDistributionResponse.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebAptRemoteResponse.md +2 -2
- data/docs/DebAptRemoteResponseHiddenFields.md +2 -2
- data/docs/DebAptRepositoryResponse.md +2 -0
- 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/DebRelease.md +5 -1
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +7 -1
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DebVerbatimPublicationResponse.md +2 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginateddebAptDistributionResponseList.md +2 -2
- data/docs/PaginateddebAptPublicationResponseList.md +2 -2
- data/docs/PaginateddebAptRemoteResponseList.md +2 -2
- data/docs/PaginateddebAptRepositoryResponseList.md +2 -2
- data/docs/PaginateddebGenericContentResponseList.md +2 -2
- data/docs/PaginateddebInstallerFileIndexResponseList.md +2 -2
- data/docs/PaginateddebInstallerPackageResponseList.md +2 -2
- data/docs/PaginateddebPackageIndexResponseList.md +2 -2
- data/docs/PaginateddebPackageReleaseComponentResponseList.md +2 -2
- data/docs/PaginateddebPackageResponseList.md +2 -2
- data/docs/PaginateddebReleaseArchitectureResponseList.md +2 -2
- data/docs/PaginateddebReleaseComponentResponseList.md +2 -2
- data/docs/PaginateddebReleaseFileResponseList.md +2 -2
- data/docs/PaginateddebReleaseResponseList.md +2 -2
- data/docs/PaginateddebSourceIndexResponseList.md +2 -2
- data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +2 -2
- data/docs/PaginateddebSourcePackageResponseList.md +2 -2
- data/docs/PaginateddebVerbatimPublicationResponseList.md +2 -2
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_deb_client/api/content_releases_api.rb +5 -5
- data/lib/pulp_deb_client/models/copy.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +11 -11
- data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release.rb +27 -5
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +37 -5
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_releases_api_spec.rb +2 -2
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -6
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- 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 +18 -0
- data/spec/models/deb_release_spec.rb +12 -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/deb_verbatim_publication_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +73 -73
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Package that is contained in release_comonent.
|
24
27
|
attr_accessor :package
|
25
28
|
|
@@ -31,6 +34,7 @@ module PulpDebClient
|
|
31
34
|
{
|
32
35
|
:'pulp_href' => :'pulp_href',
|
33
36
|
:'pulp_created' => :'pulp_created',
|
37
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
34
38
|
:'package' => :'package',
|
35
39
|
:'release_component' => :'release_component'
|
36
40
|
}
|
@@ -41,6 +45,7 @@ module PulpDebClient
|
|
41
45
|
{
|
42
46
|
:'pulp_href' => :'String',
|
43
47
|
:'pulp_created' => :'DateTime',
|
48
|
+
:'pulp_last_updated' => :'DateTime',
|
44
49
|
:'package' => :'String',
|
45
50
|
:'release_component' => :'String'
|
46
51
|
}
|
@@ -75,6 +80,10 @@ module PulpDebClient
|
|
75
80
|
self.pulp_created = attributes[:'pulp_created']
|
76
81
|
end
|
77
82
|
|
83
|
+
if attributes.key?(:'pulp_last_updated')
|
84
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
85
|
+
end
|
86
|
+
|
78
87
|
if attributes.key?(:'package')
|
79
88
|
self.package = attributes[:'package']
|
80
89
|
end
|
@@ -114,6 +123,7 @@ module PulpDebClient
|
|
114
123
|
self.class == o.class &&
|
115
124
|
pulp_href == o.pulp_href &&
|
116
125
|
pulp_created == o.pulp_created &&
|
126
|
+
pulp_last_updated == o.pulp_last_updated &&
|
117
127
|
package == o.package &&
|
118
128
|
release_component == o.release_component
|
119
129
|
end
|
@@ -127,7 +137,7 @@ module PulpDebClient
|
|
127
137
|
# Calculates hash code according to all attributes.
|
128
138
|
# @return [Integer] Hash code
|
129
139
|
def hash
|
130
|
-
[pulp_href, pulp_created, package, release_component].hash
|
140
|
+
[pulp_href, pulp_created, pulp_last_updated, package, release_component].hash
|
131
141
|
end
|
132
142
|
|
133
143
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Artifact file representing the physical content
|
24
27
|
attr_accessor :artifact
|
25
28
|
|
@@ -113,6 +116,7 @@ module PulpDebClient
|
|
113
116
|
{
|
114
117
|
:'pulp_href' => :'pulp_href',
|
115
118
|
:'pulp_created' => :'pulp_created',
|
119
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
116
120
|
:'artifact' => :'artifact',
|
117
121
|
:'relative_path' => :'relative_path',
|
118
122
|
:'distribution' => :'distribution',
|
@@ -160,6 +164,7 @@ module PulpDebClient
|
|
160
164
|
{
|
161
165
|
:'pulp_href' => :'String',
|
162
166
|
:'pulp_created' => :'DateTime',
|
167
|
+
:'pulp_last_updated' => :'DateTime',
|
163
168
|
:'artifact' => :'String',
|
164
169
|
:'relative_path' => :'String',
|
165
170
|
:'distribution' => :'String',
|
@@ -231,6 +236,10 @@ module PulpDebClient
|
|
231
236
|
self.pulp_created = attributes[:'pulp_created']
|
232
237
|
end
|
233
238
|
|
239
|
+
if attributes.key?(:'pulp_last_updated')
|
240
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
241
|
+
end
|
242
|
+
|
234
243
|
if attributes.key?(:'artifact')
|
235
244
|
self.artifact = attributes[:'artifact']
|
236
245
|
end
|
@@ -408,6 +417,7 @@ module PulpDebClient
|
|
408
417
|
self.class == o.class &&
|
409
418
|
pulp_href == o.pulp_href &&
|
410
419
|
pulp_created == o.pulp_created &&
|
420
|
+
pulp_last_updated == o.pulp_last_updated &&
|
411
421
|
artifact == o.artifact &&
|
412
422
|
relative_path == o.relative_path &&
|
413
423
|
distribution == o.distribution &&
|
@@ -458,7 +468,7 @@ module PulpDebClient
|
|
458
468
|
# Calculates hash code according to all attributes.
|
459
469
|
# @return [Integer] Hash code
|
460
470
|
def hash
|
461
|
-
[pulp_href, pulp_created, 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
|
471
|
+
[pulp_href, 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
|
462
472
|
end
|
463
473
|
|
464
474
|
# Builds the object from hash
|
@@ -32,6 +32,10 @@ module PulpDebClient
|
|
32
32
|
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
|
+
attr_accessor :architectures
|
36
|
+
|
37
|
+
attr_accessor :components
|
38
|
+
|
35
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
40
|
def self.attribute_map
|
37
41
|
{
|
@@ -42,7 +46,9 @@ module PulpDebClient
|
|
42
46
|
:'version' => :'version',
|
43
47
|
:'origin' => :'origin',
|
44
48
|
:'label' => :'label',
|
45
|
-
:'description' => :'description'
|
49
|
+
:'description' => :'description',
|
50
|
+
:'architectures' => :'architectures',
|
51
|
+
:'components' => :'components'
|
46
52
|
}
|
47
53
|
end
|
48
54
|
|
@@ -56,7 +62,9 @@ module PulpDebClient
|
|
56
62
|
:'version' => :'String',
|
57
63
|
:'origin' => :'String',
|
58
64
|
:'label' => :'String',
|
59
|
-
:'description' => :'String'
|
65
|
+
:'description' => :'String',
|
66
|
+
:'architectures' => :'Array<String>',
|
67
|
+
:'components' => :'Array<String>'
|
60
68
|
}
|
61
69
|
end
|
62
70
|
|
@@ -66,7 +74,7 @@ module PulpDebClient
|
|
66
74
|
:'version',
|
67
75
|
:'origin',
|
68
76
|
:'label',
|
69
|
-
:'description'
|
77
|
+
:'description',
|
70
78
|
])
|
71
79
|
end
|
72
80
|
|
@@ -116,6 +124,18 @@ module PulpDebClient
|
|
116
124
|
if attributes.key?(:'description')
|
117
125
|
self.description = attributes[:'description']
|
118
126
|
end
|
127
|
+
|
128
|
+
if attributes.key?(:'architectures')
|
129
|
+
if (value = attributes[:'architectures']).is_a?(Array)
|
130
|
+
self.architectures = value
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
if attributes.key?(:'components')
|
135
|
+
if (value = attributes[:'components']).is_a?(Array)
|
136
|
+
self.components = value
|
137
|
+
end
|
138
|
+
end
|
119
139
|
end
|
120
140
|
|
121
141
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -275,7 +295,9 @@ module PulpDebClient
|
|
275
295
|
version == o.version &&
|
276
296
|
origin == o.origin &&
|
277
297
|
label == o.label &&
|
278
|
-
description == o.description
|
298
|
+
description == o.description &&
|
299
|
+
architectures == o.architectures &&
|
300
|
+
components == o.components
|
279
301
|
end
|
280
302
|
|
281
303
|
# @see the `==` method
|
@@ -287,7 +309,7 @@ module PulpDebClient
|
|
287
309
|
# Calculates hash code according to all attributes.
|
288
310
|
# @return [Integer] Hash code
|
289
311
|
def hash
|
290
|
-
[repository, codename, suite, distribution, version, origin, label, description].hash
|
312
|
+
[repository, codename, suite, distribution, version, origin, label, description, architectures, components].hash
|
291
313
|
end
|
292
314
|
|
293
315
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Name of the architecture.
|
24
27
|
attr_accessor :architecture
|
25
28
|
|
@@ -31,6 +34,7 @@ module PulpDebClient
|
|
31
34
|
{
|
32
35
|
:'pulp_href' => :'pulp_href',
|
33
36
|
:'pulp_created' => :'pulp_created',
|
37
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
34
38
|
:'architecture' => :'architecture',
|
35
39
|
:'distribution' => :'distribution'
|
36
40
|
}
|
@@ -41,6 +45,7 @@ module PulpDebClient
|
|
41
45
|
{
|
42
46
|
:'pulp_href' => :'String',
|
43
47
|
:'pulp_created' => :'DateTime',
|
48
|
+
:'pulp_last_updated' => :'DateTime',
|
44
49
|
:'architecture' => :'String',
|
45
50
|
:'distribution' => :'String'
|
46
51
|
}
|
@@ -75,6 +80,10 @@ module PulpDebClient
|
|
75
80
|
self.pulp_created = attributes[:'pulp_created']
|
76
81
|
end
|
77
82
|
|
83
|
+
if attributes.key?(:'pulp_last_updated')
|
84
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
85
|
+
end
|
86
|
+
|
78
87
|
if attributes.key?(:'architecture')
|
79
88
|
self.architecture = attributes[:'architecture']
|
80
89
|
end
|
@@ -114,6 +123,7 @@ module PulpDebClient
|
|
114
123
|
self.class == o.class &&
|
115
124
|
pulp_href == o.pulp_href &&
|
116
125
|
pulp_created == o.pulp_created &&
|
126
|
+
pulp_last_updated == o.pulp_last_updated &&
|
117
127
|
architecture == o.architecture &&
|
118
128
|
distribution == o.distribution
|
119
129
|
end
|
@@ -127,7 +137,7 @@ module PulpDebClient
|
|
127
137
|
# Calculates hash code according to all attributes.
|
128
138
|
# @return [Integer] Hash code
|
129
139
|
def hash
|
130
|
-
[pulp_href, pulp_created, architecture, distribution].hash
|
140
|
+
[pulp_href, pulp_created, pulp_last_updated, architecture, distribution].hash
|
131
141
|
end
|
132
142
|
|
133
143
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Name of the component.
|
24
27
|
attr_accessor :component
|
25
28
|
|
@@ -31,6 +34,7 @@ module PulpDebClient
|
|
31
34
|
{
|
32
35
|
:'pulp_href' => :'pulp_href',
|
33
36
|
:'pulp_created' => :'pulp_created',
|
37
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
34
38
|
:'component' => :'component',
|
35
39
|
:'distribution' => :'distribution'
|
36
40
|
}
|
@@ -41,6 +45,7 @@ module PulpDebClient
|
|
41
45
|
{
|
42
46
|
:'pulp_href' => :'String',
|
43
47
|
:'pulp_created' => :'DateTime',
|
48
|
+
:'pulp_last_updated' => :'DateTime',
|
44
49
|
:'component' => :'String',
|
45
50
|
:'distribution' => :'String'
|
46
51
|
}
|
@@ -75,6 +80,10 @@ module PulpDebClient
|
|
75
80
|
self.pulp_created = attributes[:'pulp_created']
|
76
81
|
end
|
77
82
|
|
83
|
+
if attributes.key?(:'pulp_last_updated')
|
84
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
85
|
+
end
|
86
|
+
|
78
87
|
if attributes.key?(:'component')
|
79
88
|
self.component = attributes[:'component']
|
80
89
|
end
|
@@ -114,6 +123,7 @@ module PulpDebClient
|
|
114
123
|
self.class == o.class &&
|
115
124
|
pulp_href == o.pulp_href &&
|
116
125
|
pulp_created == o.pulp_created &&
|
126
|
+
pulp_last_updated == o.pulp_last_updated &&
|
117
127
|
component == o.component &&
|
118
128
|
distribution == o.distribution
|
119
129
|
end
|
@@ -127,7 +137,7 @@ module PulpDebClient
|
|
127
137
|
# Calculates hash code according to all attributes.
|
128
138
|
# @return [Integer] Hash code
|
129
139
|
def hash
|
130
|
-
[pulp_href, pulp_created, component, distribution].hash
|
140
|
+
[pulp_href, pulp_created, pulp_last_updated, component, distribution].hash
|
131
141
|
end
|
132
142
|
|
133
143
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
24
27
|
attr_accessor :artifacts
|
25
28
|
|
@@ -40,6 +43,7 @@ module PulpDebClient
|
|
40
43
|
{
|
41
44
|
:'pulp_href' => :'pulp_href',
|
42
45
|
:'pulp_created' => :'pulp_created',
|
46
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
43
47
|
:'artifacts' => :'artifacts',
|
44
48
|
:'codename' => :'codename',
|
45
49
|
:'suite' => :'suite',
|
@@ -53,6 +57,7 @@ module PulpDebClient
|
|
53
57
|
{
|
54
58
|
:'pulp_href' => :'String',
|
55
59
|
:'pulp_created' => :'DateTime',
|
60
|
+
:'pulp_last_updated' => :'DateTime',
|
56
61
|
:'artifacts' => :'Object',
|
57
62
|
:'codename' => :'String',
|
58
63
|
:'suite' => :'String',
|
@@ -90,6 +95,10 @@ module PulpDebClient
|
|
90
95
|
self.pulp_created = attributes[:'pulp_created']
|
91
96
|
end
|
92
97
|
|
98
|
+
if attributes.key?(:'pulp_last_updated')
|
99
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
100
|
+
end
|
101
|
+
|
93
102
|
if attributes.key?(:'artifacts')
|
94
103
|
self.artifacts = attributes[:'artifacts']
|
95
104
|
end
|
@@ -141,6 +150,7 @@ module PulpDebClient
|
|
141
150
|
self.class == o.class &&
|
142
151
|
pulp_href == o.pulp_href &&
|
143
152
|
pulp_created == o.pulp_created &&
|
153
|
+
pulp_last_updated == o.pulp_last_updated &&
|
144
154
|
artifacts == o.artifacts &&
|
145
155
|
codename == o.codename &&
|
146
156
|
suite == o.suite &&
|
@@ -157,7 +167,7 @@ module PulpDebClient
|
|
157
167
|
# Calculates hash code according to all attributes.
|
158
168
|
# @return [Integer] Hash code
|
159
169
|
def hash
|
160
|
-
[pulp_href, pulp_created, artifacts, codename, suite, distribution, relative_path].hash
|
170
|
+
[pulp_href, pulp_created, pulp_last_updated, artifacts, codename, suite, distribution, relative_path].hash
|
161
171
|
end
|
162
172
|
|
163
173
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
attr_accessor :codename
|
24
27
|
|
25
28
|
attr_accessor :suite
|
@@ -34,18 +37,25 @@ module PulpDebClient
|
|
34
37
|
|
35
38
|
attr_accessor :description
|
36
39
|
|
40
|
+
attr_accessor :architectures
|
41
|
+
|
42
|
+
attr_accessor :components
|
43
|
+
|
37
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
45
|
def self.attribute_map
|
39
46
|
{
|
40
47
|
:'pulp_href' => :'pulp_href',
|
41
48
|
:'pulp_created' => :'pulp_created',
|
49
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
42
50
|
:'codename' => :'codename',
|
43
51
|
:'suite' => :'suite',
|
44
52
|
:'distribution' => :'distribution',
|
45
53
|
:'version' => :'version',
|
46
54
|
:'origin' => :'origin',
|
47
55
|
:'label' => :'label',
|
48
|
-
:'description' => :'description'
|
56
|
+
:'description' => :'description',
|
57
|
+
:'architectures' => :'architectures',
|
58
|
+
:'components' => :'components'
|
49
59
|
}
|
50
60
|
end
|
51
61
|
|
@@ -54,13 +64,16 @@ module PulpDebClient
|
|
54
64
|
{
|
55
65
|
:'pulp_href' => :'String',
|
56
66
|
:'pulp_created' => :'DateTime',
|
67
|
+
:'pulp_last_updated' => :'DateTime',
|
57
68
|
:'codename' => :'String',
|
58
69
|
:'suite' => :'String',
|
59
70
|
:'distribution' => :'String',
|
60
71
|
:'version' => :'String',
|
61
72
|
:'origin' => :'String',
|
62
73
|
:'label' => :'String',
|
63
|
-
:'description' => :'String'
|
74
|
+
:'description' => :'String',
|
75
|
+
:'architectures' => :'Array<String>',
|
76
|
+
:'components' => :'Array<String>'
|
64
77
|
}
|
65
78
|
end
|
66
79
|
|
@@ -70,7 +83,7 @@ module PulpDebClient
|
|
70
83
|
:'version',
|
71
84
|
:'origin',
|
72
85
|
:'label',
|
73
|
-
:'description'
|
86
|
+
:'description',
|
74
87
|
])
|
75
88
|
end
|
76
89
|
|
@@ -97,6 +110,10 @@ module PulpDebClient
|
|
97
110
|
self.pulp_created = attributes[:'pulp_created']
|
98
111
|
end
|
99
112
|
|
113
|
+
if attributes.key?(:'pulp_last_updated')
|
114
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
115
|
+
end
|
116
|
+
|
100
117
|
if attributes.key?(:'codename')
|
101
118
|
self.codename = attributes[:'codename']
|
102
119
|
end
|
@@ -124,6 +141,18 @@ module PulpDebClient
|
|
124
141
|
if attributes.key?(:'description')
|
125
142
|
self.description = attributes[:'description']
|
126
143
|
end
|
144
|
+
|
145
|
+
if attributes.key?(:'architectures')
|
146
|
+
if (value = attributes[:'architectures']).is_a?(Array)
|
147
|
+
self.architectures = value
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
if attributes.key?(:'components')
|
152
|
+
if (value = attributes[:'components']).is_a?(Array)
|
153
|
+
self.components = value
|
154
|
+
end
|
155
|
+
end
|
127
156
|
end
|
128
157
|
|
129
158
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -161,13 +190,16 @@ module PulpDebClient
|
|
161
190
|
self.class == o.class &&
|
162
191
|
pulp_href == o.pulp_href &&
|
163
192
|
pulp_created == o.pulp_created &&
|
193
|
+
pulp_last_updated == o.pulp_last_updated &&
|
164
194
|
codename == o.codename &&
|
165
195
|
suite == o.suite &&
|
166
196
|
distribution == o.distribution &&
|
167
197
|
version == o.version &&
|
168
198
|
origin == o.origin &&
|
169
199
|
label == o.label &&
|
170
|
-
description == o.description
|
200
|
+
description == o.description &&
|
201
|
+
architectures == o.architectures &&
|
202
|
+
components == o.components
|
171
203
|
end
|
172
204
|
|
173
205
|
# @see the `==` method
|
@@ -179,7 +211,7 @@ module PulpDebClient
|
|
179
211
|
# Calculates hash code according to all attributes.
|
180
212
|
# @return [Integer] Hash code
|
181
213
|
def hash
|
182
|
-
[pulp_href, pulp_created, codename, suite, distribution, version, origin, label, description].hash
|
214
|
+
[pulp_href, pulp_created, pulp_last_updated, codename, suite, distribution, version, origin, label, description, architectures, components].hash
|
183
215
|
end
|
184
216
|
|
185
217
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
24
27
|
attr_accessor :artifacts
|
25
28
|
|
@@ -37,6 +40,7 @@ module PulpDebClient
|
|
37
40
|
{
|
38
41
|
:'pulp_href' => :'pulp_href',
|
39
42
|
:'pulp_created' => :'pulp_created',
|
43
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
40
44
|
:'artifacts' => :'artifacts',
|
41
45
|
:'release' => :'release',
|
42
46
|
:'component' => :'component',
|
@@ -49,6 +53,7 @@ module PulpDebClient
|
|
49
53
|
{
|
50
54
|
:'pulp_href' => :'String',
|
51
55
|
:'pulp_created' => :'DateTime',
|
56
|
+
:'pulp_last_updated' => :'DateTime',
|
52
57
|
:'artifacts' => :'Object',
|
53
58
|
:'release' => :'String',
|
54
59
|
:'component' => :'String',
|
@@ -85,6 +90,10 @@ module PulpDebClient
|
|
85
90
|
self.pulp_created = attributes[:'pulp_created']
|
86
91
|
end
|
87
92
|
|
93
|
+
if attributes.key?(:'pulp_last_updated')
|
94
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
95
|
+
end
|
96
|
+
|
88
97
|
if attributes.key?(:'artifacts')
|
89
98
|
self.artifacts = attributes[:'artifacts']
|
90
99
|
end
|
@@ -137,6 +146,7 @@ module PulpDebClient
|
|
137
146
|
self.class == o.class &&
|
138
147
|
pulp_href == o.pulp_href &&
|
139
148
|
pulp_created == o.pulp_created &&
|
149
|
+
pulp_last_updated == o.pulp_last_updated &&
|
140
150
|
artifacts == o.artifacts &&
|
141
151
|
release == o.release &&
|
142
152
|
component == o.component &&
|
@@ -152,7 +162,7 @@ module PulpDebClient
|
|
152
162
|
# Calculates hash code according to all attributes.
|
153
163
|
# @return [Integer] Hash code
|
154
164
|
def hash
|
155
|
-
[pulp_href, pulp_created, artifacts, release, component, relative_path].hash
|
165
|
+
[pulp_href, pulp_created, pulp_last_updated, artifacts, release, component, relative_path].hash
|
156
166
|
end
|
157
167
|
|
158
168
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Source package that is contained in release_component.
|
24
27
|
attr_accessor :source_package
|
25
28
|
|
@@ -31,6 +34,7 @@ module PulpDebClient
|
|
31
34
|
{
|
32
35
|
:'pulp_href' => :'pulp_href',
|
33
36
|
:'pulp_created' => :'pulp_created',
|
37
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
34
38
|
:'source_package' => :'source_package',
|
35
39
|
:'release_component' => :'release_component'
|
36
40
|
}
|
@@ -41,6 +45,7 @@ module PulpDebClient
|
|
41
45
|
{
|
42
46
|
:'pulp_href' => :'String',
|
43
47
|
:'pulp_created' => :'DateTime',
|
48
|
+
:'pulp_last_updated' => :'DateTime',
|
44
49
|
:'source_package' => :'String',
|
45
50
|
:'release_component' => :'String'
|
46
51
|
}
|
@@ -75,6 +80,10 @@ module PulpDebClient
|
|
75
80
|
self.pulp_created = attributes[:'pulp_created']
|
76
81
|
end
|
77
82
|
|
83
|
+
if attributes.key?(:'pulp_last_updated')
|
84
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
85
|
+
end
|
86
|
+
|
78
87
|
if attributes.key?(:'source_package')
|
79
88
|
self.source_package = attributes[:'source_package']
|
80
89
|
end
|
@@ -114,6 +123,7 @@ module PulpDebClient
|
|
114
123
|
self.class == o.class &&
|
115
124
|
pulp_href == o.pulp_href &&
|
116
125
|
pulp_created == o.pulp_created &&
|
126
|
+
pulp_last_updated == o.pulp_last_updated &&
|
117
127
|
source_package == o.source_package &&
|
118
128
|
release_component == o.release_component
|
119
129
|
end
|
@@ -127,7 +137,7 @@ module PulpDebClient
|
|
127
137
|
# Calculates hash code according to all attributes.
|
128
138
|
# @return [Integer] Hash code
|
129
139
|
def hash
|
130
|
-
[pulp_href, pulp_created, source_package, release_component].hash
|
140
|
+
[pulp_href, pulp_created, pulp_last_updated, source_package, release_component].hash
|
131
141
|
end
|
132
142
|
|
133
143
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
24
27
|
attr_accessor :artifacts
|
25
28
|
|
@@ -85,6 +88,7 @@ module PulpDebClient
|
|
85
88
|
{
|
86
89
|
:'pulp_href' => :'pulp_href',
|
87
90
|
:'pulp_created' => :'pulp_created',
|
91
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
88
92
|
:'artifacts' => :'artifacts',
|
89
93
|
:'relative_path' => :'relative_path',
|
90
94
|
:'format' => :'format',
|
@@ -122,6 +126,7 @@ module PulpDebClient
|
|
122
126
|
{
|
123
127
|
:'pulp_href' => :'String',
|
124
128
|
:'pulp_created' => :'DateTime',
|
129
|
+
:'pulp_last_updated' => :'DateTime',
|
125
130
|
:'artifacts' => :'Object',
|
126
131
|
:'relative_path' => :'String',
|
127
132
|
:'format' => :'String',
|
@@ -183,6 +188,10 @@ module PulpDebClient
|
|
183
188
|
self.pulp_created = attributes[:'pulp_created']
|
184
189
|
end
|
185
190
|
|
191
|
+
if attributes.key?(:'pulp_last_updated')
|
192
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
193
|
+
end
|
194
|
+
|
186
195
|
if attributes.key?(:'artifacts')
|
187
196
|
self.artifacts = attributes[:'artifacts']
|
188
197
|
end
|
@@ -325,6 +334,7 @@ module PulpDebClient
|
|
325
334
|
self.class == o.class &&
|
326
335
|
pulp_href == o.pulp_href &&
|
327
336
|
pulp_created == o.pulp_created &&
|
337
|
+
pulp_last_updated == o.pulp_last_updated &&
|
328
338
|
artifacts == o.artifacts &&
|
329
339
|
relative_path == o.relative_path &&
|
330
340
|
format == o.format &&
|
@@ -365,7 +375,7 @@ module PulpDebClient
|
|
365
375
|
# Calculates hash code according to all attributes.
|
366
376
|
# @return [Integer] Hash code
|
367
377
|
def hash
|
368
|
-
[pulp_href, pulp_created, artifacts, relative_path, 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
|
378
|
+
[pulp_href, pulp_created, pulp_last_updated, artifacts, relative_path, 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
|
369
379
|
end
|
370
380
|
|
371
381
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
attr_accessor :repository_version
|
24
27
|
|
25
28
|
# A URI of the repository to be published.
|
@@ -30,6 +33,7 @@ module PulpDebClient
|
|
30
33
|
{
|
31
34
|
:'pulp_href' => :'pulp_href',
|
32
35
|
:'pulp_created' => :'pulp_created',
|
36
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
33
37
|
:'repository_version' => :'repository_version',
|
34
38
|
:'repository' => :'repository'
|
35
39
|
}
|
@@ -40,6 +44,7 @@ module PulpDebClient
|
|
40
44
|
{
|
41
45
|
:'pulp_href' => :'String',
|
42
46
|
:'pulp_created' => :'DateTime',
|
47
|
+
:'pulp_last_updated' => :'DateTime',
|
43
48
|
:'repository_version' => :'String',
|
44
49
|
:'repository' => :'String'
|
45
50
|
}
|
@@ -74,6 +79,10 @@ module PulpDebClient
|
|
74
79
|
self.pulp_created = attributes[:'pulp_created']
|
75
80
|
end
|
76
81
|
|
82
|
+
if attributes.key?(:'pulp_last_updated')
|
83
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
84
|
+
end
|
85
|
+
|
77
86
|
if attributes.key?(:'repository_version')
|
78
87
|
self.repository_version = attributes[:'repository_version']
|
79
88
|
end
|
@@ -103,6 +112,7 @@ module PulpDebClient
|
|
103
112
|
self.class == o.class &&
|
104
113
|
pulp_href == o.pulp_href &&
|
105
114
|
pulp_created == o.pulp_created &&
|
115
|
+
pulp_last_updated == o.pulp_last_updated &&
|
106
116
|
repository_version == o.repository_version &&
|
107
117
|
repository == o.repository
|
108
118
|
end
|
@@ -116,7 +126,7 @@ module PulpDebClient
|
|
116
126
|
# Calculates hash code according to all attributes.
|
117
127
|
# @return [Integer] Hash code
|
118
128
|
def hash
|
119
|
-
[pulp_href, pulp_created, repository_version, repository].hash
|
129
|
+
[pulp_href, pulp_created, pulp_last_updated, repository_version, repository].hash
|
120
130
|
end
|
121
131
|
|
122
132
|
# Builds the object from hash
|