pulp_container_client 2.22.8 → 2.22.10
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 +5 -5
- data/docs/ContainerContainerDistributionResponse.md +13 -13
- data/docs/ContainerContainerPullThroughDistribution.md +5 -5
- data/docs/ContainerContainerPullThroughDistributionResponse.md +13 -13
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/lib/pulp_container_client/models/container_container_distribution.rb +18 -18
- 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 +18 -18
- 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 +56 -56
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +61 -61
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +48 -48
- 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 +8 -8
- 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
|
@@ -15,36 +15,36 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
|
+
|
|
18
21
|
# Whether this distribution should be shown in the content app.
|
|
19
22
|
attr_accessor :hidden
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
|
-
attr_accessor :name
|
|
25
|
-
|
|
26
|
-
attr_accessor :pulp_href
|
|
24
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
25
|
+
attr_accessor :no_content_change_since
|
|
27
26
|
|
|
28
27
|
# Timestamp of creation.
|
|
29
28
|
attr_accessor :pulp_created
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
attr_accessor :content_guard
|
|
30
|
+
attr_accessor :pulp_labels
|
|
33
31
|
|
|
34
|
-
#
|
|
35
|
-
attr_accessor :
|
|
32
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
|
+
attr_accessor :name
|
|
34
|
+
|
|
35
|
+
# The Pulp Resource Name (PRN).
|
|
36
|
+
attr_accessor :prn
|
|
36
37
|
|
|
37
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.
|
|
38
39
|
attr_accessor :pulp_last_updated
|
|
39
40
|
|
|
41
|
+
attr_accessor :pulp_href
|
|
42
|
+
|
|
40
43
|
# The latest RepositoryVersion for this Repository will be served.
|
|
41
44
|
attr_accessor :repository
|
|
42
45
|
|
|
43
|
-
# The
|
|
44
|
-
attr_accessor :
|
|
45
|
-
|
|
46
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
47
|
-
attr_accessor :no_content_change_since
|
|
46
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
47
|
+
attr_accessor :base_path
|
|
48
48
|
|
|
49
49
|
# RepositoryVersion to be served
|
|
50
50
|
attr_accessor :repository_version
|
|
@@ -67,17 +67,17 @@ module PulpContainerClient
|
|
|
67
67
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
68
68
|
def self.attribute_map
|
|
69
69
|
{
|
|
70
|
+
:'content_guard' => :'content_guard',
|
|
70
71
|
:'hidden' => :'hidden',
|
|
72
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
73
|
+
:'pulp_created' => :'pulp_created',
|
|
71
74
|
:'pulp_labels' => :'pulp_labels',
|
|
72
75
|
:'name' => :'name',
|
|
73
|
-
:'
|
|
74
|
-
:'pulp_created' => :'pulp_created',
|
|
75
|
-
:'content_guard' => :'content_guard',
|
|
76
|
-
:'base_path' => :'base_path',
|
|
76
|
+
:'prn' => :'prn',
|
|
77
77
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
78
|
+
:'pulp_href' => :'pulp_href',
|
|
78
79
|
:'repository' => :'repository',
|
|
79
|
-
:'
|
|
80
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
80
|
+
:'base_path' => :'base_path',
|
|
81
81
|
:'repository_version' => :'repository_version',
|
|
82
82
|
:'registry_path' => :'registry_path',
|
|
83
83
|
:'remote' => :'remote',
|
|
@@ -90,17 +90,17 @@ module PulpContainerClient
|
|
|
90
90
|
# Attribute type mapping.
|
|
91
91
|
def self.openapi_types
|
|
92
92
|
{
|
|
93
|
+
:'content_guard' => :'String',
|
|
93
94
|
:'hidden' => :'Boolean',
|
|
95
|
+
:'no_content_change_since' => :'String',
|
|
96
|
+
:'pulp_created' => :'DateTime',
|
|
94
97
|
:'pulp_labels' => :'Hash<String, String>',
|
|
95
98
|
:'name' => :'String',
|
|
96
|
-
:'
|
|
97
|
-
:'pulp_created' => :'DateTime',
|
|
98
|
-
:'content_guard' => :'String',
|
|
99
|
-
:'base_path' => :'String',
|
|
99
|
+
:'prn' => :'String',
|
|
100
100
|
:'pulp_last_updated' => :'DateTime',
|
|
101
|
+
:'pulp_href' => :'String',
|
|
101
102
|
:'repository' => :'String',
|
|
102
|
-
:'
|
|
103
|
-
:'no_content_change_since' => :'String',
|
|
103
|
+
:'base_path' => :'String',
|
|
104
104
|
:'repository_version' => :'String',
|
|
105
105
|
:'registry_path' => :'String',
|
|
106
106
|
:'remote' => :'String',
|
|
@@ -134,12 +134,24 @@ module PulpContainerClient
|
|
|
134
134
|
h[k.to_sym] = v
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
+
if attributes.key?(:'content_guard')
|
|
138
|
+
self.content_guard = attributes[:'content_guard']
|
|
139
|
+
end
|
|
140
|
+
|
|
137
141
|
if attributes.key?(:'hidden')
|
|
138
142
|
self.hidden = attributes[:'hidden']
|
|
139
143
|
else
|
|
140
144
|
self.hidden = false
|
|
141
145
|
end
|
|
142
146
|
|
|
147
|
+
if attributes.key?(:'no_content_change_since')
|
|
148
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
if attributes.key?(:'pulp_created')
|
|
152
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
153
|
+
end
|
|
154
|
+
|
|
143
155
|
if attributes.key?(:'pulp_labels')
|
|
144
156
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
145
157
|
self.pulp_labels = value
|
|
@@ -150,36 +162,24 @@ module PulpContainerClient
|
|
|
150
162
|
self.name = attributes[:'name']
|
|
151
163
|
end
|
|
152
164
|
|
|
153
|
-
if attributes.key?(:'
|
|
154
|
-
self.
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
if attributes.key?(:'pulp_created')
|
|
158
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
159
|
-
end
|
|
160
|
-
|
|
161
|
-
if attributes.key?(:'content_guard')
|
|
162
|
-
self.content_guard = attributes[:'content_guard']
|
|
163
|
-
end
|
|
164
|
-
|
|
165
|
-
if attributes.key?(:'base_path')
|
|
166
|
-
self.base_path = attributes[:'base_path']
|
|
165
|
+
if attributes.key?(:'prn')
|
|
166
|
+
self.prn = attributes[:'prn']
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
if attributes.key?(:'pulp_last_updated')
|
|
170
170
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
171
171
|
end
|
|
172
172
|
|
|
173
|
-
if attributes.key?(:'
|
|
174
|
-
self.
|
|
173
|
+
if attributes.key?(:'pulp_href')
|
|
174
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
175
175
|
end
|
|
176
176
|
|
|
177
|
-
if attributes.key?(:'
|
|
178
|
-
self.
|
|
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?(:'base_path')
|
|
182
|
+
self.base_path = attributes[:'base_path']
|
|
183
183
|
end
|
|
184
184
|
|
|
185
185
|
if attributes.key?(:'repository_version')
|
|
@@ -235,17 +235,17 @@ module PulpContainerClient
|
|
|
235
235
|
def ==(o)
|
|
236
236
|
return true if self.equal?(o)
|
|
237
237
|
self.class == o.class &&
|
|
238
|
+
content_guard == o.content_guard &&
|
|
238
239
|
hidden == o.hidden &&
|
|
240
|
+
no_content_change_since == o.no_content_change_since &&
|
|
241
|
+
pulp_created == o.pulp_created &&
|
|
239
242
|
pulp_labels == o.pulp_labels &&
|
|
240
243
|
name == o.name &&
|
|
241
|
-
|
|
242
|
-
pulp_created == o.pulp_created &&
|
|
243
|
-
content_guard == o.content_guard &&
|
|
244
|
-
base_path == o.base_path &&
|
|
244
|
+
prn == o.prn &&
|
|
245
245
|
pulp_last_updated == o.pulp_last_updated &&
|
|
246
|
+
pulp_href == o.pulp_href &&
|
|
246
247
|
repository == o.repository &&
|
|
247
|
-
|
|
248
|
-
no_content_change_since == o.no_content_change_since &&
|
|
248
|
+
base_path == o.base_path &&
|
|
249
249
|
repository_version == o.repository_version &&
|
|
250
250
|
registry_path == o.registry_path &&
|
|
251
251
|
remote == o.remote &&
|
|
@@ -263,7 +263,7 @@ module PulpContainerClient
|
|
|
263
263
|
# Calculates hash code according to all attributes.
|
|
264
264
|
# @return [Integer] Hash code
|
|
265
265
|
def hash
|
|
266
|
-
[
|
|
266
|
+
[content_guard, hidden, no_content_change_since, pulp_created, pulp_labels, name, prn, pulp_last_updated, pulp_href, repository, base_path, repository_version, registry_path, remote, namespace, private, description].hash
|
|
267
267
|
end
|
|
268
268
|
|
|
269
269
|
# Builds the object from hash
|
|
@@ -15,6 +15,9 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class ContainerContainerPullThroughDistribution
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
|
+
|
|
18
21
|
# Whether this distribution should be shown in the content app.
|
|
19
22
|
attr_accessor :hidden
|
|
20
23
|
|
|
@@ -23,15 +26,12 @@ module PulpContainerClient
|
|
|
23
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
27
|
attr_accessor :name
|
|
25
28
|
|
|
26
|
-
#
|
|
27
|
-
attr_accessor :
|
|
29
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
30
|
+
attr_accessor :repository
|
|
28
31
|
|
|
29
32
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
30
33
|
attr_accessor :base_path
|
|
31
34
|
|
|
32
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
33
|
-
attr_accessor :repository
|
|
34
|
-
|
|
35
35
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
36
36
|
attr_accessor :remote
|
|
37
37
|
|
|
@@ -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
|
+
:'content_guard' => :'content_guard',
|
|
50
51
|
:'hidden' => :'hidden',
|
|
51
52
|
:'pulp_labels' => :'pulp_labels',
|
|
52
53
|
:'name' => :'name',
|
|
53
|
-
:'content_guard' => :'content_guard',
|
|
54
|
-
:'base_path' => :'base_path',
|
|
55
54
|
:'repository' => :'repository',
|
|
55
|
+
:'base_path' => :'base_path',
|
|
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
|
+
:'content_guard' => :'String',
|
|
66
67
|
:'hidden' => :'Boolean',
|
|
67
68
|
:'pulp_labels' => :'Hash<String, String>',
|
|
68
69
|
:'name' => :'String',
|
|
69
|
-
:'content_guard' => :'String',
|
|
70
|
-
:'base_path' => :'String',
|
|
71
70
|
:'repository' => :'String',
|
|
71
|
+
:'base_path' => :'String',
|
|
72
72
|
:'remote' => :'String',
|
|
73
73
|
:'distributions' => :'Array<String>',
|
|
74
74
|
:'private' => :'Boolean',
|
|
@@ -99,6 +99,10 @@ module PulpContainerClient
|
|
|
99
99
|
h[k.to_sym] = v
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
if attributes.key?(:'content_guard')
|
|
103
|
+
self.content_guard = attributes[:'content_guard']
|
|
104
|
+
end
|
|
105
|
+
|
|
102
106
|
if attributes.key?(:'hidden')
|
|
103
107
|
self.hidden = attributes[:'hidden']
|
|
104
108
|
else
|
|
@@ -115,18 +119,14 @@ module PulpContainerClient
|
|
|
115
119
|
self.name = attributes[:'name']
|
|
116
120
|
end
|
|
117
121
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
self.
|
|
122
|
+
if attributes.key?(:'repository')
|
|
123
|
+
self.repository = attributes[:'repository']
|
|
120
124
|
end
|
|
121
125
|
|
|
122
126
|
if attributes.key?(:'base_path')
|
|
123
127
|
self.base_path = attributes[:'base_path']
|
|
124
128
|
end
|
|
125
129
|
|
|
126
|
-
if attributes.key?(:'repository')
|
|
127
|
-
self.repository = attributes[:'repository']
|
|
128
|
-
end
|
|
129
|
-
|
|
130
130
|
if attributes.key?(:'remote')
|
|
131
131
|
self.remote = attributes[:'remote']
|
|
132
132
|
end
|
|
@@ -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
|
+
content_guard == o.content_guard &&
|
|
235
236
|
hidden == o.hidden &&
|
|
236
237
|
pulp_labels == o.pulp_labels &&
|
|
237
238
|
name == o.name &&
|
|
238
|
-
content_guard == o.content_guard &&
|
|
239
|
-
base_path == o.base_path &&
|
|
240
239
|
repository == o.repository &&
|
|
240
|
+
base_path == o.base_path &&
|
|
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
|
-
[hidden, pulp_labels, name,
|
|
256
|
+
[content_guard, hidden, pulp_labels, name, repository, base_path, 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,36 +15,36 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class ContainerContainerPullThroughDistributionResponse
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
|
+
|
|
18
21
|
# Whether this distribution should be shown in the content app.
|
|
19
22
|
attr_accessor :hidden
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
|
-
attr_accessor :name
|
|
25
|
-
|
|
26
|
-
attr_accessor :pulp_href
|
|
24
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
25
|
+
attr_accessor :no_content_change_since
|
|
27
26
|
|
|
28
27
|
# Timestamp of creation.
|
|
29
28
|
attr_accessor :pulp_created
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
attr_accessor :content_guard
|
|
30
|
+
attr_accessor :pulp_labels
|
|
33
31
|
|
|
34
|
-
#
|
|
35
|
-
attr_accessor :
|
|
32
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
|
+
attr_accessor :name
|
|
34
|
+
|
|
35
|
+
# The Pulp Resource Name (PRN).
|
|
36
|
+
attr_accessor :prn
|
|
36
37
|
|
|
37
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.
|
|
38
39
|
attr_accessor :pulp_last_updated
|
|
39
40
|
|
|
41
|
+
attr_accessor :pulp_href
|
|
42
|
+
|
|
40
43
|
# The latest RepositoryVersion for this Repository will be served.
|
|
41
44
|
attr_accessor :repository
|
|
42
45
|
|
|
43
|
-
# The
|
|
44
|
-
attr_accessor :
|
|
45
|
-
|
|
46
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
47
|
-
attr_accessor :no_content_change_since
|
|
46
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
47
|
+
attr_accessor :base_path
|
|
48
48
|
|
|
49
49
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
50
50
|
attr_accessor :remote
|
|
@@ -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',
|
|
67
68
|
:'hidden' => :'hidden',
|
|
69
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
70
|
+
:'pulp_created' => :'pulp_created',
|
|
68
71
|
:'pulp_labels' => :'pulp_labels',
|
|
69
72
|
:'name' => :'name',
|
|
70
|
-
:'
|
|
71
|
-
:'pulp_created' => :'pulp_created',
|
|
72
|
-
:'content_guard' => :'content_guard',
|
|
73
|
-
:'base_path' => :'base_path',
|
|
73
|
+
:'prn' => :'prn',
|
|
74
74
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
75
|
+
:'pulp_href' => :'pulp_href',
|
|
75
76
|
:'repository' => :'repository',
|
|
76
|
-
:'
|
|
77
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
77
|
+
:'base_path' => :'base_path',
|
|
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',
|
|
89
90
|
:'hidden' => :'Boolean',
|
|
91
|
+
:'no_content_change_since' => :'String',
|
|
92
|
+
:'pulp_created' => :'DateTime',
|
|
90
93
|
:'pulp_labels' => :'Hash<String, String>',
|
|
91
94
|
:'name' => :'String',
|
|
92
|
-
:'
|
|
93
|
-
:'pulp_created' => :'DateTime',
|
|
94
|
-
:'content_guard' => :'String',
|
|
95
|
-
:'base_path' => :'String',
|
|
95
|
+
:'prn' => :'String',
|
|
96
96
|
:'pulp_last_updated' => :'DateTime',
|
|
97
|
+
:'pulp_href' => :'String',
|
|
97
98
|
:'repository' => :'String',
|
|
98
|
-
:'
|
|
99
|
-
:'no_content_change_since' => :'String',
|
|
99
|
+
:'base_path' => :'String',
|
|
100
100
|
:'remote' => :'String',
|
|
101
101
|
:'distributions' => :'Array<String>',
|
|
102
102
|
:'namespace' => :'String',
|
|
@@ -128,12 +128,24 @@ module PulpContainerClient
|
|
|
128
128
|
h[k.to_sym] = v
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
if attributes.key?(:'content_guard')
|
|
132
|
+
self.content_guard = attributes[:'content_guard']
|
|
133
|
+
end
|
|
134
|
+
|
|
131
135
|
if attributes.key?(:'hidden')
|
|
132
136
|
self.hidden = attributes[:'hidden']
|
|
133
137
|
else
|
|
134
138
|
self.hidden = false
|
|
135
139
|
end
|
|
136
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_created')
|
|
146
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
147
|
+
end
|
|
148
|
+
|
|
137
149
|
if attributes.key?(:'pulp_labels')
|
|
138
150
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
139
151
|
self.pulp_labels = value
|
|
@@ -144,36 +156,24 @@ module PulpContainerClient
|
|
|
144
156
|
self.name = attributes[:'name']
|
|
145
157
|
end
|
|
146
158
|
|
|
147
|
-
if attributes.key?(:'
|
|
148
|
-
self.
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
if attributes.key?(:'pulp_created')
|
|
152
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
if attributes.key?(:'content_guard')
|
|
156
|
-
self.content_guard = attributes[:'content_guard']
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
if attributes.key?(:'base_path')
|
|
160
|
-
self.base_path = attributes[:'base_path']
|
|
159
|
+
if attributes.key?(:'prn')
|
|
160
|
+
self.prn = attributes[:'prn']
|
|
161
161
|
end
|
|
162
162
|
|
|
163
163
|
if attributes.key?(:'pulp_last_updated')
|
|
164
164
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
165
165
|
end
|
|
166
166
|
|
|
167
|
-
if attributes.key?(:'
|
|
168
|
-
self.
|
|
167
|
+
if attributes.key?(:'pulp_href')
|
|
168
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
169
169
|
end
|
|
170
170
|
|
|
171
|
-
if attributes.key?(:'
|
|
172
|
-
self.
|
|
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?(:'base_path')
|
|
176
|
+
self.base_path = attributes[:'base_path']
|
|
177
177
|
end
|
|
178
178
|
|
|
179
179
|
if attributes.key?(:'remote')
|
|
@@ -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 &&
|
|
235
236
|
hidden == o.hidden &&
|
|
237
|
+
no_content_change_since == o.no_content_change_since &&
|
|
238
|
+
pulp_created == o.pulp_created &&
|
|
236
239
|
pulp_labels == o.pulp_labels &&
|
|
237
240
|
name == o.name &&
|
|
238
|
-
|
|
239
|
-
pulp_created == o.pulp_created &&
|
|
240
|
-
content_guard == o.content_guard &&
|
|
241
|
-
base_path == o.base_path &&
|
|
241
|
+
prn == o.prn &&
|
|
242
242
|
pulp_last_updated == o.pulp_last_updated &&
|
|
243
|
+
pulp_href == o.pulp_href &&
|
|
243
244
|
repository == o.repository &&
|
|
244
|
-
|
|
245
|
-
no_content_change_since == o.no_content_change_since &&
|
|
245
|
+
base_path == o.base_path &&
|
|
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
|
+
[content_guard, hidden, no_content_change_since, pulp_created, pulp_labels, name, prn, pulp_last_updated, pulp_href, repository, base_path, remote, distributions, namespace, private, description].hash
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
# Builds the object from hash
|