pulp_container_client 2.20.12 → 2.20.14
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 +9 -9
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -38
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +38 -38
- data/lib/pulp_container_client/models/container_container_push_repository.rb +16 -16
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +45 -45
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +16 -16
- 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 +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- 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 +2 -2
|
@@ -18,20 +18,20 @@ module PulpContainerClient
|
|
|
18
18
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
19
19
|
attr_accessor :name
|
|
20
20
|
|
|
21
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
22
|
-
attr_accessor :repository
|
|
23
|
-
|
|
24
21
|
# Whether this distribution should be shown in the content app.
|
|
25
22
|
attr_accessor :hidden
|
|
26
23
|
|
|
24
|
+
attr_accessor :pulp_labels
|
|
25
|
+
|
|
27
26
|
# The registry path exposed by this pull-through distribution.
|
|
28
27
|
attr_accessor :base_path
|
|
29
28
|
|
|
30
|
-
attr_accessor :pulp_labels
|
|
31
|
-
|
|
32
29
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
33
30
|
attr_accessor :content_guard
|
|
34
31
|
|
|
32
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
33
|
+
attr_accessor :repository
|
|
34
|
+
|
|
35
35
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
36
36
|
attr_accessor :remote
|
|
37
37
|
|
|
@@ -48,11 +48,11 @@ module PulpContainerClient
|
|
|
48
48
|
def self.attribute_map
|
|
49
49
|
{
|
|
50
50
|
:'name' => :'name',
|
|
51
|
-
:'repository' => :'repository',
|
|
52
51
|
:'hidden' => :'hidden',
|
|
53
|
-
:'base_path' => :'base_path',
|
|
54
52
|
:'pulp_labels' => :'pulp_labels',
|
|
53
|
+
:'base_path' => :'base_path',
|
|
55
54
|
:'content_guard' => :'content_guard',
|
|
55
|
+
:'repository' => :'repository',
|
|
56
56
|
:'remote' => :'remote',
|
|
57
57
|
:'distributions' => :'distributions',
|
|
58
58
|
:'private' => :'private',
|
|
@@ -64,11 +64,11 @@ module PulpContainerClient
|
|
|
64
64
|
def self.openapi_types
|
|
65
65
|
{
|
|
66
66
|
:'name' => :'String',
|
|
67
|
-
:'repository' => :'String',
|
|
68
67
|
:'hidden' => :'Boolean',
|
|
69
|
-
:'base_path' => :'String',
|
|
70
68
|
:'pulp_labels' => :'Hash<String, String>',
|
|
69
|
+
:'base_path' => :'String',
|
|
71
70
|
:'content_guard' => :'String',
|
|
71
|
+
:'repository' => :'String',
|
|
72
72
|
:'remote' => :'String',
|
|
73
73
|
:'distributions' => :'Array<String>',
|
|
74
74
|
:'private' => :'Boolean',
|
|
@@ -103,30 +103,30 @@ module PulpContainerClient
|
|
|
103
103
|
self.name = attributes[:'name']
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
-
if attributes.key?(:'repository')
|
|
107
|
-
self.repository = attributes[:'repository']
|
|
108
|
-
end
|
|
109
|
-
|
|
110
106
|
if attributes.key?(:'hidden')
|
|
111
107
|
self.hidden = attributes[:'hidden']
|
|
112
108
|
else
|
|
113
109
|
self.hidden = false
|
|
114
110
|
end
|
|
115
111
|
|
|
116
|
-
if attributes.key?(:'base_path')
|
|
117
|
-
self.base_path = attributes[:'base_path']
|
|
118
|
-
end
|
|
119
|
-
|
|
120
112
|
if attributes.key?(:'pulp_labels')
|
|
121
113
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
122
114
|
self.pulp_labels = value
|
|
123
115
|
end
|
|
124
116
|
end
|
|
125
117
|
|
|
118
|
+
if attributes.key?(:'base_path')
|
|
119
|
+
self.base_path = attributes[:'base_path']
|
|
120
|
+
end
|
|
121
|
+
|
|
126
122
|
if attributes.key?(:'content_guard')
|
|
127
123
|
self.content_guard = attributes[:'content_guard']
|
|
128
124
|
end
|
|
129
125
|
|
|
126
|
+
if attributes.key?(:'repository')
|
|
127
|
+
self.repository = attributes[:'repository']
|
|
128
|
+
end
|
|
129
|
+
|
|
130
130
|
if attributes.key?(:'remote')
|
|
131
131
|
self.remote = attributes[:'remote']
|
|
132
132
|
end
|
|
@@ -233,11 +233,11 @@ module PulpContainerClient
|
|
|
233
233
|
return true if self.equal?(o)
|
|
234
234
|
self.class == o.class &&
|
|
235
235
|
name == o.name &&
|
|
236
|
-
repository == o.repository &&
|
|
237
236
|
hidden == o.hidden &&
|
|
238
|
-
base_path == o.base_path &&
|
|
239
237
|
pulp_labels == o.pulp_labels &&
|
|
238
|
+
base_path == o.base_path &&
|
|
240
239
|
content_guard == o.content_guard &&
|
|
240
|
+
repository == o.repository &&
|
|
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
|
-
[name,
|
|
256
|
+
[name, hidden, pulp_labels, base_path, content_guard, repository, 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,31 +15,31 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class ContainerContainerPullThroughDistributionResponse
|
|
18
|
-
attr_accessor :pulp_href
|
|
19
|
-
|
|
20
18
|
# 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.
|
|
21
19
|
attr_accessor :pulp_last_updated
|
|
22
20
|
|
|
23
|
-
# Timestamp of creation.
|
|
24
|
-
attr_accessor :pulp_created
|
|
25
|
-
|
|
26
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
27
22
|
attr_accessor :name
|
|
28
23
|
|
|
29
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
30
|
-
attr_accessor :repository
|
|
31
|
-
|
|
32
24
|
# Whether this distribution should be shown in the content app.
|
|
33
25
|
attr_accessor :hidden
|
|
34
26
|
|
|
27
|
+
attr_accessor :pulp_labels
|
|
28
|
+
|
|
29
|
+
# Timestamp of creation.
|
|
30
|
+
attr_accessor :pulp_created
|
|
31
|
+
|
|
35
32
|
# The registry path exposed by this pull-through distribution.
|
|
36
33
|
attr_accessor :base_path
|
|
37
34
|
|
|
38
|
-
attr_accessor :
|
|
35
|
+
attr_accessor :pulp_href
|
|
39
36
|
|
|
40
37
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
41
38
|
attr_accessor :content_guard
|
|
42
39
|
|
|
40
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
41
|
+
attr_accessor :repository
|
|
42
|
+
|
|
43
43
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
44
44
|
attr_accessor :remote
|
|
45
45
|
|
|
@@ -58,15 +58,15 @@ module PulpContainerClient
|
|
|
58
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
59
59
|
def self.attribute_map
|
|
60
60
|
{
|
|
61
|
-
:'pulp_href' => :'pulp_href',
|
|
62
61
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
63
|
-
:'pulp_created' => :'pulp_created',
|
|
64
62
|
:'name' => :'name',
|
|
65
|
-
:'repository' => :'repository',
|
|
66
63
|
:'hidden' => :'hidden',
|
|
67
|
-
:'base_path' => :'base_path',
|
|
68
64
|
:'pulp_labels' => :'pulp_labels',
|
|
65
|
+
:'pulp_created' => :'pulp_created',
|
|
66
|
+
:'base_path' => :'base_path',
|
|
67
|
+
:'pulp_href' => :'pulp_href',
|
|
69
68
|
:'content_guard' => :'content_guard',
|
|
69
|
+
:'repository' => :'repository',
|
|
70
70
|
:'remote' => :'remote',
|
|
71
71
|
:'distributions' => :'distributions',
|
|
72
72
|
:'namespace' => :'namespace',
|
|
@@ -78,15 +78,15 @@ module PulpContainerClient
|
|
|
78
78
|
# Attribute type mapping.
|
|
79
79
|
def self.openapi_types
|
|
80
80
|
{
|
|
81
|
-
:'pulp_href' => :'String',
|
|
82
81
|
:'pulp_last_updated' => :'DateTime',
|
|
83
|
-
:'pulp_created' => :'DateTime',
|
|
84
82
|
:'name' => :'String',
|
|
85
|
-
:'repository' => :'String',
|
|
86
83
|
:'hidden' => :'Boolean',
|
|
87
|
-
:'base_path' => :'String',
|
|
88
84
|
:'pulp_labels' => :'Hash<String, String>',
|
|
85
|
+
:'pulp_created' => :'DateTime',
|
|
86
|
+
:'base_path' => :'String',
|
|
87
|
+
:'pulp_href' => :'String',
|
|
89
88
|
:'content_guard' => :'String',
|
|
89
|
+
:'repository' => :'String',
|
|
90
90
|
:'remote' => :'String',
|
|
91
91
|
:'distributions' => :'Array<String>',
|
|
92
92
|
:'namespace' => :'String',
|
|
@@ -118,46 +118,46 @@ module PulpContainerClient
|
|
|
118
118
|
h[k.to_sym] = v
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
if attributes.key?(:'pulp_href')
|
|
122
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
123
|
-
end
|
|
124
|
-
|
|
125
121
|
if attributes.key?(:'pulp_last_updated')
|
|
126
122
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
127
123
|
end
|
|
128
124
|
|
|
129
|
-
if attributes.key?(:'pulp_created')
|
|
130
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
131
|
-
end
|
|
132
|
-
|
|
133
125
|
if attributes.key?(:'name')
|
|
134
126
|
self.name = attributes[:'name']
|
|
135
127
|
end
|
|
136
128
|
|
|
137
|
-
if attributes.key?(:'repository')
|
|
138
|
-
self.repository = attributes[:'repository']
|
|
139
|
-
end
|
|
140
|
-
|
|
141
129
|
if attributes.key?(:'hidden')
|
|
142
130
|
self.hidden = attributes[:'hidden']
|
|
143
131
|
else
|
|
144
132
|
self.hidden = false
|
|
145
133
|
end
|
|
146
134
|
|
|
147
|
-
if attributes.key?(:'base_path')
|
|
148
|
-
self.base_path = attributes[:'base_path']
|
|
149
|
-
end
|
|
150
|
-
|
|
151
135
|
if attributes.key?(:'pulp_labels')
|
|
152
136
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
153
137
|
self.pulp_labels = value
|
|
154
138
|
end
|
|
155
139
|
end
|
|
156
140
|
|
|
141
|
+
if attributes.key?(:'pulp_created')
|
|
142
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
if attributes.key?(:'base_path')
|
|
146
|
+
self.base_path = attributes[:'base_path']
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
if attributes.key?(:'pulp_href')
|
|
150
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
151
|
+
end
|
|
152
|
+
|
|
157
153
|
if attributes.key?(:'content_guard')
|
|
158
154
|
self.content_guard = attributes[:'content_guard']
|
|
159
155
|
end
|
|
160
156
|
|
|
157
|
+
if attributes.key?(:'repository')
|
|
158
|
+
self.repository = attributes[:'repository']
|
|
159
|
+
end
|
|
160
|
+
|
|
161
161
|
if attributes.key?(:'remote')
|
|
162
162
|
self.remote = attributes[:'remote']
|
|
163
163
|
end
|
|
@@ -214,15 +214,15 @@ module PulpContainerClient
|
|
|
214
214
|
def ==(o)
|
|
215
215
|
return true if self.equal?(o)
|
|
216
216
|
self.class == o.class &&
|
|
217
|
-
pulp_href == o.pulp_href &&
|
|
218
217
|
pulp_last_updated == o.pulp_last_updated &&
|
|
219
|
-
pulp_created == o.pulp_created &&
|
|
220
218
|
name == o.name &&
|
|
221
|
-
repository == o.repository &&
|
|
222
219
|
hidden == o.hidden &&
|
|
223
|
-
base_path == o.base_path &&
|
|
224
220
|
pulp_labels == o.pulp_labels &&
|
|
221
|
+
pulp_created == o.pulp_created &&
|
|
222
|
+
base_path == o.base_path &&
|
|
223
|
+
pulp_href == o.pulp_href &&
|
|
225
224
|
content_guard == o.content_guard &&
|
|
225
|
+
repository == o.repository &&
|
|
226
226
|
remote == o.remote &&
|
|
227
227
|
distributions == o.distributions &&
|
|
228
228
|
namespace == o.namespace &&
|
|
@@ -239,7 +239,7 @@ module PulpContainerClient
|
|
|
239
239
|
# Calculates hash code according to all attributes.
|
|
240
240
|
# @return [Integer] Hash code
|
|
241
241
|
def hash
|
|
242
|
-
[
|
|
242
|
+
[pulp_last_updated, name, hidden, pulp_labels, pulp_created, base_path, pulp_href, content_guard, repository, remote, distributions, namespace, private, description].hash
|
|
243
243
|
end
|
|
244
244
|
|
|
245
245
|
# Builds the object from hash
|
|
@@ -21,22 +21,22 @@ module PulpContainerClient
|
|
|
21
21
|
# A unique name for this repository.
|
|
22
22
|
attr_accessor :name
|
|
23
23
|
|
|
24
|
+
attr_accessor :pulp_labels
|
|
25
|
+
|
|
24
26
|
# An optional description.
|
|
25
27
|
attr_accessor :description
|
|
26
28
|
|
|
27
29
|
# A reference to an associated signing service.
|
|
28
30
|
attr_accessor :manifest_signing_service
|
|
29
31
|
|
|
30
|
-
attr_accessor :pulp_labels
|
|
31
|
-
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
35
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
36
36
|
:'name' => :'name',
|
|
37
|
+
:'pulp_labels' => :'pulp_labels',
|
|
37
38
|
:'description' => :'description',
|
|
38
|
-
:'manifest_signing_service' => :'manifest_signing_service'
|
|
39
|
-
:'pulp_labels' => :'pulp_labels'
|
|
39
|
+
:'manifest_signing_service' => :'manifest_signing_service'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
42
42
|
|
|
@@ -45,9 +45,9 @@ module PulpContainerClient
|
|
|
45
45
|
{
|
|
46
46
|
:'retain_repo_versions' => :'Integer',
|
|
47
47
|
:'name' => :'String',
|
|
48
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
48
49
|
:'description' => :'String',
|
|
49
|
-
:'manifest_signing_service' => :'String'
|
|
50
|
-
:'pulp_labels' => :'Hash<String, String>'
|
|
50
|
+
:'manifest_signing_service' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
53
53
|
|
|
@@ -56,7 +56,7 @@ module PulpContainerClient
|
|
|
56
56
|
Set.new([
|
|
57
57
|
:'retain_repo_versions',
|
|
58
58
|
:'description',
|
|
59
|
-
:'manifest_signing_service'
|
|
59
|
+
:'manifest_signing_service'
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -83,6 +83,12 @@ module PulpContainerClient
|
|
|
83
83
|
self.name = attributes[:'name']
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
+
if attributes.key?(:'pulp_labels')
|
|
87
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
88
|
+
self.pulp_labels = value
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
86
92
|
if attributes.key?(:'description')
|
|
87
93
|
self.description = attributes[:'description']
|
|
88
94
|
end
|
|
@@ -90,12 +96,6 @@ module PulpContainerClient
|
|
|
90
96
|
if attributes.key?(:'manifest_signing_service')
|
|
91
97
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
92
98
|
end
|
|
93
|
-
|
|
94
|
-
if attributes.key?(:'pulp_labels')
|
|
95
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
96
|
-
self.pulp_labels = value
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -172,9 +172,9 @@ module PulpContainerClient
|
|
|
172
172
|
self.class == o.class &&
|
|
173
173
|
retain_repo_versions == o.retain_repo_versions &&
|
|
174
174
|
name == o.name &&
|
|
175
|
+
pulp_labels == o.pulp_labels &&
|
|
175
176
|
description == o.description &&
|
|
176
|
-
manifest_signing_service == o.manifest_signing_service
|
|
177
|
-
pulp_labels == o.pulp_labels
|
|
177
|
+
manifest_signing_service == o.manifest_signing_service
|
|
178
178
|
end
|
|
179
179
|
|
|
180
180
|
# @see the `==` method
|
|
@@ -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
|
-
[retain_repo_versions, name, description, manifest_signing_service
|
|
189
|
+
[retain_repo_versions, name, pulp_labels, description, manifest_signing_service].hash
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
# Builds the object from hash
|
|
@@ -15,61 +15,61 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
|
-
attr_accessor :pulp_href
|
|
19
|
-
|
|
20
|
-
attr_accessor :versions_href
|
|
21
|
-
|
|
22
18
|
# 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.
|
|
23
19
|
attr_accessor :pulp_last_updated
|
|
24
20
|
|
|
25
21
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
26
22
|
attr_accessor :retain_repo_versions
|
|
27
23
|
|
|
28
|
-
# Timestamp of creation.
|
|
29
|
-
attr_accessor :pulp_created
|
|
30
|
-
|
|
31
24
|
# A unique name for this repository.
|
|
32
25
|
attr_accessor :name
|
|
33
26
|
|
|
27
|
+
attr_accessor :pulp_labels
|
|
28
|
+
|
|
29
|
+
# Timestamp of creation.
|
|
30
|
+
attr_accessor :pulp_created
|
|
31
|
+
|
|
34
32
|
# An optional description.
|
|
35
33
|
attr_accessor :description
|
|
36
34
|
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
attr_accessor :pulp_href
|
|
36
|
+
|
|
37
|
+
attr_accessor :versions_href
|
|
39
38
|
|
|
40
39
|
attr_accessor :latest_version_href
|
|
41
40
|
|
|
42
|
-
|
|
41
|
+
# A reference to an associated signing service.
|
|
42
|
+
attr_accessor :manifest_signing_service
|
|
43
43
|
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
|
-
:'pulp_href' => :'pulp_href',
|
|
48
|
-
:'versions_href' => :'versions_href',
|
|
49
47
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
50
48
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
51
|
-
:'pulp_created' => :'pulp_created',
|
|
52
49
|
:'name' => :'name',
|
|
50
|
+
:'pulp_labels' => :'pulp_labels',
|
|
51
|
+
:'pulp_created' => :'pulp_created',
|
|
53
52
|
:'description' => :'description',
|
|
54
|
-
:'
|
|
53
|
+
:'pulp_href' => :'pulp_href',
|
|
54
|
+
:'versions_href' => :'versions_href',
|
|
55
55
|
:'latest_version_href' => :'latest_version_href',
|
|
56
|
-
:'
|
|
56
|
+
:'manifest_signing_service' => :'manifest_signing_service'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# Attribute type mapping.
|
|
61
61
|
def self.openapi_types
|
|
62
62
|
{
|
|
63
|
-
:'pulp_href' => :'String',
|
|
64
|
-
:'versions_href' => :'String',
|
|
65
63
|
:'pulp_last_updated' => :'DateTime',
|
|
66
64
|
:'retain_repo_versions' => :'Integer',
|
|
67
|
-
:'pulp_created' => :'DateTime',
|
|
68
65
|
:'name' => :'String',
|
|
66
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
67
|
+
:'pulp_created' => :'DateTime',
|
|
69
68
|
:'description' => :'String',
|
|
70
|
-
:'
|
|
69
|
+
:'pulp_href' => :'String',
|
|
70
|
+
:'versions_href' => :'String',
|
|
71
71
|
:'latest_version_href' => :'String',
|
|
72
|
-
:'
|
|
72
|
+
:'manifest_signing_service' => :'String'
|
|
73
73
|
}
|
|
74
74
|
end
|
|
75
75
|
|
|
@@ -78,7 +78,7 @@ module PulpContainerClient
|
|
|
78
78
|
Set.new([
|
|
79
79
|
:'retain_repo_versions',
|
|
80
80
|
:'description',
|
|
81
|
-
:'manifest_signing_service'
|
|
81
|
+
:'manifest_signing_service'
|
|
82
82
|
])
|
|
83
83
|
end
|
|
84
84
|
|
|
@@ -97,14 +97,6 @@ module PulpContainerClient
|
|
|
97
97
|
h[k.to_sym] = v
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
if attributes.key?(:'pulp_href')
|
|
101
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
102
|
-
end
|
|
103
|
-
|
|
104
|
-
if attributes.key?(:'versions_href')
|
|
105
|
-
self.versions_href = attributes[:'versions_href']
|
|
106
|
-
end
|
|
107
|
-
|
|
108
100
|
if attributes.key?(:'pulp_last_updated')
|
|
109
101
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
110
102
|
end
|
|
@@ -113,30 +105,38 @@ module PulpContainerClient
|
|
|
113
105
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
114
106
|
end
|
|
115
107
|
|
|
116
|
-
if attributes.key?(:'pulp_created')
|
|
117
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
118
|
-
end
|
|
119
|
-
|
|
120
108
|
if attributes.key?(:'name')
|
|
121
109
|
self.name = attributes[:'name']
|
|
122
110
|
end
|
|
123
111
|
|
|
112
|
+
if attributes.key?(:'pulp_labels')
|
|
113
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
114
|
+
self.pulp_labels = value
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
if attributes.key?(:'pulp_created')
|
|
119
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
120
|
+
end
|
|
121
|
+
|
|
124
122
|
if attributes.key?(:'description')
|
|
125
123
|
self.description = attributes[:'description']
|
|
126
124
|
end
|
|
127
125
|
|
|
128
|
-
if attributes.key?(:'
|
|
129
|
-
self.
|
|
126
|
+
if attributes.key?(:'pulp_href')
|
|
127
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
if attributes.key?(:'versions_href')
|
|
131
|
+
self.versions_href = attributes[:'versions_href']
|
|
130
132
|
end
|
|
131
133
|
|
|
132
134
|
if attributes.key?(:'latest_version_href')
|
|
133
135
|
self.latest_version_href = attributes[:'latest_version_href']
|
|
134
136
|
end
|
|
135
137
|
|
|
136
|
-
if attributes.key?(:'
|
|
137
|
-
|
|
138
|
-
self.pulp_labels = value
|
|
139
|
-
end
|
|
138
|
+
if attributes.key?(:'manifest_signing_service')
|
|
139
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
140
140
|
end
|
|
141
141
|
end
|
|
142
142
|
|
|
@@ -178,16 +178,16 @@ module PulpContainerClient
|
|
|
178
178
|
def ==(o)
|
|
179
179
|
return true if self.equal?(o)
|
|
180
180
|
self.class == o.class &&
|
|
181
|
-
pulp_href == o.pulp_href &&
|
|
182
|
-
versions_href == o.versions_href &&
|
|
183
181
|
pulp_last_updated == o.pulp_last_updated &&
|
|
184
182
|
retain_repo_versions == o.retain_repo_versions &&
|
|
185
|
-
pulp_created == o.pulp_created &&
|
|
186
183
|
name == o.name &&
|
|
184
|
+
pulp_labels == o.pulp_labels &&
|
|
185
|
+
pulp_created == o.pulp_created &&
|
|
187
186
|
description == o.description &&
|
|
188
|
-
|
|
187
|
+
pulp_href == o.pulp_href &&
|
|
188
|
+
versions_href == o.versions_href &&
|
|
189
189
|
latest_version_href == o.latest_version_href &&
|
|
190
|
-
|
|
190
|
+
manifest_signing_service == o.manifest_signing_service
|
|
191
191
|
end
|
|
192
192
|
|
|
193
193
|
# @see the `==` method
|
|
@@ -199,7 +199,7 @@ module PulpContainerClient
|
|
|
199
199
|
# Calculates hash code according to all attributes.
|
|
200
200
|
# @return [Integer] Hash code
|
|
201
201
|
def hash
|
|
202
|
-
[
|
|
202
|
+
[pulp_last_updated, retain_repo_versions, name, pulp_labels, pulp_created, description, pulp_href, versions_href, latest_version_href, manifest_signing_service].hash
|
|
203
203
|
end
|
|
204
204
|
|
|
205
205
|
# Builds the object from hash
|
|
@@ -18,20 +18,20 @@ module PulpContainerClient
|
|
|
18
18
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
19
19
|
attr_accessor :name
|
|
20
20
|
|
|
21
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
22
|
-
attr_accessor :repository
|
|
23
|
-
|
|
24
21
|
# Whether this distribution should be shown in the content app.
|
|
25
22
|
attr_accessor :hidden
|
|
26
23
|
|
|
24
|
+
attr_accessor :pulp_labels
|
|
25
|
+
|
|
27
26
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
28
27
|
attr_accessor :base_path
|
|
29
28
|
|
|
30
|
-
attr_accessor :pulp_labels
|
|
31
|
-
|
|
32
29
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
33
30
|
attr_accessor :content_guard
|
|
34
31
|
|
|
32
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
33
|
+
attr_accessor :repository
|
|
34
|
+
|
|
35
35
|
# RepositoryVersion to be served
|
|
36
36
|
attr_accessor :repository_version
|
|
37
37
|
|
|
@@ -45,11 +45,11 @@ module PulpContainerClient
|
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
47
|
:'name' => :'name',
|
|
48
|
-
:'repository' => :'repository',
|
|
49
48
|
:'hidden' => :'hidden',
|
|
50
|
-
:'base_path' => :'base_path',
|
|
51
49
|
:'pulp_labels' => :'pulp_labels',
|
|
50
|
+
:'base_path' => :'base_path',
|
|
52
51
|
:'content_guard' => :'content_guard',
|
|
52
|
+
:'repository' => :'repository',
|
|
53
53
|
:'repository_version' => :'repository_version',
|
|
54
54
|
:'private' => :'private',
|
|
55
55
|
:'description' => :'description'
|
|
@@ -60,11 +60,11 @@ module PulpContainerClient
|
|
|
60
60
|
def self.openapi_types
|
|
61
61
|
{
|
|
62
62
|
:'name' => :'String',
|
|
63
|
-
:'repository' => :'String',
|
|
64
63
|
:'hidden' => :'Boolean',
|
|
65
|
-
:'base_path' => :'String',
|
|
66
64
|
:'pulp_labels' => :'Hash<String, String>',
|
|
65
|
+
:'base_path' => :'String',
|
|
67
66
|
:'content_guard' => :'String',
|
|
67
|
+
:'repository' => :'String',
|
|
68
68
|
:'repository_version' => :'String',
|
|
69
69
|
:'private' => :'Boolean',
|
|
70
70
|
:'description' => :'String'
|
|
@@ -99,30 +99,30 @@ module PulpContainerClient
|
|
|
99
99
|
self.name = attributes[:'name']
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
if attributes.key?(:'repository')
|
|
103
|
-
self.repository = attributes[:'repository']
|
|
104
|
-
end
|
|
105
|
-
|
|
106
102
|
if attributes.key?(:'hidden')
|
|
107
103
|
self.hidden = attributes[:'hidden']
|
|
108
104
|
else
|
|
109
105
|
self.hidden = false
|
|
110
106
|
end
|
|
111
107
|
|
|
112
|
-
if attributes.key?(:'base_path')
|
|
113
|
-
self.base_path = attributes[:'base_path']
|
|
114
|
-
end
|
|
115
|
-
|
|
116
108
|
if attributes.key?(:'pulp_labels')
|
|
117
109
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
118
110
|
self.pulp_labels = value
|
|
119
111
|
end
|
|
120
112
|
end
|
|
121
113
|
|
|
114
|
+
if attributes.key?(:'base_path')
|
|
115
|
+
self.base_path = attributes[:'base_path']
|
|
116
|
+
end
|
|
117
|
+
|
|
122
118
|
if attributes.key?(:'content_guard')
|
|
123
119
|
self.content_guard = attributes[:'content_guard']
|
|
124
120
|
end
|
|
125
121
|
|
|
122
|
+
if attributes.key?(:'repository')
|
|
123
|
+
self.repository = attributes[:'repository']
|
|
124
|
+
end
|
|
125
|
+
|
|
126
126
|
if attributes.key?(:'repository_version')
|
|
127
127
|
self.repository_version = attributes[:'repository_version']
|
|
128
128
|
end
|
|
@@ -200,11 +200,11 @@ module PulpContainerClient
|
|
|
200
200
|
return true if self.equal?(o)
|
|
201
201
|
self.class == o.class &&
|
|
202
202
|
name == o.name &&
|
|
203
|
-
repository == o.repository &&
|
|
204
203
|
hidden == o.hidden &&
|
|
205
|
-
base_path == o.base_path &&
|
|
206
204
|
pulp_labels == o.pulp_labels &&
|
|
205
|
+
base_path == o.base_path &&
|
|
207
206
|
content_guard == o.content_guard &&
|
|
207
|
+
repository == o.repository &&
|
|
208
208
|
repository_version == o.repository_version &&
|
|
209
209
|
private == o.private &&
|
|
210
210
|
description == o.description
|
|
@@ -219,7 +219,7 @@ module PulpContainerClient
|
|
|
219
219
|
# Calculates hash code according to all attributes.
|
|
220
220
|
# @return [Integer] Hash code
|
|
221
221
|
def hash
|
|
222
|
-
[name,
|
|
222
|
+
[name, hidden, pulp_labels, base_path, content_guard, repository, repository_version, private, description].hash
|
|
223
223
|
end
|
|
224
224
|
|
|
225
225
|
# Builds the object from hash
|