pulp_container_client 2.22.10 → 2.22.11
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 +6 -6
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +7 -7
- data/docs/ContainerContainerPullThroughDistributionResponse.md +15 -15
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/DistributionsPullThroughApi.md +6 -8
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
- data/lib/pulp_container_client/models/container_container_distribution.rb +53 -53
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +67 -67
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +53 -53
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +68 -68
- data/lib/pulp_container_client/models/container_container_push_repository.rb +17 -17
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +44 -44
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +44 -44
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +17 -17
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/distributions_pull_through_api_spec.rb +2 -4
- 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 +11 -11
- data/spec/models/container_container_push_repository_spec.rb +2 -2
- 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 +2 -2
- metadata +61 -61
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -15,37 +15,37 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class ContainerContainerPullThroughDistributionResponse
|
|
18
|
-
|
|
19
|
-
attr_accessor :content_guard
|
|
18
|
+
attr_accessor :pulp_labels
|
|
20
19
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
20
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
21
|
+
attr_accessor :repository
|
|
23
22
|
|
|
24
|
-
# Timestamp
|
|
25
|
-
attr_accessor :
|
|
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
|
|
26
25
|
|
|
27
26
|
# Timestamp of creation.
|
|
28
27
|
attr_accessor :pulp_created
|
|
29
28
|
|
|
30
|
-
attr_accessor :pulp_labels
|
|
31
|
-
|
|
32
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
|
-
attr_accessor :name
|
|
34
|
-
|
|
35
29
|
# The Pulp Resource Name (PRN).
|
|
36
30
|
attr_accessor :prn
|
|
37
31
|
|
|
38
|
-
# 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.
|
|
39
|
-
attr_accessor :pulp_last_updated
|
|
40
|
-
|
|
41
32
|
attr_accessor :pulp_href
|
|
42
33
|
|
|
43
|
-
#
|
|
44
|
-
attr_accessor :
|
|
34
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
35
|
+
attr_accessor :content_guard
|
|
36
|
+
|
|
37
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
38
|
+
attr_accessor :no_content_change_since
|
|
39
|
+
|
|
40
|
+
# Whether this distribution should be shown in the content app.
|
|
41
|
+
attr_accessor :hidden
|
|
45
42
|
|
|
46
|
-
# The
|
|
43
|
+
# The registry path exposed by this pull-through distribution.
|
|
47
44
|
attr_accessor :base_path
|
|
48
45
|
|
|
46
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
47
|
+
attr_accessor :name
|
|
48
|
+
|
|
49
49
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
50
50
|
attr_accessor :remote
|
|
51
51
|
|
|
@@ -64,17 +64,17 @@ module PulpContainerClient
|
|
|
64
64
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
65
65
|
def self.attribute_map
|
|
66
66
|
{
|
|
67
|
-
:'content_guard' => :'content_guard',
|
|
68
|
-
:'hidden' => :'hidden',
|
|
69
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
70
|
-
:'pulp_created' => :'pulp_created',
|
|
71
67
|
:'pulp_labels' => :'pulp_labels',
|
|
72
|
-
:'
|
|
73
|
-
:'prn' => :'prn',
|
|
68
|
+
:'repository' => :'repository',
|
|
74
69
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
70
|
+
:'pulp_created' => :'pulp_created',
|
|
71
|
+
:'prn' => :'prn',
|
|
75
72
|
:'pulp_href' => :'pulp_href',
|
|
76
|
-
:'
|
|
73
|
+
:'content_guard' => :'content_guard',
|
|
74
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
75
|
+
:'hidden' => :'hidden',
|
|
77
76
|
:'base_path' => :'base_path',
|
|
77
|
+
:'name' => :'name',
|
|
78
78
|
:'remote' => :'remote',
|
|
79
79
|
:'distributions' => :'distributions',
|
|
80
80
|
:'namespace' => :'namespace',
|
|
@@ -86,17 +86,17 @@ module PulpContainerClient
|
|
|
86
86
|
# Attribute type mapping.
|
|
87
87
|
def self.openapi_types
|
|
88
88
|
{
|
|
89
|
-
:'content_guard' => :'String',
|
|
90
|
-
:'hidden' => :'Boolean',
|
|
91
|
-
:'no_content_change_since' => :'String',
|
|
92
|
-
:'pulp_created' => :'DateTime',
|
|
93
89
|
:'pulp_labels' => :'Hash<String, String>',
|
|
94
|
-
:'
|
|
95
|
-
:'prn' => :'String',
|
|
90
|
+
:'repository' => :'String',
|
|
96
91
|
:'pulp_last_updated' => :'DateTime',
|
|
92
|
+
:'pulp_created' => :'DateTime',
|
|
93
|
+
:'prn' => :'String',
|
|
97
94
|
:'pulp_href' => :'String',
|
|
98
|
-
:'
|
|
95
|
+
:'content_guard' => :'String',
|
|
96
|
+
:'no_content_change_since' => :'String',
|
|
97
|
+
:'hidden' => :'Boolean',
|
|
99
98
|
:'base_path' => :'String',
|
|
99
|
+
:'name' => :'String',
|
|
100
100
|
:'remote' => :'String',
|
|
101
101
|
:'distributions' => :'Array<String>',
|
|
102
102
|
:'namespace' => :'String',
|
|
@@ -128,54 +128,54 @@ module PulpContainerClient
|
|
|
128
128
|
h[k.to_sym] = v
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
if attributes.key?(:'
|
|
132
|
-
|
|
131
|
+
if attributes.key?(:'pulp_labels')
|
|
132
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
133
|
+
self.pulp_labels = value
|
|
134
|
+
end
|
|
133
135
|
end
|
|
134
136
|
|
|
135
|
-
if attributes.key?(:'
|
|
136
|
-
self.
|
|
137
|
-
else
|
|
138
|
-
self.hidden = false
|
|
137
|
+
if attributes.key?(:'repository')
|
|
138
|
+
self.repository = attributes[:'repository']
|
|
139
139
|
end
|
|
140
140
|
|
|
141
|
-
if attributes.key?(:'
|
|
142
|
-
self.
|
|
141
|
+
if attributes.key?(:'pulp_last_updated')
|
|
142
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
143
143
|
end
|
|
144
144
|
|
|
145
145
|
if attributes.key?(:'pulp_created')
|
|
146
146
|
self.pulp_created = attributes[:'pulp_created']
|
|
147
147
|
end
|
|
148
148
|
|
|
149
|
-
if attributes.key?(:'pulp_labels')
|
|
150
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
151
|
-
self.pulp_labels = value
|
|
152
|
-
end
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
if attributes.key?(:'name')
|
|
156
|
-
self.name = attributes[:'name']
|
|
157
|
-
end
|
|
158
|
-
|
|
159
149
|
if attributes.key?(:'prn')
|
|
160
150
|
self.prn = attributes[:'prn']
|
|
161
151
|
end
|
|
162
152
|
|
|
163
|
-
if attributes.key?(:'pulp_last_updated')
|
|
164
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
165
|
-
end
|
|
166
|
-
|
|
167
153
|
if attributes.key?(:'pulp_href')
|
|
168
154
|
self.pulp_href = attributes[:'pulp_href']
|
|
169
155
|
end
|
|
170
156
|
|
|
171
|
-
if attributes.key?(:'
|
|
172
|
-
self.
|
|
157
|
+
if attributes.key?(:'content_guard')
|
|
158
|
+
self.content_guard = attributes[:'content_guard']
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
if attributes.key?(:'no_content_change_since')
|
|
162
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
if attributes.key?(:'hidden')
|
|
166
|
+
self.hidden = attributes[:'hidden']
|
|
167
|
+
else
|
|
168
|
+
self.hidden = false
|
|
173
169
|
end
|
|
174
170
|
|
|
175
171
|
if attributes.key?(:'base_path')
|
|
176
172
|
self.base_path = attributes[:'base_path']
|
|
177
173
|
end
|
|
178
174
|
|
|
175
|
+
if attributes.key?(:'name')
|
|
176
|
+
self.name = attributes[:'name']
|
|
177
|
+
end
|
|
178
|
+
|
|
179
179
|
if attributes.key?(:'remote')
|
|
180
180
|
self.remote = attributes[:'remote']
|
|
181
181
|
end
|
|
@@ -203,14 +203,14 @@ module PulpContainerClient
|
|
|
203
203
|
# @return Array for valid properties with the reasons
|
|
204
204
|
def list_invalid_properties
|
|
205
205
|
invalid_properties = Array.new
|
|
206
|
-
if @name.nil?
|
|
207
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
208
|
-
end
|
|
209
|
-
|
|
210
206
|
if @base_path.nil?
|
|
211
207
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
212
208
|
end
|
|
213
209
|
|
|
210
|
+
if @name.nil?
|
|
211
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
212
|
+
end
|
|
213
|
+
|
|
214
214
|
if @remote.nil?
|
|
215
215
|
invalid_properties.push('invalid value for "remote", remote cannot be nil.')
|
|
216
216
|
end
|
|
@@ -221,8 +221,8 @@ module PulpContainerClient
|
|
|
221
221
|
# Check to see if the all the properties in the model are valid
|
|
222
222
|
# @return true if the model is valid
|
|
223
223
|
def valid?
|
|
224
|
-
return false if @name.nil?
|
|
225
224
|
return false if @base_path.nil?
|
|
225
|
+
return false if @name.nil?
|
|
226
226
|
return false if @remote.nil?
|
|
227
227
|
true
|
|
228
228
|
end
|
|
@@ -232,17 +232,17 @@ module PulpContainerClient
|
|
|
232
232
|
def ==(o)
|
|
233
233
|
return true if self.equal?(o)
|
|
234
234
|
self.class == o.class &&
|
|
235
|
-
content_guard == o.content_guard &&
|
|
236
|
-
hidden == o.hidden &&
|
|
237
|
-
no_content_change_since == o.no_content_change_since &&
|
|
238
|
-
pulp_created == o.pulp_created &&
|
|
239
235
|
pulp_labels == o.pulp_labels &&
|
|
240
|
-
|
|
241
|
-
prn == o.prn &&
|
|
236
|
+
repository == o.repository &&
|
|
242
237
|
pulp_last_updated == o.pulp_last_updated &&
|
|
238
|
+
pulp_created == o.pulp_created &&
|
|
239
|
+
prn == o.prn &&
|
|
243
240
|
pulp_href == o.pulp_href &&
|
|
244
|
-
|
|
241
|
+
content_guard == o.content_guard &&
|
|
242
|
+
no_content_change_since == o.no_content_change_since &&
|
|
243
|
+
hidden == o.hidden &&
|
|
245
244
|
base_path == o.base_path &&
|
|
245
|
+
name == o.name &&
|
|
246
246
|
remote == o.remote &&
|
|
247
247
|
distributions == o.distributions &&
|
|
248
248
|
namespace == o.namespace &&
|
|
@@ -259,7 +259,7 @@ module PulpContainerClient
|
|
|
259
259
|
# Calculates hash code according to all attributes.
|
|
260
260
|
# @return [Integer] Hash code
|
|
261
261
|
def hash
|
|
262
|
-
[
|
|
262
|
+
[pulp_labels, repository, pulp_last_updated, pulp_created, prn, pulp_href, content_guard, no_content_change_since, hidden, base_path, name, remote, distributions, namespace, private, description].hash
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
# Builds the object from hash
|
|
@@ -18,13 +18,13 @@ module PulpContainerClient
|
|
|
18
18
|
# An optional description.
|
|
19
19
|
attr_accessor :description
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :manifest_signing_service
|
|
21
|
+
attr_accessor :pulp_labels
|
|
23
22
|
|
|
24
23
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
25
24
|
attr_accessor :retain_repo_versions
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
# A reference to an associated signing service.
|
|
27
|
+
attr_accessor :manifest_signing_service
|
|
28
28
|
|
|
29
29
|
# A unique name for this repository.
|
|
30
30
|
attr_accessor :name
|
|
@@ -33,9 +33,9 @@ module PulpContainerClient
|
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
35
|
:'description' => :'description',
|
|
36
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
|
37
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
36
|
:'pulp_labels' => :'pulp_labels',
|
|
37
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
39
39
|
:'name' => :'name'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -44,9 +44,9 @@ module PulpContainerClient
|
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
46
|
:'description' => :'String',
|
|
47
|
-
:'manifest_signing_service' => :'String',
|
|
48
|
-
:'retain_repo_versions' => :'Integer',
|
|
49
47
|
:'pulp_labels' => :'Hash<String, String>',
|
|
48
|
+
:'retain_repo_versions' => :'Integer',
|
|
49
|
+
:'manifest_signing_service' => :'String',
|
|
50
50
|
:'name' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -55,8 +55,8 @@ module PulpContainerClient
|
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
57
|
:'description',
|
|
58
|
-
:'manifest_signing_service',
|
|
59
58
|
:'retain_repo_versions',
|
|
59
|
+
:'manifest_signing_service',
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -79,18 +79,18 @@ module PulpContainerClient
|
|
|
79
79
|
self.description = attributes[:'description']
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
if attributes.key?(:'
|
|
83
|
-
|
|
82
|
+
if attributes.key?(:'pulp_labels')
|
|
83
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
84
|
+
self.pulp_labels = value
|
|
85
|
+
end
|
|
84
86
|
end
|
|
85
87
|
|
|
86
88
|
if attributes.key?(:'retain_repo_versions')
|
|
87
89
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
88
90
|
end
|
|
89
91
|
|
|
90
|
-
if attributes.key?(:'
|
|
91
|
-
|
|
92
|
-
self.pulp_labels = value
|
|
93
|
-
end
|
|
92
|
+
if attributes.key?(:'manifest_signing_service')
|
|
93
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
if attributes.key?(:'name')
|
|
@@ -171,9 +171,9 @@ module PulpContainerClient
|
|
|
171
171
|
return true if self.equal?(o)
|
|
172
172
|
self.class == o.class &&
|
|
173
173
|
description == o.description &&
|
|
174
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
175
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
176
174
|
pulp_labels == o.pulp_labels &&
|
|
175
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
176
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
177
177
|
name == o.name
|
|
178
178
|
end
|
|
179
179
|
|
|
@@ -186,7 +186,7 @@ module PulpContainerClient
|
|
|
186
186
|
# Calculates hash code according to all attributes.
|
|
187
187
|
# @return [Integer] Hash code
|
|
188
188
|
def hash
|
|
189
|
-
[description,
|
|
189
|
+
[description, pulp_labels, retain_repo_versions, manifest_signing_service, name].hash
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
# Builds the object from hash
|
|
@@ -15,13 +15,15 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
|
+
attr_accessor :latest_version_href
|
|
19
|
+
|
|
18
20
|
# An optional description.
|
|
19
21
|
attr_accessor :description
|
|
20
22
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :manifest_signing_service
|
|
23
|
+
attr_accessor :pulp_labels
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
# 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.
|
|
26
|
+
attr_accessor :pulp_last_updated
|
|
25
27
|
|
|
26
28
|
# Timestamp of creation.
|
|
27
29
|
attr_accessor :pulp_created
|
|
@@ -29,52 +31,50 @@ module PulpContainerClient
|
|
|
29
31
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
30
32
|
attr_accessor :retain_repo_versions
|
|
31
33
|
|
|
32
|
-
attr_accessor :pulp_labels
|
|
33
|
-
|
|
34
|
-
# A unique name for this repository.
|
|
35
|
-
attr_accessor :name
|
|
36
|
-
|
|
37
34
|
# The Pulp Resource Name (PRN).
|
|
38
35
|
attr_accessor :prn
|
|
39
36
|
|
|
40
|
-
# 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.
|
|
41
|
-
attr_accessor :pulp_last_updated
|
|
42
|
-
|
|
43
37
|
attr_accessor :pulp_href
|
|
44
38
|
|
|
45
39
|
attr_accessor :versions_href
|
|
46
40
|
|
|
41
|
+
# A reference to an associated signing service.
|
|
42
|
+
attr_accessor :manifest_signing_service
|
|
43
|
+
|
|
44
|
+
# A unique name for this repository.
|
|
45
|
+
attr_accessor :name
|
|
46
|
+
|
|
47
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
48
48
|
def self.attribute_map
|
|
49
49
|
{
|
|
50
|
-
:'description' => :'description',
|
|
51
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
|
52
50
|
:'latest_version_href' => :'latest_version_href',
|
|
51
|
+
:'description' => :'description',
|
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
|
53
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
53
54
|
:'pulp_created' => :'pulp_created',
|
|
54
55
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
55
|
-
:'pulp_labels' => :'pulp_labels',
|
|
56
|
-
:'name' => :'name',
|
|
57
56
|
:'prn' => :'prn',
|
|
58
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
59
57
|
:'pulp_href' => :'pulp_href',
|
|
60
|
-
:'versions_href' => :'versions_href'
|
|
58
|
+
:'versions_href' => :'versions_href',
|
|
59
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
60
|
+
:'name' => :'name'
|
|
61
61
|
}
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
# Attribute type mapping.
|
|
65
65
|
def self.openapi_types
|
|
66
66
|
{
|
|
67
|
-
:'description' => :'String',
|
|
68
|
-
:'manifest_signing_service' => :'String',
|
|
69
67
|
:'latest_version_href' => :'String',
|
|
68
|
+
:'description' => :'String',
|
|
69
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
70
|
+
:'pulp_last_updated' => :'DateTime',
|
|
70
71
|
:'pulp_created' => :'DateTime',
|
|
71
72
|
:'retain_repo_versions' => :'Integer',
|
|
72
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
73
|
-
:'name' => :'String',
|
|
74
73
|
:'prn' => :'String',
|
|
75
|
-
:'pulp_last_updated' => :'DateTime',
|
|
76
74
|
:'pulp_href' => :'String',
|
|
77
|
-
:'versions_href' => :'String'
|
|
75
|
+
:'versions_href' => :'String',
|
|
76
|
+
:'manifest_signing_service' => :'String',
|
|
77
|
+
:'name' => :'String'
|
|
78
78
|
}
|
|
79
79
|
end
|
|
80
80
|
|
|
@@ -82,8 +82,8 @@ module PulpContainerClient
|
|
|
82
82
|
def self.openapi_nullable
|
|
83
83
|
Set.new([
|
|
84
84
|
:'description',
|
|
85
|
-
:'manifest_signing_service',
|
|
86
85
|
:'retain_repo_versions',
|
|
86
|
+
:'manifest_signing_service',
|
|
87
87
|
])
|
|
88
88
|
end
|
|
89
89
|
|
|
@@ -102,16 +102,22 @@ module PulpContainerClient
|
|
|
102
102
|
h[k.to_sym] = v
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
if attributes.key?(:'latest_version_href')
|
|
106
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
|
107
|
+
end
|
|
108
|
+
|
|
105
109
|
if attributes.key?(:'description')
|
|
106
110
|
self.description = attributes[:'description']
|
|
107
111
|
end
|
|
108
112
|
|
|
109
|
-
if attributes.key?(:'
|
|
110
|
-
|
|
113
|
+
if attributes.key?(:'pulp_labels')
|
|
114
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
115
|
+
self.pulp_labels = value
|
|
116
|
+
end
|
|
111
117
|
end
|
|
112
118
|
|
|
113
|
-
if attributes.key?(:'
|
|
114
|
-
self.
|
|
119
|
+
if attributes.key?(:'pulp_last_updated')
|
|
120
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
115
121
|
end
|
|
116
122
|
|
|
117
123
|
if attributes.key?(:'pulp_created')
|
|
@@ -122,24 +128,10 @@ module PulpContainerClient
|
|
|
122
128
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
123
129
|
end
|
|
124
130
|
|
|
125
|
-
if attributes.key?(:'pulp_labels')
|
|
126
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
127
|
-
self.pulp_labels = value
|
|
128
|
-
end
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
if attributes.key?(:'name')
|
|
132
|
-
self.name = attributes[:'name']
|
|
133
|
-
end
|
|
134
|
-
|
|
135
131
|
if attributes.key?(:'prn')
|
|
136
132
|
self.prn = attributes[:'prn']
|
|
137
133
|
end
|
|
138
134
|
|
|
139
|
-
if attributes.key?(:'pulp_last_updated')
|
|
140
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
141
|
-
end
|
|
142
|
-
|
|
143
135
|
if attributes.key?(:'pulp_href')
|
|
144
136
|
self.pulp_href = attributes[:'pulp_href']
|
|
145
137
|
end
|
|
@@ -147,6 +139,14 @@ module PulpContainerClient
|
|
|
147
139
|
if attributes.key?(:'versions_href')
|
|
148
140
|
self.versions_href = attributes[:'versions_href']
|
|
149
141
|
end
|
|
142
|
+
|
|
143
|
+
if attributes.key?(:'manifest_signing_service')
|
|
144
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
if attributes.key?(:'name')
|
|
148
|
+
self.name = attributes[:'name']
|
|
149
|
+
end
|
|
150
150
|
end
|
|
151
151
|
|
|
152
152
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -187,17 +187,17 @@ module PulpContainerClient
|
|
|
187
187
|
def ==(o)
|
|
188
188
|
return true if self.equal?(o)
|
|
189
189
|
self.class == o.class &&
|
|
190
|
-
description == o.description &&
|
|
191
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
192
190
|
latest_version_href == o.latest_version_href &&
|
|
191
|
+
description == o.description &&
|
|
192
|
+
pulp_labels == o.pulp_labels &&
|
|
193
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
193
194
|
pulp_created == o.pulp_created &&
|
|
194
195
|
retain_repo_versions == o.retain_repo_versions &&
|
|
195
|
-
pulp_labels == o.pulp_labels &&
|
|
196
|
-
name == o.name &&
|
|
197
196
|
prn == o.prn &&
|
|
198
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
199
197
|
pulp_href == o.pulp_href &&
|
|
200
|
-
versions_href == o.versions_href
|
|
198
|
+
versions_href == o.versions_href &&
|
|
199
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
200
|
+
name == o.name
|
|
201
201
|
end
|
|
202
202
|
|
|
203
203
|
# @see the `==` method
|
|
@@ -209,7 +209,7 @@ module PulpContainerClient
|
|
|
209
209
|
# Calculates hash code according to all attributes.
|
|
210
210
|
# @return [Integer] Hash code
|
|
211
211
|
def hash
|
|
212
|
-
[description,
|
|
212
|
+
[latest_version_href, description, pulp_labels, pulp_last_updated, pulp_created, retain_repo_versions, prn, pulp_href, versions_href, manifest_signing_service, name].hash
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
# Builds the object from hash
|