pulp_container_client 2.24.8 → 2.24.9
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 +6 -6
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +27 -27
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +58 -58
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +27 -27
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +58 -58
- data/lib/pulp_container_client/models/container_container_push_repository.rb +42 -42
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +26 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +42 -42
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +2 -2
|
@@ -18,34 +18,34 @@ module PulpContainerClient
|
|
|
18
18
|
class ContainerContainerDistributionResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
21
|
+
# Whether this distribution should be shown in the content app.
|
|
22
|
+
attr_accessor :hidden
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
attr_accessor :name
|
|
24
|
+
attr_accessor :pulp_labels
|
|
26
25
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
26
|
+
# The Pulp Resource Name (PRN).
|
|
27
|
+
attr_accessor :prn
|
|
29
28
|
|
|
30
|
-
|
|
29
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
|
+
attr_accessor :name
|
|
31
31
|
|
|
32
|
-
# Timestamp
|
|
33
|
-
attr_accessor :
|
|
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.
|
|
33
|
+
attr_accessor :no_content_change_since
|
|
34
34
|
|
|
35
35
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
36
36
|
attr_accessor :content_guard
|
|
37
37
|
|
|
38
|
-
#
|
|
39
|
-
attr_accessor :
|
|
38
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
39
|
+
attr_accessor :repository
|
|
40
40
|
|
|
41
|
-
#
|
|
42
|
-
attr_accessor :
|
|
41
|
+
# 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.
|
|
42
|
+
attr_accessor :pulp_last_updated
|
|
43
43
|
|
|
44
44
|
# 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
45
|
attr_accessor :base_path
|
|
46
46
|
|
|
47
|
-
# Timestamp
|
|
48
|
-
attr_accessor :
|
|
47
|
+
# Timestamp of creation.
|
|
48
|
+
attr_accessor :pulp_created
|
|
49
49
|
|
|
50
50
|
# RepositoryVersion to be served
|
|
51
51
|
attr_accessor :repository_version
|
|
@@ -69,16 +69,16 @@ module PulpContainerClient
|
|
|
69
69
|
def self.attribute_map
|
|
70
70
|
{
|
|
71
71
|
:'pulp_href' => :'pulp_href',
|
|
72
|
-
:'repository' => :'repository',
|
|
73
|
-
:'name' => :'name',
|
|
74
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
75
|
-
:'pulp_labels' => :'pulp_labels',
|
|
76
|
-
:'pulp_created' => :'pulp_created',
|
|
77
|
-
:'content_guard' => :'content_guard',
|
|
78
72
|
:'hidden' => :'hidden',
|
|
73
|
+
:'pulp_labels' => :'pulp_labels',
|
|
79
74
|
:'prn' => :'prn',
|
|
80
|
-
:'
|
|
75
|
+
:'name' => :'name',
|
|
81
76
|
:'no_content_change_since' => :'no_content_change_since',
|
|
77
|
+
:'content_guard' => :'content_guard',
|
|
78
|
+
:'repository' => :'repository',
|
|
79
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
80
|
+
:'base_path' => :'base_path',
|
|
81
|
+
:'pulp_created' => :'pulp_created',
|
|
82
82
|
:'repository_version' => :'repository_version',
|
|
83
83
|
:'registry_path' => :'registry_path',
|
|
84
84
|
:'remote' => :'remote',
|
|
@@ -97,16 +97,16 @@ module PulpContainerClient
|
|
|
97
97
|
def self.openapi_types
|
|
98
98
|
{
|
|
99
99
|
:'pulp_href' => :'String',
|
|
100
|
-
:'repository' => :'String',
|
|
101
|
-
:'name' => :'String',
|
|
102
|
-
:'pulp_last_updated' => :'Time',
|
|
103
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
104
|
-
:'pulp_created' => :'Time',
|
|
105
|
-
:'content_guard' => :'String',
|
|
106
100
|
:'hidden' => :'Boolean',
|
|
101
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
107
102
|
:'prn' => :'String',
|
|
108
|
-
:'
|
|
103
|
+
:'name' => :'String',
|
|
109
104
|
:'no_content_change_since' => :'String',
|
|
105
|
+
:'content_guard' => :'String',
|
|
106
|
+
:'repository' => :'String',
|
|
107
|
+
:'pulp_last_updated' => :'Time',
|
|
108
|
+
:'base_path' => :'String',
|
|
109
|
+
:'pulp_created' => :'Time',
|
|
110
110
|
:'repository_version' => :'String',
|
|
111
111
|
:'registry_path' => :'String',
|
|
112
112
|
:'remote' => :'String',
|
|
@@ -144,18 +144,10 @@ module PulpContainerClient
|
|
|
144
144
|
self.pulp_href = attributes[:'pulp_href']
|
|
145
145
|
end
|
|
146
146
|
|
|
147
|
-
if attributes.key?(:'
|
|
148
|
-
self.
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
if attributes.key?(:'name')
|
|
152
|
-
self.name = attributes[:'name']
|
|
147
|
+
if attributes.key?(:'hidden')
|
|
148
|
+
self.hidden = attributes[:'hidden']
|
|
153
149
|
else
|
|
154
|
-
self.
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
if attributes.key?(:'pulp_last_updated')
|
|
158
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
150
|
+
self.hidden = false
|
|
159
151
|
end
|
|
160
152
|
|
|
161
153
|
if attributes.key?(:'pulp_labels')
|
|
@@ -164,22 +156,30 @@ module PulpContainerClient
|
|
|
164
156
|
end
|
|
165
157
|
end
|
|
166
158
|
|
|
167
|
-
if attributes.key?(:'
|
|
168
|
-
self.
|
|
159
|
+
if attributes.key?(:'prn')
|
|
160
|
+
self.prn = attributes[:'prn']
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
if attributes.key?(:'name')
|
|
164
|
+
self.name = attributes[:'name']
|
|
165
|
+
else
|
|
166
|
+
self.name = nil
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
if attributes.key?(:'no_content_change_since')
|
|
170
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
169
171
|
end
|
|
170
172
|
|
|
171
173
|
if attributes.key?(:'content_guard')
|
|
172
174
|
self.content_guard = attributes[:'content_guard']
|
|
173
175
|
end
|
|
174
176
|
|
|
175
|
-
if attributes.key?(:'
|
|
176
|
-
self.
|
|
177
|
-
else
|
|
178
|
-
self.hidden = false
|
|
177
|
+
if attributes.key?(:'repository')
|
|
178
|
+
self.repository = attributes[:'repository']
|
|
179
179
|
end
|
|
180
180
|
|
|
181
|
-
if attributes.key?(:'
|
|
182
|
-
self.
|
|
181
|
+
if attributes.key?(:'pulp_last_updated')
|
|
182
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
183
183
|
end
|
|
184
184
|
|
|
185
185
|
if attributes.key?(:'base_path')
|
|
@@ -188,8 +188,8 @@ module PulpContainerClient
|
|
|
188
188
|
self.base_path = nil
|
|
189
189
|
end
|
|
190
190
|
|
|
191
|
-
if attributes.key?(:'
|
|
192
|
-
self.
|
|
191
|
+
if attributes.key?(:'pulp_created')
|
|
192
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
if attributes.key?(:'repository_version')
|
|
@@ -248,16 +248,16 @@ module PulpContainerClient
|
|
|
248
248
|
return true if self.equal?(o)
|
|
249
249
|
self.class == o.class &&
|
|
250
250
|
pulp_href == o.pulp_href &&
|
|
251
|
-
repository == o.repository &&
|
|
252
|
-
name == o.name &&
|
|
253
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
254
|
-
pulp_labels == o.pulp_labels &&
|
|
255
|
-
pulp_created == o.pulp_created &&
|
|
256
|
-
content_guard == o.content_guard &&
|
|
257
251
|
hidden == o.hidden &&
|
|
252
|
+
pulp_labels == o.pulp_labels &&
|
|
258
253
|
prn == o.prn &&
|
|
259
|
-
|
|
254
|
+
name == o.name &&
|
|
260
255
|
no_content_change_since == o.no_content_change_since &&
|
|
256
|
+
content_guard == o.content_guard &&
|
|
257
|
+
repository == o.repository &&
|
|
258
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
259
|
+
base_path == o.base_path &&
|
|
260
|
+
pulp_created == o.pulp_created &&
|
|
261
261
|
repository_version == o.repository_version &&
|
|
262
262
|
registry_path == o.registry_path &&
|
|
263
263
|
remote == o.remote &&
|
|
@@ -275,7 +275,7 @@ module PulpContainerClient
|
|
|
275
275
|
# Calculates hash code according to all attributes.
|
|
276
276
|
# @return [Integer] Hash code
|
|
277
277
|
def hash
|
|
278
|
-
[pulp_href,
|
|
278
|
+
[pulp_href, hidden, pulp_labels, prn, name, no_content_change_since, content_guard, repository, pulp_last_updated, base_path, pulp_created, repository_version, registry_path, remote, namespace, private, description].hash
|
|
279
279
|
end
|
|
280
280
|
|
|
281
281
|
# Builds the object from hash
|
|
@@ -16,19 +16,19 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
18
18
|
class ContainerContainerPullThroughDistribution
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# Whether this distribution should be shown in the content app.
|
|
20
|
+
attr_accessor :hidden
|
|
21
|
+
|
|
22
|
+
attr_accessor :pulp_labels
|
|
21
23
|
|
|
22
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
23
25
|
attr_accessor :name
|
|
24
26
|
|
|
25
|
-
attr_accessor :pulp_labels
|
|
26
|
-
|
|
27
27
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
28
28
|
attr_accessor :content_guard
|
|
29
29
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :
|
|
30
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
31
|
+
attr_accessor :repository
|
|
32
32
|
|
|
33
33
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
34
34
|
attr_accessor :base_path
|
|
@@ -48,11 +48,11 @@ module PulpContainerClient
|
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
49
|
def self.attribute_map
|
|
50
50
|
{
|
|
51
|
-
:'
|
|
52
|
-
:'name' => :'name',
|
|
51
|
+
:'hidden' => :'hidden',
|
|
53
52
|
:'pulp_labels' => :'pulp_labels',
|
|
53
|
+
:'name' => :'name',
|
|
54
54
|
:'content_guard' => :'content_guard',
|
|
55
|
-
:'
|
|
55
|
+
:'repository' => :'repository',
|
|
56
56
|
:'base_path' => :'base_path',
|
|
57
57
|
:'remote' => :'remote',
|
|
58
58
|
:'distributions' => :'distributions',
|
|
@@ -69,11 +69,11 @@ module PulpContainerClient
|
|
|
69
69
|
# Attribute type mapping.
|
|
70
70
|
def self.openapi_types
|
|
71
71
|
{
|
|
72
|
-
:'
|
|
73
|
-
:'name' => :'String',
|
|
72
|
+
:'hidden' => :'Boolean',
|
|
74
73
|
:'pulp_labels' => :'Hash<String, String>',
|
|
74
|
+
:'name' => :'String',
|
|
75
75
|
:'content_guard' => :'String',
|
|
76
|
-
:'
|
|
76
|
+
:'repository' => :'String',
|
|
77
77
|
:'base_path' => :'String',
|
|
78
78
|
:'remote' => :'String',
|
|
79
79
|
:'distributions' => :'Array<String>',
|
|
@@ -105,14 +105,10 @@ module PulpContainerClient
|
|
|
105
105
|
h[k.to_sym] = v
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
if attributes.key?(:'
|
|
109
|
-
self.
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
if attributes.key?(:'name')
|
|
113
|
-
self.name = attributes[:'name']
|
|
108
|
+
if attributes.key?(:'hidden')
|
|
109
|
+
self.hidden = attributes[:'hidden']
|
|
114
110
|
else
|
|
115
|
-
self.
|
|
111
|
+
self.hidden = false
|
|
116
112
|
end
|
|
117
113
|
|
|
118
114
|
if attributes.key?(:'pulp_labels')
|
|
@@ -121,14 +117,18 @@ module PulpContainerClient
|
|
|
121
117
|
end
|
|
122
118
|
end
|
|
123
119
|
|
|
120
|
+
if attributes.key?(:'name')
|
|
121
|
+
self.name = attributes[:'name']
|
|
122
|
+
else
|
|
123
|
+
self.name = nil
|
|
124
|
+
end
|
|
125
|
+
|
|
124
126
|
if attributes.key?(:'content_guard')
|
|
125
127
|
self.content_guard = attributes[:'content_guard']
|
|
126
128
|
end
|
|
127
129
|
|
|
128
|
-
if attributes.key?(:'
|
|
129
|
-
self.
|
|
130
|
-
else
|
|
131
|
-
self.hidden = false
|
|
130
|
+
if attributes.key?(:'repository')
|
|
131
|
+
self.repository = attributes[:'repository']
|
|
132
132
|
end
|
|
133
133
|
|
|
134
134
|
if attributes.key?(:'base_path')
|
|
@@ -246,11 +246,11 @@ module PulpContainerClient
|
|
|
246
246
|
def ==(o)
|
|
247
247
|
return true if self.equal?(o)
|
|
248
248
|
self.class == o.class &&
|
|
249
|
-
|
|
250
|
-
name == o.name &&
|
|
249
|
+
hidden == o.hidden &&
|
|
251
250
|
pulp_labels == o.pulp_labels &&
|
|
251
|
+
name == o.name &&
|
|
252
252
|
content_guard == o.content_guard &&
|
|
253
|
-
|
|
253
|
+
repository == o.repository &&
|
|
254
254
|
base_path == o.base_path &&
|
|
255
255
|
remote == o.remote &&
|
|
256
256
|
distributions == o.distributions &&
|
|
@@ -267,7 +267,7 @@ module PulpContainerClient
|
|
|
267
267
|
# Calculates hash code according to all attributes.
|
|
268
268
|
# @return [Integer] Hash code
|
|
269
269
|
def hash
|
|
270
|
-
[
|
|
270
|
+
[hidden, pulp_labels, name, content_guard, repository, base_path, remote, distributions, private, description].hash
|
|
271
271
|
end
|
|
272
272
|
|
|
273
273
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -18,34 +18,34 @@ module PulpContainerClient
|
|
|
18
18
|
class ContainerContainerPullThroughDistributionResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
21
|
+
# Whether this distribution should be shown in the content app.
|
|
22
|
+
attr_accessor :hidden
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
attr_accessor :name
|
|
24
|
+
attr_accessor :pulp_labels
|
|
26
25
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
26
|
+
# The Pulp Resource Name (PRN).
|
|
27
|
+
attr_accessor :prn
|
|
29
28
|
|
|
30
|
-
|
|
29
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
|
+
attr_accessor :name
|
|
31
31
|
|
|
32
|
-
# Timestamp
|
|
33
|
-
attr_accessor :
|
|
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.
|
|
33
|
+
attr_accessor :no_content_change_since
|
|
34
34
|
|
|
35
35
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
36
36
|
attr_accessor :content_guard
|
|
37
37
|
|
|
38
|
-
#
|
|
39
|
-
attr_accessor :
|
|
38
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
39
|
+
attr_accessor :repository
|
|
40
40
|
|
|
41
|
-
#
|
|
42
|
-
attr_accessor :
|
|
41
|
+
# 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.
|
|
42
|
+
attr_accessor :pulp_last_updated
|
|
43
43
|
|
|
44
44
|
# 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
45
|
attr_accessor :base_path
|
|
46
46
|
|
|
47
|
-
# Timestamp
|
|
48
|
-
attr_accessor :
|
|
47
|
+
# Timestamp of creation.
|
|
48
|
+
attr_accessor :pulp_created
|
|
49
49
|
|
|
50
50
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
51
51
|
attr_accessor :remote
|
|
@@ -66,16 +66,16 @@ module PulpContainerClient
|
|
|
66
66
|
def self.attribute_map
|
|
67
67
|
{
|
|
68
68
|
:'pulp_href' => :'pulp_href',
|
|
69
|
-
:'repository' => :'repository',
|
|
70
|
-
:'name' => :'name',
|
|
71
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
72
|
-
:'pulp_labels' => :'pulp_labels',
|
|
73
|
-
:'pulp_created' => :'pulp_created',
|
|
74
|
-
:'content_guard' => :'content_guard',
|
|
75
69
|
:'hidden' => :'hidden',
|
|
70
|
+
:'pulp_labels' => :'pulp_labels',
|
|
76
71
|
:'prn' => :'prn',
|
|
77
|
-
:'
|
|
72
|
+
:'name' => :'name',
|
|
78
73
|
:'no_content_change_since' => :'no_content_change_since',
|
|
74
|
+
:'content_guard' => :'content_guard',
|
|
75
|
+
:'repository' => :'repository',
|
|
76
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
77
|
+
:'base_path' => :'base_path',
|
|
78
|
+
:'pulp_created' => :'pulp_created',
|
|
79
79
|
:'remote' => :'remote',
|
|
80
80
|
:'distributions' => :'distributions',
|
|
81
81
|
:'namespace' => :'namespace',
|
|
@@ -93,16 +93,16 @@ module PulpContainerClient
|
|
|
93
93
|
def self.openapi_types
|
|
94
94
|
{
|
|
95
95
|
:'pulp_href' => :'String',
|
|
96
|
-
:'repository' => :'String',
|
|
97
|
-
:'name' => :'String',
|
|
98
|
-
:'pulp_last_updated' => :'Time',
|
|
99
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
100
|
-
:'pulp_created' => :'Time',
|
|
101
|
-
:'content_guard' => :'String',
|
|
102
96
|
:'hidden' => :'Boolean',
|
|
97
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
103
98
|
:'prn' => :'String',
|
|
104
|
-
:'
|
|
99
|
+
:'name' => :'String',
|
|
105
100
|
:'no_content_change_since' => :'String',
|
|
101
|
+
:'content_guard' => :'String',
|
|
102
|
+
:'repository' => :'String',
|
|
103
|
+
:'pulp_last_updated' => :'Time',
|
|
104
|
+
:'base_path' => :'String',
|
|
105
|
+
:'pulp_created' => :'Time',
|
|
106
106
|
:'remote' => :'String',
|
|
107
107
|
:'distributions' => :'Array<String>',
|
|
108
108
|
:'namespace' => :'String',
|
|
@@ -138,18 +138,10 @@ module PulpContainerClient
|
|
|
138
138
|
self.pulp_href = attributes[:'pulp_href']
|
|
139
139
|
end
|
|
140
140
|
|
|
141
|
-
if attributes.key?(:'
|
|
142
|
-
self.
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
if attributes.key?(:'name')
|
|
146
|
-
self.name = attributes[:'name']
|
|
141
|
+
if attributes.key?(:'hidden')
|
|
142
|
+
self.hidden = attributes[:'hidden']
|
|
147
143
|
else
|
|
148
|
-
self.
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
if attributes.key?(:'pulp_last_updated')
|
|
152
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
144
|
+
self.hidden = false
|
|
153
145
|
end
|
|
154
146
|
|
|
155
147
|
if attributes.key?(:'pulp_labels')
|
|
@@ -158,22 +150,30 @@ module PulpContainerClient
|
|
|
158
150
|
end
|
|
159
151
|
end
|
|
160
152
|
|
|
161
|
-
if attributes.key?(:'
|
|
162
|
-
self.
|
|
153
|
+
if attributes.key?(:'prn')
|
|
154
|
+
self.prn = attributes[:'prn']
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
if attributes.key?(:'name')
|
|
158
|
+
self.name = attributes[:'name']
|
|
159
|
+
else
|
|
160
|
+
self.name = nil
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
if attributes.key?(:'no_content_change_since')
|
|
164
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
163
165
|
end
|
|
164
166
|
|
|
165
167
|
if attributes.key?(:'content_guard')
|
|
166
168
|
self.content_guard = attributes[:'content_guard']
|
|
167
169
|
end
|
|
168
170
|
|
|
169
|
-
if attributes.key?(:'
|
|
170
|
-
self.
|
|
171
|
-
else
|
|
172
|
-
self.hidden = false
|
|
171
|
+
if attributes.key?(:'repository')
|
|
172
|
+
self.repository = attributes[:'repository']
|
|
173
173
|
end
|
|
174
174
|
|
|
175
|
-
if attributes.key?(:'
|
|
176
|
-
self.
|
|
175
|
+
if attributes.key?(:'pulp_last_updated')
|
|
176
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
177
177
|
end
|
|
178
178
|
|
|
179
179
|
if attributes.key?(:'base_path')
|
|
@@ -182,8 +182,8 @@ module PulpContainerClient
|
|
|
182
182
|
self.base_path = nil
|
|
183
183
|
end
|
|
184
184
|
|
|
185
|
-
if attributes.key?(:'
|
|
186
|
-
self.
|
|
185
|
+
if attributes.key?(:'pulp_created')
|
|
186
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
if attributes.key?(:'remote')
|
|
@@ -247,16 +247,16 @@ module PulpContainerClient
|
|
|
247
247
|
return true if self.equal?(o)
|
|
248
248
|
self.class == o.class &&
|
|
249
249
|
pulp_href == o.pulp_href &&
|
|
250
|
-
repository == o.repository &&
|
|
251
|
-
name == o.name &&
|
|
252
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
253
|
-
pulp_labels == o.pulp_labels &&
|
|
254
|
-
pulp_created == o.pulp_created &&
|
|
255
|
-
content_guard == o.content_guard &&
|
|
256
250
|
hidden == o.hidden &&
|
|
251
|
+
pulp_labels == o.pulp_labels &&
|
|
257
252
|
prn == o.prn &&
|
|
258
|
-
|
|
253
|
+
name == o.name &&
|
|
259
254
|
no_content_change_since == o.no_content_change_since &&
|
|
255
|
+
content_guard == o.content_guard &&
|
|
256
|
+
repository == o.repository &&
|
|
257
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
258
|
+
base_path == o.base_path &&
|
|
259
|
+
pulp_created == o.pulp_created &&
|
|
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
|
-
[pulp_href,
|
|
276
|
+
[pulp_href, hidden, pulp_labels, prn, name, no_content_change_since, content_guard, repository, pulp_last_updated, base_path, pulp_created, remote, distributions, namespace, private, description].hash
|
|
277
277
|
end
|
|
278
278
|
|
|
279
279
|
# Builds the object from hash
|