telestream_cloud_qc 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +58 -0
- data/Rakefile +8 -0
- data/docs/Alert.md +13 -0
- data/docs/AudioStream.md +13 -0
- data/docs/Container.md +9 -0
- data/docs/Data.md +10 -0
- data/docs/Data1.md +9 -0
- data/docs/ExtraFile.md +10 -0
- data/docs/Job.md +12 -0
- data/docs/JobData.md +9 -0
- data/docs/JobDetails.md +9 -0
- data/docs/JobDetailsResult.md +8 -0
- data/docs/JobsCollection.md +12 -0
- data/docs/Media.md +10 -0
- data/docs/Options.md +7 -0
- data/docs/Project.md +12 -0
- data/docs/Proxy.md +12 -0
- data/docs/QcApi.md +719 -0
- data/docs/UploadSession.md +13 -0
- data/docs/VideoStream.md +13 -0
- data/docs/VideoUploadBody.md +12 -0
- data/git_push.sh +55 -0
- data/lib/telestream_cloud_qc/api/qc_api.rb +781 -0
- data/lib/telestream_cloud_qc/api_client.rb +389 -0
- data/lib/telestream_cloud_qc/api_error.rb +38 -0
- data/lib/telestream_cloud_qc/configuration.rb +209 -0
- data/lib/telestream_cloud_qc/models/alert.rb +236 -0
- data/lib/telestream_cloud_qc/models/audio_stream.rb +238 -0
- data/lib/telestream_cloud_qc/models/container.rb +198 -0
- data/lib/telestream_cloud_qc/models/data.rb +208 -0
- data/lib/telestream_cloud_qc/models/data_1.rb +197 -0
- data/lib/telestream_cloud_qc/models/extra_file.rb +221 -0
- data/lib/telestream_cloud_qc/models/job.rb +269 -0
- data/lib/telestream_cloud_qc/models/job_data.rb +197 -0
- data/lib/telestream_cloud_qc/models/job_details.rb +199 -0
- data/lib/telestream_cloud_qc/models/job_details_result.rb +190 -0
- data/lib/telestream_cloud_qc/models/jobs_collection.rb +230 -0
- data/lib/telestream_cloud_qc/models/media.rb +210 -0
- data/lib/telestream_cloud_qc/models/options.rb +179 -0
- data/lib/telestream_cloud_qc/models/project.rb +262 -0
- data/lib/telestream_cloud_qc/models/proxy.rb +224 -0
- data/lib/telestream_cloud_qc/models/upload_session.rb +249 -0
- data/lib/telestream_cloud_qc/models/video_stream.rb +235 -0
- data/lib/telestream_cloud_qc/models/video_upload_body.rb +242 -0
- data/lib/telestream_cloud_qc/uploader.rb +244 -0
- data/lib/telestream_cloud_qc/version.rb +18 -0
- data/lib/telestream_cloud_qc.rb +64 -0
- data/spec/api/qc_api_spec.rb +202 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/alert_spec.rb +72 -0
- data/spec/models/audio_stream_spec.rb +72 -0
- data/spec/models/container_spec.rb +48 -0
- data/spec/models/data_1_spec.rb +48 -0
- data/spec/models/data_spec.rb +54 -0
- data/spec/models/extra_file_spec.rb +54 -0
- data/spec/models/job_data_spec.rb +48 -0
- data/spec/models/job_details_result_spec.rb +42 -0
- data/spec/models/job_details_spec.rb +48 -0
- data/spec/models/job_spec.rb +74 -0
- data/spec/models/jobs_collection_spec.rb +66 -0
- data/spec/models/media_spec.rb +54 -0
- data/spec/models/options_spec.rb +36 -0
- data/spec/models/project_spec.rb +70 -0
- data/spec/models/proxy_spec.rb +66 -0
- data/spec/models/upload_session_spec.rb +72 -0
- data/spec/models/video_stream_spec.rb +72 -0
- data/spec/models/video_upload_body_spec.rb +66 -0
- data/spec/spec_helper.rb +111 -0
- data/telestream_cloud_qc.gemspec +47 -0
- metadata +336 -0
@@ -0,0 +1,249 @@
|
|
1
|
+
=begin
|
2
|
+
#Qc API
|
3
|
+
|
4
|
+
#QC API
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0.0
|
7
|
+
Contact: cloudsupport@telestream.net
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module TelestreamCloud::Qc
|
16
|
+
|
17
|
+
class UploadSession
|
18
|
+
# An unique identifier of the UploadSession.
|
19
|
+
attr_accessor :id
|
20
|
+
|
21
|
+
# An URL to which chunks of the uploaded file should be sent
|
22
|
+
attr_accessor :location
|
23
|
+
|
24
|
+
# A number of chunks that are expected by the upstream.
|
25
|
+
attr_accessor :parts
|
26
|
+
|
27
|
+
# An expected size of uploaded chunks.
|
28
|
+
attr_accessor :part_size
|
29
|
+
|
30
|
+
# A maximum number of concurrent connections.
|
31
|
+
attr_accessor :max_connections
|
32
|
+
|
33
|
+
# An object containing additional files uploaded using the session.
|
34
|
+
attr_accessor :extra_files
|
35
|
+
|
36
|
+
|
37
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
38
|
+
def self.attribute_map
|
39
|
+
{
|
40
|
+
:'id' => :'id',
|
41
|
+
:'location' => :'location',
|
42
|
+
:'parts' => :'parts',
|
43
|
+
:'part_size' => :'part_size',
|
44
|
+
:'max_connections' => :'max_connections',
|
45
|
+
:'extra_files' => :'extra_files'
|
46
|
+
}
|
47
|
+
end
|
48
|
+
|
49
|
+
# Attribute type mapping.
|
50
|
+
def self.swagger_types
|
51
|
+
{
|
52
|
+
:'id' => :'String',
|
53
|
+
:'location' => :'String',
|
54
|
+
:'parts' => :'Integer',
|
55
|
+
:'part_size' => :'Integer',
|
56
|
+
:'max_connections' => :'Integer',
|
57
|
+
:'extra_files' => :'Object'
|
58
|
+
}
|
59
|
+
end
|
60
|
+
|
61
|
+
# Initializes the object
|
62
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
63
|
+
def initialize(attributes = {})
|
64
|
+
return unless attributes.is_a?(Hash)
|
65
|
+
|
66
|
+
# convert string to symbol for hash key
|
67
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
68
|
+
|
69
|
+
if attributes.has_key?(:'id')
|
70
|
+
self.id = attributes[:'id']
|
71
|
+
end
|
72
|
+
|
73
|
+
if attributes.has_key?(:'location')
|
74
|
+
self.location = attributes[:'location']
|
75
|
+
end
|
76
|
+
|
77
|
+
if attributes.has_key?(:'parts')
|
78
|
+
self.parts = attributes[:'parts']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.has_key?(:'part_size')
|
82
|
+
self.part_size = attributes[:'part_size']
|
83
|
+
end
|
84
|
+
|
85
|
+
if attributes.has_key?(:'max_connections')
|
86
|
+
self.max_connections = attributes[:'max_connections']
|
87
|
+
end
|
88
|
+
|
89
|
+
if attributes.has_key?(:'extra_files')
|
90
|
+
self.extra_files = attributes[:'extra_files']
|
91
|
+
end
|
92
|
+
|
93
|
+
end
|
94
|
+
|
95
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
96
|
+
# @return Array for valid properties with the reasons
|
97
|
+
def list_invalid_properties
|
98
|
+
invalid_properties = Array.new
|
99
|
+
if @id.nil?
|
100
|
+
invalid_properties.push("invalid value for 'id', id cannot be nil.")
|
101
|
+
end
|
102
|
+
|
103
|
+
if @location.nil?
|
104
|
+
invalid_properties.push("invalid value for 'location', location cannot be nil.")
|
105
|
+
end
|
106
|
+
|
107
|
+
return invalid_properties
|
108
|
+
end
|
109
|
+
|
110
|
+
# Check to see if the all the properties in the model are valid
|
111
|
+
# @return true if the model is valid
|
112
|
+
def valid?
|
113
|
+
return false if @id.nil?
|
114
|
+
return false if @location.nil?
|
115
|
+
return true
|
116
|
+
end
|
117
|
+
|
118
|
+
# Checks equality by comparing each attribute.
|
119
|
+
# @param [Object] Object to be compared
|
120
|
+
def ==(o)
|
121
|
+
return true if self.equal?(o)
|
122
|
+
self.class == o.class &&
|
123
|
+
id == o.id &&
|
124
|
+
location == o.location &&
|
125
|
+
parts == o.parts &&
|
126
|
+
part_size == o.part_size &&
|
127
|
+
max_connections == o.max_connections &&
|
128
|
+
extra_files == o.extra_files
|
129
|
+
end
|
130
|
+
|
131
|
+
# @see the `==` method
|
132
|
+
# @param [Object] Object to be compared
|
133
|
+
def eql?(o)
|
134
|
+
self == o
|
135
|
+
end
|
136
|
+
|
137
|
+
# Calculates hash code according to all attributes.
|
138
|
+
# @return [Fixnum] Hash code
|
139
|
+
def hash
|
140
|
+
[id, location, parts, part_size, max_connections, extra_files].hash
|
141
|
+
end
|
142
|
+
|
143
|
+
# Builds the object from hash
|
144
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
145
|
+
# @return [Object] Returns the model itself
|
146
|
+
def build_from_hash(attributes)
|
147
|
+
return nil unless attributes.is_a?(Hash)
|
148
|
+
self.class.swagger_types.each_pair do |key, type|
|
149
|
+
if type =~ /\AArray<(.*)>/i
|
150
|
+
# check to ensure the input is an array given that the the attribute
|
151
|
+
# is documented as an array but the input is not
|
152
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
153
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
154
|
+
end
|
155
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
156
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
157
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
158
|
+
end
|
159
|
+
|
160
|
+
self
|
161
|
+
end
|
162
|
+
|
163
|
+
# Deserializes the data based on type
|
164
|
+
# @param string type Data type
|
165
|
+
# @param string value Value to be deserialized
|
166
|
+
# @return [Object] Deserialized data
|
167
|
+
def _deserialize(type, value)
|
168
|
+
case type.to_sym
|
169
|
+
when :DateTime
|
170
|
+
DateTime.parse(value)
|
171
|
+
when :Date
|
172
|
+
Date.parse(value)
|
173
|
+
when :String
|
174
|
+
value.to_s
|
175
|
+
when :Integer
|
176
|
+
value.to_i
|
177
|
+
when :Float
|
178
|
+
value.to_f
|
179
|
+
when :BOOLEAN
|
180
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
181
|
+
true
|
182
|
+
else
|
183
|
+
false
|
184
|
+
end
|
185
|
+
when :Object
|
186
|
+
# generic object (usually a Hash), return directly
|
187
|
+
value
|
188
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
189
|
+
inner_type = Regexp.last_match[:inner_type]
|
190
|
+
value.map { |v| _deserialize(inner_type, v) }
|
191
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
192
|
+
k_type = Regexp.last_match[:k_type]
|
193
|
+
v_type = Regexp.last_match[:v_type]
|
194
|
+
{}.tap do |hash|
|
195
|
+
value.each do |k, v|
|
196
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
197
|
+
end
|
198
|
+
end
|
199
|
+
else # model
|
200
|
+
temp_model = TelestreamCloud::Qc.const_get(type).new
|
201
|
+
temp_model.build_from_hash(value)
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# Returns the string representation of the object
|
206
|
+
# @return [String] String presentation of the object
|
207
|
+
def to_s
|
208
|
+
to_hash.to_s
|
209
|
+
end
|
210
|
+
|
211
|
+
# to_body is an alias to to_hash (backward compatibility)
|
212
|
+
# @return [Hash] Returns the object in the form of hash
|
213
|
+
def to_body
|
214
|
+
to_hash
|
215
|
+
end
|
216
|
+
|
217
|
+
# Returns the object in the form of hash
|
218
|
+
# @return [Hash] Returns the object in the form of hash
|
219
|
+
def to_hash
|
220
|
+
hash = {}
|
221
|
+
self.class.attribute_map.each_pair do |attr, param|
|
222
|
+
value = self.send(attr)
|
223
|
+
next if value.nil?
|
224
|
+
hash[param] = _to_hash(value)
|
225
|
+
end
|
226
|
+
hash
|
227
|
+
end
|
228
|
+
|
229
|
+
# Outputs non-array value in the form of hash
|
230
|
+
# For object, use to_hash. Otherwise, just return the value
|
231
|
+
# @param [Object] value Any valid value
|
232
|
+
# @return [Hash] Returns the value in the form of hash
|
233
|
+
def _to_hash(value)
|
234
|
+
if value.is_a?(Array)
|
235
|
+
value.compact.map{ |v| _to_hash(v) }
|
236
|
+
elsif value.is_a?(Hash)
|
237
|
+
{}.tap do |hash|
|
238
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
239
|
+
end
|
240
|
+
elsif value.respond_to? :to_hash
|
241
|
+
value.to_hash
|
242
|
+
else
|
243
|
+
value
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
end
|
248
|
+
|
249
|
+
end
|
@@ -0,0 +1,235 @@
|
|
1
|
+
=begin
|
2
|
+
#Qc API
|
3
|
+
|
4
|
+
#QC API
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0.0
|
7
|
+
Contact: cloudsupport@telestream.net
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module TelestreamCloud::Qc
|
16
|
+
|
17
|
+
class VideoStream
|
18
|
+
# Video stream duration measured in seconds.
|
19
|
+
attr_accessor :duration
|
20
|
+
|
21
|
+
attr_accessor :codec
|
22
|
+
|
23
|
+
attr_accessor :width
|
24
|
+
|
25
|
+
attr_accessor :height
|
26
|
+
|
27
|
+
# Video stream bitrate measured in bps
|
28
|
+
attr_accessor :bitrate
|
29
|
+
|
30
|
+
attr_accessor :fps
|
31
|
+
|
32
|
+
|
33
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
34
|
+
def self.attribute_map
|
35
|
+
{
|
36
|
+
:'duration' => :'duration',
|
37
|
+
:'codec' => :'codec',
|
38
|
+
:'width' => :'width',
|
39
|
+
:'height' => :'height',
|
40
|
+
:'bitrate' => :'bitrate',
|
41
|
+
:'fps' => :'fps'
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# Attribute type mapping.
|
46
|
+
def self.swagger_types
|
47
|
+
{
|
48
|
+
:'duration' => :'Integer',
|
49
|
+
:'codec' => :'String',
|
50
|
+
:'width' => :'Integer',
|
51
|
+
:'height' => :'Integer',
|
52
|
+
:'bitrate' => :'Integer',
|
53
|
+
:'fps' => :'Float'
|
54
|
+
}
|
55
|
+
end
|
56
|
+
|
57
|
+
# Initializes the object
|
58
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
59
|
+
def initialize(attributes = {})
|
60
|
+
return unless attributes.is_a?(Hash)
|
61
|
+
|
62
|
+
# convert string to symbol for hash key
|
63
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
64
|
+
|
65
|
+
if attributes.has_key?(:'duration')
|
66
|
+
self.duration = attributes[:'duration']
|
67
|
+
end
|
68
|
+
|
69
|
+
if attributes.has_key?(:'codec')
|
70
|
+
self.codec = attributes[:'codec']
|
71
|
+
end
|
72
|
+
|
73
|
+
if attributes.has_key?(:'width')
|
74
|
+
self.width = attributes[:'width']
|
75
|
+
end
|
76
|
+
|
77
|
+
if attributes.has_key?(:'height')
|
78
|
+
self.height = attributes[:'height']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.has_key?(:'bitrate')
|
82
|
+
self.bitrate = attributes[:'bitrate']
|
83
|
+
end
|
84
|
+
|
85
|
+
if attributes.has_key?(:'fps')
|
86
|
+
self.fps = attributes[:'fps']
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
90
|
+
|
91
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
92
|
+
# @return Array for valid properties with the reasons
|
93
|
+
def list_invalid_properties
|
94
|
+
invalid_properties = Array.new
|
95
|
+
return invalid_properties
|
96
|
+
end
|
97
|
+
|
98
|
+
# Check to see if the all the properties in the model are valid
|
99
|
+
# @return true if the model is valid
|
100
|
+
def valid?
|
101
|
+
return true
|
102
|
+
end
|
103
|
+
|
104
|
+
# Checks equality by comparing each attribute.
|
105
|
+
# @param [Object] Object to be compared
|
106
|
+
def ==(o)
|
107
|
+
return true if self.equal?(o)
|
108
|
+
self.class == o.class &&
|
109
|
+
duration == o.duration &&
|
110
|
+
codec == o.codec &&
|
111
|
+
width == o.width &&
|
112
|
+
height == o.height &&
|
113
|
+
bitrate == o.bitrate &&
|
114
|
+
fps == o.fps
|
115
|
+
end
|
116
|
+
|
117
|
+
# @see the `==` method
|
118
|
+
# @param [Object] Object to be compared
|
119
|
+
def eql?(o)
|
120
|
+
self == o
|
121
|
+
end
|
122
|
+
|
123
|
+
# Calculates hash code according to all attributes.
|
124
|
+
# @return [Fixnum] Hash code
|
125
|
+
def hash
|
126
|
+
[duration, codec, width, height, bitrate, fps].hash
|
127
|
+
end
|
128
|
+
|
129
|
+
# Builds the object from hash
|
130
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
131
|
+
# @return [Object] Returns the model itself
|
132
|
+
def build_from_hash(attributes)
|
133
|
+
return nil unless attributes.is_a?(Hash)
|
134
|
+
self.class.swagger_types.each_pair do |key, type|
|
135
|
+
if type =~ /\AArray<(.*)>/i
|
136
|
+
# check to ensure the input is an array given that the the attribute
|
137
|
+
# is documented as an array but the input is not
|
138
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
139
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
140
|
+
end
|
141
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
142
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
143
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
144
|
+
end
|
145
|
+
|
146
|
+
self
|
147
|
+
end
|
148
|
+
|
149
|
+
# Deserializes the data based on type
|
150
|
+
# @param string type Data type
|
151
|
+
# @param string value Value to be deserialized
|
152
|
+
# @return [Object] Deserialized data
|
153
|
+
def _deserialize(type, value)
|
154
|
+
case type.to_sym
|
155
|
+
when :DateTime
|
156
|
+
DateTime.parse(value)
|
157
|
+
when :Date
|
158
|
+
Date.parse(value)
|
159
|
+
when :String
|
160
|
+
value.to_s
|
161
|
+
when :Integer
|
162
|
+
value.to_i
|
163
|
+
when :Float
|
164
|
+
value.to_f
|
165
|
+
when :BOOLEAN
|
166
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
167
|
+
true
|
168
|
+
else
|
169
|
+
false
|
170
|
+
end
|
171
|
+
when :Object
|
172
|
+
# generic object (usually a Hash), return directly
|
173
|
+
value
|
174
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
175
|
+
inner_type = Regexp.last_match[:inner_type]
|
176
|
+
value.map { |v| _deserialize(inner_type, v) }
|
177
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
178
|
+
k_type = Regexp.last_match[:k_type]
|
179
|
+
v_type = Regexp.last_match[:v_type]
|
180
|
+
{}.tap do |hash|
|
181
|
+
value.each do |k, v|
|
182
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
183
|
+
end
|
184
|
+
end
|
185
|
+
else # model
|
186
|
+
temp_model = TelestreamCloud::Qc.const_get(type).new
|
187
|
+
temp_model.build_from_hash(value)
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
# Returns the string representation of the object
|
192
|
+
# @return [String] String presentation of the object
|
193
|
+
def to_s
|
194
|
+
to_hash.to_s
|
195
|
+
end
|
196
|
+
|
197
|
+
# to_body is an alias to to_hash (backward compatibility)
|
198
|
+
# @return [Hash] Returns the object in the form of hash
|
199
|
+
def to_body
|
200
|
+
to_hash
|
201
|
+
end
|
202
|
+
|
203
|
+
# Returns the object in the form of hash
|
204
|
+
# @return [Hash] Returns the object in the form of hash
|
205
|
+
def to_hash
|
206
|
+
hash = {}
|
207
|
+
self.class.attribute_map.each_pair do |attr, param|
|
208
|
+
value = self.send(attr)
|
209
|
+
next if value.nil?
|
210
|
+
hash[param] = _to_hash(value)
|
211
|
+
end
|
212
|
+
hash
|
213
|
+
end
|
214
|
+
|
215
|
+
# Outputs non-array value in the form of hash
|
216
|
+
# For object, use to_hash. Otherwise, just return the value
|
217
|
+
# @param [Object] value Any valid value
|
218
|
+
# @return [Hash] Returns the value in the form of hash
|
219
|
+
def _to_hash(value)
|
220
|
+
if value.is_a?(Array)
|
221
|
+
value.compact.map{ |v| _to_hash(v) }
|
222
|
+
elsif value.is_a?(Hash)
|
223
|
+
{}.tap do |hash|
|
224
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
225
|
+
end
|
226
|
+
elsif value.respond_to? :to_hash
|
227
|
+
value.to_hash
|
228
|
+
else
|
229
|
+
value
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
end
|
234
|
+
|
235
|
+
end
|