pulp_container_client 2.19.3 → 2.20.0
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 +7 -7
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPullThroughDistribution.md +7 -7
- data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
- data/docs/ContainerManifestResponse.md +0 -2
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +31 -31
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +46 -46
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +31 -31
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +46 -46
- 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 +39 -39
- data/lib/pulp_container_client/models/container_manifest_response.rb +1 -16
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +31 -31
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +31 -31
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +16 -16
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- 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/container_manifest_response_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +2 -2
@@ -15,27 +15,27 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
19
|
+
attr_accessor :content_guard
|
20
20
|
|
21
|
-
#
|
22
|
-
attr_accessor :
|
21
|
+
# Whether this distribution should be shown in the content app.
|
22
|
+
attr_accessor :hidden
|
23
23
|
|
24
24
|
attr_accessor :pulp_href
|
25
25
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
26
|
+
# Timestamp of creation.
|
27
|
+
attr_accessor :pulp_created
|
28
|
+
|
29
|
+
attr_accessor :pulp_labels
|
28
30
|
|
29
31
|
# The latest RepositoryVersion for this Repository will be served.
|
30
32
|
attr_accessor :repository
|
31
33
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
34
|
-
|
35
|
-
# Whether this distribution should be shown in the content app.
|
36
|
-
attr_accessor :hidden
|
34
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
35
|
+
attr_accessor :base_path
|
37
36
|
|
38
|
-
|
37
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
38
|
+
attr_accessor :name
|
39
39
|
|
40
40
|
# RepositoryVersion to be served
|
41
41
|
attr_accessor :repository_version
|
@@ -58,14 +58,14 @@ module PulpContainerClient
|
|
58
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
59
59
|
def self.attribute_map
|
60
60
|
{
|
61
|
-
:'base_path' => :'base_path',
|
62
|
-
:'name' => :'name',
|
63
|
-
:'pulp_href' => :'pulp_href',
|
64
61
|
:'content_guard' => :'content_guard',
|
65
|
-
:'repository' => :'repository',
|
66
|
-
:'pulp_created' => :'pulp_created',
|
67
62
|
:'hidden' => :'hidden',
|
63
|
+
:'pulp_href' => :'pulp_href',
|
64
|
+
:'pulp_created' => :'pulp_created',
|
68
65
|
:'pulp_labels' => :'pulp_labels',
|
66
|
+
:'repository' => :'repository',
|
67
|
+
:'base_path' => :'base_path',
|
68
|
+
:'name' => :'name',
|
69
69
|
:'repository_version' => :'repository_version',
|
70
70
|
:'registry_path' => :'registry_path',
|
71
71
|
:'remote' => :'remote',
|
@@ -78,14 +78,14 @@ module PulpContainerClient
|
|
78
78
|
# Attribute type mapping.
|
79
79
|
def self.openapi_types
|
80
80
|
{
|
81
|
-
:'base_path' => :'String',
|
82
|
-
:'name' => :'String',
|
83
|
-
:'pulp_href' => :'String',
|
84
81
|
:'content_guard' => :'String',
|
85
|
-
:'repository' => :'String',
|
86
|
-
:'pulp_created' => :'DateTime',
|
87
82
|
:'hidden' => :'Boolean',
|
83
|
+
:'pulp_href' => :'String',
|
84
|
+
:'pulp_created' => :'DateTime',
|
88
85
|
:'pulp_labels' => :'Hash<String, String>',
|
86
|
+
:'repository' => :'String',
|
87
|
+
:'base_path' => :'String',
|
88
|
+
:'name' => :'String',
|
89
89
|
:'repository_version' => :'String',
|
90
90
|
:'registry_path' => :'String',
|
91
91
|
:'remote' => :'String',
|
@@ -119,42 +119,42 @@ module PulpContainerClient
|
|
119
119
|
h[k.to_sym] = v
|
120
120
|
}
|
121
121
|
|
122
|
-
if attributes.key?(:'
|
123
|
-
self.
|
122
|
+
if attributes.key?(:'content_guard')
|
123
|
+
self.content_guard = attributes[:'content_guard']
|
124
124
|
end
|
125
125
|
|
126
|
-
if attributes.key?(:'
|
127
|
-
self.
|
126
|
+
if attributes.key?(:'hidden')
|
127
|
+
self.hidden = attributes[:'hidden']
|
128
|
+
else
|
129
|
+
self.hidden = false
|
128
130
|
end
|
129
131
|
|
130
132
|
if attributes.key?(:'pulp_href')
|
131
133
|
self.pulp_href = attributes[:'pulp_href']
|
132
134
|
end
|
133
135
|
|
134
|
-
if attributes.key?(:'content_guard')
|
135
|
-
self.content_guard = attributes[:'content_guard']
|
136
|
-
end
|
137
|
-
|
138
|
-
if attributes.key?(:'repository')
|
139
|
-
self.repository = attributes[:'repository']
|
140
|
-
end
|
141
|
-
|
142
136
|
if attributes.key?(:'pulp_created')
|
143
137
|
self.pulp_created = attributes[:'pulp_created']
|
144
138
|
end
|
145
139
|
|
146
|
-
if attributes.key?(:'hidden')
|
147
|
-
self.hidden = attributes[:'hidden']
|
148
|
-
else
|
149
|
-
self.hidden = false
|
150
|
-
end
|
151
|
-
|
152
140
|
if attributes.key?(:'pulp_labels')
|
153
141
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
154
142
|
self.pulp_labels = value
|
155
143
|
end
|
156
144
|
end
|
157
145
|
|
146
|
+
if attributes.key?(:'repository')
|
147
|
+
self.repository = attributes[:'repository']
|
148
|
+
end
|
149
|
+
|
150
|
+
if attributes.key?(:'base_path')
|
151
|
+
self.base_path = attributes[:'base_path']
|
152
|
+
end
|
153
|
+
|
154
|
+
if attributes.key?(:'name')
|
155
|
+
self.name = attributes[:'name']
|
156
|
+
end
|
157
|
+
|
158
158
|
if attributes.key?(:'repository_version')
|
159
159
|
self.repository_version = attributes[:'repository_version']
|
160
160
|
end
|
@@ -208,14 +208,14 @@ module PulpContainerClient
|
|
208
208
|
def ==(o)
|
209
209
|
return true if self.equal?(o)
|
210
210
|
self.class == o.class &&
|
211
|
-
base_path == o.base_path &&
|
212
|
-
name == o.name &&
|
213
|
-
pulp_href == o.pulp_href &&
|
214
211
|
content_guard == o.content_guard &&
|
215
|
-
repository == o.repository &&
|
216
|
-
pulp_created == o.pulp_created &&
|
217
212
|
hidden == o.hidden &&
|
213
|
+
pulp_href == o.pulp_href &&
|
214
|
+
pulp_created == o.pulp_created &&
|
218
215
|
pulp_labels == o.pulp_labels &&
|
216
|
+
repository == o.repository &&
|
217
|
+
base_path == o.base_path &&
|
218
|
+
name == o.name &&
|
219
219
|
repository_version == o.repository_version &&
|
220
220
|
registry_path == o.registry_path &&
|
221
221
|
remote == o.remote &&
|
@@ -233,7 +233,7 @@ module PulpContainerClient
|
|
233
233
|
# Calculates hash code according to all attributes.
|
234
234
|
# @return [Integer] Hash code
|
235
235
|
def hash
|
236
|
-
[
|
236
|
+
[content_guard, hidden, pulp_href, pulp_created, pulp_labels, repository, base_path, name, repository_version, registry_path, remote, namespace, private, description].hash
|
237
237
|
end
|
238
238
|
|
239
239
|
# Builds the object from hash
|
@@ -15,23 +15,23 @@ 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
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
-
attr_accessor :name
|
23
|
-
|
24
18
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
19
|
attr_accessor :content_guard
|
26
20
|
|
27
|
-
# The latest RepositoryVersion for this Repository will be served.
|
28
|
-
attr_accessor :repository
|
29
|
-
|
30
21
|
# Whether this distribution should be shown in the content app.
|
31
22
|
attr_accessor :hidden
|
32
23
|
|
33
24
|
attr_accessor :pulp_labels
|
34
25
|
|
26
|
+
# The latest RepositoryVersion for this Repository will be served.
|
27
|
+
attr_accessor :repository
|
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
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
33
|
+
attr_accessor :name
|
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
|
-
:'name' => :'name',
|
52
50
|
:'content_guard' => :'content_guard',
|
53
|
-
:'repository' => :'repository',
|
54
51
|
:'hidden' => :'hidden',
|
55
52
|
:'pulp_labels' => :'pulp_labels',
|
53
|
+
:'repository' => :'repository',
|
54
|
+
:'base_path' => :'base_path',
|
55
|
+
:'name' => :'name',
|
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
|
-
:'name' => :'String',
|
68
66
|
:'content_guard' => :'String',
|
69
|
-
:'repository' => :'String',
|
70
67
|
:'hidden' => :'Boolean',
|
71
68
|
:'pulp_labels' => :'Hash<String, String>',
|
69
|
+
:'repository' => :'String',
|
70
|
+
:'base_path' => :'String',
|
71
|
+
:'name' => :'String',
|
72
72
|
:'remote' => :'String',
|
73
73
|
:'distributions' => :'Array<String>',
|
74
74
|
:'private' => :'Boolean',
|
@@ -99,22 +99,10 @@ 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?(:'name')
|
107
|
-
self.name = attributes[:'name']
|
108
|
-
end
|
109
|
-
|
110
102
|
if attributes.key?(:'content_guard')
|
111
103
|
self.content_guard = attributes[:'content_guard']
|
112
104
|
end
|
113
105
|
|
114
|
-
if attributes.key?(:'repository')
|
115
|
-
self.repository = attributes[:'repository']
|
116
|
-
end
|
117
|
-
|
118
106
|
if attributes.key?(:'hidden')
|
119
107
|
self.hidden = attributes[:'hidden']
|
120
108
|
else
|
@@ -127,6 +115,18 @@ module PulpContainerClient
|
|
127
115
|
end
|
128
116
|
end
|
129
117
|
|
118
|
+
if attributes.key?(:'repository')
|
119
|
+
self.repository = attributes[:'repository']
|
120
|
+
end
|
121
|
+
|
122
|
+
if attributes.key?(:'base_path')
|
123
|
+
self.base_path = attributes[:'base_path']
|
124
|
+
end
|
125
|
+
|
126
|
+
if attributes.key?(:'name')
|
127
|
+
self.name = attributes[:'name']
|
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
|
-
name == o.name &&
|
237
235
|
content_guard == o.content_guard &&
|
238
|
-
repository == o.repository &&
|
239
236
|
hidden == o.hidden &&
|
240
237
|
pulp_labels == o.pulp_labels &&
|
238
|
+
repository == o.repository &&
|
239
|
+
base_path == o.base_path &&
|
240
|
+
name == o.name &&
|
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
|
+
[content_guard, hidden, pulp_labels, repository, base_path, name, 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,27 +15,27 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
17
17
|
class ContainerContainerPullThroughDistributionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
19
|
+
attr_accessor :content_guard
|
20
20
|
|
21
|
-
#
|
22
|
-
attr_accessor :
|
21
|
+
# Whether this distribution should be shown in the content app.
|
22
|
+
attr_accessor :hidden
|
23
23
|
|
24
24
|
attr_accessor :pulp_href
|
25
25
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
26
|
+
# Timestamp of creation.
|
27
|
+
attr_accessor :pulp_created
|
28
|
+
|
29
|
+
attr_accessor :pulp_labels
|
28
30
|
|
29
31
|
# The latest RepositoryVersion for this Repository will be served.
|
30
32
|
attr_accessor :repository
|
31
33
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
34
|
-
|
35
|
-
# Whether this distribution should be shown in the content app.
|
36
|
-
attr_accessor :hidden
|
34
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
35
|
+
attr_accessor :base_path
|
37
36
|
|
38
|
-
|
37
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
38
|
+
attr_accessor :name
|
39
39
|
|
40
40
|
# Remote that can be used to fetch content when using pull-through caching.
|
41
41
|
attr_accessor :remote
|
@@ -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
|
-
:'base_path' => :'base_path',
|
59
|
-
:'name' => :'name',
|
60
|
-
:'pulp_href' => :'pulp_href',
|
61
58
|
:'content_guard' => :'content_guard',
|
62
|
-
:'repository' => :'repository',
|
63
|
-
:'pulp_created' => :'pulp_created',
|
64
59
|
:'hidden' => :'hidden',
|
60
|
+
:'pulp_href' => :'pulp_href',
|
61
|
+
:'pulp_created' => :'pulp_created',
|
65
62
|
:'pulp_labels' => :'pulp_labels',
|
63
|
+
:'repository' => :'repository',
|
64
|
+
:'base_path' => :'base_path',
|
65
|
+
:'name' => :'name',
|
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
|
-
:'base_path' => :'String',
|
78
|
-
:'name' => :'String',
|
79
|
-
:'pulp_href' => :'String',
|
80
77
|
:'content_guard' => :'String',
|
81
|
-
:'repository' => :'String',
|
82
|
-
:'pulp_created' => :'DateTime',
|
83
78
|
:'hidden' => :'Boolean',
|
79
|
+
:'pulp_href' => :'String',
|
80
|
+
:'pulp_created' => :'DateTime',
|
84
81
|
:'pulp_labels' => :'Hash<String, String>',
|
82
|
+
:'repository' => :'String',
|
83
|
+
:'base_path' => :'String',
|
84
|
+
:'name' => :'String',
|
85
85
|
:'remote' => :'String',
|
86
86
|
:'distributions' => :'Array<String>',
|
87
87
|
:'namespace' => :'String',
|
@@ -113,42 +113,42 @@ module PulpContainerClient
|
|
113
113
|
h[k.to_sym] = v
|
114
114
|
}
|
115
115
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
self.
|
116
|
+
if attributes.key?(:'content_guard')
|
117
|
+
self.content_guard = attributes[:'content_guard']
|
118
118
|
end
|
119
119
|
|
120
|
-
if attributes.key?(:'
|
121
|
-
self.
|
120
|
+
if attributes.key?(:'hidden')
|
121
|
+
self.hidden = attributes[:'hidden']
|
122
|
+
else
|
123
|
+
self.hidden = false
|
122
124
|
end
|
123
125
|
|
124
126
|
if attributes.key?(:'pulp_href')
|
125
127
|
self.pulp_href = attributes[:'pulp_href']
|
126
128
|
end
|
127
129
|
|
128
|
-
if attributes.key?(:'content_guard')
|
129
|
-
self.content_guard = attributes[:'content_guard']
|
130
|
-
end
|
131
|
-
|
132
|
-
if attributes.key?(:'repository')
|
133
|
-
self.repository = attributes[:'repository']
|
134
|
-
end
|
135
|
-
|
136
130
|
if attributes.key?(:'pulp_created')
|
137
131
|
self.pulp_created = attributes[:'pulp_created']
|
138
132
|
end
|
139
133
|
|
140
|
-
if attributes.key?(:'hidden')
|
141
|
-
self.hidden = attributes[:'hidden']
|
142
|
-
else
|
143
|
-
self.hidden = false
|
144
|
-
end
|
145
|
-
|
146
134
|
if attributes.key?(:'pulp_labels')
|
147
135
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
148
136
|
self.pulp_labels = value
|
149
137
|
end
|
150
138
|
end
|
151
139
|
|
140
|
+
if attributes.key?(:'repository')
|
141
|
+
self.repository = attributes[:'repository']
|
142
|
+
end
|
143
|
+
|
144
|
+
if attributes.key?(:'base_path')
|
145
|
+
self.base_path = attributes[:'base_path']
|
146
|
+
end
|
147
|
+
|
148
|
+
if attributes.key?(:'name')
|
149
|
+
self.name = attributes[:'name']
|
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
|
-
base_path == o.base_path &&
|
209
|
-
name == o.name &&
|
210
|
-
pulp_href == o.pulp_href &&
|
211
208
|
content_guard == o.content_guard &&
|
212
|
-
repository == o.repository &&
|
213
|
-
pulp_created == o.pulp_created &&
|
214
209
|
hidden == o.hidden &&
|
210
|
+
pulp_href == o.pulp_href &&
|
211
|
+
pulp_created == o.pulp_created &&
|
215
212
|
pulp_labels == o.pulp_labels &&
|
213
|
+
repository == o.repository &&
|
214
|
+
base_path == o.base_path &&
|
215
|
+
name == o.name &&
|
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
|
+
[content_guard, hidden, pulp_href, pulp_created, pulp_labels, repository, base_path, name, remote, distributions, namespace, private, description].hash
|
233
233
|
end
|
234
234
|
|
235
235
|
# Builds the object from hash
|
@@ -21,22 +21,22 @@ module PulpContainerClient
|
|
21
21
|
# A reference to an associated signing service.
|
22
22
|
attr_accessor :manifest_signing_service
|
23
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
24
26
|
# A unique name for this repository.
|
25
27
|
attr_accessor :name
|
26
28
|
|
27
29
|
# An optional description.
|
28
30
|
attr_accessor :description
|
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
|
:'manifest_signing_service' => :'manifest_signing_service',
|
37
|
+
:'pulp_labels' => :'pulp_labels',
|
37
38
|
:'name' => :'name',
|
38
|
-
:'description' => :'description'
|
39
|
-
:'pulp_labels' => :'pulp_labels'
|
39
|
+
:'description' => :'description'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -45,9 +45,9 @@ module PulpContainerClient
|
|
45
45
|
{
|
46
46
|
:'retain_repo_versions' => :'Integer',
|
47
47
|
:'manifest_signing_service' => :'String',
|
48
|
+
:'pulp_labels' => :'Hash<String, String>',
|
48
49
|
:'name' => :'String',
|
49
|
-
:'description' => :'String'
|
50
|
-
:'pulp_labels' => :'Hash<String, String>'
|
50
|
+
:'description' => :'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
|
:'manifest_signing_service',
|
59
|
-
:'description'
|
59
|
+
:'description'
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -83,6 +83,12 @@ module PulpContainerClient
|
|
83
83
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
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?(:'name')
|
87
93
|
self.name = attributes[:'name']
|
88
94
|
end
|
@@ -90,12 +96,6 @@ module PulpContainerClient
|
|
90
96
|
if attributes.key?(:'description')
|
91
97
|
self.description = attributes[:'description']
|
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
|
manifest_signing_service == o.manifest_signing_service &&
|
175
|
+
pulp_labels == o.pulp_labels &&
|
175
176
|
name == o.name &&
|
176
|
-
description == o.description
|
177
|
-
pulp_labels == o.pulp_labels
|
177
|
+
description == o.description
|
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, manifest_signing_service, name, description
|
189
|
+
[retain_repo_versions, manifest_signing_service, pulp_labels, name, description].hash
|
190
190
|
end
|
191
191
|
|
192
192
|
# Builds the object from hash
|