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