pulp_rpm_client 3.4.1 → 3.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -19
- data/docs/ContentAdvisoriesApi.md +2 -2
- data/docs/ContentDistributionTreesApi.md +2 -2
- data/docs/ContentModulemdDefaultsApi.md +2 -2
- data/docs/ContentModulemdsApi.md +2 -2
- data/docs/ContentPackagecategoriesApi.md +2 -2
- data/docs/ContentPackageenvironmentsApi.md +2 -2
- data/docs/ContentPackagegroupsApi.md +2 -2
- data/docs/ContentPackagelangpacksApi.md +2 -2
- data/docs/ContentPackagesApi.md +2 -2
- data/docs/ContentRepoMetadataFilesApi.md +2 -2
- data/docs/DistributionsRpmApi.md +2 -2
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PublicationsRpmApi.md +2 -2
- data/docs/RemotesRpmApi.md +4 -4
- data/docs/RepositoriesRpmApi.md +4 -4
- data/docs/RepositoriesRpmVersionsApi.md +6 -4
- data/docs/{RpmDistributionTreeRead.md → RpmDistributionTree.md} +2 -2
- data/docs/{RpmModulemdRead.md → RpmModulemd.md} +2 -2
- data/docs/{RpmModulemdDefaultsRead.md → RpmModulemdDefaults.md} +2 -2
- data/docs/{RpmPackageRead.md → RpmPackage.md} +2 -2
- data/docs/{RpmPackageCategoryRead.md → RpmPackageCategory.md} +2 -2
- data/docs/{RpmPackageEnvironmentRead.md → RpmPackageEnvironment.md} +2 -2
- data/docs/{RpmPackageGroupRead.md → RpmPackageGroup.md} +2 -2
- data/docs/{RpmPackageLangpacksRead.md → RpmPackageLangpacks.md} +2 -2
- data/docs/{RpmRepoMetadataFileRead.md → RpmRepoMetadataFile.md} +2 -2
- data/docs/{RpmUpdateRecordRead.md → RpmUpdateRecord.md} +2 -2
- data/lib/pulp_rpm_client.rb +10 -15
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packages_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +3 -3
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +3 -3
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +3 -3
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +6 -6
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +6 -6
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +9 -6
- data/lib/pulp_rpm_client/models/inline_response200.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20010.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20011.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20012.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20013.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20014.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2008.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_rpm_client/models/{rpm_distribution_tree_read.rb → rpm_distribution_tree.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_modulemd_read.rb → rpm_modulemd.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_modulemd_defaults_read.rb → rpm_modulemd_defaults.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_read.rb → rpm_package.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_category_read.rb → rpm_package_category.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_environment_read.rb → rpm_package_environment.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_group_read.rb → rpm_package_group.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_langpacks_read.rb → rpm_package_langpacks.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_repo_metadata_file_read.rb → rpm_repo_metadata_file.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_update_record_read.rb → rpm_update_record.rb} +3 -3
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/content_advisories_api_spec.rb +1 -1
- data/spec/api/content_distribution_trees_api_spec.rb +1 -1
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -1
- data/spec/api/content_modulemds_api_spec.rb +1 -1
- data/spec/api/content_packagecategories_api_spec.rb +1 -1
- data/spec/api/content_packageenvironments_api_spec.rb +1 -1
- data/spec/api/content_packagegroups_api_spec.rb +1 -1
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
- data/spec/api/distributions_rpm_api_spec.rb +1 -1
- data/spec/api/publications_rpm_api_spec.rb +1 -1
- data/spec/api/remotes_rpm_api_spec.rb +2 -2
- data/spec/api/repositories_rpm_api_spec.rb +2 -2
- data/spec/api/repositories_rpm_versions_api_spec.rb +3 -2
- data/spec/models/{rpm_distribution_tree_read_spec.rb → rpm_distribution_tree_spec.rb} +6 -6
- data/spec/models/{rpm_modulemd_defaults_read_spec.rb → rpm_modulemd_defaults_spec.rb} +6 -6
- data/spec/models/{rpm_modulemd_read_spec.rb → rpm_modulemd_spec.rb} +6 -6
- data/spec/models/{rpm_package_category_read_spec.rb → rpm_package_category_spec.rb} +6 -6
- data/spec/models/{rpm_package_environment_read_spec.rb → rpm_package_environment_spec.rb} +6 -6
- data/spec/models/{rpm_package_group_read_spec.rb → rpm_package_group_spec.rb} +6 -6
- data/spec/models/{rpm_package_langpacks_read_spec.rb → rpm_package_langpacks_spec.rb} +6 -6
- data/spec/models/{rpm_package_read_spec.rb → rpm_package_spec.rb} +6 -6
- data/spec/models/{rpm_repo_metadata_file_read_spec.rb → rpm_repo_metadata_file_spec.rb} +6 -6
- data/spec/models/{rpm_update_record_read_spec.rb → rpm_update_record_spec.rb} +6 -6
- metadata +42 -62
- data/docs/RepositoryVersionRead.md +0 -25
- data/docs/RpmRpmDistributionRead.md +0 -29
- data/docs/RpmRpmPublicationRead.md +0 -27
- data/docs/RpmRpmRemoteRead.md +0 -43
- data/docs/RpmRpmRepositoryRead.md +0 -29
- data/lib/pulp_rpm_client/models/repository_version_read.rb +0 -244
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_read.rb +0 -331
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_read.rb +0 -305
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_read.rb +0 -531
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_read.rb +0 -305
- data/spec/models/repository_version_read_spec.rb +0 -65
- data/spec/models/rpm_rpm_distribution_read_spec.rb +0 -77
- data/spec/models/rpm_rpm_publication_read_spec.rb +0 -79
- data/spec/models/rpm_rpm_remote_read_spec.rb +0 -123
- data/spec/models/rpm_rpm_repository_read_spec.rb +0 -77
@@ -1,305 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
|
15
|
-
module PulpRpmClient
|
16
|
-
class RpmRpmPublicationRead
|
17
|
-
attr_accessor :pulp_href
|
18
|
-
|
19
|
-
# Timestamp of creation.
|
20
|
-
attr_accessor :pulp_created
|
21
|
-
|
22
|
-
attr_accessor :repository_version
|
23
|
-
|
24
|
-
# A URI of the repository to be published.
|
25
|
-
attr_accessor :repository
|
26
|
-
|
27
|
-
# The checksum type for metadata.
|
28
|
-
attr_accessor :metadata_checksum_type
|
29
|
-
|
30
|
-
# The checksum type for packages.
|
31
|
-
attr_accessor :package_checksum_type
|
32
|
-
|
33
|
-
class EnumAttributeValidator
|
34
|
-
attr_reader :datatype
|
35
|
-
attr_reader :allowable_values
|
36
|
-
|
37
|
-
def initialize(datatype, allowable_values)
|
38
|
-
@allowable_values = allowable_values.map do |value|
|
39
|
-
case datatype.to_s
|
40
|
-
when /Integer/i
|
41
|
-
value.to_i
|
42
|
-
when /Float/i
|
43
|
-
value.to_f
|
44
|
-
else
|
45
|
-
value
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
def valid?(value)
|
51
|
-
!value || allowable_values.include?(value)
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
56
|
-
def self.attribute_map
|
57
|
-
{
|
58
|
-
:'pulp_href' => :'pulp_href',
|
59
|
-
:'pulp_created' => :'pulp_created',
|
60
|
-
:'repository_version' => :'repository_version',
|
61
|
-
:'repository' => :'repository',
|
62
|
-
:'metadata_checksum_type' => :'metadata_checksum_type',
|
63
|
-
:'package_checksum_type' => :'package_checksum_type'
|
64
|
-
}
|
65
|
-
end
|
66
|
-
|
67
|
-
# Attribute type mapping.
|
68
|
-
def self.openapi_types
|
69
|
-
{
|
70
|
-
:'pulp_href' => :'String',
|
71
|
-
:'pulp_created' => :'DateTime',
|
72
|
-
:'repository_version' => :'String',
|
73
|
-
:'repository' => :'String',
|
74
|
-
:'metadata_checksum_type' => :'String',
|
75
|
-
:'package_checksum_type' => :'String'
|
76
|
-
}
|
77
|
-
end
|
78
|
-
|
79
|
-
# List of attributes with nullable: true
|
80
|
-
def self.openapi_nullable
|
81
|
-
Set.new([
|
82
|
-
])
|
83
|
-
end
|
84
|
-
|
85
|
-
# Initializes the object
|
86
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
87
|
-
def initialize(attributes = {})
|
88
|
-
if (!attributes.is_a?(Hash))
|
89
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmRpmPublicationRead` initialize method"
|
90
|
-
end
|
91
|
-
|
92
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
93
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
94
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
95
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmRpmPublicationRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
96
|
-
end
|
97
|
-
h[k.to_sym] = v
|
98
|
-
}
|
99
|
-
|
100
|
-
if attributes.key?(:'pulp_href')
|
101
|
-
self.pulp_href = attributes[:'pulp_href']
|
102
|
-
end
|
103
|
-
|
104
|
-
if attributes.key?(:'pulp_created')
|
105
|
-
self.pulp_created = attributes[:'pulp_created']
|
106
|
-
end
|
107
|
-
|
108
|
-
if attributes.key?(:'repository_version')
|
109
|
-
self.repository_version = attributes[:'repository_version']
|
110
|
-
end
|
111
|
-
|
112
|
-
if attributes.key?(:'repository')
|
113
|
-
self.repository = attributes[:'repository']
|
114
|
-
end
|
115
|
-
|
116
|
-
if attributes.key?(:'metadata_checksum_type')
|
117
|
-
self.metadata_checksum_type = attributes[:'metadata_checksum_type']
|
118
|
-
else
|
119
|
-
self.metadata_checksum_type = 'sha256'
|
120
|
-
end
|
121
|
-
|
122
|
-
if attributes.key?(:'package_checksum_type')
|
123
|
-
self.package_checksum_type = attributes[:'package_checksum_type']
|
124
|
-
else
|
125
|
-
self.package_checksum_type = 'sha256'
|
126
|
-
end
|
127
|
-
end
|
128
|
-
|
129
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
130
|
-
# @return Array for valid properties with the reasons
|
131
|
-
def list_invalid_properties
|
132
|
-
invalid_properties = Array.new
|
133
|
-
invalid_properties
|
134
|
-
end
|
135
|
-
|
136
|
-
# Check to see if the all the properties in the model are valid
|
137
|
-
# @return true if the model is valid
|
138
|
-
def valid?
|
139
|
-
metadata_checksum_type_validator = EnumAttributeValidator.new('String', ["unknown", "md5", "sha1", "sha224", "sha256", "sha384", "sha512"])
|
140
|
-
return false unless metadata_checksum_type_validator.valid?(@metadata_checksum_type)
|
141
|
-
package_checksum_type_validator = EnumAttributeValidator.new('String', ["unknown", "md5", "sha1", "sha224", "sha256", "sha384", "sha512"])
|
142
|
-
return false unless package_checksum_type_validator.valid?(@package_checksum_type)
|
143
|
-
true
|
144
|
-
end
|
145
|
-
|
146
|
-
# Custom attribute writer method checking allowed values (enum).
|
147
|
-
# @param [Object] metadata_checksum_type Object to be assigned
|
148
|
-
def metadata_checksum_type=(metadata_checksum_type)
|
149
|
-
validator = EnumAttributeValidator.new('String', ["unknown", "md5", "sha1", "sha224", "sha256", "sha384", "sha512"])
|
150
|
-
unless validator.valid?(metadata_checksum_type)
|
151
|
-
fail ArgumentError, "invalid value for \"metadata_checksum_type\", must be one of #{validator.allowable_values}."
|
152
|
-
end
|
153
|
-
@metadata_checksum_type = metadata_checksum_type
|
154
|
-
end
|
155
|
-
|
156
|
-
# Custom attribute writer method checking allowed values (enum).
|
157
|
-
# @param [Object] package_checksum_type Object to be assigned
|
158
|
-
def package_checksum_type=(package_checksum_type)
|
159
|
-
validator = EnumAttributeValidator.new('String', ["unknown", "md5", "sha1", "sha224", "sha256", "sha384", "sha512"])
|
160
|
-
unless validator.valid?(package_checksum_type)
|
161
|
-
fail ArgumentError, "invalid value for \"package_checksum_type\", must be one of #{validator.allowable_values}."
|
162
|
-
end
|
163
|
-
@package_checksum_type = package_checksum_type
|
164
|
-
end
|
165
|
-
|
166
|
-
# Checks equality by comparing each attribute.
|
167
|
-
# @param [Object] Object to be compared
|
168
|
-
def ==(o)
|
169
|
-
return true if self.equal?(o)
|
170
|
-
self.class == o.class &&
|
171
|
-
pulp_href == o.pulp_href &&
|
172
|
-
pulp_created == o.pulp_created &&
|
173
|
-
repository_version == o.repository_version &&
|
174
|
-
repository == o.repository &&
|
175
|
-
metadata_checksum_type == o.metadata_checksum_type &&
|
176
|
-
package_checksum_type == o.package_checksum_type
|
177
|
-
end
|
178
|
-
|
179
|
-
# @see the `==` method
|
180
|
-
# @param [Object] Object to be compared
|
181
|
-
def eql?(o)
|
182
|
-
self == o
|
183
|
-
end
|
184
|
-
|
185
|
-
# Calculates hash code according to all attributes.
|
186
|
-
# @return [Integer] Hash code
|
187
|
-
def hash
|
188
|
-
[pulp_href, pulp_created, repository_version, repository, metadata_checksum_type, package_checksum_type].hash
|
189
|
-
end
|
190
|
-
|
191
|
-
# Builds the object from hash
|
192
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
193
|
-
# @return [Object] Returns the model itself
|
194
|
-
def self.build_from_hash(attributes)
|
195
|
-
new.build_from_hash(attributes)
|
196
|
-
end
|
197
|
-
|
198
|
-
# Builds the object from hash
|
199
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
200
|
-
# @return [Object] Returns the model itself
|
201
|
-
def build_from_hash(attributes)
|
202
|
-
return nil unless attributes.is_a?(Hash)
|
203
|
-
self.class.openapi_types.each_pair do |key, type|
|
204
|
-
if type =~ /\AArray<(.*)>/i
|
205
|
-
# check to ensure the input is an array given that the attribute
|
206
|
-
# is documented as an array but the input is not
|
207
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
208
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
209
|
-
end
|
210
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
211
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
212
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
213
|
-
end
|
214
|
-
|
215
|
-
self
|
216
|
-
end
|
217
|
-
|
218
|
-
# Deserializes the data based on type
|
219
|
-
# @param string type Data type
|
220
|
-
# @param string value Value to be deserialized
|
221
|
-
# @return [Object] Deserialized data
|
222
|
-
def _deserialize(type, value)
|
223
|
-
case type.to_sym
|
224
|
-
when :DateTime
|
225
|
-
DateTime.parse(value)
|
226
|
-
when :Date
|
227
|
-
Date.parse(value)
|
228
|
-
when :String
|
229
|
-
value.to_s
|
230
|
-
when :Integer
|
231
|
-
value.to_i
|
232
|
-
when :Float
|
233
|
-
value.to_f
|
234
|
-
when :Boolean
|
235
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
236
|
-
true
|
237
|
-
else
|
238
|
-
false
|
239
|
-
end
|
240
|
-
when :Object
|
241
|
-
# generic object (usually a Hash), return directly
|
242
|
-
value
|
243
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
244
|
-
inner_type = Regexp.last_match[:inner_type]
|
245
|
-
value.map { |v| _deserialize(inner_type, v) }
|
246
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
247
|
-
k_type = Regexp.last_match[:k_type]
|
248
|
-
v_type = Regexp.last_match[:v_type]
|
249
|
-
{}.tap do |hash|
|
250
|
-
value.each do |k, v|
|
251
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
252
|
-
end
|
253
|
-
end
|
254
|
-
else # model
|
255
|
-
PulpRpmClient.const_get(type).build_from_hash(value)
|
256
|
-
end
|
257
|
-
end
|
258
|
-
|
259
|
-
# Returns the string representation of the object
|
260
|
-
# @return [String] String presentation of the object
|
261
|
-
def to_s
|
262
|
-
to_hash.to_s
|
263
|
-
end
|
264
|
-
|
265
|
-
# to_body is an alias to to_hash (backward compatibility)
|
266
|
-
# @return [Hash] Returns the object in the form of hash
|
267
|
-
def to_body
|
268
|
-
to_hash
|
269
|
-
end
|
270
|
-
|
271
|
-
# Returns the object in the form of hash
|
272
|
-
# @return [Hash] Returns the object in the form of hash
|
273
|
-
def to_hash
|
274
|
-
hash = {}
|
275
|
-
self.class.attribute_map.each_pair do |attr, param|
|
276
|
-
value = self.send(attr)
|
277
|
-
if value.nil?
|
278
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
279
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
280
|
-
end
|
281
|
-
|
282
|
-
hash[param] = _to_hash(value)
|
283
|
-
end
|
284
|
-
hash
|
285
|
-
end
|
286
|
-
|
287
|
-
# Outputs non-array value in the form of hash
|
288
|
-
# For object, use to_hash. Otherwise, just return the value
|
289
|
-
# @param [Object] value Any valid value
|
290
|
-
# @return [Hash] Returns the value in the form of hash
|
291
|
-
def _to_hash(value)
|
292
|
-
if value.is_a?(Array)
|
293
|
-
value.compact.map { |v| _to_hash(v) }
|
294
|
-
elsif value.is_a?(Hash)
|
295
|
-
{}.tap do |hash|
|
296
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
297
|
-
end
|
298
|
-
elsif value.respond_to? :to_hash
|
299
|
-
value.to_hash
|
300
|
-
else
|
301
|
-
value
|
302
|
-
end
|
303
|
-
end
|
304
|
-
end
|
305
|
-
end
|
@@ -1,531 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
|
15
|
-
module PulpRpmClient
|
16
|
-
class RpmRpmRemoteRead
|
17
|
-
attr_accessor :pulp_href
|
18
|
-
|
19
|
-
# Timestamp of creation.
|
20
|
-
attr_accessor :pulp_created
|
21
|
-
|
22
|
-
# A unique name for this remote.
|
23
|
-
attr_accessor :name
|
24
|
-
|
25
|
-
# The URL of an external content source.
|
26
|
-
attr_accessor :url
|
27
|
-
|
28
|
-
# A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped.
|
29
|
-
attr_accessor :ca_cert
|
30
|
-
|
31
|
-
# A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped.
|
32
|
-
attr_accessor :client_cert
|
33
|
-
|
34
|
-
# A PEM encoded private key used for authentication.
|
35
|
-
attr_accessor :client_key
|
36
|
-
|
37
|
-
# If True, TLS peer validation must be performed.
|
38
|
-
attr_accessor :tls_validation
|
39
|
-
|
40
|
-
# The proxy URL. Format: scheme://user:password@host:port
|
41
|
-
attr_accessor :proxy_url
|
42
|
-
|
43
|
-
# The username to be used for authentication when syncing.
|
44
|
-
attr_accessor :username
|
45
|
-
|
46
|
-
# The password to be used for authentication when syncing.
|
47
|
-
attr_accessor :password
|
48
|
-
|
49
|
-
# Timestamp of the most recent update of the remote.
|
50
|
-
attr_accessor :pulp_last_updated
|
51
|
-
|
52
|
-
# Total number of simultaneous connections.
|
53
|
-
attr_accessor :download_concurrency
|
54
|
-
|
55
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
56
|
-
attr_accessor :policy
|
57
|
-
|
58
|
-
class EnumAttributeValidator
|
59
|
-
attr_reader :datatype
|
60
|
-
attr_reader :allowable_values
|
61
|
-
|
62
|
-
def initialize(datatype, allowable_values)
|
63
|
-
@allowable_values = allowable_values.map do |value|
|
64
|
-
case datatype.to_s
|
65
|
-
when /Integer/i
|
66
|
-
value.to_i
|
67
|
-
when /Float/i
|
68
|
-
value.to_f
|
69
|
-
else
|
70
|
-
value
|
71
|
-
end
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
def valid?(value)
|
76
|
-
!value || allowable_values.include?(value)
|
77
|
-
end
|
78
|
-
end
|
79
|
-
|
80
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
81
|
-
def self.attribute_map
|
82
|
-
{
|
83
|
-
:'pulp_href' => :'pulp_href',
|
84
|
-
:'pulp_created' => :'pulp_created',
|
85
|
-
:'name' => :'name',
|
86
|
-
:'url' => :'url',
|
87
|
-
:'ca_cert' => :'ca_cert',
|
88
|
-
:'client_cert' => :'client_cert',
|
89
|
-
:'client_key' => :'client_key',
|
90
|
-
:'tls_validation' => :'tls_validation',
|
91
|
-
:'proxy_url' => :'proxy_url',
|
92
|
-
:'username' => :'username',
|
93
|
-
:'password' => :'password',
|
94
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
95
|
-
:'download_concurrency' => :'download_concurrency',
|
96
|
-
:'policy' => :'policy'
|
97
|
-
}
|
98
|
-
end
|
99
|
-
|
100
|
-
# Attribute type mapping.
|
101
|
-
def self.openapi_types
|
102
|
-
{
|
103
|
-
:'pulp_href' => :'String',
|
104
|
-
:'pulp_created' => :'DateTime',
|
105
|
-
:'name' => :'String',
|
106
|
-
:'url' => :'String',
|
107
|
-
:'ca_cert' => :'String',
|
108
|
-
:'client_cert' => :'String',
|
109
|
-
:'client_key' => :'String',
|
110
|
-
:'tls_validation' => :'Boolean',
|
111
|
-
:'proxy_url' => :'String',
|
112
|
-
:'username' => :'String',
|
113
|
-
:'password' => :'String',
|
114
|
-
:'pulp_last_updated' => :'DateTime',
|
115
|
-
:'download_concurrency' => :'Integer',
|
116
|
-
:'policy' => :'String'
|
117
|
-
}
|
118
|
-
end
|
119
|
-
|
120
|
-
# List of attributes with nullable: true
|
121
|
-
def self.openapi_nullable
|
122
|
-
Set.new([
|
123
|
-
:'ca_cert',
|
124
|
-
:'client_cert',
|
125
|
-
:'client_key',
|
126
|
-
:'proxy_url',
|
127
|
-
:'username',
|
128
|
-
:'password',
|
129
|
-
])
|
130
|
-
end
|
131
|
-
|
132
|
-
# Initializes the object
|
133
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
134
|
-
def initialize(attributes = {})
|
135
|
-
if (!attributes.is_a?(Hash))
|
136
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmRpmRemoteRead` initialize method"
|
137
|
-
end
|
138
|
-
|
139
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
140
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
141
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
142
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmRpmRemoteRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
143
|
-
end
|
144
|
-
h[k.to_sym] = v
|
145
|
-
}
|
146
|
-
|
147
|
-
if attributes.key?(:'pulp_href')
|
148
|
-
self.pulp_href = attributes[:'pulp_href']
|
149
|
-
end
|
150
|
-
|
151
|
-
if attributes.key?(:'pulp_created')
|
152
|
-
self.pulp_created = attributes[:'pulp_created']
|
153
|
-
end
|
154
|
-
|
155
|
-
if attributes.key?(:'name')
|
156
|
-
self.name = attributes[:'name']
|
157
|
-
end
|
158
|
-
|
159
|
-
if attributes.key?(:'url')
|
160
|
-
self.url = attributes[:'url']
|
161
|
-
end
|
162
|
-
|
163
|
-
if attributes.key?(:'ca_cert')
|
164
|
-
self.ca_cert = attributes[:'ca_cert']
|
165
|
-
end
|
166
|
-
|
167
|
-
if attributes.key?(:'client_cert')
|
168
|
-
self.client_cert = attributes[:'client_cert']
|
169
|
-
end
|
170
|
-
|
171
|
-
if attributes.key?(:'client_key')
|
172
|
-
self.client_key = attributes[:'client_key']
|
173
|
-
end
|
174
|
-
|
175
|
-
if attributes.key?(:'tls_validation')
|
176
|
-
self.tls_validation = attributes[:'tls_validation']
|
177
|
-
end
|
178
|
-
|
179
|
-
if attributes.key?(:'proxy_url')
|
180
|
-
self.proxy_url = attributes[:'proxy_url']
|
181
|
-
end
|
182
|
-
|
183
|
-
if attributes.key?(:'username')
|
184
|
-
self.username = attributes[:'username']
|
185
|
-
end
|
186
|
-
|
187
|
-
if attributes.key?(:'password')
|
188
|
-
self.password = attributes[:'password']
|
189
|
-
end
|
190
|
-
|
191
|
-
if attributes.key?(:'pulp_last_updated')
|
192
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
193
|
-
end
|
194
|
-
|
195
|
-
if attributes.key?(:'download_concurrency')
|
196
|
-
self.download_concurrency = attributes[:'download_concurrency']
|
197
|
-
end
|
198
|
-
|
199
|
-
if attributes.key?(:'policy')
|
200
|
-
self.policy = attributes[:'policy']
|
201
|
-
else
|
202
|
-
self.policy = 'immediate'
|
203
|
-
end
|
204
|
-
end
|
205
|
-
|
206
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
207
|
-
# @return Array for valid properties with the reasons
|
208
|
-
def list_invalid_properties
|
209
|
-
invalid_properties = Array.new
|
210
|
-
if @name.nil?
|
211
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
212
|
-
end
|
213
|
-
|
214
|
-
if @name.to_s.length < 1
|
215
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
216
|
-
end
|
217
|
-
|
218
|
-
if @url.nil?
|
219
|
-
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
220
|
-
end
|
221
|
-
|
222
|
-
if @url.to_s.length < 1
|
223
|
-
invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
|
224
|
-
end
|
225
|
-
|
226
|
-
if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
227
|
-
invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
|
228
|
-
end
|
229
|
-
|
230
|
-
if !@client_cert.nil? && @client_cert.to_s.length < 1
|
231
|
-
invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
|
232
|
-
end
|
233
|
-
|
234
|
-
if !@client_key.nil? && @client_key.to_s.length < 1
|
235
|
-
invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
|
236
|
-
end
|
237
|
-
|
238
|
-
if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
239
|
-
invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
|
240
|
-
end
|
241
|
-
|
242
|
-
if !@username.nil? && @username.to_s.length < 1
|
243
|
-
invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
|
244
|
-
end
|
245
|
-
|
246
|
-
if !@password.nil? && @password.to_s.length < 1
|
247
|
-
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
248
|
-
end
|
249
|
-
|
250
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
251
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
252
|
-
end
|
253
|
-
|
254
|
-
invalid_properties
|
255
|
-
end
|
256
|
-
|
257
|
-
# Check to see if the all the properties in the model are valid
|
258
|
-
# @return true if the model is valid
|
259
|
-
def valid?
|
260
|
-
return false if @name.nil?
|
261
|
-
return false if @name.to_s.length < 1
|
262
|
-
return false if @url.nil?
|
263
|
-
return false if @url.to_s.length < 1
|
264
|
-
return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
|
265
|
-
return false if !@client_cert.nil? && @client_cert.to_s.length < 1
|
266
|
-
return false if !@client_key.nil? && @client_key.to_s.length < 1
|
267
|
-
return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
|
268
|
-
return false if !@username.nil? && @username.to_s.length < 1
|
269
|
-
return false if !@password.nil? && @password.to_s.length < 1
|
270
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
271
|
-
policy_validator = EnumAttributeValidator.new('String', ["immediate", "on_demand", "streamed"])
|
272
|
-
return false unless policy_validator.valid?(@policy)
|
273
|
-
true
|
274
|
-
end
|
275
|
-
|
276
|
-
# Custom attribute writer method with validation
|
277
|
-
# @param [Object] name Value to be assigned
|
278
|
-
def name=(name)
|
279
|
-
if name.nil?
|
280
|
-
fail ArgumentError, 'name cannot be nil'
|
281
|
-
end
|
282
|
-
|
283
|
-
if name.to_s.length < 1
|
284
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
285
|
-
end
|
286
|
-
|
287
|
-
@name = name
|
288
|
-
end
|
289
|
-
|
290
|
-
# Custom attribute writer method with validation
|
291
|
-
# @param [Object] url Value to be assigned
|
292
|
-
def url=(url)
|
293
|
-
if url.nil?
|
294
|
-
fail ArgumentError, 'url cannot be nil'
|
295
|
-
end
|
296
|
-
|
297
|
-
if url.to_s.length < 1
|
298
|
-
fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
|
299
|
-
end
|
300
|
-
|
301
|
-
@url = url
|
302
|
-
end
|
303
|
-
|
304
|
-
# Custom attribute writer method with validation
|
305
|
-
# @param [Object] ca_cert Value to be assigned
|
306
|
-
def ca_cert=(ca_cert)
|
307
|
-
if !ca_cert.nil? && ca_cert.to_s.length < 1
|
308
|
-
fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
|
309
|
-
end
|
310
|
-
|
311
|
-
@ca_cert = ca_cert
|
312
|
-
end
|
313
|
-
|
314
|
-
# Custom attribute writer method with validation
|
315
|
-
# @param [Object] client_cert Value to be assigned
|
316
|
-
def client_cert=(client_cert)
|
317
|
-
if !client_cert.nil? && client_cert.to_s.length < 1
|
318
|
-
fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
|
319
|
-
end
|
320
|
-
|
321
|
-
@client_cert = client_cert
|
322
|
-
end
|
323
|
-
|
324
|
-
# Custom attribute writer method with validation
|
325
|
-
# @param [Object] client_key Value to be assigned
|
326
|
-
def client_key=(client_key)
|
327
|
-
if !client_key.nil? && client_key.to_s.length < 1
|
328
|
-
fail ArgumentError, 'invalid value for "client_key", the character length must be great than or equal to 1.'
|
329
|
-
end
|
330
|
-
|
331
|
-
@client_key = client_key
|
332
|
-
end
|
333
|
-
|
334
|
-
# Custom attribute writer method with validation
|
335
|
-
# @param [Object] proxy_url Value to be assigned
|
336
|
-
def proxy_url=(proxy_url)
|
337
|
-
if !proxy_url.nil? && proxy_url.to_s.length < 1
|
338
|
-
fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
|
339
|
-
end
|
340
|
-
|
341
|
-
@proxy_url = proxy_url
|
342
|
-
end
|
343
|
-
|
344
|
-
# Custom attribute writer method with validation
|
345
|
-
# @param [Object] username Value to be assigned
|
346
|
-
def username=(username)
|
347
|
-
if !username.nil? && username.to_s.length < 1
|
348
|
-
fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
|
349
|
-
end
|
350
|
-
|
351
|
-
@username = username
|
352
|
-
end
|
353
|
-
|
354
|
-
# Custom attribute writer method with validation
|
355
|
-
# @param [Object] password Value to be assigned
|
356
|
-
def password=(password)
|
357
|
-
if !password.nil? && password.to_s.length < 1
|
358
|
-
fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
|
359
|
-
end
|
360
|
-
|
361
|
-
@password = password
|
362
|
-
end
|
363
|
-
|
364
|
-
# Custom attribute writer method with validation
|
365
|
-
# @param [Object] download_concurrency Value to be assigned
|
366
|
-
def download_concurrency=(download_concurrency)
|
367
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
368
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
369
|
-
end
|
370
|
-
|
371
|
-
@download_concurrency = download_concurrency
|
372
|
-
end
|
373
|
-
|
374
|
-
# Custom attribute writer method checking allowed values (enum).
|
375
|
-
# @param [Object] policy Object to be assigned
|
376
|
-
def policy=(policy)
|
377
|
-
validator = EnumAttributeValidator.new('String', ["immediate", "on_demand", "streamed"])
|
378
|
-
unless validator.valid?(policy)
|
379
|
-
fail ArgumentError, "invalid value for \"policy\", must be one of #{validator.allowable_values}."
|
380
|
-
end
|
381
|
-
@policy = policy
|
382
|
-
end
|
383
|
-
|
384
|
-
# Checks equality by comparing each attribute.
|
385
|
-
# @param [Object] Object to be compared
|
386
|
-
def ==(o)
|
387
|
-
return true if self.equal?(o)
|
388
|
-
self.class == o.class &&
|
389
|
-
pulp_href == o.pulp_href &&
|
390
|
-
pulp_created == o.pulp_created &&
|
391
|
-
name == o.name &&
|
392
|
-
url == o.url &&
|
393
|
-
ca_cert == o.ca_cert &&
|
394
|
-
client_cert == o.client_cert &&
|
395
|
-
client_key == o.client_key &&
|
396
|
-
tls_validation == o.tls_validation &&
|
397
|
-
proxy_url == o.proxy_url &&
|
398
|
-
username == o.username &&
|
399
|
-
password == o.password &&
|
400
|
-
pulp_last_updated == o.pulp_last_updated &&
|
401
|
-
download_concurrency == o.download_concurrency &&
|
402
|
-
policy == o.policy
|
403
|
-
end
|
404
|
-
|
405
|
-
# @see the `==` method
|
406
|
-
# @param [Object] Object to be compared
|
407
|
-
def eql?(o)
|
408
|
-
self == o
|
409
|
-
end
|
410
|
-
|
411
|
-
# Calculates hash code according to all attributes.
|
412
|
-
# @return [Integer] Hash code
|
413
|
-
def hash
|
414
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy].hash
|
415
|
-
end
|
416
|
-
|
417
|
-
# Builds the object from hash
|
418
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
419
|
-
# @return [Object] Returns the model itself
|
420
|
-
def self.build_from_hash(attributes)
|
421
|
-
new.build_from_hash(attributes)
|
422
|
-
end
|
423
|
-
|
424
|
-
# Builds the object from hash
|
425
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
426
|
-
# @return [Object] Returns the model itself
|
427
|
-
def build_from_hash(attributes)
|
428
|
-
return nil unless attributes.is_a?(Hash)
|
429
|
-
self.class.openapi_types.each_pair do |key, type|
|
430
|
-
if type =~ /\AArray<(.*)>/i
|
431
|
-
# check to ensure the input is an array given that the attribute
|
432
|
-
# is documented as an array but the input is not
|
433
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
434
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
435
|
-
end
|
436
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
437
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
438
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
439
|
-
end
|
440
|
-
|
441
|
-
self
|
442
|
-
end
|
443
|
-
|
444
|
-
# Deserializes the data based on type
|
445
|
-
# @param string type Data type
|
446
|
-
# @param string value Value to be deserialized
|
447
|
-
# @return [Object] Deserialized data
|
448
|
-
def _deserialize(type, value)
|
449
|
-
case type.to_sym
|
450
|
-
when :DateTime
|
451
|
-
DateTime.parse(value)
|
452
|
-
when :Date
|
453
|
-
Date.parse(value)
|
454
|
-
when :String
|
455
|
-
value.to_s
|
456
|
-
when :Integer
|
457
|
-
value.to_i
|
458
|
-
when :Float
|
459
|
-
value.to_f
|
460
|
-
when :Boolean
|
461
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
462
|
-
true
|
463
|
-
else
|
464
|
-
false
|
465
|
-
end
|
466
|
-
when :Object
|
467
|
-
# generic object (usually a Hash), return directly
|
468
|
-
value
|
469
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
470
|
-
inner_type = Regexp.last_match[:inner_type]
|
471
|
-
value.map { |v| _deserialize(inner_type, v) }
|
472
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
473
|
-
k_type = Regexp.last_match[:k_type]
|
474
|
-
v_type = Regexp.last_match[:v_type]
|
475
|
-
{}.tap do |hash|
|
476
|
-
value.each do |k, v|
|
477
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
478
|
-
end
|
479
|
-
end
|
480
|
-
else # model
|
481
|
-
PulpRpmClient.const_get(type).build_from_hash(value)
|
482
|
-
end
|
483
|
-
end
|
484
|
-
|
485
|
-
# Returns the string representation of the object
|
486
|
-
# @return [String] String presentation of the object
|
487
|
-
def to_s
|
488
|
-
to_hash.to_s
|
489
|
-
end
|
490
|
-
|
491
|
-
# to_body is an alias to to_hash (backward compatibility)
|
492
|
-
# @return [Hash] Returns the object in the form of hash
|
493
|
-
def to_body
|
494
|
-
to_hash
|
495
|
-
end
|
496
|
-
|
497
|
-
# Returns the object in the form of hash
|
498
|
-
# @return [Hash] Returns the object in the form of hash
|
499
|
-
def to_hash
|
500
|
-
hash = {}
|
501
|
-
self.class.attribute_map.each_pair do |attr, param|
|
502
|
-
value = self.send(attr)
|
503
|
-
if value.nil?
|
504
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
505
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
506
|
-
end
|
507
|
-
|
508
|
-
hash[param] = _to_hash(value)
|
509
|
-
end
|
510
|
-
hash
|
511
|
-
end
|
512
|
-
|
513
|
-
# Outputs non-array value in the form of hash
|
514
|
-
# For object, use to_hash. Otherwise, just return the value
|
515
|
-
# @param [Object] value Any valid value
|
516
|
-
# @return [Hash] Returns the value in the form of hash
|
517
|
-
def _to_hash(value)
|
518
|
-
if value.is_a?(Array)
|
519
|
-
value.compact.map { |v| _to_hash(v) }
|
520
|
-
elsif value.is_a?(Hash)
|
521
|
-
{}.tap do |hash|
|
522
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
523
|
-
end
|
524
|
-
elsif value.respond_to? :to_hash
|
525
|
-
value.to_hash
|
526
|
-
else
|
527
|
-
value
|
528
|
-
end
|
529
|
-
end
|
530
|
-
end
|
531
|
-
end
|