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