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