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