pulp_container_client 2.27.14 → 2.27.15
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 +15 -15
- 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 +21 -21
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +66 -66
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +21 -21
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +66 -66
- data/lib/pulp_container_client/models/container_container_push_repository.rb +40 -40
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +71 -71
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +13 -13
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +13 -13
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +12 -12
- data/spec/models/container_container_push_repository_spec.rb +6 -6
- 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 +6 -6
- metadata +57 -57
|
@@ -16,43 +16,43 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistributionResponse
|
|
19
|
-
# The Pulp Resource Name (PRN).
|
|
20
|
-
attr_accessor :prn
|
|
21
|
-
|
|
22
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
23
|
-
attr_accessor :repository
|
|
24
|
-
|
|
25
19
|
# Whether this distribution should be shown in the content app.
|
|
26
20
|
attr_accessor :hidden
|
|
27
21
|
|
|
28
|
-
attr_accessor :pulp_labels
|
|
29
|
-
|
|
30
|
-
attr_accessor :pulp_href
|
|
31
|
-
|
|
32
22
|
# Timestamp of creation.
|
|
33
23
|
attr_accessor :pulp_created
|
|
34
24
|
|
|
35
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.
|
|
36
26
|
attr_accessor :no_content_change_since
|
|
37
27
|
|
|
38
|
-
#
|
|
39
|
-
attr_accessor :
|
|
28
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
29
|
+
attr_accessor :content_guard
|
|
30
|
+
|
|
31
|
+
attr_accessor :pulp_labels
|
|
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
|
+
|
|
36
|
+
attr_accessor :pulp_href
|
|
40
37
|
|
|
41
38
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
42
39
|
attr_accessor :base_path
|
|
43
40
|
|
|
44
|
-
#
|
|
45
|
-
attr_accessor :
|
|
41
|
+
# The Pulp Resource Name (PRN).
|
|
42
|
+
attr_accessor :prn
|
|
46
43
|
|
|
47
|
-
#
|
|
48
|
-
attr_accessor :
|
|
44
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
45
|
+
attr_accessor :repository
|
|
49
46
|
|
|
50
|
-
#
|
|
51
|
-
attr_accessor :
|
|
47
|
+
# RepositoryVersion to be served
|
|
48
|
+
attr_accessor :repository_version
|
|
52
49
|
|
|
53
50
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
54
51
|
attr_accessor :name
|
|
55
52
|
|
|
53
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
54
|
+
attr_accessor :content_guard_prn
|
|
55
|
+
|
|
56
56
|
# The Registry hostname/name/ to use with docker pull command defined by this distribution.
|
|
57
57
|
attr_accessor :registry_path
|
|
58
58
|
|
|
@@ -71,19 +71,19 @@ module PulpContainerClient
|
|
|
71
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
72
72
|
def self.attribute_map
|
|
73
73
|
{
|
|
74
|
-
:'prn' => :'prn',
|
|
75
|
-
:'repository' => :'repository',
|
|
76
74
|
:'hidden' => :'hidden',
|
|
77
|
-
:'pulp_labels' => :'pulp_labels',
|
|
78
|
-
:'pulp_href' => :'pulp_href',
|
|
79
75
|
:'pulp_created' => :'pulp_created',
|
|
80
76
|
:'no_content_change_since' => :'no_content_change_since',
|
|
81
|
-
:'content_guard_prn' => :'content_guard_prn',
|
|
82
|
-
:'base_path' => :'base_path',
|
|
83
|
-
:'repository_version' => :'repository_version',
|
|
84
77
|
:'content_guard' => :'content_guard',
|
|
78
|
+
:'pulp_labels' => :'pulp_labels',
|
|
85
79
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
80
|
+
:'pulp_href' => :'pulp_href',
|
|
81
|
+
:'base_path' => :'base_path',
|
|
82
|
+
:'prn' => :'prn',
|
|
83
|
+
:'repository' => :'repository',
|
|
84
|
+
:'repository_version' => :'repository_version',
|
|
86
85
|
:'name' => :'name',
|
|
86
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
87
87
|
:'registry_path' => :'registry_path',
|
|
88
88
|
:'remote' => :'remote',
|
|
89
89
|
:'namespace' => :'namespace',
|
|
@@ -100,19 +100,19 @@ module PulpContainerClient
|
|
|
100
100
|
# Attribute type mapping.
|
|
101
101
|
def self.openapi_types
|
|
102
102
|
{
|
|
103
|
-
:'prn' => :'String',
|
|
104
|
-
:'repository' => :'String',
|
|
105
103
|
:'hidden' => :'Boolean',
|
|
106
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
107
|
-
:'pulp_href' => :'String',
|
|
108
104
|
:'pulp_created' => :'Time',
|
|
109
105
|
:'no_content_change_since' => :'String',
|
|
110
|
-
:'content_guard_prn' => :'String',
|
|
111
|
-
:'base_path' => :'String',
|
|
112
|
-
:'repository_version' => :'String',
|
|
113
106
|
:'content_guard' => :'String',
|
|
107
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
114
108
|
:'pulp_last_updated' => :'Time',
|
|
109
|
+
:'pulp_href' => :'String',
|
|
110
|
+
:'base_path' => :'String',
|
|
111
|
+
:'prn' => :'String',
|
|
112
|
+
:'repository' => :'String',
|
|
113
|
+
:'repository_version' => :'String',
|
|
115
114
|
:'name' => :'String',
|
|
115
|
+
:'content_guard_prn' => :'String',
|
|
116
116
|
:'registry_path' => :'String',
|
|
117
117
|
:'remote' => :'String',
|
|
118
118
|
:'namespace' => :'String',
|
|
@@ -145,30 +145,12 @@ module PulpContainerClient
|
|
|
145
145
|
h[k.to_sym] = v
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
if attributes.key?(:'prn')
|
|
149
|
-
self.prn = attributes[:'prn']
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
if attributes.key?(:'repository')
|
|
153
|
-
self.repository = attributes[:'repository']
|
|
154
|
-
end
|
|
155
|
-
|
|
156
148
|
if attributes.key?(:'hidden')
|
|
157
149
|
self.hidden = attributes[:'hidden']
|
|
158
150
|
else
|
|
159
151
|
self.hidden = false
|
|
160
152
|
end
|
|
161
153
|
|
|
162
|
-
if attributes.key?(:'pulp_labels')
|
|
163
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
164
|
-
self.pulp_labels = value
|
|
165
|
-
end
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
if attributes.key?(:'pulp_href')
|
|
169
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
170
|
-
end
|
|
171
|
-
|
|
172
154
|
if attributes.key?(:'pulp_created')
|
|
173
155
|
self.pulp_created = attributes[:'pulp_created']
|
|
174
156
|
end
|
|
@@ -177,8 +159,22 @@ module PulpContainerClient
|
|
|
177
159
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
178
160
|
end
|
|
179
161
|
|
|
180
|
-
if attributes.key?(:'
|
|
181
|
-
self.
|
|
162
|
+
if attributes.key?(:'content_guard')
|
|
163
|
+
self.content_guard = attributes[:'content_guard']
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
if attributes.key?(:'pulp_labels')
|
|
167
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
168
|
+
self.pulp_labels = value
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
if attributes.key?(:'pulp_last_updated')
|
|
173
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
if attributes.key?(:'pulp_href')
|
|
177
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
182
178
|
end
|
|
183
179
|
|
|
184
180
|
if attributes.key?(:'base_path')
|
|
@@ -187,16 +183,16 @@ module PulpContainerClient
|
|
|
187
183
|
self.base_path = nil
|
|
188
184
|
end
|
|
189
185
|
|
|
190
|
-
if attributes.key?(:'
|
|
191
|
-
self.
|
|
186
|
+
if attributes.key?(:'prn')
|
|
187
|
+
self.prn = attributes[:'prn']
|
|
192
188
|
end
|
|
193
189
|
|
|
194
|
-
if attributes.key?(:'
|
|
195
|
-
self.
|
|
190
|
+
if attributes.key?(:'repository')
|
|
191
|
+
self.repository = attributes[:'repository']
|
|
196
192
|
end
|
|
197
193
|
|
|
198
|
-
if attributes.key?(:'
|
|
199
|
-
self.
|
|
194
|
+
if attributes.key?(:'repository_version')
|
|
195
|
+
self.repository_version = attributes[:'repository_version']
|
|
200
196
|
end
|
|
201
197
|
|
|
202
198
|
if attributes.key?(:'name')
|
|
@@ -205,6 +201,10 @@ module PulpContainerClient
|
|
|
205
201
|
self.name = nil
|
|
206
202
|
end
|
|
207
203
|
|
|
204
|
+
if attributes.key?(:'content_guard_prn')
|
|
205
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
206
|
+
end
|
|
207
|
+
|
|
208
208
|
if attributes.key?(:'registry_path')
|
|
209
209
|
self.registry_path = attributes[:'registry_path']
|
|
210
210
|
end
|
|
@@ -256,19 +256,19 @@ module PulpContainerClient
|
|
|
256
256
|
def ==(o)
|
|
257
257
|
return true if self.equal?(o)
|
|
258
258
|
self.class == o.class &&
|
|
259
|
-
prn == o.prn &&
|
|
260
|
-
repository == o.repository &&
|
|
261
259
|
hidden == o.hidden &&
|
|
262
|
-
pulp_labels == o.pulp_labels &&
|
|
263
|
-
pulp_href == o.pulp_href &&
|
|
264
260
|
pulp_created == o.pulp_created &&
|
|
265
261
|
no_content_change_since == o.no_content_change_since &&
|
|
266
|
-
content_guard_prn == o.content_guard_prn &&
|
|
267
|
-
base_path == o.base_path &&
|
|
268
|
-
repository_version == o.repository_version &&
|
|
269
262
|
content_guard == o.content_guard &&
|
|
263
|
+
pulp_labels == o.pulp_labels &&
|
|
270
264
|
pulp_last_updated == o.pulp_last_updated &&
|
|
265
|
+
pulp_href == o.pulp_href &&
|
|
266
|
+
base_path == o.base_path &&
|
|
267
|
+
prn == o.prn &&
|
|
268
|
+
repository == o.repository &&
|
|
269
|
+
repository_version == o.repository_version &&
|
|
271
270
|
name == o.name &&
|
|
271
|
+
content_guard_prn == o.content_guard_prn &&
|
|
272
272
|
registry_path == o.registry_path &&
|
|
273
273
|
remote == o.remote &&
|
|
274
274
|
namespace == o.namespace &&
|
|
@@ -285,7 +285,7 @@ module PulpContainerClient
|
|
|
285
285
|
# Calculates hash code according to all attributes.
|
|
286
286
|
# @return [Integer] Hash code
|
|
287
287
|
def hash
|
|
288
|
-
[
|
|
288
|
+
[hidden, pulp_created, no_content_change_since, content_guard, pulp_labels, pulp_last_updated, pulp_href, base_path, prn, repository, repository_version, name, content_guard_prn, registry_path, remote, namespace, private, description].hash
|
|
289
289
|
end
|
|
290
290
|
|
|
291
291
|
# Builds the object from hash
|
|
@@ -16,23 +16,23 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
18
18
|
class ContainerContainerPullThroughDistribution
|
|
19
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
20
|
-
attr_accessor :repository
|
|
21
|
-
|
|
22
19
|
# Whether this distribution should be shown in the content app.
|
|
23
20
|
attr_accessor :hidden
|
|
24
21
|
|
|
22
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
23
|
+
attr_accessor :content_guard
|
|
24
|
+
|
|
25
25
|
attr_accessor :pulp_labels
|
|
26
26
|
|
|
27
27
|
# The registry path exposed by this pull-through distribution.
|
|
28
28
|
attr_accessor :base_path
|
|
29
29
|
|
|
30
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
31
|
+
attr_accessor :repository
|
|
32
|
+
|
|
30
33
|
# RepositoryVersion to be served
|
|
31
34
|
attr_accessor :repository_version
|
|
32
35
|
|
|
33
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
34
|
-
attr_accessor :content_guard
|
|
35
|
-
|
|
36
36
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
37
37
|
attr_accessor :name
|
|
38
38
|
|
|
@@ -51,12 +51,12 @@ module PulpContainerClient
|
|
|
51
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
52
52
|
def self.attribute_map
|
|
53
53
|
{
|
|
54
|
-
:'repository' => :'repository',
|
|
55
54
|
:'hidden' => :'hidden',
|
|
55
|
+
:'content_guard' => :'content_guard',
|
|
56
56
|
:'pulp_labels' => :'pulp_labels',
|
|
57
57
|
:'base_path' => :'base_path',
|
|
58
|
+
:'repository' => :'repository',
|
|
58
59
|
:'repository_version' => :'repository_version',
|
|
59
|
-
:'content_guard' => :'content_guard',
|
|
60
60
|
:'name' => :'name',
|
|
61
61
|
:'remote' => :'remote',
|
|
62
62
|
:'distributions' => :'distributions',
|
|
@@ -73,12 +73,12 @@ module PulpContainerClient
|
|
|
73
73
|
# Attribute type mapping.
|
|
74
74
|
def self.openapi_types
|
|
75
75
|
{
|
|
76
|
-
:'repository' => :'String',
|
|
77
76
|
:'hidden' => :'Boolean',
|
|
77
|
+
:'content_guard' => :'String',
|
|
78
78
|
:'pulp_labels' => :'Hash<String, String>',
|
|
79
79
|
:'base_path' => :'String',
|
|
80
|
+
:'repository' => :'String',
|
|
80
81
|
:'repository_version' => :'String',
|
|
81
|
-
:'content_guard' => :'String',
|
|
82
82
|
:'name' => :'String',
|
|
83
83
|
:'remote' => :'String',
|
|
84
84
|
:'distributions' => :'Array<String>',
|
|
@@ -111,16 +111,16 @@ module PulpContainerClient
|
|
|
111
111
|
h[k.to_sym] = v
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
if attributes.key?(:'repository')
|
|
115
|
-
self.repository = attributes[:'repository']
|
|
116
|
-
end
|
|
117
|
-
|
|
118
114
|
if attributes.key?(:'hidden')
|
|
119
115
|
self.hidden = attributes[:'hidden']
|
|
120
116
|
else
|
|
121
117
|
self.hidden = false
|
|
122
118
|
end
|
|
123
119
|
|
|
120
|
+
if attributes.key?(:'content_guard')
|
|
121
|
+
self.content_guard = attributes[:'content_guard']
|
|
122
|
+
end
|
|
123
|
+
|
|
124
124
|
if attributes.key?(:'pulp_labels')
|
|
125
125
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
126
126
|
self.pulp_labels = value
|
|
@@ -133,12 +133,12 @@ module PulpContainerClient
|
|
|
133
133
|
self.base_path = nil
|
|
134
134
|
end
|
|
135
135
|
|
|
136
|
-
if attributes.key?(:'
|
|
137
|
-
self.
|
|
136
|
+
if attributes.key?(:'repository')
|
|
137
|
+
self.repository = attributes[:'repository']
|
|
138
138
|
end
|
|
139
139
|
|
|
140
|
-
if attributes.key?(:'
|
|
141
|
-
self.
|
|
140
|
+
if attributes.key?(:'repository_version')
|
|
141
|
+
self.repository_version = attributes[:'repository_version']
|
|
142
142
|
end
|
|
143
143
|
|
|
144
144
|
if attributes.key?(:'name')
|
|
@@ -256,12 +256,12 @@ module PulpContainerClient
|
|
|
256
256
|
def ==(o)
|
|
257
257
|
return true if self.equal?(o)
|
|
258
258
|
self.class == o.class &&
|
|
259
|
-
repository == o.repository &&
|
|
260
259
|
hidden == o.hidden &&
|
|
260
|
+
content_guard == o.content_guard &&
|
|
261
261
|
pulp_labels == o.pulp_labels &&
|
|
262
262
|
base_path == o.base_path &&
|
|
263
|
+
repository == o.repository &&
|
|
263
264
|
repository_version == o.repository_version &&
|
|
264
|
-
content_guard == o.content_guard &&
|
|
265
265
|
name == o.name &&
|
|
266
266
|
remote == o.remote &&
|
|
267
267
|
distributions == o.distributions &&
|
|
@@ -278,7 +278,7 @@ module PulpContainerClient
|
|
|
278
278
|
# Calculates hash code according to all attributes.
|
|
279
279
|
# @return [Integer] Hash code
|
|
280
280
|
def hash
|
|
281
|
-
[
|
|
281
|
+
[hidden, content_guard, pulp_labels, base_path, repository, repository_version, name, remote, distributions, private, description].hash
|
|
282
282
|
end
|
|
283
283
|
|
|
284
284
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -16,43 +16,43 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
18
18
|
class ContainerContainerPullThroughDistributionResponse
|
|
19
|
-
# The Pulp Resource Name (PRN).
|
|
20
|
-
attr_accessor :prn
|
|
21
|
-
|
|
22
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
23
|
-
attr_accessor :repository
|
|
24
|
-
|
|
25
19
|
# Whether this distribution should be shown in the content app.
|
|
26
20
|
attr_accessor :hidden
|
|
27
21
|
|
|
28
|
-
attr_accessor :pulp_labels
|
|
29
|
-
|
|
30
|
-
attr_accessor :pulp_href
|
|
31
|
-
|
|
32
22
|
# Timestamp of creation.
|
|
33
23
|
attr_accessor :pulp_created
|
|
34
24
|
|
|
35
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.
|
|
36
26
|
attr_accessor :no_content_change_since
|
|
37
27
|
|
|
38
|
-
#
|
|
39
|
-
attr_accessor :
|
|
28
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
29
|
+
attr_accessor :content_guard
|
|
30
|
+
|
|
31
|
+
attr_accessor :pulp_labels
|
|
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
|
+
|
|
36
|
+
attr_accessor :pulp_href
|
|
40
37
|
|
|
41
38
|
# The registry path exposed by this pull-through distribution.
|
|
42
39
|
attr_accessor :base_path
|
|
43
40
|
|
|
44
|
-
#
|
|
45
|
-
attr_accessor :
|
|
41
|
+
# The Pulp Resource Name (PRN).
|
|
42
|
+
attr_accessor :prn
|
|
46
43
|
|
|
47
|
-
#
|
|
48
|
-
attr_accessor :
|
|
44
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
45
|
+
attr_accessor :repository
|
|
49
46
|
|
|
50
|
-
#
|
|
51
|
-
attr_accessor :
|
|
47
|
+
# RepositoryVersion to be served
|
|
48
|
+
attr_accessor :repository_version
|
|
52
49
|
|
|
53
50
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
54
51
|
attr_accessor :name
|
|
55
52
|
|
|
53
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
54
|
+
attr_accessor :content_guard_prn
|
|
55
|
+
|
|
56
56
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
57
57
|
attr_accessor :remote
|
|
58
58
|
|
|
@@ -71,19 +71,19 @@ module PulpContainerClient
|
|
|
71
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
72
72
|
def self.attribute_map
|
|
73
73
|
{
|
|
74
|
-
:'prn' => :'prn',
|
|
75
|
-
:'repository' => :'repository',
|
|
76
74
|
:'hidden' => :'hidden',
|
|
77
|
-
:'pulp_labels' => :'pulp_labels',
|
|
78
|
-
:'pulp_href' => :'pulp_href',
|
|
79
75
|
:'pulp_created' => :'pulp_created',
|
|
80
76
|
:'no_content_change_since' => :'no_content_change_since',
|
|
81
|
-
:'content_guard_prn' => :'content_guard_prn',
|
|
82
|
-
:'base_path' => :'base_path',
|
|
83
|
-
:'repository_version' => :'repository_version',
|
|
84
77
|
:'content_guard' => :'content_guard',
|
|
78
|
+
:'pulp_labels' => :'pulp_labels',
|
|
85
79
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
80
|
+
:'pulp_href' => :'pulp_href',
|
|
81
|
+
:'base_path' => :'base_path',
|
|
82
|
+
:'prn' => :'prn',
|
|
83
|
+
:'repository' => :'repository',
|
|
84
|
+
:'repository_version' => :'repository_version',
|
|
86
85
|
:'name' => :'name',
|
|
86
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
87
87
|
:'remote' => :'remote',
|
|
88
88
|
:'distributions' => :'distributions',
|
|
89
89
|
:'namespace' => :'namespace',
|
|
@@ -100,19 +100,19 @@ module PulpContainerClient
|
|
|
100
100
|
# Attribute type mapping.
|
|
101
101
|
def self.openapi_types
|
|
102
102
|
{
|
|
103
|
-
:'prn' => :'String',
|
|
104
|
-
:'repository' => :'String',
|
|
105
103
|
:'hidden' => :'Boolean',
|
|
106
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
107
|
-
:'pulp_href' => :'String',
|
|
108
104
|
:'pulp_created' => :'Time',
|
|
109
105
|
:'no_content_change_since' => :'String',
|
|
110
|
-
:'content_guard_prn' => :'String',
|
|
111
|
-
:'base_path' => :'String',
|
|
112
|
-
:'repository_version' => :'String',
|
|
113
106
|
:'content_guard' => :'String',
|
|
107
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
114
108
|
:'pulp_last_updated' => :'Time',
|
|
109
|
+
:'pulp_href' => :'String',
|
|
110
|
+
:'base_path' => :'String',
|
|
111
|
+
:'prn' => :'String',
|
|
112
|
+
:'repository' => :'String',
|
|
113
|
+
:'repository_version' => :'String',
|
|
115
114
|
:'name' => :'String',
|
|
115
|
+
:'content_guard_prn' => :'String',
|
|
116
116
|
:'remote' => :'String',
|
|
117
117
|
:'distributions' => :'Array<String>',
|
|
118
118
|
:'namespace' => :'String',
|
|
@@ -145,30 +145,12 @@ module PulpContainerClient
|
|
|
145
145
|
h[k.to_sym] = v
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
if attributes.key?(:'prn')
|
|
149
|
-
self.prn = attributes[:'prn']
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
if attributes.key?(:'repository')
|
|
153
|
-
self.repository = attributes[:'repository']
|
|
154
|
-
end
|
|
155
|
-
|
|
156
148
|
if attributes.key?(:'hidden')
|
|
157
149
|
self.hidden = attributes[:'hidden']
|
|
158
150
|
else
|
|
159
151
|
self.hidden = false
|
|
160
152
|
end
|
|
161
153
|
|
|
162
|
-
if attributes.key?(:'pulp_labels')
|
|
163
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
164
|
-
self.pulp_labels = value
|
|
165
|
-
end
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
if attributes.key?(:'pulp_href')
|
|
169
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
170
|
-
end
|
|
171
|
-
|
|
172
154
|
if attributes.key?(:'pulp_created')
|
|
173
155
|
self.pulp_created = attributes[:'pulp_created']
|
|
174
156
|
end
|
|
@@ -177,8 +159,22 @@ module PulpContainerClient
|
|
|
177
159
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
178
160
|
end
|
|
179
161
|
|
|
180
|
-
if attributes.key?(:'
|
|
181
|
-
self.
|
|
162
|
+
if attributes.key?(:'content_guard')
|
|
163
|
+
self.content_guard = attributes[:'content_guard']
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
if attributes.key?(:'pulp_labels')
|
|
167
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
168
|
+
self.pulp_labels = value
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
if attributes.key?(:'pulp_last_updated')
|
|
173
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
if attributes.key?(:'pulp_href')
|
|
177
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
182
178
|
end
|
|
183
179
|
|
|
184
180
|
if attributes.key?(:'base_path')
|
|
@@ -187,16 +183,16 @@ module PulpContainerClient
|
|
|
187
183
|
self.base_path = nil
|
|
188
184
|
end
|
|
189
185
|
|
|
190
|
-
if attributes.key?(:'
|
|
191
|
-
self.
|
|
186
|
+
if attributes.key?(:'prn')
|
|
187
|
+
self.prn = attributes[:'prn']
|
|
192
188
|
end
|
|
193
189
|
|
|
194
|
-
if attributes.key?(:'
|
|
195
|
-
self.
|
|
190
|
+
if attributes.key?(:'repository')
|
|
191
|
+
self.repository = attributes[:'repository']
|
|
196
192
|
end
|
|
197
193
|
|
|
198
|
-
if attributes.key?(:'
|
|
199
|
-
self.
|
|
194
|
+
if attributes.key?(:'repository_version')
|
|
195
|
+
self.repository_version = attributes[:'repository_version']
|
|
200
196
|
end
|
|
201
197
|
|
|
202
198
|
if attributes.key?(:'name')
|
|
@@ -205,6 +201,10 @@ module PulpContainerClient
|
|
|
205
201
|
self.name = nil
|
|
206
202
|
end
|
|
207
203
|
|
|
204
|
+
if attributes.key?(:'content_guard_prn')
|
|
205
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
206
|
+
end
|
|
207
|
+
|
|
208
208
|
if attributes.key?(:'remote')
|
|
209
209
|
self.remote = attributes[:'remote']
|
|
210
210
|
else
|
|
@@ -265,19 +265,19 @@ module PulpContainerClient
|
|
|
265
265
|
def ==(o)
|
|
266
266
|
return true if self.equal?(o)
|
|
267
267
|
self.class == o.class &&
|
|
268
|
-
prn == o.prn &&
|
|
269
|
-
repository == o.repository &&
|
|
270
268
|
hidden == o.hidden &&
|
|
271
|
-
pulp_labels == o.pulp_labels &&
|
|
272
|
-
pulp_href == o.pulp_href &&
|
|
273
269
|
pulp_created == o.pulp_created &&
|
|
274
270
|
no_content_change_since == o.no_content_change_since &&
|
|
275
|
-
content_guard_prn == o.content_guard_prn &&
|
|
276
|
-
base_path == o.base_path &&
|
|
277
|
-
repository_version == o.repository_version &&
|
|
278
271
|
content_guard == o.content_guard &&
|
|
272
|
+
pulp_labels == o.pulp_labels &&
|
|
279
273
|
pulp_last_updated == o.pulp_last_updated &&
|
|
274
|
+
pulp_href == o.pulp_href &&
|
|
275
|
+
base_path == o.base_path &&
|
|
276
|
+
prn == o.prn &&
|
|
277
|
+
repository == o.repository &&
|
|
278
|
+
repository_version == o.repository_version &&
|
|
280
279
|
name == o.name &&
|
|
280
|
+
content_guard_prn == o.content_guard_prn &&
|
|
281
281
|
remote == o.remote &&
|
|
282
282
|
distributions == o.distributions &&
|
|
283
283
|
namespace == o.namespace &&
|
|
@@ -294,7 +294,7 @@ module PulpContainerClient
|
|
|
294
294
|
# Calculates hash code according to all attributes.
|
|
295
295
|
# @return [Integer] Hash code
|
|
296
296
|
def hash
|
|
297
|
-
[
|
|
297
|
+
[hidden, pulp_created, no_content_change_since, content_guard, pulp_labels, pulp_last_updated, pulp_href, base_path, prn, repository, repository_version, name, content_guard_prn, remote, distributions, namespace, private, description].hash
|
|
298
298
|
end
|
|
299
299
|
|
|
300
300
|
# Builds the object from hash
|