pulp_container_client 2.20.8 → 2.20.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 +7 -7
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +7 -7
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/lib/pulp_container_client/models/container_container_distribution.rb +31 -31
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +54 -54
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +31 -31
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +54 -54
- data/lib/pulp_container_client/models/container_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +62 -62
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +31 -31
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +31 -31
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- 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 +5 -5
- metadata +61 -61
|
@@ -15,16 +15,7 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
-
|
|
19
|
-
attr_accessor :hidden
|
|
20
|
-
|
|
21
|
-
# 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.
|
|
22
|
-
attr_accessor :pulp_last_updated
|
|
23
|
-
|
|
24
|
-
# Timestamp of creation.
|
|
25
|
-
attr_accessor :pulp_created
|
|
26
|
-
|
|
27
|
-
attr_accessor :pulp_labels
|
|
18
|
+
attr_accessor :pulp_href
|
|
28
19
|
|
|
29
20
|
# The latest RepositoryVersion for this Repository will be served.
|
|
30
21
|
attr_accessor :repository
|
|
@@ -32,14 +23,23 @@ module PulpContainerClient
|
|
|
32
23
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
33
24
|
attr_accessor :base_path
|
|
34
25
|
|
|
35
|
-
|
|
26
|
+
# 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.
|
|
27
|
+
attr_accessor :pulp_last_updated
|
|
36
28
|
|
|
37
|
-
#
|
|
38
|
-
attr_accessor :
|
|
29
|
+
# Timestamp of creation.
|
|
30
|
+
attr_accessor :pulp_created
|
|
39
31
|
|
|
40
32
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
41
33
|
attr_accessor :content_guard
|
|
42
34
|
|
|
35
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
36
|
+
attr_accessor :name
|
|
37
|
+
|
|
38
|
+
# Whether this distribution should be shown in the content app.
|
|
39
|
+
attr_accessor :hidden
|
|
40
|
+
|
|
41
|
+
attr_accessor :pulp_labels
|
|
42
|
+
|
|
43
43
|
# RepositoryVersion to be served
|
|
44
44
|
attr_accessor :repository_version
|
|
45
45
|
|
|
@@ -61,15 +61,15 @@ module PulpContainerClient
|
|
|
61
61
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
62
62
|
def self.attribute_map
|
|
63
63
|
{
|
|
64
|
-
:'
|
|
65
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
66
|
-
:'pulp_created' => :'pulp_created',
|
|
67
|
-
:'pulp_labels' => :'pulp_labels',
|
|
64
|
+
:'pulp_href' => :'pulp_href',
|
|
68
65
|
:'repository' => :'repository',
|
|
69
66
|
:'base_path' => :'base_path',
|
|
70
|
-
:'
|
|
71
|
-
:'
|
|
67
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
68
|
+
:'pulp_created' => :'pulp_created',
|
|
72
69
|
:'content_guard' => :'content_guard',
|
|
70
|
+
:'name' => :'name',
|
|
71
|
+
:'hidden' => :'hidden',
|
|
72
|
+
:'pulp_labels' => :'pulp_labels',
|
|
73
73
|
:'repository_version' => :'repository_version',
|
|
74
74
|
:'registry_path' => :'registry_path',
|
|
75
75
|
:'remote' => :'remote',
|
|
@@ -82,15 +82,15 @@ module PulpContainerClient
|
|
|
82
82
|
# Attribute type mapping.
|
|
83
83
|
def self.openapi_types
|
|
84
84
|
{
|
|
85
|
-
:'
|
|
86
|
-
:'pulp_last_updated' => :'DateTime',
|
|
87
|
-
:'pulp_created' => :'DateTime',
|
|
88
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
85
|
+
:'pulp_href' => :'String',
|
|
89
86
|
:'repository' => :'String',
|
|
90
87
|
:'base_path' => :'String',
|
|
91
|
-
:'
|
|
92
|
-
:'
|
|
88
|
+
:'pulp_last_updated' => :'DateTime',
|
|
89
|
+
:'pulp_created' => :'DateTime',
|
|
93
90
|
:'content_guard' => :'String',
|
|
91
|
+
:'name' => :'String',
|
|
92
|
+
:'hidden' => :'Boolean',
|
|
93
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
94
94
|
:'repository_version' => :'String',
|
|
95
95
|
:'registry_path' => :'String',
|
|
96
96
|
:'remote' => :'String',
|
|
@@ -124,24 +124,8 @@ module PulpContainerClient
|
|
|
124
124
|
h[k.to_sym] = v
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
if attributes.key?(:'
|
|
128
|
-
self.
|
|
129
|
-
else
|
|
130
|
-
self.hidden = false
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
if attributes.key?(:'pulp_last_updated')
|
|
134
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
if attributes.key?(:'pulp_created')
|
|
138
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
if attributes.key?(:'pulp_labels')
|
|
142
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
143
|
-
self.pulp_labels = value
|
|
144
|
-
end
|
|
127
|
+
if attributes.key?(:'pulp_href')
|
|
128
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
145
129
|
end
|
|
146
130
|
|
|
147
131
|
if attributes.key?(:'repository')
|
|
@@ -152,18 +136,34 @@ module PulpContainerClient
|
|
|
152
136
|
self.base_path = attributes[:'base_path']
|
|
153
137
|
end
|
|
154
138
|
|
|
155
|
-
if attributes.key?(:'
|
|
156
|
-
self.
|
|
139
|
+
if attributes.key?(:'pulp_last_updated')
|
|
140
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
157
141
|
end
|
|
158
142
|
|
|
159
|
-
if attributes.key?(:'
|
|
160
|
-
self.
|
|
143
|
+
if attributes.key?(:'pulp_created')
|
|
144
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
161
145
|
end
|
|
162
146
|
|
|
163
147
|
if attributes.key?(:'content_guard')
|
|
164
148
|
self.content_guard = attributes[:'content_guard']
|
|
165
149
|
end
|
|
166
150
|
|
|
151
|
+
if attributes.key?(:'name')
|
|
152
|
+
self.name = attributes[:'name']
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
if attributes.key?(:'hidden')
|
|
156
|
+
self.hidden = attributes[:'hidden']
|
|
157
|
+
else
|
|
158
|
+
self.hidden = false
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
if attributes.key?(:'pulp_labels')
|
|
162
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
163
|
+
self.pulp_labels = value
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
167
|
if attributes.key?(:'repository_version')
|
|
168
168
|
self.repository_version = attributes[:'repository_version']
|
|
169
169
|
end
|
|
@@ -217,15 +217,15 @@ module PulpContainerClient
|
|
|
217
217
|
def ==(o)
|
|
218
218
|
return true if self.equal?(o)
|
|
219
219
|
self.class == o.class &&
|
|
220
|
-
|
|
221
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
222
|
-
pulp_created == o.pulp_created &&
|
|
223
|
-
pulp_labels == o.pulp_labels &&
|
|
220
|
+
pulp_href == o.pulp_href &&
|
|
224
221
|
repository == o.repository &&
|
|
225
222
|
base_path == o.base_path &&
|
|
226
|
-
|
|
227
|
-
|
|
223
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
224
|
+
pulp_created == o.pulp_created &&
|
|
228
225
|
content_guard == o.content_guard &&
|
|
226
|
+
name == o.name &&
|
|
227
|
+
hidden == o.hidden &&
|
|
228
|
+
pulp_labels == o.pulp_labels &&
|
|
229
229
|
repository_version == o.repository_version &&
|
|
230
230
|
registry_path == o.registry_path &&
|
|
231
231
|
remote == o.remote &&
|
|
@@ -243,7 +243,7 @@ module PulpContainerClient
|
|
|
243
243
|
# Calculates hash code according to all attributes.
|
|
244
244
|
# @return [Integer] Hash code
|
|
245
245
|
def hash
|
|
246
|
-
[
|
|
246
|
+
[pulp_href, repository, base_path, pulp_last_updated, pulp_created, content_guard, name, hidden, pulp_labels, repository_version, registry_path, remote, namespace, private, description].hash
|
|
247
247
|
end
|
|
248
248
|
|
|
249
249
|
# Builds the object from hash
|
|
@@ -15,22 +15,22 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class ContainerContainerPullThroughDistribution
|
|
18
|
-
# Whether this distribution should be shown in the content app.
|
|
19
|
-
attr_accessor :hidden
|
|
20
|
-
|
|
21
|
-
attr_accessor :pulp_labels
|
|
22
|
-
|
|
23
18
|
# The latest RepositoryVersion for this Repository will be served.
|
|
24
19
|
attr_accessor :repository
|
|
25
20
|
|
|
26
21
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
27
22
|
attr_accessor :base_path
|
|
28
23
|
|
|
24
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
25
|
+
attr_accessor :content_guard
|
|
26
|
+
|
|
29
27
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
28
|
attr_accessor :name
|
|
31
29
|
|
|
32
|
-
#
|
|
33
|
-
attr_accessor :
|
|
30
|
+
# Whether this distribution should be shown in the content app.
|
|
31
|
+
attr_accessor :hidden
|
|
32
|
+
|
|
33
|
+
attr_accessor :pulp_labels
|
|
34
34
|
|
|
35
35
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
36
36
|
attr_accessor :remote
|
|
@@ -47,12 +47,12 @@ module PulpContainerClient
|
|
|
47
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
48
48
|
def self.attribute_map
|
|
49
49
|
{
|
|
50
|
-
:'hidden' => :'hidden',
|
|
51
|
-
:'pulp_labels' => :'pulp_labels',
|
|
52
50
|
:'repository' => :'repository',
|
|
53
51
|
:'base_path' => :'base_path',
|
|
54
|
-
:'name' => :'name',
|
|
55
52
|
:'content_guard' => :'content_guard',
|
|
53
|
+
:'name' => :'name',
|
|
54
|
+
:'hidden' => :'hidden',
|
|
55
|
+
:'pulp_labels' => :'pulp_labels',
|
|
56
56
|
:'remote' => :'remote',
|
|
57
57
|
:'distributions' => :'distributions',
|
|
58
58
|
:'private' => :'private',
|
|
@@ -63,12 +63,12 @@ module PulpContainerClient
|
|
|
63
63
|
# Attribute type mapping.
|
|
64
64
|
def self.openapi_types
|
|
65
65
|
{
|
|
66
|
-
:'hidden' => :'Boolean',
|
|
67
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
68
66
|
:'repository' => :'String',
|
|
69
67
|
:'base_path' => :'String',
|
|
70
|
-
:'name' => :'String',
|
|
71
68
|
:'content_guard' => :'String',
|
|
69
|
+
:'name' => :'String',
|
|
70
|
+
:'hidden' => :'Boolean',
|
|
71
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
72
72
|
:'remote' => :'String',
|
|
73
73
|
:'distributions' => :'Array<String>',
|
|
74
74
|
:'private' => :'Boolean',
|
|
@@ -99,18 +99,6 @@ module PulpContainerClient
|
|
|
99
99
|
h[k.to_sym] = v
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
if attributes.key?(:'hidden')
|
|
103
|
-
self.hidden = attributes[:'hidden']
|
|
104
|
-
else
|
|
105
|
-
self.hidden = false
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
if attributes.key?(:'pulp_labels')
|
|
109
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
110
|
-
self.pulp_labels = value
|
|
111
|
-
end
|
|
112
|
-
end
|
|
113
|
-
|
|
114
102
|
if attributes.key?(:'repository')
|
|
115
103
|
self.repository = attributes[:'repository']
|
|
116
104
|
end
|
|
@@ -119,12 +107,24 @@ module PulpContainerClient
|
|
|
119
107
|
self.base_path = attributes[:'base_path']
|
|
120
108
|
end
|
|
121
109
|
|
|
110
|
+
if attributes.key?(:'content_guard')
|
|
111
|
+
self.content_guard = attributes[:'content_guard']
|
|
112
|
+
end
|
|
113
|
+
|
|
122
114
|
if attributes.key?(:'name')
|
|
123
115
|
self.name = attributes[:'name']
|
|
124
116
|
end
|
|
125
117
|
|
|
126
|
-
if attributes.key?(:'
|
|
127
|
-
self.
|
|
118
|
+
if attributes.key?(:'hidden')
|
|
119
|
+
self.hidden = attributes[:'hidden']
|
|
120
|
+
else
|
|
121
|
+
self.hidden = false
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
if attributes.key?(:'pulp_labels')
|
|
125
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
126
|
+
self.pulp_labels = value
|
|
127
|
+
end
|
|
128
128
|
end
|
|
129
129
|
|
|
130
130
|
if attributes.key?(:'remote')
|
|
@@ -232,12 +232,12 @@ module PulpContainerClient
|
|
|
232
232
|
def ==(o)
|
|
233
233
|
return true if self.equal?(o)
|
|
234
234
|
self.class == o.class &&
|
|
235
|
-
hidden == o.hidden &&
|
|
236
|
-
pulp_labels == o.pulp_labels &&
|
|
237
235
|
repository == o.repository &&
|
|
238
236
|
base_path == o.base_path &&
|
|
239
|
-
name == o.name &&
|
|
240
237
|
content_guard == o.content_guard &&
|
|
238
|
+
name == o.name &&
|
|
239
|
+
hidden == o.hidden &&
|
|
240
|
+
pulp_labels == o.pulp_labels &&
|
|
241
241
|
remote == o.remote &&
|
|
242
242
|
distributions == o.distributions &&
|
|
243
243
|
private == o.private &&
|
|
@@ -253,7 +253,7 @@ module PulpContainerClient
|
|
|
253
253
|
# Calculates hash code according to all attributes.
|
|
254
254
|
# @return [Integer] Hash code
|
|
255
255
|
def hash
|
|
256
|
-
[
|
|
256
|
+
[repository, base_path, content_guard, name, hidden, pulp_labels, remote, distributions, private, description].hash
|
|
257
257
|
end
|
|
258
258
|
|
|
259
259
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -15,16 +15,7 @@ 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 :hidden
|
|
20
|
-
|
|
21
|
-
# 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.
|
|
22
|
-
attr_accessor :pulp_last_updated
|
|
23
|
-
|
|
24
|
-
# Timestamp of creation.
|
|
25
|
-
attr_accessor :pulp_created
|
|
26
|
-
|
|
27
|
-
attr_accessor :pulp_labels
|
|
18
|
+
attr_accessor :pulp_href
|
|
28
19
|
|
|
29
20
|
# The latest RepositoryVersion for this Repository will be served.
|
|
30
21
|
attr_accessor :repository
|
|
@@ -32,14 +23,23 @@ module PulpContainerClient
|
|
|
32
23
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
33
24
|
attr_accessor :base_path
|
|
34
25
|
|
|
35
|
-
|
|
26
|
+
# 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.
|
|
27
|
+
attr_accessor :pulp_last_updated
|
|
36
28
|
|
|
37
|
-
#
|
|
38
|
-
attr_accessor :
|
|
29
|
+
# Timestamp of creation.
|
|
30
|
+
attr_accessor :pulp_created
|
|
39
31
|
|
|
40
32
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
41
33
|
attr_accessor :content_guard
|
|
42
34
|
|
|
35
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
36
|
+
attr_accessor :name
|
|
37
|
+
|
|
38
|
+
# Whether this distribution should be shown in the content app.
|
|
39
|
+
attr_accessor :hidden
|
|
40
|
+
|
|
41
|
+
attr_accessor :pulp_labels
|
|
42
|
+
|
|
43
43
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
44
44
|
attr_accessor :remote
|
|
45
45
|
|
|
@@ -58,15 +58,15 @@ module PulpContainerClient
|
|
|
58
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
59
59
|
def self.attribute_map
|
|
60
60
|
{
|
|
61
|
-
:'
|
|
62
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
63
|
-
:'pulp_created' => :'pulp_created',
|
|
64
|
-
:'pulp_labels' => :'pulp_labels',
|
|
61
|
+
:'pulp_href' => :'pulp_href',
|
|
65
62
|
:'repository' => :'repository',
|
|
66
63
|
:'base_path' => :'base_path',
|
|
67
|
-
:'
|
|
68
|
-
:'
|
|
64
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
65
|
+
:'pulp_created' => :'pulp_created',
|
|
69
66
|
:'content_guard' => :'content_guard',
|
|
67
|
+
:'name' => :'name',
|
|
68
|
+
:'hidden' => :'hidden',
|
|
69
|
+
:'pulp_labels' => :'pulp_labels',
|
|
70
70
|
:'remote' => :'remote',
|
|
71
71
|
:'distributions' => :'distributions',
|
|
72
72
|
:'namespace' => :'namespace',
|
|
@@ -78,15 +78,15 @@ module PulpContainerClient
|
|
|
78
78
|
# Attribute type mapping.
|
|
79
79
|
def self.openapi_types
|
|
80
80
|
{
|
|
81
|
-
:'
|
|
82
|
-
:'pulp_last_updated' => :'DateTime',
|
|
83
|
-
:'pulp_created' => :'DateTime',
|
|
84
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
81
|
+
:'pulp_href' => :'String',
|
|
85
82
|
:'repository' => :'String',
|
|
86
83
|
:'base_path' => :'String',
|
|
87
|
-
:'
|
|
88
|
-
:'
|
|
84
|
+
:'pulp_last_updated' => :'DateTime',
|
|
85
|
+
:'pulp_created' => :'DateTime',
|
|
89
86
|
:'content_guard' => :'String',
|
|
87
|
+
:'name' => :'String',
|
|
88
|
+
:'hidden' => :'Boolean',
|
|
89
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
90
90
|
:'remote' => :'String',
|
|
91
91
|
:'distributions' => :'Array<String>',
|
|
92
92
|
:'namespace' => :'String',
|
|
@@ -118,24 +118,8 @@ module PulpContainerClient
|
|
|
118
118
|
h[k.to_sym] = v
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
if attributes.key?(:'
|
|
122
|
-
self.
|
|
123
|
-
else
|
|
124
|
-
self.hidden = false
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
if attributes.key?(:'pulp_last_updated')
|
|
128
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
if attributes.key?(:'pulp_created')
|
|
132
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
133
|
-
end
|
|
134
|
-
|
|
135
|
-
if attributes.key?(:'pulp_labels')
|
|
136
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
137
|
-
self.pulp_labels = value
|
|
138
|
-
end
|
|
121
|
+
if attributes.key?(:'pulp_href')
|
|
122
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
139
123
|
end
|
|
140
124
|
|
|
141
125
|
if attributes.key?(:'repository')
|
|
@@ -146,18 +130,34 @@ module PulpContainerClient
|
|
|
146
130
|
self.base_path = attributes[:'base_path']
|
|
147
131
|
end
|
|
148
132
|
|
|
149
|
-
if attributes.key?(:'
|
|
150
|
-
self.
|
|
133
|
+
if attributes.key?(:'pulp_last_updated')
|
|
134
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
151
135
|
end
|
|
152
136
|
|
|
153
|
-
if attributes.key?(:'
|
|
154
|
-
self.
|
|
137
|
+
if attributes.key?(:'pulp_created')
|
|
138
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
155
139
|
end
|
|
156
140
|
|
|
157
141
|
if attributes.key?(:'content_guard')
|
|
158
142
|
self.content_guard = attributes[:'content_guard']
|
|
159
143
|
end
|
|
160
144
|
|
|
145
|
+
if attributes.key?(:'name')
|
|
146
|
+
self.name = attributes[:'name']
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
if attributes.key?(:'hidden')
|
|
150
|
+
self.hidden = attributes[:'hidden']
|
|
151
|
+
else
|
|
152
|
+
self.hidden = false
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
if attributes.key?(:'pulp_labels')
|
|
156
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
157
|
+
self.pulp_labels = value
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
161
161
|
if attributes.key?(:'remote')
|
|
162
162
|
self.remote = attributes[:'remote']
|
|
163
163
|
end
|
|
@@ -214,15 +214,15 @@ module PulpContainerClient
|
|
|
214
214
|
def ==(o)
|
|
215
215
|
return true if self.equal?(o)
|
|
216
216
|
self.class == o.class &&
|
|
217
|
-
|
|
218
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
219
|
-
pulp_created == o.pulp_created &&
|
|
220
|
-
pulp_labels == o.pulp_labels &&
|
|
217
|
+
pulp_href == o.pulp_href &&
|
|
221
218
|
repository == o.repository &&
|
|
222
219
|
base_path == o.base_path &&
|
|
223
|
-
|
|
224
|
-
|
|
220
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
221
|
+
pulp_created == o.pulp_created &&
|
|
225
222
|
content_guard == o.content_guard &&
|
|
223
|
+
name == o.name &&
|
|
224
|
+
hidden == o.hidden &&
|
|
225
|
+
pulp_labels == o.pulp_labels &&
|
|
226
226
|
remote == o.remote &&
|
|
227
227
|
distributions == o.distributions &&
|
|
228
228
|
namespace == o.namespace &&
|
|
@@ -239,7 +239,7 @@ module PulpContainerClient
|
|
|
239
239
|
# Calculates hash code according to all attributes.
|
|
240
240
|
# @return [Integer] Hash code
|
|
241
241
|
def hash
|
|
242
|
-
[
|
|
242
|
+
[pulp_href, repository, base_path, pulp_last_updated, pulp_created, content_guard, name, hidden, pulp_labels, remote, distributions, namespace, private, description].hash
|
|
243
243
|
end
|
|
244
244
|
|
|
245
245
|
# Builds the object from hash
|