pulp_container_client 2.26.14 → 2.27.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/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
- data/docs/DistributionsContainerApi.md +2 -2
- data/docs/DistributionsPullThroughApi.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +47 -47
- 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 +47 -47
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +67 -67
- data/lib/pulp_container_client/models/container_container_push_repository.rb +22 -22
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +57 -57
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +40 -40
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +40 -40
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +22 -22
- data/lib/pulp_container_client/version.rb +1 -1
- 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 +9 -9
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- 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 +4 -4
- metadata +60 -60
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -16,37 +16,37 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
18
18
|
class ContainerContainerPullThroughDistributionResponse
|
|
19
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
20
|
-
attr_accessor :content_guard
|
|
21
|
-
|
|
22
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
23
|
-
attr_accessor :no_content_change_since
|
|
24
|
-
|
|
25
|
-
attr_accessor :pulp_href
|
|
26
|
-
|
|
27
|
-
# The Pulp Resource Name (PRN).
|
|
28
|
-
attr_accessor :prn
|
|
29
|
-
|
|
30
|
-
# 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.
|
|
31
|
-
attr_accessor :pulp_last_updated
|
|
32
|
-
|
|
33
19
|
# The latest RepositoryVersion for this Repository will be served.
|
|
34
20
|
attr_accessor :repository
|
|
35
21
|
|
|
36
22
|
# Whether this distribution should be shown in the content app.
|
|
37
23
|
attr_accessor :hidden
|
|
38
24
|
|
|
39
|
-
|
|
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
|
|
40
27
|
|
|
41
|
-
#
|
|
42
|
-
attr_accessor :
|
|
28
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
29
|
+
attr_accessor :content_guard
|
|
43
30
|
|
|
44
31
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
45
32
|
attr_accessor :base_path
|
|
46
33
|
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
|
+
|
|
36
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
37
|
+
attr_accessor :no_content_change_since
|
|
38
|
+
|
|
47
39
|
# Timestamp of creation.
|
|
48
40
|
attr_accessor :pulp_created
|
|
49
41
|
|
|
42
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
43
|
+
attr_accessor :name
|
|
44
|
+
|
|
45
|
+
# The Pulp Resource Name (PRN).
|
|
46
|
+
attr_accessor :prn
|
|
47
|
+
|
|
48
|
+
attr_accessor :pulp_href
|
|
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
|
-
:'content_guard' => :'content_guard',
|
|
69
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
70
|
-
:'pulp_href' => :'pulp_href',
|
|
71
|
-
:'prn' => :'prn',
|
|
72
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
73
68
|
:'repository' => :'repository',
|
|
74
69
|
:'hidden' => :'hidden',
|
|
75
|
-
:'
|
|
76
|
-
:'
|
|
70
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
71
|
+
:'content_guard' => :'content_guard',
|
|
77
72
|
:'base_path' => :'base_path',
|
|
73
|
+
:'pulp_labels' => :'pulp_labels',
|
|
74
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
78
75
|
:'pulp_created' => :'pulp_created',
|
|
76
|
+
:'name' => :'name',
|
|
77
|
+
:'prn' => :'prn',
|
|
78
|
+
:'pulp_href' => :'pulp_href',
|
|
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
|
-
:'content_guard' => :'String',
|
|
96
|
-
:'no_content_change_since' => :'String',
|
|
97
|
-
:'pulp_href' => :'String',
|
|
98
|
-
:'prn' => :'String',
|
|
99
|
-
:'pulp_last_updated' => :'Time',
|
|
100
95
|
:'repository' => :'String',
|
|
101
96
|
:'hidden' => :'Boolean',
|
|
102
|
-
:'
|
|
103
|
-
:'
|
|
97
|
+
:'pulp_last_updated' => :'Time',
|
|
98
|
+
:'content_guard' => :'String',
|
|
104
99
|
:'base_path' => :'String',
|
|
100
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
101
|
+
:'no_content_change_since' => :'String',
|
|
105
102
|
:'pulp_created' => :'Time',
|
|
103
|
+
:'name' => :'String',
|
|
104
|
+
:'prn' => :'String',
|
|
105
|
+
:'pulp_href' => :'String',
|
|
106
106
|
:'remote' => :'String',
|
|
107
107
|
:'distributions' => :'Array<String>',
|
|
108
108
|
:'namespace' => :'String',
|
|
@@ -134,34 +134,28 @@ module PulpContainerClient
|
|
|
134
134
|
h[k.to_sym] = v
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
if attributes.key?(:'
|
|
138
|
-
self.
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
if attributes.key?(:'no_content_change_since')
|
|
142
|
-
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
if attributes.key?(:'pulp_href')
|
|
146
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
137
|
+
if attributes.key?(:'repository')
|
|
138
|
+
self.repository = attributes[:'repository']
|
|
147
139
|
end
|
|
148
140
|
|
|
149
|
-
if attributes.key?(:'
|
|
150
|
-
self.
|
|
141
|
+
if attributes.key?(:'hidden')
|
|
142
|
+
self.hidden = attributes[:'hidden']
|
|
143
|
+
else
|
|
144
|
+
self.hidden = false
|
|
151
145
|
end
|
|
152
146
|
|
|
153
147
|
if attributes.key?(:'pulp_last_updated')
|
|
154
148
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
155
149
|
end
|
|
156
150
|
|
|
157
|
-
if attributes.key?(:'
|
|
158
|
-
self.
|
|
151
|
+
if attributes.key?(:'content_guard')
|
|
152
|
+
self.content_guard = attributes[:'content_guard']
|
|
159
153
|
end
|
|
160
154
|
|
|
161
|
-
if attributes.key?(:'
|
|
162
|
-
self.
|
|
155
|
+
if attributes.key?(:'base_path')
|
|
156
|
+
self.base_path = attributes[:'base_path']
|
|
163
157
|
else
|
|
164
|
-
self.
|
|
158
|
+
self.base_path = nil
|
|
165
159
|
end
|
|
166
160
|
|
|
167
161
|
if attributes.key?(:'pulp_labels')
|
|
@@ -170,20 +164,26 @@ module PulpContainerClient
|
|
|
170
164
|
end
|
|
171
165
|
end
|
|
172
166
|
|
|
167
|
+
if attributes.key?(:'no_content_change_since')
|
|
168
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
if attributes.key?(:'pulp_created')
|
|
172
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
173
|
+
end
|
|
174
|
+
|
|
173
175
|
if attributes.key?(:'name')
|
|
174
176
|
self.name = attributes[:'name']
|
|
175
177
|
else
|
|
176
178
|
self.name = nil
|
|
177
179
|
end
|
|
178
180
|
|
|
179
|
-
if attributes.key?(:'
|
|
180
|
-
self.
|
|
181
|
-
else
|
|
182
|
-
self.base_path = nil
|
|
181
|
+
if attributes.key?(:'prn')
|
|
182
|
+
self.prn = attributes[:'prn']
|
|
183
183
|
end
|
|
184
184
|
|
|
185
|
-
if attributes.key?(:'
|
|
186
|
-
self.
|
|
185
|
+
if attributes.key?(:'pulp_href')
|
|
186
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
if attributes.key?(:'remote')
|
|
@@ -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
|
-
content_guard == o.content_guard &&
|
|
250
|
-
no_content_change_since == o.no_content_change_since &&
|
|
251
|
-
pulp_href == o.pulp_href &&
|
|
252
|
-
prn == o.prn &&
|
|
253
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
254
249
|
repository == o.repository &&
|
|
255
250
|
hidden == o.hidden &&
|
|
256
|
-
|
|
257
|
-
|
|
251
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
252
|
+
content_guard == o.content_guard &&
|
|
258
253
|
base_path == o.base_path &&
|
|
254
|
+
pulp_labels == o.pulp_labels &&
|
|
255
|
+
no_content_change_since == o.no_content_change_since &&
|
|
259
256
|
pulp_created == o.pulp_created &&
|
|
257
|
+
name == o.name &&
|
|
258
|
+
prn == o.prn &&
|
|
259
|
+
pulp_href == o.pulp_href &&
|
|
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
|
+
[repository, hidden, pulp_last_updated, content_guard, base_path, pulp_labels, no_content_change_since, pulp_created, name, prn, pulp_href, remote, distributions, namespace, private, description].hash
|
|
277
277
|
end
|
|
278
278
|
|
|
279
279
|
# Builds the object from hash
|
|
@@ -16,28 +16,28 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class ContainerContainerPushRepository
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# A reference to an associated signing service.
|
|
20
|
+
attr_accessor :manifest_signing_service
|
|
21
21
|
|
|
22
22
|
attr_accessor :pulp_labels
|
|
23
23
|
|
|
24
|
+
# An optional description.
|
|
25
|
+
attr_accessor :description
|
|
26
|
+
|
|
24
27
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
25
28
|
attr_accessor :retain_repo_versions
|
|
26
29
|
|
|
27
30
|
# A unique name for this repository.
|
|
28
31
|
attr_accessor :name
|
|
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
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
37
37
|
:'pulp_labels' => :'pulp_labels',
|
|
38
|
+
:'description' => :'description',
|
|
38
39
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
|
-
:'name' => :'name'
|
|
40
|
-
:'manifest_signing_service' => :'manifest_signing_service'
|
|
40
|
+
:'name' => :'name'
|
|
41
41
|
}
|
|
42
42
|
end
|
|
43
43
|
|
|
@@ -49,20 +49,20 @@ module PulpContainerClient
|
|
|
49
49
|
# Attribute type mapping.
|
|
50
50
|
def self.openapi_types
|
|
51
51
|
{
|
|
52
|
-
:'
|
|
52
|
+
:'manifest_signing_service' => :'String',
|
|
53
53
|
:'pulp_labels' => :'Hash<String, String>',
|
|
54
|
+
:'description' => :'String',
|
|
54
55
|
:'retain_repo_versions' => :'Integer',
|
|
55
|
-
:'name' => :'String'
|
|
56
|
-
:'manifest_signing_service' => :'String'
|
|
56
|
+
:'name' => :'String'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# List of attributes with nullable: true
|
|
61
61
|
def self.openapi_nullable
|
|
62
62
|
Set.new([
|
|
63
|
+
:'manifest_signing_service',
|
|
63
64
|
:'description',
|
|
64
65
|
:'retain_repo_versions',
|
|
65
|
-
:'manifest_signing_service'
|
|
66
66
|
])
|
|
67
67
|
end
|
|
68
68
|
|
|
@@ -81,8 +81,8 @@ module PulpContainerClient
|
|
|
81
81
|
h[k.to_sym] = v
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
if attributes.key?(:'
|
|
85
|
-
self.
|
|
84
|
+
if attributes.key?(:'manifest_signing_service')
|
|
85
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
86
86
|
end
|
|
87
87
|
|
|
88
88
|
if attributes.key?(:'pulp_labels')
|
|
@@ -91,6 +91,10 @@ module PulpContainerClient
|
|
|
91
91
|
end
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
+
if attributes.key?(:'description')
|
|
95
|
+
self.description = attributes[:'description']
|
|
96
|
+
end
|
|
97
|
+
|
|
94
98
|
if attributes.key?(:'retain_repo_versions')
|
|
95
99
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
96
100
|
end
|
|
@@ -100,10 +104,6 @@ module PulpContainerClient
|
|
|
100
104
|
else
|
|
101
105
|
self.name = nil
|
|
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?
|
|
@@ -165,11 +165,11 @@ module PulpContainerClient
|
|
|
165
165
|
def ==(o)
|
|
166
166
|
return true if self.equal?(o)
|
|
167
167
|
self.class == o.class &&
|
|
168
|
-
|
|
168
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
169
169
|
pulp_labels == o.pulp_labels &&
|
|
170
|
+
description == o.description &&
|
|
170
171
|
retain_repo_versions == o.retain_repo_versions &&
|
|
171
|
-
name == o.name
|
|
172
|
-
manifest_signing_service == o.manifest_signing_service
|
|
172
|
+
name == o.name
|
|
173
173
|
end
|
|
174
174
|
|
|
175
175
|
# @see the `==` method
|
|
@@ -181,7 +181,7 @@ module PulpContainerClient
|
|
|
181
181
|
# Calculates hash code according to all attributes.
|
|
182
182
|
# @return [Integer] Hash code
|
|
183
183
|
def hash
|
|
184
|
-
[
|
|
184
|
+
[manifest_signing_service, pulp_labels, description, retain_repo_versions, name].hash
|
|
185
185
|
end
|
|
186
186
|
|
|
187
187
|
# Builds the object from hash
|
|
@@ -16,19 +16,21 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class ContainerContainerPushRepositoryResponse
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# A reference to an associated signing service.
|
|
20
|
+
attr_accessor :manifest_signing_service
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
# 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.
|
|
23
|
+
attr_accessor :pulp_last_updated
|
|
23
24
|
|
|
24
|
-
attr_accessor :
|
|
25
|
+
attr_accessor :pulp_labels
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
# An optional description.
|
|
28
|
+
attr_accessor :description
|
|
27
29
|
|
|
28
|
-
#
|
|
29
|
-
attr_accessor :
|
|
30
|
+
# Timestamp of creation.
|
|
31
|
+
attr_accessor :pulp_created
|
|
30
32
|
|
|
31
|
-
attr_accessor :
|
|
33
|
+
attr_accessor :latest_version_href
|
|
32
34
|
|
|
33
35
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
34
36
|
attr_accessor :retain_repo_versions
|
|
@@ -36,29 +38,27 @@ module PulpContainerClient
|
|
|
36
38
|
# A unique name for this repository.
|
|
37
39
|
attr_accessor :name
|
|
38
40
|
|
|
39
|
-
|
|
40
|
-
attr_accessor :manifest_signing_service
|
|
41
|
+
attr_accessor :versions_href
|
|
41
42
|
|
|
42
|
-
#
|
|
43
|
-
attr_accessor :
|
|
43
|
+
# The Pulp Resource Name (PRN).
|
|
44
|
+
attr_accessor :prn
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
attr_accessor :pulp_created
|
|
46
|
+
attr_accessor :pulp_href
|
|
47
47
|
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
49
|
def self.attribute_map
|
|
50
50
|
{
|
|
51
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
52
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
53
|
+
:'pulp_labels' => :'pulp_labels',
|
|
51
54
|
:'description' => :'description',
|
|
52
|
-
:'
|
|
55
|
+
:'pulp_created' => :'pulp_created',
|
|
53
56
|
:'latest_version_href' => :'latest_version_href',
|
|
54
|
-
:'versions_href' => :'versions_href',
|
|
55
|
-
:'prn' => :'prn',
|
|
56
|
-
:'pulp_labels' => :'pulp_labels',
|
|
57
57
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
58
58
|
:'name' => :'name',
|
|
59
|
-
:'
|
|
60
|
-
:'
|
|
61
|
-
:'
|
|
59
|
+
:'versions_href' => :'versions_href',
|
|
60
|
+
:'prn' => :'prn',
|
|
61
|
+
:'pulp_href' => :'pulp_href'
|
|
62
62
|
}
|
|
63
63
|
end
|
|
64
64
|
|
|
@@ -70,26 +70,26 @@ module PulpContainerClient
|
|
|
70
70
|
# Attribute type mapping.
|
|
71
71
|
def self.openapi_types
|
|
72
72
|
{
|
|
73
|
+
:'manifest_signing_service' => :'String',
|
|
74
|
+
:'pulp_last_updated' => :'Time',
|
|
75
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
73
76
|
:'description' => :'String',
|
|
74
|
-
:'
|
|
77
|
+
:'pulp_created' => :'Time',
|
|
75
78
|
:'latest_version_href' => :'String',
|
|
76
|
-
:'versions_href' => :'String',
|
|
77
|
-
:'prn' => :'String',
|
|
78
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
79
79
|
:'retain_repo_versions' => :'Integer',
|
|
80
80
|
:'name' => :'String',
|
|
81
|
-
:'
|
|
82
|
-
:'
|
|
83
|
-
:'
|
|
81
|
+
:'versions_href' => :'String',
|
|
82
|
+
:'prn' => :'String',
|
|
83
|
+
:'pulp_href' => :'String'
|
|
84
84
|
}
|
|
85
85
|
end
|
|
86
86
|
|
|
87
87
|
# List of attributes with nullable: true
|
|
88
88
|
def self.openapi_nullable
|
|
89
89
|
Set.new([
|
|
90
|
+
:'manifest_signing_service',
|
|
90
91
|
:'description',
|
|
91
92
|
:'retain_repo_versions',
|
|
92
|
-
:'manifest_signing_service',
|
|
93
93
|
])
|
|
94
94
|
end
|
|
95
95
|
|
|
@@ -108,30 +108,30 @@ module PulpContainerClient
|
|
|
108
108
|
h[k.to_sym] = v
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
if attributes.key?(:'
|
|
112
|
-
self.
|
|
111
|
+
if attributes.key?(:'manifest_signing_service')
|
|
112
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
if attributes.key?(:'
|
|
116
|
-
self.
|
|
115
|
+
if attributes.key?(:'pulp_last_updated')
|
|
116
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
117
117
|
end
|
|
118
118
|
|
|
119
|
-
if attributes.key?(:'
|
|
120
|
-
|
|
119
|
+
if attributes.key?(:'pulp_labels')
|
|
120
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
121
|
+
self.pulp_labels = value
|
|
122
|
+
end
|
|
121
123
|
end
|
|
122
124
|
|
|
123
|
-
if attributes.key?(:'
|
|
124
|
-
self.
|
|
125
|
+
if attributes.key?(:'description')
|
|
126
|
+
self.description = attributes[:'description']
|
|
125
127
|
end
|
|
126
128
|
|
|
127
|
-
if attributes.key?(:'
|
|
128
|
-
self.
|
|
129
|
+
if attributes.key?(:'pulp_created')
|
|
130
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
129
131
|
end
|
|
130
132
|
|
|
131
|
-
if attributes.key?(:'
|
|
132
|
-
|
|
133
|
-
self.pulp_labels = value
|
|
134
|
-
end
|
|
133
|
+
if attributes.key?(:'latest_version_href')
|
|
134
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
|
135
135
|
end
|
|
136
136
|
|
|
137
137
|
if attributes.key?(:'retain_repo_versions')
|
|
@@ -144,16 +144,16 @@ module PulpContainerClient
|
|
|
144
144
|
self.name = nil
|
|
145
145
|
end
|
|
146
146
|
|
|
147
|
-
if attributes.key?(:'
|
|
148
|
-
self.
|
|
147
|
+
if attributes.key?(:'versions_href')
|
|
148
|
+
self.versions_href = attributes[:'versions_href']
|
|
149
149
|
end
|
|
150
150
|
|
|
151
|
-
if attributes.key?(:'
|
|
152
|
-
self.
|
|
151
|
+
if attributes.key?(:'prn')
|
|
152
|
+
self.prn = attributes[:'prn']
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
-
if attributes.key?(:'
|
|
156
|
-
self.
|
|
155
|
+
if attributes.key?(:'pulp_href')
|
|
156
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
157
157
|
end
|
|
158
158
|
end
|
|
159
159
|
|
|
@@ -182,17 +182,17 @@ module PulpContainerClient
|
|
|
182
182
|
def ==(o)
|
|
183
183
|
return true if self.equal?(o)
|
|
184
184
|
self.class == o.class &&
|
|
185
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
186
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
187
|
+
pulp_labels == o.pulp_labels &&
|
|
185
188
|
description == o.description &&
|
|
186
|
-
|
|
189
|
+
pulp_created == o.pulp_created &&
|
|
187
190
|
latest_version_href == o.latest_version_href &&
|
|
188
|
-
versions_href == o.versions_href &&
|
|
189
|
-
prn == o.prn &&
|
|
190
|
-
pulp_labels == o.pulp_labels &&
|
|
191
191
|
retain_repo_versions == o.retain_repo_versions &&
|
|
192
192
|
name == o.name &&
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
versions_href == o.versions_href &&
|
|
194
|
+
prn == o.prn &&
|
|
195
|
+
pulp_href == o.pulp_href
|
|
196
196
|
end
|
|
197
197
|
|
|
198
198
|
# @see the `==` method
|
|
@@ -204,7 +204,7 @@ module PulpContainerClient
|
|
|
204
204
|
# Calculates hash code according to all attributes.
|
|
205
205
|
# @return [Integer] Hash code
|
|
206
206
|
def hash
|
|
207
|
-
[
|
|
207
|
+
[manifest_signing_service, pulp_last_updated, pulp_labels, description, pulp_created, latest_version_href, retain_repo_versions, name, versions_href, prn, pulp_href].hash
|
|
208
208
|
end
|
|
209
209
|
|
|
210
210
|
# Builds the object from hash
|