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