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