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