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