pulp_container_client 2.27.10 → 2.27.12
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 +6 -6
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +7 -7
- data/docs/ContainerContainerPullThroughDistributionResponse.md +15 -15
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +17 -17
- data/docs/DistributionsPullThroughApi.md +10 -10
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
- data/lib/pulp_container_client/models/container_container_distribution.rb +28 -28
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +59 -59
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +29 -29
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +60 -60
- data/lib/pulp_container_client/models/container_container_push_repository.rb +54 -54
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +79 -79
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +27 -27
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +54 -54
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/distributions_pull_through_api_spec.rb +2 -4
- data/spec/models/container_container_distribution_response_spec.rb +12 -12
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -12
- 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 +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 +62 -62
|
@@ -16,33 +16,36 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistributionResponse
|
|
19
|
-
attr_accessor :
|
|
19
|
+
attr_accessor :pulp_href
|
|
20
|
+
|
|
21
|
+
# Timestamp of creation.
|
|
22
|
+
attr_accessor :pulp_created
|
|
23
|
+
|
|
24
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
25
|
+
attr_accessor :content_guard
|
|
20
26
|
|
|
21
27
|
# Whether this distribution should be shown in the content app.
|
|
22
28
|
attr_accessor :hidden
|
|
23
29
|
|
|
24
|
-
|
|
30
|
+
# The Pulp Resource Name (PRN).
|
|
31
|
+
attr_accessor :prn
|
|
25
32
|
|
|
26
33
|
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
27
34
|
attr_accessor :content_guard_prn
|
|
28
35
|
|
|
29
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
|
-
attr_accessor :content_guard
|
|
31
|
-
|
|
32
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
33
|
-
attr_accessor :repository
|
|
34
|
-
|
|
35
36
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
36
37
|
attr_accessor :name
|
|
37
38
|
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
attr_accessor :pulp_labels
|
|
40
|
+
|
|
41
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
42
|
+
attr_accessor :repository
|
|
40
43
|
|
|
41
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\")
|
|
42
45
|
attr_accessor :base_path
|
|
43
46
|
|
|
44
|
-
#
|
|
45
|
-
attr_accessor :
|
|
47
|
+
# RepositoryVersion to be served
|
|
48
|
+
attr_accessor :repository_version
|
|
46
49
|
|
|
47
50
|
# 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.
|
|
48
51
|
attr_accessor :pulp_last_updated
|
|
@@ -50,9 +53,6 @@ module PulpContainerClient
|
|
|
50
53
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
51
54
|
attr_accessor :no_content_change_since
|
|
52
55
|
|
|
53
|
-
# RepositoryVersion to be served
|
|
54
|
-
attr_accessor :repository_version
|
|
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
|
-
:'pulp_labels' => :'pulp_labels',
|
|
75
|
-
:'hidden' => :'hidden',
|
|
76
74
|
:'pulp_href' => :'pulp_href',
|
|
77
|
-
:'
|
|
75
|
+
:'pulp_created' => :'pulp_created',
|
|
78
76
|
:'content_guard' => :'content_guard',
|
|
79
|
-
:'
|
|
80
|
-
:'name' => :'name',
|
|
77
|
+
:'hidden' => :'hidden',
|
|
81
78
|
:'prn' => :'prn',
|
|
79
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
80
|
+
:'name' => :'name',
|
|
81
|
+
:'pulp_labels' => :'pulp_labels',
|
|
82
|
+
:'repository' => :'repository',
|
|
82
83
|
:'base_path' => :'base_path',
|
|
83
|
-
:'
|
|
84
|
+
:'repository_version' => :'repository_version',
|
|
84
85
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
85
86
|
:'no_content_change_since' => :'no_content_change_since',
|
|
86
|
-
:'repository_version' => :'repository_version',
|
|
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
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
104
|
-
:'hidden' => :'Boolean',
|
|
105
103
|
:'pulp_href' => :'String',
|
|
106
|
-
:'
|
|
104
|
+
:'pulp_created' => :'Time',
|
|
107
105
|
:'content_guard' => :'String',
|
|
108
|
-
:'
|
|
109
|
-
:'name' => :'String',
|
|
106
|
+
:'hidden' => :'Boolean',
|
|
110
107
|
:'prn' => :'String',
|
|
108
|
+
:'content_guard_prn' => :'String',
|
|
109
|
+
:'name' => :'String',
|
|
110
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
111
|
+
:'repository' => :'String',
|
|
111
112
|
:'base_path' => :'String',
|
|
112
|
-
:'
|
|
113
|
+
:'repository_version' => :'String',
|
|
113
114
|
:'pulp_last_updated' => :'Time',
|
|
114
115
|
:'no_content_change_since' => :'String',
|
|
115
|
-
:'repository_version' => :'String',
|
|
116
116
|
:'registry_path' => :'String',
|
|
117
117
|
:'remote' => :'String',
|
|
118
118
|
:'namespace' => :'String',
|
|
@@ -145,10 +145,16 @@ module PulpContainerClient
|
|
|
145
145
|
h[k.to_sym] = v
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
if attributes.key?(:'
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
if attributes.key?(:'pulp_href')
|
|
149
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
if attributes.key?(:'pulp_created')
|
|
153
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
if attributes.key?(:'content_guard')
|
|
157
|
+
self.content_guard = attributes[:'content_guard']
|
|
152
158
|
end
|
|
153
159
|
|
|
154
160
|
if attributes.key?(:'hidden')
|
|
@@ -157,30 +163,28 @@ module PulpContainerClient
|
|
|
157
163
|
self.hidden = false
|
|
158
164
|
end
|
|
159
165
|
|
|
160
|
-
if attributes.key?(:'
|
|
161
|
-
self.
|
|
166
|
+
if attributes.key?(:'prn')
|
|
167
|
+
self.prn = attributes[:'prn']
|
|
162
168
|
end
|
|
163
169
|
|
|
164
170
|
if attributes.key?(:'content_guard_prn')
|
|
165
171
|
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
166
172
|
end
|
|
167
173
|
|
|
168
|
-
if attributes.key?(:'content_guard')
|
|
169
|
-
self.content_guard = attributes[:'content_guard']
|
|
170
|
-
end
|
|
171
|
-
|
|
172
|
-
if attributes.key?(:'repository')
|
|
173
|
-
self.repository = attributes[:'repository']
|
|
174
|
-
end
|
|
175
|
-
|
|
176
174
|
if attributes.key?(:'name')
|
|
177
175
|
self.name = attributes[:'name']
|
|
178
176
|
else
|
|
179
177
|
self.name = nil
|
|
180
178
|
end
|
|
181
179
|
|
|
182
|
-
if attributes.key?(:'
|
|
183
|
-
|
|
180
|
+
if attributes.key?(:'pulp_labels')
|
|
181
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
182
|
+
self.pulp_labels = value
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
if attributes.key?(:'repository')
|
|
187
|
+
self.repository = attributes[:'repository']
|
|
184
188
|
end
|
|
185
189
|
|
|
186
190
|
if attributes.key?(:'base_path')
|
|
@@ -189,8 +193,8 @@ module PulpContainerClient
|
|
|
189
193
|
self.base_path = nil
|
|
190
194
|
end
|
|
191
195
|
|
|
192
|
-
if attributes.key?(:'
|
|
193
|
-
self.
|
|
196
|
+
if attributes.key?(:'repository_version')
|
|
197
|
+
self.repository_version = attributes[:'repository_version']
|
|
194
198
|
end
|
|
195
199
|
|
|
196
200
|
if attributes.key?(:'pulp_last_updated')
|
|
@@ -201,10 +205,6 @@ module PulpContainerClient
|
|
|
201
205
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
202
206
|
end
|
|
203
207
|
|
|
204
|
-
if attributes.key?(:'repository_version')
|
|
205
|
-
self.repository_version = attributes[:'repository_version']
|
|
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
|
-
pulp_labels == o.pulp_labels &&
|
|
260
|
-
hidden == o.hidden &&
|
|
261
259
|
pulp_href == o.pulp_href &&
|
|
262
|
-
|
|
260
|
+
pulp_created == o.pulp_created &&
|
|
263
261
|
content_guard == o.content_guard &&
|
|
264
|
-
|
|
265
|
-
name == o.name &&
|
|
262
|
+
hidden == o.hidden &&
|
|
266
263
|
prn == o.prn &&
|
|
264
|
+
content_guard_prn == o.content_guard_prn &&
|
|
265
|
+
name == o.name &&
|
|
266
|
+
pulp_labels == o.pulp_labels &&
|
|
267
|
+
repository == o.repository &&
|
|
267
268
|
base_path == o.base_path &&
|
|
268
|
-
|
|
269
|
+
repository_version == o.repository_version &&
|
|
269
270
|
pulp_last_updated == o.pulp_last_updated &&
|
|
270
271
|
no_content_change_since == o.no_content_change_since &&
|
|
271
|
-
repository_version == o.repository_version &&
|
|
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
|
+
[pulp_href, pulp_created, content_guard, hidden, prn, content_guard_prn, name, pulp_labels, repository, base_path, repository_version, pulp_last_updated, no_content_change_since, registry_path, remote, namespace, private, description].hash
|
|
289
289
|
end
|
|
290
290
|
|
|
291
291
|
# Builds the object from hash
|
|
@@ -16,21 +16,21 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
18
18
|
class ContainerContainerPullThroughDistribution
|
|
19
|
-
|
|
19
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
20
|
+
attr_accessor :content_guard
|
|
20
21
|
|
|
21
22
|
# Whether this distribution should be shown in the content app.
|
|
22
23
|
attr_accessor :hidden
|
|
23
24
|
|
|
24
|
-
#
|
|
25
|
-
attr_accessor :
|
|
25
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
26
|
+
attr_accessor :name
|
|
27
|
+
|
|
28
|
+
attr_accessor :pulp_labels
|
|
26
29
|
|
|
27
30
|
# The latest RepositoryVersion for this Repository will be served.
|
|
28
31
|
attr_accessor :repository
|
|
29
32
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :name
|
|
32
|
-
|
|
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\")
|
|
33
|
+
# The registry path exposed by this pull-through distribution.
|
|
34
34
|
attr_accessor :base_path
|
|
35
35
|
|
|
36
36
|
# RepositoryVersion to be served
|
|
@@ -51,11 +51,11 @@ module PulpContainerClient
|
|
|
51
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
52
52
|
def self.attribute_map
|
|
53
53
|
{
|
|
54
|
-
:'pulp_labels' => :'pulp_labels',
|
|
55
|
-
:'hidden' => :'hidden',
|
|
56
54
|
:'content_guard' => :'content_guard',
|
|
57
|
-
:'
|
|
55
|
+
:'hidden' => :'hidden',
|
|
58
56
|
:'name' => :'name',
|
|
57
|
+
:'pulp_labels' => :'pulp_labels',
|
|
58
|
+
:'repository' => :'repository',
|
|
59
59
|
:'base_path' => :'base_path',
|
|
60
60
|
:'repository_version' => :'repository_version',
|
|
61
61
|
:'remote' => :'remote',
|
|
@@ -73,11 +73,11 @@ module PulpContainerClient
|
|
|
73
73
|
# Attribute type mapping.
|
|
74
74
|
def self.openapi_types
|
|
75
75
|
{
|
|
76
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
77
|
-
:'hidden' => :'Boolean',
|
|
78
76
|
:'content_guard' => :'String',
|
|
79
|
-
:'
|
|
77
|
+
:'hidden' => :'Boolean',
|
|
80
78
|
:'name' => :'String',
|
|
79
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
80
|
+
:'repository' => :'String',
|
|
81
81
|
:'base_path' => :'String',
|
|
82
82
|
:'repository_version' => :'String',
|
|
83
83
|
:'remote' => :'String',
|
|
@@ -111,10 +111,8 @@ module PulpContainerClient
|
|
|
111
111
|
h[k.to_sym] = v
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
if attributes.key?(:'
|
|
115
|
-
|
|
116
|
-
self.pulp_labels = value
|
|
117
|
-
end
|
|
114
|
+
if attributes.key?(:'content_guard')
|
|
115
|
+
self.content_guard = attributes[:'content_guard']
|
|
118
116
|
end
|
|
119
117
|
|
|
120
118
|
if attributes.key?(:'hidden')
|
|
@@ -123,20 +121,22 @@ module PulpContainerClient
|
|
|
123
121
|
self.hidden = false
|
|
124
122
|
end
|
|
125
123
|
|
|
126
|
-
if attributes.key?(:'content_guard')
|
|
127
|
-
self.content_guard = attributes[:'content_guard']
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
if attributes.key?(:'repository')
|
|
131
|
-
self.repository = attributes[:'repository']
|
|
132
|
-
end
|
|
133
|
-
|
|
134
124
|
if attributes.key?(:'name')
|
|
135
125
|
self.name = attributes[:'name']
|
|
136
126
|
else
|
|
137
127
|
self.name = nil
|
|
138
128
|
end
|
|
139
129
|
|
|
130
|
+
if attributes.key?(:'pulp_labels')
|
|
131
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
132
|
+
self.pulp_labels = value
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
if attributes.key?(:'repository')
|
|
137
|
+
self.repository = attributes[:'repository']
|
|
138
|
+
end
|
|
139
|
+
|
|
140
140
|
if attributes.key?(:'base_path')
|
|
141
141
|
self.base_path = attributes[:'base_path']
|
|
142
142
|
else
|
|
@@ -256,11 +256,11 @@ module PulpContainerClient
|
|
|
256
256
|
def ==(o)
|
|
257
257
|
return true if self.equal?(o)
|
|
258
258
|
self.class == o.class &&
|
|
259
|
-
pulp_labels == o.pulp_labels &&
|
|
260
|
-
hidden == o.hidden &&
|
|
261
259
|
content_guard == o.content_guard &&
|
|
262
|
-
|
|
260
|
+
hidden == o.hidden &&
|
|
263
261
|
name == o.name &&
|
|
262
|
+
pulp_labels == o.pulp_labels &&
|
|
263
|
+
repository == o.repository &&
|
|
264
264
|
base_path == o.base_path &&
|
|
265
265
|
repository_version == o.repository_version &&
|
|
266
266
|
remote == o.remote &&
|
|
@@ -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
|
+
[content_guard, hidden, name, pulp_labels, repository, base_path, repository_version, 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,33 +16,36 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
18
18
|
class ContainerContainerPullThroughDistributionResponse
|
|
19
|
-
attr_accessor :
|
|
19
|
+
attr_accessor :pulp_href
|
|
20
|
+
|
|
21
|
+
# Timestamp of creation.
|
|
22
|
+
attr_accessor :pulp_created
|
|
23
|
+
|
|
24
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
25
|
+
attr_accessor :content_guard
|
|
20
26
|
|
|
21
27
|
# Whether this distribution should be shown in the content app.
|
|
22
28
|
attr_accessor :hidden
|
|
23
29
|
|
|
24
|
-
|
|
30
|
+
# The Pulp Resource Name (PRN).
|
|
31
|
+
attr_accessor :prn
|
|
25
32
|
|
|
26
33
|
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
27
34
|
attr_accessor :content_guard_prn
|
|
28
35
|
|
|
29
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
|
-
attr_accessor :content_guard
|
|
31
|
-
|
|
32
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
33
|
-
attr_accessor :repository
|
|
34
|
-
|
|
35
36
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
36
37
|
attr_accessor :name
|
|
37
38
|
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
attr_accessor :pulp_labels
|
|
40
|
+
|
|
41
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
42
|
+
attr_accessor :repository
|
|
40
43
|
|
|
41
|
-
# The
|
|
44
|
+
# The registry path exposed by this pull-through distribution.
|
|
42
45
|
attr_accessor :base_path
|
|
43
46
|
|
|
44
|
-
#
|
|
45
|
-
attr_accessor :
|
|
47
|
+
# RepositoryVersion to be served
|
|
48
|
+
attr_accessor :repository_version
|
|
46
49
|
|
|
47
50
|
# 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.
|
|
48
51
|
attr_accessor :pulp_last_updated
|
|
@@ -50,9 +53,6 @@ module PulpContainerClient
|
|
|
50
53
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
51
54
|
attr_accessor :no_content_change_since
|
|
52
55
|
|
|
53
|
-
# RepositoryVersion to be served
|
|
54
|
-
attr_accessor :repository_version
|
|
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
|
-
:'pulp_labels' => :'pulp_labels',
|
|
75
|
-
:'hidden' => :'hidden',
|
|
76
74
|
:'pulp_href' => :'pulp_href',
|
|
77
|
-
:'
|
|
75
|
+
:'pulp_created' => :'pulp_created',
|
|
78
76
|
:'content_guard' => :'content_guard',
|
|
79
|
-
:'
|
|
80
|
-
:'name' => :'name',
|
|
77
|
+
:'hidden' => :'hidden',
|
|
81
78
|
:'prn' => :'prn',
|
|
79
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
80
|
+
:'name' => :'name',
|
|
81
|
+
:'pulp_labels' => :'pulp_labels',
|
|
82
|
+
:'repository' => :'repository',
|
|
82
83
|
:'base_path' => :'base_path',
|
|
83
|
-
:'
|
|
84
|
+
:'repository_version' => :'repository_version',
|
|
84
85
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
85
86
|
:'no_content_change_since' => :'no_content_change_since',
|
|
86
|
-
:'repository_version' => :'repository_version',
|
|
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
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
104
|
-
:'hidden' => :'Boolean',
|
|
105
103
|
:'pulp_href' => :'String',
|
|
106
|
-
:'
|
|
104
|
+
:'pulp_created' => :'Time',
|
|
107
105
|
:'content_guard' => :'String',
|
|
108
|
-
:'
|
|
109
|
-
:'name' => :'String',
|
|
106
|
+
:'hidden' => :'Boolean',
|
|
110
107
|
:'prn' => :'String',
|
|
108
|
+
:'content_guard_prn' => :'String',
|
|
109
|
+
:'name' => :'String',
|
|
110
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
111
|
+
:'repository' => :'String',
|
|
111
112
|
:'base_path' => :'String',
|
|
112
|
-
:'
|
|
113
|
+
:'repository_version' => :'String',
|
|
113
114
|
:'pulp_last_updated' => :'Time',
|
|
114
115
|
:'no_content_change_since' => :'String',
|
|
115
|
-
:'repository_version' => :'String',
|
|
116
116
|
:'remote' => :'String',
|
|
117
117
|
:'distributions' => :'Array<String>',
|
|
118
118
|
:'namespace' => :'String',
|
|
@@ -145,10 +145,16 @@ module PulpContainerClient
|
|
|
145
145
|
h[k.to_sym] = v
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
if attributes.key?(:'
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
if attributes.key?(:'pulp_href')
|
|
149
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
if attributes.key?(:'pulp_created')
|
|
153
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
if attributes.key?(:'content_guard')
|
|
157
|
+
self.content_guard = attributes[:'content_guard']
|
|
152
158
|
end
|
|
153
159
|
|
|
154
160
|
if attributes.key?(:'hidden')
|
|
@@ -157,30 +163,28 @@ module PulpContainerClient
|
|
|
157
163
|
self.hidden = false
|
|
158
164
|
end
|
|
159
165
|
|
|
160
|
-
if attributes.key?(:'
|
|
161
|
-
self.
|
|
166
|
+
if attributes.key?(:'prn')
|
|
167
|
+
self.prn = attributes[:'prn']
|
|
162
168
|
end
|
|
163
169
|
|
|
164
170
|
if attributes.key?(:'content_guard_prn')
|
|
165
171
|
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
166
172
|
end
|
|
167
173
|
|
|
168
|
-
if attributes.key?(:'content_guard')
|
|
169
|
-
self.content_guard = attributes[:'content_guard']
|
|
170
|
-
end
|
|
171
|
-
|
|
172
|
-
if attributes.key?(:'repository')
|
|
173
|
-
self.repository = attributes[:'repository']
|
|
174
|
-
end
|
|
175
|
-
|
|
176
174
|
if attributes.key?(:'name')
|
|
177
175
|
self.name = attributes[:'name']
|
|
178
176
|
else
|
|
179
177
|
self.name = nil
|
|
180
178
|
end
|
|
181
179
|
|
|
182
|
-
if attributes.key?(:'
|
|
183
|
-
|
|
180
|
+
if attributes.key?(:'pulp_labels')
|
|
181
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
182
|
+
self.pulp_labels = value
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
if attributes.key?(:'repository')
|
|
187
|
+
self.repository = attributes[:'repository']
|
|
184
188
|
end
|
|
185
189
|
|
|
186
190
|
if attributes.key?(:'base_path')
|
|
@@ -189,8 +193,8 @@ module PulpContainerClient
|
|
|
189
193
|
self.base_path = nil
|
|
190
194
|
end
|
|
191
195
|
|
|
192
|
-
if attributes.key?(:'
|
|
193
|
-
self.
|
|
196
|
+
if attributes.key?(:'repository_version')
|
|
197
|
+
self.repository_version = attributes[:'repository_version']
|
|
194
198
|
end
|
|
195
199
|
|
|
196
200
|
if attributes.key?(:'pulp_last_updated')
|
|
@@ -201,10 +205,6 @@ module PulpContainerClient
|
|
|
201
205
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
202
206
|
end
|
|
203
207
|
|
|
204
|
-
if attributes.key?(:'repository_version')
|
|
205
|
-
self.repository_version = attributes[:'repository_version']
|
|
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
|
-
pulp_labels == o.pulp_labels &&
|
|
269
|
-
hidden == o.hidden &&
|
|
270
268
|
pulp_href == o.pulp_href &&
|
|
271
|
-
|
|
269
|
+
pulp_created == o.pulp_created &&
|
|
272
270
|
content_guard == o.content_guard &&
|
|
273
|
-
|
|
274
|
-
name == o.name &&
|
|
271
|
+
hidden == o.hidden &&
|
|
275
272
|
prn == o.prn &&
|
|
273
|
+
content_guard_prn == o.content_guard_prn &&
|
|
274
|
+
name == o.name &&
|
|
275
|
+
pulp_labels == o.pulp_labels &&
|
|
276
|
+
repository == o.repository &&
|
|
276
277
|
base_path == o.base_path &&
|
|
277
|
-
|
|
278
|
+
repository_version == o.repository_version &&
|
|
278
279
|
pulp_last_updated == o.pulp_last_updated &&
|
|
279
280
|
no_content_change_since == o.no_content_change_since &&
|
|
280
|
-
repository_version == o.repository_version &&
|
|
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
|
+
[pulp_href, pulp_created, content_guard, hidden, prn, content_guard_prn, name, pulp_labels, repository, base_path, repository_version, pulp_last_updated, no_content_change_since, remote, distributions, namespace, private, description].hash
|
|
298
298
|
end
|
|
299
299
|
|
|
300
300
|
# Builds the object from hash
|