pulp_container_client 2.24.6 → 2.24.8
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 +4 -4
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +55 -55
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +18 -18
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +55 -55
- data/lib/pulp_container_client/models/container_container_push_repository.rb +24 -24
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +24 -24
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +60 -60
|
@@ -16,37 +16,37 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistributionResponse
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
attr_accessor :pulp_href
|
|
20
|
+
|
|
21
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
22
|
+
attr_accessor :repository
|
|
21
23
|
|
|
22
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
23
25
|
attr_accessor :name
|
|
24
26
|
|
|
25
|
-
attr_accessor :pulp_labels
|
|
26
|
-
|
|
27
|
-
# Whether this distribution should be shown in the content app.
|
|
28
|
-
attr_accessor :hidden
|
|
29
|
-
|
|
30
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
31
|
-
attr_accessor :base_path
|
|
32
|
-
|
|
33
27
|
# 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.
|
|
34
28
|
attr_accessor :pulp_last_updated
|
|
35
29
|
|
|
36
|
-
attr_accessor :
|
|
30
|
+
attr_accessor :pulp_labels
|
|
37
31
|
|
|
38
32
|
# Timestamp of creation.
|
|
39
33
|
attr_accessor :pulp_created
|
|
40
34
|
|
|
35
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
36
|
+
attr_accessor :content_guard
|
|
37
|
+
|
|
38
|
+
# Whether this distribution should be shown in the content app.
|
|
39
|
+
attr_accessor :hidden
|
|
40
|
+
|
|
41
41
|
# The Pulp Resource Name (PRN).
|
|
42
42
|
attr_accessor :prn
|
|
43
43
|
|
|
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\")
|
|
45
|
+
attr_accessor :base_path
|
|
46
|
+
|
|
44
47
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
45
48
|
attr_accessor :no_content_change_since
|
|
46
49
|
|
|
47
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
48
|
-
attr_accessor :repository
|
|
49
|
-
|
|
50
50
|
# RepositoryVersion to be served
|
|
51
51
|
attr_accessor :repository_version
|
|
52
52
|
|
|
@@ -68,17 +68,17 @@ module PulpContainerClient
|
|
|
68
68
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
69
69
|
def self.attribute_map
|
|
70
70
|
{
|
|
71
|
-
:'
|
|
71
|
+
:'pulp_href' => :'pulp_href',
|
|
72
|
+
:'repository' => :'repository',
|
|
72
73
|
:'name' => :'name',
|
|
73
|
-
:'pulp_labels' => :'pulp_labels',
|
|
74
|
-
:'hidden' => :'hidden',
|
|
75
|
-
:'base_path' => :'base_path',
|
|
76
74
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
77
|
-
:'
|
|
75
|
+
:'pulp_labels' => :'pulp_labels',
|
|
78
76
|
:'pulp_created' => :'pulp_created',
|
|
77
|
+
:'content_guard' => :'content_guard',
|
|
78
|
+
:'hidden' => :'hidden',
|
|
79
79
|
:'prn' => :'prn',
|
|
80
|
+
:'base_path' => :'base_path',
|
|
80
81
|
:'no_content_change_since' => :'no_content_change_since',
|
|
81
|
-
:'repository' => :'repository',
|
|
82
82
|
:'repository_version' => :'repository_version',
|
|
83
83
|
:'registry_path' => :'registry_path',
|
|
84
84
|
:'remote' => :'remote',
|
|
@@ -96,17 +96,17 @@ module PulpContainerClient
|
|
|
96
96
|
# Attribute type mapping.
|
|
97
97
|
def self.openapi_types
|
|
98
98
|
{
|
|
99
|
-
:'
|
|
99
|
+
:'pulp_href' => :'String',
|
|
100
|
+
:'repository' => :'String',
|
|
100
101
|
:'name' => :'String',
|
|
101
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
102
|
-
:'hidden' => :'Boolean',
|
|
103
|
-
:'base_path' => :'String',
|
|
104
102
|
:'pulp_last_updated' => :'Time',
|
|
105
|
-
:'
|
|
103
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
106
104
|
:'pulp_created' => :'Time',
|
|
105
|
+
:'content_guard' => :'String',
|
|
106
|
+
:'hidden' => :'Boolean',
|
|
107
107
|
:'prn' => :'String',
|
|
108
|
+
:'base_path' => :'String',
|
|
108
109
|
:'no_content_change_since' => :'String',
|
|
109
|
-
:'repository' => :'String',
|
|
110
110
|
:'repository_version' => :'String',
|
|
111
111
|
:'registry_path' => :'String',
|
|
112
112
|
:'remote' => :'String',
|
|
@@ -140,8 +140,12 @@ module PulpContainerClient
|
|
|
140
140
|
h[k.to_sym] = v
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
if attributes.key?(:'
|
|
144
|
-
self.
|
|
143
|
+
if attributes.key?(:'pulp_href')
|
|
144
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
if attributes.key?(:'repository')
|
|
148
|
+
self.repository = attributes[:'repository']
|
|
145
149
|
end
|
|
146
150
|
|
|
147
151
|
if attributes.key?(:'name')
|
|
@@ -150,48 +154,44 @@ module PulpContainerClient
|
|
|
150
154
|
self.name = nil
|
|
151
155
|
end
|
|
152
156
|
|
|
157
|
+
if attributes.key?(:'pulp_last_updated')
|
|
158
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
159
|
+
end
|
|
160
|
+
|
|
153
161
|
if attributes.key?(:'pulp_labels')
|
|
154
162
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
155
163
|
self.pulp_labels = value
|
|
156
164
|
end
|
|
157
165
|
end
|
|
158
166
|
|
|
167
|
+
if attributes.key?(:'pulp_created')
|
|
168
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
if attributes.key?(:'content_guard')
|
|
172
|
+
self.content_guard = attributes[:'content_guard']
|
|
173
|
+
end
|
|
174
|
+
|
|
159
175
|
if attributes.key?(:'hidden')
|
|
160
176
|
self.hidden = attributes[:'hidden']
|
|
161
177
|
else
|
|
162
178
|
self.hidden = false
|
|
163
179
|
end
|
|
164
180
|
|
|
181
|
+
if attributes.key?(:'prn')
|
|
182
|
+
self.prn = attributes[:'prn']
|
|
183
|
+
end
|
|
184
|
+
|
|
165
185
|
if attributes.key?(:'base_path')
|
|
166
186
|
self.base_path = attributes[:'base_path']
|
|
167
187
|
else
|
|
168
188
|
self.base_path = nil
|
|
169
189
|
end
|
|
170
190
|
|
|
171
|
-
if attributes.key?(:'pulp_last_updated')
|
|
172
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
if attributes.key?(:'pulp_href')
|
|
176
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
177
|
-
end
|
|
178
|
-
|
|
179
|
-
if attributes.key?(:'pulp_created')
|
|
180
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
if attributes.key?(:'prn')
|
|
184
|
-
self.prn = attributes[:'prn']
|
|
185
|
-
end
|
|
186
|
-
|
|
187
191
|
if attributes.key?(:'no_content_change_since')
|
|
188
192
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
189
193
|
end
|
|
190
194
|
|
|
191
|
-
if attributes.key?(:'repository')
|
|
192
|
-
self.repository = attributes[:'repository']
|
|
193
|
-
end
|
|
194
|
-
|
|
195
195
|
if attributes.key?(:'repository_version')
|
|
196
196
|
self.repository_version = attributes[:'repository_version']
|
|
197
197
|
end
|
|
@@ -247,17 +247,17 @@ module PulpContainerClient
|
|
|
247
247
|
def ==(o)
|
|
248
248
|
return true if self.equal?(o)
|
|
249
249
|
self.class == o.class &&
|
|
250
|
-
|
|
250
|
+
pulp_href == o.pulp_href &&
|
|
251
|
+
repository == o.repository &&
|
|
251
252
|
name == o.name &&
|
|
252
|
-
pulp_labels == o.pulp_labels &&
|
|
253
|
-
hidden == o.hidden &&
|
|
254
|
-
base_path == o.base_path &&
|
|
255
253
|
pulp_last_updated == o.pulp_last_updated &&
|
|
256
|
-
|
|
254
|
+
pulp_labels == o.pulp_labels &&
|
|
257
255
|
pulp_created == o.pulp_created &&
|
|
256
|
+
content_guard == o.content_guard &&
|
|
257
|
+
hidden == o.hidden &&
|
|
258
258
|
prn == o.prn &&
|
|
259
|
+
base_path == o.base_path &&
|
|
259
260
|
no_content_change_since == o.no_content_change_since &&
|
|
260
|
-
repository == o.repository &&
|
|
261
261
|
repository_version == o.repository_version &&
|
|
262
262
|
registry_path == o.registry_path &&
|
|
263
263
|
remote == o.remote &&
|
|
@@ -275,7 +275,7 @@ module PulpContainerClient
|
|
|
275
275
|
# Calculates hash code according to all attributes.
|
|
276
276
|
# @return [Integer] Hash code
|
|
277
277
|
def hash
|
|
278
|
-
[
|
|
278
|
+
[pulp_href, repository, name, pulp_last_updated, pulp_labels, pulp_created, content_guard, hidden, prn, base_path, no_content_change_since, repository_version, registry_path, remote, namespace, private, description].hash
|
|
279
279
|
end
|
|
280
280
|
|
|
281
281
|
# Builds the object from hash
|
|
@@ -16,23 +16,23 @@ 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
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
20
|
+
attr_accessor :repository
|
|
21
21
|
|
|
22
22
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
23
23
|
attr_accessor :name
|
|
24
24
|
|
|
25
25
|
attr_accessor :pulp_labels
|
|
26
26
|
|
|
27
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
28
|
+
attr_accessor :content_guard
|
|
29
|
+
|
|
27
30
|
# Whether this distribution should be shown in the content app.
|
|
28
31
|
attr_accessor :hidden
|
|
29
32
|
|
|
30
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\")
|
|
31
34
|
attr_accessor :base_path
|
|
32
35
|
|
|
33
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
34
|
-
attr_accessor :repository
|
|
35
|
-
|
|
36
36
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
37
37
|
attr_accessor :remote
|
|
38
38
|
|
|
@@ -48,12 +48,12 @@ module PulpContainerClient
|
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
49
|
def self.attribute_map
|
|
50
50
|
{
|
|
51
|
-
:'
|
|
51
|
+
:'repository' => :'repository',
|
|
52
52
|
:'name' => :'name',
|
|
53
53
|
:'pulp_labels' => :'pulp_labels',
|
|
54
|
+
:'content_guard' => :'content_guard',
|
|
54
55
|
:'hidden' => :'hidden',
|
|
55
56
|
:'base_path' => :'base_path',
|
|
56
|
-
:'repository' => :'repository',
|
|
57
57
|
:'remote' => :'remote',
|
|
58
58
|
:'distributions' => :'distributions',
|
|
59
59
|
:'private' => :'private',
|
|
@@ -69,12 +69,12 @@ module PulpContainerClient
|
|
|
69
69
|
# Attribute type mapping.
|
|
70
70
|
def self.openapi_types
|
|
71
71
|
{
|
|
72
|
-
:'
|
|
72
|
+
:'repository' => :'String',
|
|
73
73
|
:'name' => :'String',
|
|
74
74
|
:'pulp_labels' => :'Hash<String, String>',
|
|
75
|
+
:'content_guard' => :'String',
|
|
75
76
|
:'hidden' => :'Boolean',
|
|
76
77
|
:'base_path' => :'String',
|
|
77
|
-
:'repository' => :'String',
|
|
78
78
|
:'remote' => :'String',
|
|
79
79
|
:'distributions' => :'Array<String>',
|
|
80
80
|
:'private' => :'Boolean',
|
|
@@ -105,8 +105,8 @@ module PulpContainerClient
|
|
|
105
105
|
h[k.to_sym] = v
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
if attributes.key?(:'
|
|
109
|
-
self.
|
|
108
|
+
if attributes.key?(:'repository')
|
|
109
|
+
self.repository = attributes[:'repository']
|
|
110
110
|
end
|
|
111
111
|
|
|
112
112
|
if attributes.key?(:'name')
|
|
@@ -121,6 +121,10 @@ module PulpContainerClient
|
|
|
121
121
|
end
|
|
122
122
|
end
|
|
123
123
|
|
|
124
|
+
if attributes.key?(:'content_guard')
|
|
125
|
+
self.content_guard = attributes[:'content_guard']
|
|
126
|
+
end
|
|
127
|
+
|
|
124
128
|
if attributes.key?(:'hidden')
|
|
125
129
|
self.hidden = attributes[:'hidden']
|
|
126
130
|
else
|
|
@@ -133,10 +137,6 @@ module PulpContainerClient
|
|
|
133
137
|
self.base_path = nil
|
|
134
138
|
end
|
|
135
139
|
|
|
136
|
-
if attributes.key?(:'repository')
|
|
137
|
-
self.repository = attributes[:'repository']
|
|
138
|
-
end
|
|
139
|
-
|
|
140
140
|
if attributes.key?(:'remote')
|
|
141
141
|
self.remote = attributes[:'remote']
|
|
142
142
|
else
|
|
@@ -246,12 +246,12 @@ module PulpContainerClient
|
|
|
246
246
|
def ==(o)
|
|
247
247
|
return true if self.equal?(o)
|
|
248
248
|
self.class == o.class &&
|
|
249
|
-
|
|
249
|
+
repository == o.repository &&
|
|
250
250
|
name == o.name &&
|
|
251
251
|
pulp_labels == o.pulp_labels &&
|
|
252
|
+
content_guard == o.content_guard &&
|
|
252
253
|
hidden == o.hidden &&
|
|
253
254
|
base_path == o.base_path &&
|
|
254
|
-
repository == o.repository &&
|
|
255
255
|
remote == o.remote &&
|
|
256
256
|
distributions == o.distributions &&
|
|
257
257
|
private == o.private &&
|
|
@@ -267,7 +267,7 @@ module PulpContainerClient
|
|
|
267
267
|
# Calculates hash code according to all attributes.
|
|
268
268
|
# @return [Integer] Hash code
|
|
269
269
|
def hash
|
|
270
|
-
[
|
|
270
|
+
[repository, name, pulp_labels, content_guard, hidden, base_path, remote, distributions, private, description].hash
|
|
271
271
|
end
|
|
272
272
|
|
|
273
273
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -16,37 +16,37 @@ 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
|
-
|
|
19
|
+
attr_accessor :pulp_href
|
|
20
|
+
|
|
21
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
22
|
+
attr_accessor :repository
|
|
21
23
|
|
|
22
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
23
25
|
attr_accessor :name
|
|
24
26
|
|
|
25
|
-
attr_accessor :pulp_labels
|
|
26
|
-
|
|
27
|
-
# Whether this distribution should be shown in the content app.
|
|
28
|
-
attr_accessor :hidden
|
|
29
|
-
|
|
30
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
31
|
-
attr_accessor :base_path
|
|
32
|
-
|
|
33
27
|
# 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.
|
|
34
28
|
attr_accessor :pulp_last_updated
|
|
35
29
|
|
|
36
|
-
attr_accessor :
|
|
30
|
+
attr_accessor :pulp_labels
|
|
37
31
|
|
|
38
32
|
# Timestamp of creation.
|
|
39
33
|
attr_accessor :pulp_created
|
|
40
34
|
|
|
35
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
36
|
+
attr_accessor :content_guard
|
|
37
|
+
|
|
38
|
+
# Whether this distribution should be shown in the content app.
|
|
39
|
+
attr_accessor :hidden
|
|
40
|
+
|
|
41
41
|
# The Pulp Resource Name (PRN).
|
|
42
42
|
attr_accessor :prn
|
|
43
43
|
|
|
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\")
|
|
45
|
+
attr_accessor :base_path
|
|
46
|
+
|
|
44
47
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
45
48
|
attr_accessor :no_content_change_since
|
|
46
49
|
|
|
47
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
48
|
-
attr_accessor :repository
|
|
49
|
-
|
|
50
50
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
51
51
|
attr_accessor :remote
|
|
52
52
|
|
|
@@ -65,17 +65,17 @@ module PulpContainerClient
|
|
|
65
65
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
66
66
|
def self.attribute_map
|
|
67
67
|
{
|
|
68
|
-
:'
|
|
68
|
+
:'pulp_href' => :'pulp_href',
|
|
69
|
+
:'repository' => :'repository',
|
|
69
70
|
:'name' => :'name',
|
|
70
|
-
:'pulp_labels' => :'pulp_labels',
|
|
71
|
-
:'hidden' => :'hidden',
|
|
72
|
-
:'base_path' => :'base_path',
|
|
73
71
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
74
|
-
:'
|
|
72
|
+
:'pulp_labels' => :'pulp_labels',
|
|
75
73
|
:'pulp_created' => :'pulp_created',
|
|
74
|
+
:'content_guard' => :'content_guard',
|
|
75
|
+
:'hidden' => :'hidden',
|
|
76
76
|
:'prn' => :'prn',
|
|
77
|
+
:'base_path' => :'base_path',
|
|
77
78
|
:'no_content_change_since' => :'no_content_change_since',
|
|
78
|
-
:'repository' => :'repository',
|
|
79
79
|
:'remote' => :'remote',
|
|
80
80
|
:'distributions' => :'distributions',
|
|
81
81
|
:'namespace' => :'namespace',
|
|
@@ -92,17 +92,17 @@ module PulpContainerClient
|
|
|
92
92
|
# Attribute type mapping.
|
|
93
93
|
def self.openapi_types
|
|
94
94
|
{
|
|
95
|
-
:'
|
|
95
|
+
:'pulp_href' => :'String',
|
|
96
|
+
:'repository' => :'String',
|
|
96
97
|
:'name' => :'String',
|
|
97
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
98
|
-
:'hidden' => :'Boolean',
|
|
99
|
-
:'base_path' => :'String',
|
|
100
98
|
:'pulp_last_updated' => :'Time',
|
|
101
|
-
:'
|
|
99
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
102
100
|
:'pulp_created' => :'Time',
|
|
101
|
+
:'content_guard' => :'String',
|
|
102
|
+
:'hidden' => :'Boolean',
|
|
103
103
|
:'prn' => :'String',
|
|
104
|
+
:'base_path' => :'String',
|
|
104
105
|
:'no_content_change_since' => :'String',
|
|
105
|
-
:'repository' => :'String',
|
|
106
106
|
:'remote' => :'String',
|
|
107
107
|
:'distributions' => :'Array<String>',
|
|
108
108
|
:'namespace' => :'String',
|
|
@@ -134,8 +134,12 @@ module PulpContainerClient
|
|
|
134
134
|
h[k.to_sym] = v
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
if attributes.key?(:'
|
|
138
|
-
self.
|
|
137
|
+
if attributes.key?(:'pulp_href')
|
|
138
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
if attributes.key?(:'repository')
|
|
142
|
+
self.repository = attributes[:'repository']
|
|
139
143
|
end
|
|
140
144
|
|
|
141
145
|
if attributes.key?(:'name')
|
|
@@ -144,48 +148,44 @@ module PulpContainerClient
|
|
|
144
148
|
self.name = nil
|
|
145
149
|
end
|
|
146
150
|
|
|
151
|
+
if attributes.key?(:'pulp_last_updated')
|
|
152
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
153
|
+
end
|
|
154
|
+
|
|
147
155
|
if attributes.key?(:'pulp_labels')
|
|
148
156
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
149
157
|
self.pulp_labels = value
|
|
150
158
|
end
|
|
151
159
|
end
|
|
152
160
|
|
|
161
|
+
if attributes.key?(:'pulp_created')
|
|
162
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
if attributes.key?(:'content_guard')
|
|
166
|
+
self.content_guard = attributes[:'content_guard']
|
|
167
|
+
end
|
|
168
|
+
|
|
153
169
|
if attributes.key?(:'hidden')
|
|
154
170
|
self.hidden = attributes[:'hidden']
|
|
155
171
|
else
|
|
156
172
|
self.hidden = false
|
|
157
173
|
end
|
|
158
174
|
|
|
175
|
+
if attributes.key?(:'prn')
|
|
176
|
+
self.prn = attributes[:'prn']
|
|
177
|
+
end
|
|
178
|
+
|
|
159
179
|
if attributes.key?(:'base_path')
|
|
160
180
|
self.base_path = attributes[:'base_path']
|
|
161
181
|
else
|
|
162
182
|
self.base_path = nil
|
|
163
183
|
end
|
|
164
184
|
|
|
165
|
-
if attributes.key?(:'pulp_last_updated')
|
|
166
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
167
|
-
end
|
|
168
|
-
|
|
169
|
-
if attributes.key?(:'pulp_href')
|
|
170
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
171
|
-
end
|
|
172
|
-
|
|
173
|
-
if attributes.key?(:'pulp_created')
|
|
174
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
175
|
-
end
|
|
176
|
-
|
|
177
|
-
if attributes.key?(:'prn')
|
|
178
|
-
self.prn = attributes[:'prn']
|
|
179
|
-
end
|
|
180
|
-
|
|
181
185
|
if attributes.key?(:'no_content_change_since')
|
|
182
186
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
183
187
|
end
|
|
184
188
|
|
|
185
|
-
if attributes.key?(:'repository')
|
|
186
|
-
self.repository = attributes[:'repository']
|
|
187
|
-
end
|
|
188
|
-
|
|
189
189
|
if attributes.key?(:'remote')
|
|
190
190
|
self.remote = attributes[:'remote']
|
|
191
191
|
else
|
|
@@ -246,17 +246,17 @@ module PulpContainerClient
|
|
|
246
246
|
def ==(o)
|
|
247
247
|
return true if self.equal?(o)
|
|
248
248
|
self.class == o.class &&
|
|
249
|
-
|
|
249
|
+
pulp_href == o.pulp_href &&
|
|
250
|
+
repository == o.repository &&
|
|
250
251
|
name == o.name &&
|
|
251
|
-
pulp_labels == o.pulp_labels &&
|
|
252
|
-
hidden == o.hidden &&
|
|
253
|
-
base_path == o.base_path &&
|
|
254
252
|
pulp_last_updated == o.pulp_last_updated &&
|
|
255
|
-
|
|
253
|
+
pulp_labels == o.pulp_labels &&
|
|
256
254
|
pulp_created == o.pulp_created &&
|
|
255
|
+
content_guard == o.content_guard &&
|
|
256
|
+
hidden == o.hidden &&
|
|
257
257
|
prn == o.prn &&
|
|
258
|
+
base_path == o.base_path &&
|
|
258
259
|
no_content_change_since == o.no_content_change_since &&
|
|
259
|
-
repository == o.repository &&
|
|
260
260
|
remote == o.remote &&
|
|
261
261
|
distributions == o.distributions &&
|
|
262
262
|
namespace == o.namespace &&
|
|
@@ -273,7 +273,7 @@ module PulpContainerClient
|
|
|
273
273
|
# Calculates hash code according to all attributes.
|
|
274
274
|
# @return [Integer] Hash code
|
|
275
275
|
def hash
|
|
276
|
-
[
|
|
276
|
+
[pulp_href, repository, name, pulp_last_updated, pulp_labels, pulp_created, content_guard, hidden, prn, base_path, no_content_change_since, remote, distributions, namespace, private, description].hash
|
|
277
277
|
end
|
|
278
278
|
|
|
279
279
|
# Builds the object from hash
|
|
@@ -19,25 +19,25 @@ module PulpContainerClient
|
|
|
19
19
|
# A unique name for this repository.
|
|
20
20
|
attr_accessor :name
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
# A reference to an associated signing service.
|
|
23
|
+
attr_accessor :manifest_signing_service
|
|
23
24
|
|
|
24
25
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
25
26
|
attr_accessor :retain_repo_versions
|
|
26
27
|
|
|
27
|
-
# A reference to an associated signing service.
|
|
28
|
-
attr_accessor :manifest_signing_service
|
|
29
|
-
|
|
30
28
|
# An optional description.
|
|
31
29
|
attr_accessor :description
|
|
32
30
|
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
34
|
def self.attribute_map
|
|
35
35
|
{
|
|
36
36
|
:'name' => :'name',
|
|
37
|
-
:'pulp_labels' => :'pulp_labels',
|
|
38
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
37
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
40
|
-
:'
|
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
|
+
:'description' => :'description',
|
|
40
|
+
:'pulp_labels' => :'pulp_labels'
|
|
41
41
|
}
|
|
42
42
|
end
|
|
43
43
|
|
|
@@ -50,19 +50,19 @@ module PulpContainerClient
|
|
|
50
50
|
def self.openapi_types
|
|
51
51
|
{
|
|
52
52
|
:'name' => :'String',
|
|
53
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
54
|
-
:'retain_repo_versions' => :'Integer',
|
|
55
53
|
:'manifest_signing_service' => :'String',
|
|
56
|
-
:'
|
|
54
|
+
:'retain_repo_versions' => :'Integer',
|
|
55
|
+
:'description' => :'String',
|
|
56
|
+
:'pulp_labels' => :'Hash<String, String>'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# List of attributes with nullable: true
|
|
61
61
|
def self.openapi_nullable
|
|
62
62
|
Set.new([
|
|
63
|
-
:'retain_repo_versions',
|
|
64
63
|
:'manifest_signing_service',
|
|
65
|
-
:'
|
|
64
|
+
:'retain_repo_versions',
|
|
65
|
+
:'description',
|
|
66
66
|
])
|
|
67
67
|
end
|
|
68
68
|
|
|
@@ -87,23 +87,23 @@ module PulpContainerClient
|
|
|
87
87
|
self.name = nil
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
if attributes.key?(:'
|
|
91
|
-
|
|
92
|
-
self.pulp_labels = value
|
|
93
|
-
end
|
|
90
|
+
if attributes.key?(:'manifest_signing_service')
|
|
91
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
94
92
|
end
|
|
95
93
|
|
|
96
94
|
if attributes.key?(:'retain_repo_versions')
|
|
97
95
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
98
96
|
end
|
|
99
97
|
|
|
100
|
-
if attributes.key?(:'manifest_signing_service')
|
|
101
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
102
|
-
end
|
|
103
|
-
|
|
104
98
|
if attributes.key?(:'description')
|
|
105
99
|
self.description = attributes[:'description']
|
|
106
100
|
end
|
|
101
|
+
|
|
102
|
+
if attributes.key?(:'pulp_labels')
|
|
103
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
104
|
+
self.pulp_labels = value
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
107
|
end
|
|
108
108
|
|
|
109
109
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -181,10 +181,10 @@ module PulpContainerClient
|
|
|
181
181
|
return true if self.equal?(o)
|
|
182
182
|
self.class == o.class &&
|
|
183
183
|
name == o.name &&
|
|
184
|
-
pulp_labels == o.pulp_labels &&
|
|
185
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
186
184
|
manifest_signing_service == o.manifest_signing_service &&
|
|
187
|
-
|
|
185
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
186
|
+
description == o.description &&
|
|
187
|
+
pulp_labels == o.pulp_labels
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
# @see the `==` method
|
|
@@ -196,7 +196,7 @@ module PulpContainerClient
|
|
|
196
196
|
# Calculates hash code according to all attributes.
|
|
197
197
|
# @return [Integer] Hash code
|
|
198
198
|
def hash
|
|
199
|
-
[name,
|
|
199
|
+
[name, manifest_signing_service, retain_repo_versions, description, pulp_labels].hash
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
# Builds the object from hash
|