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