pulp_container_client 2.24.0 → 2.24.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 +14 -5
- data/docs/ContainerBlobResponse.md +2 -0
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
- data/docs/ContainerManifestResponse.md +2 -0
- data/docs/ContainerManifestSignatureResponse.md +2 -0
- data/docs/ContainerTagResponse.md +2 -0
- data/docs/ContentBlobsApi.md +150 -2
- data/docs/ContentManifestsApi.md +150 -2
- data/docs/ContentSignaturesApi.md +150 -2
- data/docs/ContentTagsApi.md +150 -2
- data/docs/DistributionsContainerApi.md +6 -4
- data/docs/DistributionsPullThroughApi.md +6 -4
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/lib/pulp_container_client/api/content_blobs_api.rb +154 -3
- data/lib/pulp_container_client/api/content_manifests_api.rb +154 -3
- data/lib/pulp_container_client/api/content_signatures_api.rb +154 -3
- data/lib/pulp_container_client/api/content_tags_api.rb +154 -3
- data/lib/pulp_container_client/api/distributions_container_api.rb +6 -3
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +6 -3
- data/lib/pulp_container_client/models/container_blob_response.rb +13 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +55 -55
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +61 -61
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +55 -55
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +61 -61
- data/lib/pulp_container_client/models/container_container_push_repository.rb +16 -16
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +37 -37
- data/lib/pulp_container_client/models/container_manifest_response.rb +13 -1
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +13 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +13 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +16 -16
- data/lib/pulp_container_client/models/unset_label.rb +1 -1
- data/lib/pulp_container_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/pulp_container_client.gemspec +0 -1
- data/spec/api/content_blobs_api_spec.rb +28 -1
- data/spec/api/content_manifests_api_spec.rb +28 -1
- data/spec/api/content_signatures_api_spec.rb +28 -1
- data/spec/api/content_tags_api_spec.rb +28 -1
- data/spec/api/distributions_container_api_spec.rb +2 -1
- data/spec/api/distributions_pull_through_api_spec.rb +2 -1
- data/spec/models/container_blob_response_spec.rb +6 -0
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/container_manifest_response_spec.rb +6 -0
- data/spec/models/container_manifest_signature_response_spec.rb +6 -0
- data/spec/models/container_tag_response_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +63 -83
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
@@ -16,13 +16,8 @@ require 'time'
|
|
16
16
|
module PulpContainerClient
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
18
18
|
class ContainerContainerPullThroughDistributionResponse
|
19
|
-
|
20
|
-
|
21
|
-
# The latest RepositoryVersion for this Repository will be served.
|
22
|
-
attr_accessor :repository
|
23
|
-
|
24
|
-
# Timestamp of creation.
|
25
|
-
attr_accessor :pulp_created
|
19
|
+
# Whether this distribution should be shown in the content app.
|
20
|
+
attr_accessor :hidden
|
26
21
|
|
27
22
|
# An optional content-guard. If none is specified, a default one will be used.
|
28
23
|
attr_accessor :content_guard
|
@@ -30,13 +25,21 @@ module PulpContainerClient
|
|
30
25
|
# The Pulp Resource Name (PRN).
|
31
26
|
attr_accessor :prn
|
32
27
|
|
28
|
+
attr_accessor :pulp_labels
|
29
|
+
|
30
|
+
attr_accessor :pulp_href
|
31
|
+
|
33
32
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
34
33
|
attr_accessor :no_content_change_since
|
35
34
|
|
36
|
-
#
|
37
|
-
attr_accessor :
|
35
|
+
# The latest RepositoryVersion for this Repository will be served.
|
36
|
+
attr_accessor :repository
|
38
37
|
|
39
|
-
|
38
|
+
# Timestamp of creation.
|
39
|
+
attr_accessor :pulp_created
|
40
|
+
|
41
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
42
|
+
attr_accessor :base_path
|
40
43
|
|
41
44
|
# A unique name. Ex, `rawhide` and `stable`.
|
42
45
|
attr_accessor :name
|
@@ -44,9 +47,6 @@ module PulpContainerClient
|
|
44
47
|
# 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.
|
45
48
|
attr_accessor :pulp_last_updated
|
46
49
|
|
47
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
48
|
-
attr_accessor :base_path
|
49
|
-
|
50
50
|
# Remote that can be used to fetch content when using pull-through caching.
|
51
51
|
attr_accessor :remote
|
52
52
|
|
@@ -65,17 +65,17 @@ module PulpContainerClient
|
|
65
65
|
# Attribute mapping from ruby-style variable name to JSON key.
|
66
66
|
def self.attribute_map
|
67
67
|
{
|
68
|
-
:'
|
69
|
-
:'repository' => :'repository',
|
70
|
-
:'pulp_created' => :'pulp_created',
|
68
|
+
:'hidden' => :'hidden',
|
71
69
|
:'content_guard' => :'content_guard',
|
72
70
|
:'prn' => :'prn',
|
73
|
-
:'
|
74
|
-
:'hidden' => :'hidden',
|
71
|
+
:'pulp_labels' => :'pulp_labels',
|
75
72
|
:'pulp_href' => :'pulp_href',
|
73
|
+
:'no_content_change_since' => :'no_content_change_since',
|
74
|
+
:'repository' => :'repository',
|
75
|
+
:'pulp_created' => :'pulp_created',
|
76
|
+
:'base_path' => :'base_path',
|
76
77
|
:'name' => :'name',
|
77
78
|
:'pulp_last_updated' => :'pulp_last_updated',
|
78
|
-
:'base_path' => :'base_path',
|
79
79
|
:'remote' => :'remote',
|
80
80
|
:'distributions' => :'distributions',
|
81
81
|
:'namespace' => :'namespace',
|
@@ -92,17 +92,17 @@ module PulpContainerClient
|
|
92
92
|
# Attribute type mapping.
|
93
93
|
def self.openapi_types
|
94
94
|
{
|
95
|
-
:'
|
96
|
-
:'repository' => :'String',
|
97
|
-
:'pulp_created' => :'Time',
|
95
|
+
:'hidden' => :'Boolean',
|
98
96
|
:'content_guard' => :'String',
|
99
97
|
:'prn' => :'String',
|
100
|
-
:'
|
101
|
-
:'hidden' => :'Boolean',
|
98
|
+
:'pulp_labels' => :'Hash<String, String>',
|
102
99
|
:'pulp_href' => :'String',
|
100
|
+
:'no_content_change_since' => :'String',
|
101
|
+
:'repository' => :'String',
|
102
|
+
:'pulp_created' => :'Time',
|
103
|
+
:'base_path' => :'String',
|
103
104
|
:'name' => :'String',
|
104
105
|
:'pulp_last_updated' => :'Time',
|
105
|
-
:'base_path' => :'String',
|
106
106
|
:'remote' => :'String',
|
107
107
|
:'distributions' => :'Array<String>',
|
108
108
|
:'namespace' => :'String',
|
@@ -134,18 +134,10 @@ module PulpContainerClient
|
|
134
134
|
h[k.to_sym] = v
|
135
135
|
}
|
136
136
|
|
137
|
-
if attributes.key?(:'
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
end
|
142
|
-
|
143
|
-
if attributes.key?(:'repository')
|
144
|
-
self.repository = attributes[:'repository']
|
145
|
-
end
|
146
|
-
|
147
|
-
if attributes.key?(:'pulp_created')
|
148
|
-
self.pulp_created = attributes[:'pulp_created']
|
137
|
+
if attributes.key?(:'hidden')
|
138
|
+
self.hidden = attributes[:'hidden']
|
139
|
+
else
|
140
|
+
self.hidden = false
|
149
141
|
end
|
150
142
|
|
151
143
|
if attributes.key?(:'content_guard')
|
@@ -156,18 +148,32 @@ module PulpContainerClient
|
|
156
148
|
self.prn = attributes[:'prn']
|
157
149
|
end
|
158
150
|
|
151
|
+
if attributes.key?(:'pulp_labels')
|
152
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
153
|
+
self.pulp_labels = value
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
if attributes.key?(:'pulp_href')
|
158
|
+
self.pulp_href = attributes[:'pulp_href']
|
159
|
+
end
|
160
|
+
|
159
161
|
if attributes.key?(:'no_content_change_since')
|
160
162
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
161
163
|
end
|
162
164
|
|
163
|
-
if attributes.key?(:'
|
164
|
-
self.
|
165
|
-
else
|
166
|
-
self.hidden = false
|
165
|
+
if attributes.key?(:'repository')
|
166
|
+
self.repository = attributes[:'repository']
|
167
167
|
end
|
168
168
|
|
169
|
-
if attributes.key?(:'
|
170
|
-
self.
|
169
|
+
if attributes.key?(:'pulp_created')
|
170
|
+
self.pulp_created = attributes[:'pulp_created']
|
171
|
+
end
|
172
|
+
|
173
|
+
if attributes.key?(:'base_path')
|
174
|
+
self.base_path = attributes[:'base_path']
|
175
|
+
else
|
176
|
+
self.base_path = nil
|
171
177
|
end
|
172
178
|
|
173
179
|
if attributes.key?(:'name')
|
@@ -180,12 +186,6 @@ module PulpContainerClient
|
|
180
186
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
181
187
|
end
|
182
188
|
|
183
|
-
if attributes.key?(:'base_path')
|
184
|
-
self.base_path = attributes[:'base_path']
|
185
|
-
else
|
186
|
-
self.base_path = nil
|
187
|
-
end
|
188
|
-
|
189
189
|
if attributes.key?(:'remote')
|
190
190
|
self.remote = attributes[:'remote']
|
191
191
|
else
|
@@ -216,14 +216,14 @@ module PulpContainerClient
|
|
216
216
|
def list_invalid_properties
|
217
217
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
218
218
|
invalid_properties = Array.new
|
219
|
-
if @name.nil?
|
220
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
221
|
-
end
|
222
|
-
|
223
219
|
if @base_path.nil?
|
224
220
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
225
221
|
end
|
226
222
|
|
223
|
+
if @name.nil?
|
224
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
225
|
+
end
|
226
|
+
|
227
227
|
if @remote.nil?
|
228
228
|
invalid_properties.push('invalid value for "remote", remote cannot be nil.')
|
229
229
|
end
|
@@ -235,8 +235,8 @@ module PulpContainerClient
|
|
235
235
|
# @return true if the model is valid
|
236
236
|
def valid?
|
237
237
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
238
|
-
return false if @name.nil?
|
239
238
|
return false if @base_path.nil?
|
239
|
+
return false if @name.nil?
|
240
240
|
return false if @remote.nil?
|
241
241
|
true
|
242
242
|
end
|
@@ -246,17 +246,17 @@ module PulpContainerClient
|
|
246
246
|
def ==(o)
|
247
247
|
return true if self.equal?(o)
|
248
248
|
self.class == o.class &&
|
249
|
-
|
250
|
-
repository == o.repository &&
|
251
|
-
pulp_created == o.pulp_created &&
|
249
|
+
hidden == o.hidden &&
|
252
250
|
content_guard == o.content_guard &&
|
253
251
|
prn == o.prn &&
|
254
|
-
|
255
|
-
hidden == o.hidden &&
|
252
|
+
pulp_labels == o.pulp_labels &&
|
256
253
|
pulp_href == o.pulp_href &&
|
254
|
+
no_content_change_since == o.no_content_change_since &&
|
255
|
+
repository == o.repository &&
|
256
|
+
pulp_created == o.pulp_created &&
|
257
|
+
base_path == o.base_path &&
|
257
258
|
name == o.name &&
|
258
259
|
pulp_last_updated == o.pulp_last_updated &&
|
259
|
-
base_path == o.base_path &&
|
260
260
|
remote == o.remote &&
|
261
261
|
distributions == o.distributions &&
|
262
262
|
namespace == o.namespace &&
|
@@ -273,7 +273,7 @@ module PulpContainerClient
|
|
273
273
|
# Calculates hash code according to all attributes.
|
274
274
|
# @return [Integer] Hash code
|
275
275
|
def hash
|
276
|
-
[
|
276
|
+
[hidden, content_guard, prn, pulp_labels, pulp_href, no_content_change_since, repository, pulp_created, base_path, name, pulp_last_updated, remote, distributions, namespace, private, description].hash
|
277
277
|
end
|
278
278
|
|
279
279
|
# Builds the object from hash
|
@@ -21,23 +21,23 @@ module PulpContainerClient
|
|
21
21
|
# An optional description.
|
22
22
|
attr_accessor :description
|
23
23
|
|
24
|
+
# A reference to an associated signing service.
|
25
|
+
attr_accessor :manifest_signing_service
|
26
|
+
|
24
27
|
# A unique name for this repository.
|
25
28
|
attr_accessor :name
|
26
29
|
|
27
30
|
# Retain X versions of the repository. Default is null which retains all versions.
|
28
31
|
attr_accessor :retain_repo_versions
|
29
32
|
|
30
|
-
# A reference to an associated signing service.
|
31
|
-
attr_accessor :manifest_signing_service
|
32
|
-
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
35
35
|
{
|
36
36
|
:'pulp_labels' => :'pulp_labels',
|
37
37
|
:'description' => :'description',
|
38
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
38
39
|
:'name' => :'name',
|
39
|
-
:'retain_repo_versions' => :'retain_repo_versions'
|
40
|
-
:'manifest_signing_service' => :'manifest_signing_service'
|
40
|
+
:'retain_repo_versions' => :'retain_repo_versions'
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
@@ -51,9 +51,9 @@ module PulpContainerClient
|
|
51
51
|
{
|
52
52
|
:'pulp_labels' => :'Hash<String, String>',
|
53
53
|
:'description' => :'String',
|
54
|
+
:'manifest_signing_service' => :'String',
|
54
55
|
:'name' => :'String',
|
55
|
-
:'retain_repo_versions' => :'Integer'
|
56
|
-
:'manifest_signing_service' => :'String'
|
56
|
+
:'retain_repo_versions' => :'Integer'
|
57
57
|
}
|
58
58
|
end
|
59
59
|
|
@@ -61,8 +61,8 @@ module PulpContainerClient
|
|
61
61
|
def self.openapi_nullable
|
62
62
|
Set.new([
|
63
63
|
:'description',
|
64
|
-
:'
|
65
|
-
:'
|
64
|
+
:'manifest_signing_service',
|
65
|
+
:'retain_repo_versions'
|
66
66
|
])
|
67
67
|
end
|
68
68
|
|
@@ -91,6 +91,10 @@ module PulpContainerClient
|
|
91
91
|
self.description = attributes[:'description']
|
92
92
|
end
|
93
93
|
|
94
|
+
if attributes.key?(:'manifest_signing_service')
|
95
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
96
|
+
end
|
97
|
+
|
94
98
|
if attributes.key?(:'name')
|
95
99
|
self.name = attributes[:'name']
|
96
100
|
else
|
@@ -100,10 +104,6 @@ module PulpContainerClient
|
|
100
104
|
if attributes.key?(:'retain_repo_versions')
|
101
105
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
102
106
|
end
|
103
|
-
|
104
|
-
if attributes.key?(:'manifest_signing_service')
|
105
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
106
|
-
end
|
107
107
|
end
|
108
108
|
|
109
109
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -182,9 +182,9 @@ module PulpContainerClient
|
|
182
182
|
self.class == o.class &&
|
183
183
|
pulp_labels == o.pulp_labels &&
|
184
184
|
description == o.description &&
|
185
|
+
manifest_signing_service == o.manifest_signing_service &&
|
185
186
|
name == o.name &&
|
186
|
-
retain_repo_versions == o.retain_repo_versions
|
187
|
-
manifest_signing_service == o.manifest_signing_service
|
187
|
+
retain_repo_versions == o.retain_repo_versions
|
188
188
|
end
|
189
189
|
|
190
190
|
# @see the `==` method
|
@@ -196,7 +196,7 @@ module PulpContainerClient
|
|
196
196
|
# Calculates hash code according to all attributes.
|
197
197
|
# @return [Integer] Hash code
|
198
198
|
def hash
|
199
|
-
[pulp_labels, description, name, retain_repo_versions
|
199
|
+
[pulp_labels, description, manifest_signing_service, name, retain_repo_versions].hash
|
200
200
|
end
|
201
201
|
|
202
202
|
# Builds the object from hash
|
@@ -18,20 +18,23 @@ module PulpContainerClient
|
|
18
18
|
class ContainerContainerPushRepositoryResponse
|
19
19
|
attr_accessor :pulp_labels
|
20
20
|
|
21
|
-
# Timestamp of creation.
|
22
|
-
attr_accessor :pulp_created
|
23
|
-
|
24
21
|
# The Pulp Resource Name (PRN).
|
25
22
|
attr_accessor :prn
|
26
23
|
|
24
|
+
attr_accessor :latest_version_href
|
25
|
+
|
26
|
+
attr_accessor :pulp_href
|
27
|
+
|
27
28
|
# An optional description.
|
28
29
|
attr_accessor :description
|
29
30
|
|
30
|
-
|
31
|
+
# A reference to an associated signing service.
|
32
|
+
attr_accessor :manifest_signing_service
|
31
33
|
|
32
34
|
attr_accessor :versions_href
|
33
35
|
|
34
|
-
|
36
|
+
# Timestamp of creation.
|
37
|
+
attr_accessor :pulp_created
|
35
38
|
|
36
39
|
# A unique name for this repository.
|
37
40
|
attr_accessor :name
|
@@ -42,23 +45,20 @@ module PulpContainerClient
|
|
42
45
|
# 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.
|
43
46
|
attr_accessor :pulp_last_updated
|
44
47
|
|
45
|
-
# A reference to an associated signing service.
|
46
|
-
attr_accessor :manifest_signing_service
|
47
|
-
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
49
49
|
def self.attribute_map
|
50
50
|
{
|
51
51
|
:'pulp_labels' => :'pulp_labels',
|
52
|
-
:'pulp_created' => :'pulp_created',
|
53
52
|
:'prn' => :'prn',
|
54
|
-
:'description' => :'description',
|
55
53
|
:'latest_version_href' => :'latest_version_href',
|
56
|
-
:'versions_href' => :'versions_href',
|
57
54
|
:'pulp_href' => :'pulp_href',
|
55
|
+
:'description' => :'description',
|
56
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
57
|
+
:'versions_href' => :'versions_href',
|
58
|
+
:'pulp_created' => :'pulp_created',
|
58
59
|
:'name' => :'name',
|
59
60
|
:'retain_repo_versions' => :'retain_repo_versions',
|
60
|
-
:'pulp_last_updated' => :'pulp_last_updated'
|
61
|
-
:'manifest_signing_service' => :'manifest_signing_service'
|
61
|
+
:'pulp_last_updated' => :'pulp_last_updated'
|
62
62
|
}
|
63
63
|
end
|
64
64
|
|
@@ -71,16 +71,16 @@ module PulpContainerClient
|
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
73
|
:'pulp_labels' => :'Hash<String, String>',
|
74
|
-
:'pulp_created' => :'Time',
|
75
74
|
:'prn' => :'String',
|
76
|
-
:'description' => :'String',
|
77
75
|
:'latest_version_href' => :'String',
|
78
|
-
:'versions_href' => :'String',
|
79
76
|
:'pulp_href' => :'String',
|
77
|
+
:'description' => :'String',
|
78
|
+
:'manifest_signing_service' => :'String',
|
79
|
+
:'versions_href' => :'String',
|
80
|
+
:'pulp_created' => :'Time',
|
80
81
|
:'name' => :'String',
|
81
82
|
:'retain_repo_versions' => :'Integer',
|
82
|
-
:'pulp_last_updated' => :'Time'
|
83
|
-
:'manifest_signing_service' => :'String'
|
83
|
+
:'pulp_last_updated' => :'Time'
|
84
84
|
}
|
85
85
|
end
|
86
86
|
|
@@ -88,8 +88,8 @@ module PulpContainerClient
|
|
88
88
|
def self.openapi_nullable
|
89
89
|
Set.new([
|
90
90
|
:'description',
|
91
|
+
:'manifest_signing_service',
|
91
92
|
:'retain_repo_versions',
|
92
|
-
:'manifest_signing_service'
|
93
93
|
])
|
94
94
|
end
|
95
95
|
|
@@ -114,28 +114,32 @@ module PulpContainerClient
|
|
114
114
|
end
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'pulp_created')
|
118
|
-
self.pulp_created = attributes[:'pulp_created']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'prn')
|
122
118
|
self.prn = attributes[:'prn']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'latest_version_href')
|
122
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
123
|
+
end
|
124
|
+
|
125
|
+
if attributes.key?(:'pulp_href')
|
126
|
+
self.pulp_href = attributes[:'pulp_href']
|
127
|
+
end
|
128
|
+
|
125
129
|
if attributes.key?(:'description')
|
126
130
|
self.description = attributes[:'description']
|
127
131
|
end
|
128
132
|
|
129
|
-
if attributes.key?(:'
|
130
|
-
self.
|
133
|
+
if attributes.key?(:'manifest_signing_service')
|
134
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
131
135
|
end
|
132
136
|
|
133
137
|
if attributes.key?(:'versions_href')
|
134
138
|
self.versions_href = attributes[:'versions_href']
|
135
139
|
end
|
136
140
|
|
137
|
-
if attributes.key?(:'
|
138
|
-
self.
|
141
|
+
if attributes.key?(:'pulp_created')
|
142
|
+
self.pulp_created = attributes[:'pulp_created']
|
139
143
|
end
|
140
144
|
|
141
145
|
if attributes.key?(:'name')
|
@@ -151,10 +155,6 @@ module PulpContainerClient
|
|
151
155
|
if attributes.key?(:'pulp_last_updated')
|
152
156
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
153
157
|
end
|
154
|
-
|
155
|
-
if attributes.key?(:'manifest_signing_service')
|
156
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
157
|
-
end
|
158
158
|
end
|
159
159
|
|
160
160
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -198,16 +198,16 @@ module PulpContainerClient
|
|
198
198
|
return true if self.equal?(o)
|
199
199
|
self.class == o.class &&
|
200
200
|
pulp_labels == o.pulp_labels &&
|
201
|
-
pulp_created == o.pulp_created &&
|
202
201
|
prn == o.prn &&
|
203
|
-
description == o.description &&
|
204
202
|
latest_version_href == o.latest_version_href &&
|
205
|
-
versions_href == o.versions_href &&
|
206
203
|
pulp_href == o.pulp_href &&
|
204
|
+
description == o.description &&
|
205
|
+
manifest_signing_service == o.manifest_signing_service &&
|
206
|
+
versions_href == o.versions_href &&
|
207
|
+
pulp_created == o.pulp_created &&
|
207
208
|
name == o.name &&
|
208
209
|
retain_repo_versions == o.retain_repo_versions &&
|
209
|
-
pulp_last_updated == o.pulp_last_updated
|
210
|
-
manifest_signing_service == o.manifest_signing_service
|
210
|
+
pulp_last_updated == o.pulp_last_updated
|
211
211
|
end
|
212
212
|
|
213
213
|
# @see the `==` method
|
@@ -219,7 +219,7 @@ module PulpContainerClient
|
|
219
219
|
# Calculates hash code according to all attributes.
|
220
220
|
# @return [Integer] Hash code
|
221
221
|
def hash
|
222
|
-
[pulp_labels,
|
222
|
+
[pulp_labels, prn, latest_version_href, pulp_href, description, manifest_signing_service, versions_href, pulp_created, name, retain_repo_versions, pulp_last_updated].hash
|
223
223
|
end
|
224
224
|
|
225
225
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpContainerClient
|
|
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
|
# sha256 of the Manifest file
|
31
34
|
attr_accessor :digest
|
32
35
|
|
@@ -76,6 +79,7 @@ module PulpContainerClient
|
|
76
79
|
:'prn' => :'prn',
|
77
80
|
:'pulp_created' => :'pulp_created',
|
78
81
|
:'pulp_last_updated' => :'pulp_last_updated',
|
82
|
+
:'pulp_labels' => :'pulp_labels',
|
79
83
|
:'digest' => :'digest',
|
80
84
|
:'schema_version' => :'schema_version',
|
81
85
|
:'media_type' => :'media_type',
|
@@ -105,6 +109,7 @@ module PulpContainerClient
|
|
105
109
|
:'prn' => :'String',
|
106
110
|
:'pulp_created' => :'Time',
|
107
111
|
:'pulp_last_updated' => :'Time',
|
112
|
+
:'pulp_labels' => :'Hash<String, String>',
|
108
113
|
:'digest' => :'String',
|
109
114
|
:'schema_version' => :'Integer',
|
110
115
|
:'media_type' => :'String',
|
@@ -159,6 +164,12 @@ module PulpContainerClient
|
|
159
164
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
160
165
|
end
|
161
166
|
|
167
|
+
if attributes.key?(:'pulp_labels')
|
168
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
169
|
+
self.pulp_labels = value
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
162
173
|
if attributes.key?(:'digest')
|
163
174
|
self.digest = attributes[:'digest']
|
164
175
|
else
|
@@ -283,6 +294,7 @@ module PulpContainerClient
|
|
283
294
|
prn == o.prn &&
|
284
295
|
pulp_created == o.pulp_created &&
|
285
296
|
pulp_last_updated == o.pulp_last_updated &&
|
297
|
+
pulp_labels == o.pulp_labels &&
|
286
298
|
digest == o.digest &&
|
287
299
|
schema_version == o.schema_version &&
|
288
300
|
media_type == o.media_type &&
|
@@ -308,7 +320,7 @@ module PulpContainerClient
|
|
308
320
|
# Calculates hash code according to all attributes.
|
309
321
|
# @return [Integer] Hash code
|
310
322
|
def hash
|
311
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, digest, schema_version, media_type, listed_manifests, config_blob, blobs, annotations, labels, is_bootable, is_flatpak, type, architecture, os, compressed_image_size].hash
|
323
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, digest, schema_version, media_type, listed_manifests, config_blob, blobs, annotations, labels, is_bootable, is_flatpak, type, architecture, os, compressed_image_size].hash
|
312
324
|
end
|
313
325
|
|
314
326
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpContainerClient
|
|
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
|
# Signature name in the format of `digest_algo:manifest_digest@random_32_chars`
|
31
34
|
attr_accessor :name
|
32
35
|
|
@@ -55,6 +58,7 @@ module PulpContainerClient
|
|
55
58
|
:'prn' => :'prn',
|
56
59
|
:'pulp_created' => :'pulp_created',
|
57
60
|
:'pulp_last_updated' => :'pulp_last_updated',
|
61
|
+
:'pulp_labels' => :'pulp_labels',
|
58
62
|
:'name' => :'name',
|
59
63
|
:'digest' => :'digest',
|
60
64
|
:'type' => :'type',
|
@@ -77,6 +81,7 @@ module PulpContainerClient
|
|
77
81
|
:'prn' => :'String',
|
78
82
|
:'pulp_created' => :'Time',
|
79
83
|
:'pulp_last_updated' => :'Time',
|
84
|
+
:'pulp_labels' => :'Hash<String, String>',
|
80
85
|
:'name' => :'String',
|
81
86
|
:'digest' => :'String',
|
82
87
|
:'type' => :'String',
|
@@ -124,6 +129,12 @@ module PulpContainerClient
|
|
124
129
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
125
130
|
end
|
126
131
|
|
132
|
+
if attributes.key?(:'pulp_labels')
|
133
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
134
|
+
self.pulp_labels = value
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
127
138
|
if attributes.key?(:'name')
|
128
139
|
self.name = attributes[:'name']
|
129
140
|
else
|
@@ -226,6 +237,7 @@ module PulpContainerClient
|
|
226
237
|
prn == o.prn &&
|
227
238
|
pulp_created == o.pulp_created &&
|
228
239
|
pulp_last_updated == o.pulp_last_updated &&
|
240
|
+
pulp_labels == o.pulp_labels &&
|
229
241
|
name == o.name &&
|
230
242
|
digest == o.digest &&
|
231
243
|
type == o.type &&
|
@@ -244,7 +256,7 @@ module PulpContainerClient
|
|
244
256
|
# Calculates hash code according to all attributes.
|
245
257
|
# @return [Integer] Hash code
|
246
258
|
def hash
|
247
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, name, digest, type, key_id, timestamp, creator, signed_manifest].hash
|
259
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, name, digest, type, key_id, timestamp, creator, signed_manifest].hash
|
248
260
|
end
|
249
261
|
|
250
262
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpContainerClient
|
|
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
|
# Tag name
|
31
34
|
attr_accessor :name
|
32
35
|
|
@@ -40,6 +43,7 @@ module PulpContainerClient
|
|
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
|
:'name' => :'name',
|
44
48
|
:'tagged_manifest' => :'tagged_manifest'
|
45
49
|
}
|
@@ -57,6 +61,7 @@ module PulpContainerClient
|
|
57
61
|
:'prn' => :'String',
|
58
62
|
:'pulp_created' => :'Time',
|
59
63
|
:'pulp_last_updated' => :'Time',
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
60
65
|
:'name' => :'String',
|
61
66
|
:'tagged_manifest' => :'String'
|
62
67
|
}
|
@@ -99,6 +104,12 @@ module PulpContainerClient
|
|
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?(:'name')
|
103
114
|
self.name = attributes[:'name']
|
104
115
|
else
|
@@ -146,6 +157,7 @@ module PulpContainerClient
|
|
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
|
name == o.name &&
|
150
162
|
tagged_manifest == o.tagged_manifest
|
151
163
|
end
|
@@ -159,7 +171,7 @@ module PulpContainerClient
|
|
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, name, tagged_manifest].hash
|
174
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, name, tagged_manifest].hash
|
163
175
|
end
|
164
176
|
|
165
177
|
# Builds the object from hash
|