pulp_container_client 2.24.10 → 2.24.11
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 +6 -6
- data/docs/ContainerContainerDistributionResponse.md +16 -16
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/DistributionsContainerApi.md +2 -2
- data/docs/DistributionsPullThroughApi.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +53 -53
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +72 -72
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +53 -53
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +72 -72
- data/lib/pulp_container_client/models/container_container_push_repository.rb +25 -25
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +59 -59
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +46 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +46 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +25 -25
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- 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 +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +2 -2
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
|
-
|
|
19
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
20
|
+
attr_accessor :no_content_change_since
|
|
20
21
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
22
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
23
|
+
attr_accessor :name
|
|
23
24
|
|
|
24
|
-
#
|
|
25
|
-
attr_accessor :
|
|
25
|
+
# The Pulp Resource Name (PRN).
|
|
26
|
+
attr_accessor :prn
|
|
26
27
|
|
|
27
28
|
# 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
29
|
attr_accessor :base_path
|
|
29
30
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :
|
|
31
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
32
|
+
attr_accessor :content_guard
|
|
33
|
+
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
|
+
|
|
36
|
+
# Timestamp of creation.
|
|
37
|
+
attr_accessor :pulp_created
|
|
32
38
|
|
|
33
39
|
# Whether this distribution should be shown in the content app.
|
|
34
40
|
attr_accessor :hidden
|
|
35
41
|
|
|
42
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
43
|
+
attr_accessor :repository
|
|
44
|
+
|
|
36
45
|
# 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.
|
|
37
46
|
attr_accessor :pulp_last_updated
|
|
38
47
|
|
|
39
|
-
|
|
40
|
-
attr_accessor :name
|
|
41
|
-
|
|
42
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
43
|
-
attr_accessor :no_content_change_since
|
|
44
|
-
|
|
45
|
-
attr_accessor :pulp_labels
|
|
46
|
-
|
|
47
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
48
|
-
attr_accessor :repository
|
|
48
|
+
attr_accessor :pulp_href
|
|
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
|
-
:'pulp_href' => :'pulp_href',
|
|
69
|
-
:'pulp_created' => :'pulp_created',
|
|
70
|
-
:'content_guard' => :'content_guard',
|
|
71
|
-
:'base_path' => :'base_path',
|
|
72
|
-
:'prn' => :'prn',
|
|
73
|
-
:'hidden' => :'hidden',
|
|
74
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
75
|
-
:'name' => :'name',
|
|
76
68
|
:'no_content_change_since' => :'no_content_change_since',
|
|
69
|
+
:'name' => :'name',
|
|
70
|
+
:'prn' => :'prn',
|
|
71
|
+
:'base_path' => :'base_path',
|
|
72
|
+
:'content_guard' => :'content_guard',
|
|
77
73
|
:'pulp_labels' => :'pulp_labels',
|
|
74
|
+
:'pulp_created' => :'pulp_created',
|
|
75
|
+
:'hidden' => :'hidden',
|
|
78
76
|
:'repository' => :'repository',
|
|
77
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
78
|
+
:'pulp_href' => :'pulp_href',
|
|
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
|
-
:'pulp_href' => :'String',
|
|
96
|
-
:'pulp_created' => :'Time',
|
|
97
|
-
:'content_guard' => :'String',
|
|
98
|
-
:'base_path' => :'String',
|
|
99
|
-
:'prn' => :'String',
|
|
100
|
-
:'hidden' => :'Boolean',
|
|
101
|
-
:'pulp_last_updated' => :'Time',
|
|
102
|
-
:'name' => :'String',
|
|
103
95
|
:'no_content_change_since' => :'String',
|
|
96
|
+
:'name' => :'String',
|
|
97
|
+
:'prn' => :'String',
|
|
98
|
+
:'base_path' => :'String',
|
|
99
|
+
:'content_guard' => :'String',
|
|
104
100
|
:'pulp_labels' => :'Hash<String, String>',
|
|
101
|
+
:'pulp_created' => :'Time',
|
|
102
|
+
:'hidden' => :'Boolean',
|
|
105
103
|
:'repository' => :'String',
|
|
104
|
+
:'pulp_last_updated' => :'Time',
|
|
105
|
+
:'pulp_href' => :'String',
|
|
106
106
|
:'remote' => :'String',
|
|
107
107
|
:'distributions' => :'Array<String>',
|
|
108
108
|
:'namespace' => :'String',
|
|
@@ -134,16 +134,18 @@ module PulpContainerClient
|
|
|
134
134
|
h[k.to_sym] = v
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
if attributes.key?(:'
|
|
138
|
-
self.
|
|
137
|
+
if attributes.key?(:'no_content_change_since')
|
|
138
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
139
139
|
end
|
|
140
140
|
|
|
141
|
-
if attributes.key?(:'
|
|
142
|
-
self.
|
|
141
|
+
if attributes.key?(:'name')
|
|
142
|
+
self.name = attributes[:'name']
|
|
143
|
+
else
|
|
144
|
+
self.name = nil
|
|
143
145
|
end
|
|
144
146
|
|
|
145
|
-
if attributes.key?(:'
|
|
146
|
-
self.
|
|
147
|
+
if attributes.key?(:'prn')
|
|
148
|
+
self.prn = attributes[:'prn']
|
|
147
149
|
end
|
|
148
150
|
|
|
149
151
|
if attributes.key?(:'base_path')
|
|
@@ -152,38 +154,36 @@ module PulpContainerClient
|
|
|
152
154
|
self.base_path = nil
|
|
153
155
|
end
|
|
154
156
|
|
|
155
|
-
if attributes.key?(:'
|
|
156
|
-
self.
|
|
157
|
+
if attributes.key?(:'content_guard')
|
|
158
|
+
self.content_guard = attributes[:'content_guard']
|
|
157
159
|
end
|
|
158
160
|
|
|
159
|
-
if attributes.key?(:'
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
if attributes.key?(:'pulp_labels')
|
|
162
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
163
|
+
self.pulp_labels = value
|
|
164
|
+
end
|
|
163
165
|
end
|
|
164
166
|
|
|
165
|
-
if attributes.key?(:'
|
|
166
|
-
self.
|
|
167
|
+
if attributes.key?(:'pulp_created')
|
|
168
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
167
169
|
end
|
|
168
170
|
|
|
169
|
-
if attributes.key?(:'
|
|
170
|
-
self.
|
|
171
|
+
if attributes.key?(:'hidden')
|
|
172
|
+
self.hidden = attributes[:'hidden']
|
|
171
173
|
else
|
|
172
|
-
self.
|
|
174
|
+
self.hidden = false
|
|
173
175
|
end
|
|
174
176
|
|
|
175
|
-
if attributes.key?(:'
|
|
176
|
-
self.
|
|
177
|
+
if attributes.key?(:'repository')
|
|
178
|
+
self.repository = attributes[:'repository']
|
|
177
179
|
end
|
|
178
180
|
|
|
179
|
-
if attributes.key?(:'
|
|
180
|
-
|
|
181
|
-
self.pulp_labels = value
|
|
182
|
-
end
|
|
181
|
+
if attributes.key?(:'pulp_last_updated')
|
|
182
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
183
183
|
end
|
|
184
184
|
|
|
185
|
-
if attributes.key?(:'
|
|
186
|
-
self.
|
|
185
|
+
if attributes.key?(:'pulp_href')
|
|
186
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
if attributes.key?(:'remote')
|
|
@@ -216,14 +216,14 @@ module PulpContainerClient
|
|
|
216
216
|
def list_invalid_properties
|
|
217
217
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
218
218
|
invalid_properties = Array.new
|
|
219
|
-
if @base_path.nil?
|
|
220
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
221
|
-
end
|
|
222
|
-
|
|
223
219
|
if @name.nil?
|
|
224
220
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
225
221
|
end
|
|
226
222
|
|
|
223
|
+
if @base_path.nil?
|
|
224
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
225
|
+
end
|
|
226
|
+
|
|
227
227
|
if @remote.nil?
|
|
228
228
|
invalid_properties.push('invalid value for "remote", remote cannot be nil.')
|
|
229
229
|
end
|
|
@@ -235,8 +235,8 @@ module PulpContainerClient
|
|
|
235
235
|
# @return true if the model is valid
|
|
236
236
|
def valid?
|
|
237
237
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
238
|
-
return false if @base_path.nil?
|
|
239
238
|
return false if @name.nil?
|
|
239
|
+
return false if @base_path.nil?
|
|
240
240
|
return false if @remote.nil?
|
|
241
241
|
true
|
|
242
242
|
end
|
|
@@ -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
|
-
pulp_href == o.pulp_href &&
|
|
250
|
-
pulp_created == o.pulp_created &&
|
|
251
|
-
content_guard == o.content_guard &&
|
|
252
|
-
base_path == o.base_path &&
|
|
253
|
-
prn == o.prn &&
|
|
254
|
-
hidden == o.hidden &&
|
|
255
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
256
|
-
name == o.name &&
|
|
257
249
|
no_content_change_since == o.no_content_change_since &&
|
|
250
|
+
name == o.name &&
|
|
251
|
+
prn == o.prn &&
|
|
252
|
+
base_path == o.base_path &&
|
|
253
|
+
content_guard == o.content_guard &&
|
|
258
254
|
pulp_labels == o.pulp_labels &&
|
|
255
|
+
pulp_created == o.pulp_created &&
|
|
256
|
+
hidden == o.hidden &&
|
|
259
257
|
repository == o.repository &&
|
|
258
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
259
|
+
pulp_href == o.pulp_href &&
|
|
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
|
+
[no_content_change_since, name, prn, base_path, content_guard, pulp_labels, pulp_created, hidden, repository, pulp_last_updated, pulp_href, remote, distributions, namespace, private, description].hash
|
|
277
277
|
end
|
|
278
278
|
|
|
279
279
|
# Builds the object from hash
|
|
@@ -19,25 +19,25 @@ module PulpContainerClient
|
|
|
19
19
|
# A unique name for this repository.
|
|
20
20
|
attr_accessor :name
|
|
21
21
|
|
|
22
|
+
attr_accessor :pulp_labels
|
|
23
|
+
|
|
24
|
+
# A reference to an associated signing service.
|
|
25
|
+
attr_accessor :manifest_signing_service
|
|
26
|
+
|
|
22
27
|
# An optional description.
|
|
23
28
|
attr_accessor :description
|
|
24
29
|
|
|
25
30
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
26
31
|
attr_accessor :retain_repo_versions
|
|
27
32
|
|
|
28
|
-
attr_accessor :pulp_labels
|
|
29
|
-
|
|
30
|
-
# A reference to an associated signing service.
|
|
31
|
-
attr_accessor :manifest_signing_service
|
|
32
|
-
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
34
|
def self.attribute_map
|
|
35
35
|
{
|
|
36
36
|
:'name' => :'name',
|
|
37
|
-
:'description' => :'description',
|
|
38
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
37
|
:'pulp_labels' => :'pulp_labels',
|
|
40
|
-
:'manifest_signing_service' => :'manifest_signing_service'
|
|
38
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
39
|
+
:'description' => :'description',
|
|
40
|
+
:'retain_repo_versions' => :'retain_repo_versions'
|
|
41
41
|
}
|
|
42
42
|
end
|
|
43
43
|
|
|
@@ -50,19 +50,19 @@ module PulpContainerClient
|
|
|
50
50
|
def self.openapi_types
|
|
51
51
|
{
|
|
52
52
|
:'name' => :'String',
|
|
53
|
-
:'description' => :'String',
|
|
54
|
-
:'retain_repo_versions' => :'Integer',
|
|
55
53
|
:'pulp_labels' => :'Hash<String, String>',
|
|
56
|
-
:'manifest_signing_service' => :'String'
|
|
54
|
+
:'manifest_signing_service' => :'String',
|
|
55
|
+
:'description' => :'String',
|
|
56
|
+
:'retain_repo_versions' => :'Integer'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# List of attributes with nullable: true
|
|
61
61
|
def self.openapi_nullable
|
|
62
62
|
Set.new([
|
|
63
|
+
:'manifest_signing_service',
|
|
63
64
|
:'description',
|
|
64
|
-
:'retain_repo_versions'
|
|
65
|
-
:'manifest_signing_service'
|
|
65
|
+
:'retain_repo_versions'
|
|
66
66
|
])
|
|
67
67
|
end
|
|
68
68
|
|
|
@@ -87,14 +87,6 @@ module PulpContainerClient
|
|
|
87
87
|
self.name = nil
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
if attributes.key?(:'description')
|
|
91
|
-
self.description = attributes[:'description']
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if attributes.key?(:'retain_repo_versions')
|
|
95
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
96
|
-
end
|
|
97
|
-
|
|
98
90
|
if attributes.key?(:'pulp_labels')
|
|
99
91
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
100
92
|
self.pulp_labels = value
|
|
@@ -104,6 +96,14 @@ module PulpContainerClient
|
|
|
104
96
|
if attributes.key?(:'manifest_signing_service')
|
|
105
97
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
106
98
|
end
|
|
99
|
+
|
|
100
|
+
if attributes.key?(:'description')
|
|
101
|
+
self.description = attributes[:'description']
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
if attributes.key?(:'retain_repo_versions')
|
|
105
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
106
|
+
end
|
|
107
107
|
end
|
|
108
108
|
|
|
109
109
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -181,10 +181,10 @@ module PulpContainerClient
|
|
|
181
181
|
return true if self.equal?(o)
|
|
182
182
|
self.class == o.class &&
|
|
183
183
|
name == o.name &&
|
|
184
|
-
description == o.description &&
|
|
185
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
186
184
|
pulp_labels == o.pulp_labels &&
|
|
187
|
-
manifest_signing_service == o.manifest_signing_service
|
|
185
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
186
|
+
description == o.description &&
|
|
187
|
+
retain_repo_versions == o.retain_repo_versions
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
# @see the `==` method
|
|
@@ -196,7 +196,7 @@ module PulpContainerClient
|
|
|
196
196
|
# Calculates hash code according to all attributes.
|
|
197
197
|
# @return [Integer] Hash code
|
|
198
198
|
def hash
|
|
199
|
-
[name,
|
|
199
|
+
[name, pulp_labels, manifest_signing_service, description, retain_repo_versions].hash
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
# Builds the object from hash
|
|
@@ -16,49 +16,49 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class ContainerContainerPushRepositoryResponse
|
|
19
|
-
|
|
19
|
+
# A unique name for this repository.
|
|
20
|
+
attr_accessor :name
|
|
20
21
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
22
|
+
# The Pulp Resource Name (PRN).
|
|
23
|
+
attr_accessor :prn
|
|
23
24
|
|
|
24
25
|
attr_accessor :latest_version_href
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
attr_accessor :pulp_labels
|
|
28
|
+
|
|
29
|
+
# Timestamp of creation.
|
|
30
|
+
attr_accessor :pulp_created
|
|
31
|
+
|
|
32
|
+
# A reference to an associated signing service.
|
|
33
|
+
attr_accessor :manifest_signing_service
|
|
28
34
|
|
|
29
35
|
# 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.
|
|
30
36
|
attr_accessor :pulp_last_updated
|
|
31
37
|
|
|
32
|
-
# A unique name for this repository.
|
|
33
|
-
attr_accessor :name
|
|
34
|
-
|
|
35
38
|
attr_accessor :versions_href
|
|
36
39
|
|
|
40
|
+
attr_accessor :pulp_href
|
|
41
|
+
|
|
37
42
|
# An optional description.
|
|
38
43
|
attr_accessor :description
|
|
39
44
|
|
|
40
45
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
41
46
|
attr_accessor :retain_repo_versions
|
|
42
47
|
|
|
43
|
-
attr_accessor :pulp_labels
|
|
44
|
-
|
|
45
|
-
# A reference to an associated signing service.
|
|
46
|
-
attr_accessor :manifest_signing_service
|
|
47
|
-
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
49
|
def self.attribute_map
|
|
50
50
|
{
|
|
51
|
-
:'
|
|
52
|
-
:'pulp_created' => :'pulp_created',
|
|
53
|
-
:'latest_version_href' => :'latest_version_href',
|
|
51
|
+
:'name' => :'name',
|
|
54
52
|
:'prn' => :'prn',
|
|
53
|
+
:'latest_version_href' => :'latest_version_href',
|
|
54
|
+
:'pulp_labels' => :'pulp_labels',
|
|
55
|
+
:'pulp_created' => :'pulp_created',
|
|
56
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
55
57
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
56
|
-
:'name' => :'name',
|
|
57
58
|
:'versions_href' => :'versions_href',
|
|
59
|
+
:'pulp_href' => :'pulp_href',
|
|
58
60
|
:'description' => :'description',
|
|
59
|
-
:'retain_repo_versions' => :'retain_repo_versions'
|
|
60
|
-
:'pulp_labels' => :'pulp_labels',
|
|
61
|
-
:'manifest_signing_service' => :'manifest_signing_service'
|
|
61
|
+
:'retain_repo_versions' => :'retain_repo_versions'
|
|
62
62
|
}
|
|
63
63
|
end
|
|
64
64
|
|
|
@@ -70,26 +70,26 @@ module PulpContainerClient
|
|
|
70
70
|
# Attribute type mapping.
|
|
71
71
|
def self.openapi_types
|
|
72
72
|
{
|
|
73
|
-
:'
|
|
74
|
-
:'pulp_created' => :'Time',
|
|
75
|
-
:'latest_version_href' => :'String',
|
|
73
|
+
:'name' => :'String',
|
|
76
74
|
:'prn' => :'String',
|
|
75
|
+
:'latest_version_href' => :'String',
|
|
76
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
77
|
+
:'pulp_created' => :'Time',
|
|
78
|
+
:'manifest_signing_service' => :'String',
|
|
77
79
|
:'pulp_last_updated' => :'Time',
|
|
78
|
-
:'name' => :'String',
|
|
79
80
|
:'versions_href' => :'String',
|
|
81
|
+
:'pulp_href' => :'String',
|
|
80
82
|
:'description' => :'String',
|
|
81
|
-
:'retain_repo_versions' => :'Integer'
|
|
82
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
83
|
-
:'manifest_signing_service' => :'String'
|
|
83
|
+
:'retain_repo_versions' => :'Integer'
|
|
84
84
|
}
|
|
85
85
|
end
|
|
86
86
|
|
|
87
87
|
# List of attributes with nullable: true
|
|
88
88
|
def self.openapi_nullable
|
|
89
89
|
Set.new([
|
|
90
|
+
:'manifest_signing_service',
|
|
90
91
|
:'description',
|
|
91
|
-
:'retain_repo_versions'
|
|
92
|
-
:'manifest_signing_service'
|
|
92
|
+
:'retain_repo_versions'
|
|
93
93
|
])
|
|
94
94
|
end
|
|
95
95
|
|
|
@@ -108,36 +108,46 @@ module PulpContainerClient
|
|
|
108
108
|
h[k.to_sym] = v
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
if attributes.key?(:'
|
|
112
|
-
self.
|
|
111
|
+
if attributes.key?(:'name')
|
|
112
|
+
self.name = attributes[:'name']
|
|
113
|
+
else
|
|
114
|
+
self.name = nil
|
|
113
115
|
end
|
|
114
116
|
|
|
115
|
-
if attributes.key?(:'
|
|
116
|
-
self.
|
|
117
|
+
if attributes.key?(:'prn')
|
|
118
|
+
self.prn = attributes[:'prn']
|
|
117
119
|
end
|
|
118
120
|
|
|
119
121
|
if attributes.key?(:'latest_version_href')
|
|
120
122
|
self.latest_version_href = attributes[:'latest_version_href']
|
|
121
123
|
end
|
|
122
124
|
|
|
123
|
-
if attributes.key?(:'
|
|
124
|
-
|
|
125
|
+
if attributes.key?(:'pulp_labels')
|
|
126
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
127
|
+
self.pulp_labels = value
|
|
128
|
+
end
|
|
125
129
|
end
|
|
126
130
|
|
|
127
|
-
if attributes.key?(:'
|
|
128
|
-
self.
|
|
131
|
+
if attributes.key?(:'pulp_created')
|
|
132
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
129
133
|
end
|
|
130
134
|
|
|
131
|
-
if attributes.key?(:'
|
|
132
|
-
self.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
+
if attributes.key?(:'manifest_signing_service')
|
|
136
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
if attributes.key?(:'pulp_last_updated')
|
|
140
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
135
141
|
end
|
|
136
142
|
|
|
137
143
|
if attributes.key?(:'versions_href')
|
|
138
144
|
self.versions_href = attributes[:'versions_href']
|
|
139
145
|
end
|
|
140
146
|
|
|
147
|
+
if attributes.key?(:'pulp_href')
|
|
148
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
149
|
+
end
|
|
150
|
+
|
|
141
151
|
if attributes.key?(:'description')
|
|
142
152
|
self.description = attributes[:'description']
|
|
143
153
|
end
|
|
@@ -145,16 +155,6 @@ module PulpContainerClient
|
|
|
145
155
|
if attributes.key?(:'retain_repo_versions')
|
|
146
156
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
147
157
|
end
|
|
148
|
-
|
|
149
|
-
if attributes.key?(:'pulp_labels')
|
|
150
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
151
|
-
self.pulp_labels = value
|
|
152
|
-
end
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
if attributes.key?(:'manifest_signing_service')
|
|
156
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
157
|
-
end
|
|
158
158
|
end
|
|
159
159
|
|
|
160
160
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -197,17 +197,17 @@ module PulpContainerClient
|
|
|
197
197
|
def ==(o)
|
|
198
198
|
return true if self.equal?(o)
|
|
199
199
|
self.class == o.class &&
|
|
200
|
-
|
|
201
|
-
pulp_created == o.pulp_created &&
|
|
202
|
-
latest_version_href == o.latest_version_href &&
|
|
200
|
+
name == o.name &&
|
|
203
201
|
prn == o.prn &&
|
|
202
|
+
latest_version_href == o.latest_version_href &&
|
|
203
|
+
pulp_labels == o.pulp_labels &&
|
|
204
|
+
pulp_created == o.pulp_created &&
|
|
205
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
204
206
|
pulp_last_updated == o.pulp_last_updated &&
|
|
205
|
-
name == o.name &&
|
|
206
207
|
versions_href == o.versions_href &&
|
|
208
|
+
pulp_href == o.pulp_href &&
|
|
207
209
|
description == o.description &&
|
|
208
|
-
retain_repo_versions == o.retain_repo_versions
|
|
209
|
-
pulp_labels == o.pulp_labels &&
|
|
210
|
-
manifest_signing_service == o.manifest_signing_service
|
|
210
|
+
retain_repo_versions == o.retain_repo_versions
|
|
211
211
|
end
|
|
212
212
|
|
|
213
213
|
# @see the `==` method
|
|
@@ -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
|
+
[name, prn, latest_version_href, pulp_labels, pulp_created, manifest_signing_service, pulp_last_updated, versions_href, pulp_href, description, retain_repo_versions].hash
|
|
223
223
|
end
|
|
224
224
|
|
|
225
225
|
# Builds the object from hash
|