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