Class: TencentCloud::Wedata::V20210820::RealTimeTaskSpeed
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::RealTimeTaskSpeed
- Defined in:
- lib/v20210820/models.rb
Overview
实时任务同步速度趋势
Instance Attribute Summary collapse
- #BytesLogSpeed ⇒ Object
- #BytesSpeedList ⇒ Object
- #RecordsLogSpeed ⇒ Object
- #RecordsSpeedList ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(recordsspeedlist = nil, bytesspeedlist = nil, recordslogspeed = nil, byteslogspeed = nil) ⇒ RealTimeTaskSpeed
constructor
A new instance of RealTimeTaskSpeed.
Constructor Details
#initialize(recordsspeedlist = nil, bytesspeedlist = nil, recordslogspeed = nil, byteslogspeed = nil) ⇒ RealTimeTaskSpeed
Returns a new instance of RealTimeTaskSpeed.
29238 29239 29240 29241 29242 29243 |
# File 'lib/v20210820/models.rb', line 29238 def initialize(recordsspeedlist=nil, bytesspeedlist=nil, recordslogspeed=nil, byteslogspeed=nil) @RecordsSpeedList = recordsspeedlist @BytesSpeedList = bytesspeedlist @RecordsLogSpeed = recordslogspeed @BytesLogSpeed = byteslogspeed end |
Instance Attribute Details
#BytesLogSpeed ⇒ Object
29236 29237 29238 |
# File 'lib/v20210820/models.rb', line 29236 def BytesLogSpeed @BytesLogSpeed end |
#BytesSpeedList ⇒ Object
29236 29237 29238 |
# File 'lib/v20210820/models.rb', line 29236 def BytesSpeedList @BytesSpeedList end |
#RecordsLogSpeed ⇒ Object
29236 29237 29238 |
# File 'lib/v20210820/models.rb', line 29236 def RecordsLogSpeed @RecordsLogSpeed end |
#RecordsSpeedList ⇒ Object
29236 29237 29238 |
# File 'lib/v20210820/models.rb', line 29236 def RecordsSpeedList @RecordsSpeedList end |
Instance Method Details
#deserialize(params) ⇒ Object
29245 29246 29247 29248 29249 29250 29251 29252 29253 29254 29255 29256 29257 29258 29259 29260 29261 29262 29263 29264 29265 29266 29267 29268 29269 29270 29271 29272 29273 29274 29275 29276 29277 29278 |
# File 'lib/v20210820/models.rb', line 29245 def deserialize(params) unless params['RecordsSpeedList'].nil? @RecordsSpeedList = [] params['RecordsSpeedList'].each do |i| recordsspeed_tmp = RecordsSpeed.new recordsspeed_tmp.deserialize(i) @RecordsSpeedList << recordsspeed_tmp end end unless params['BytesSpeedList'].nil? @BytesSpeedList = [] params['BytesSpeedList'].each do |i| bytesspeed_tmp = BytesSpeed.new bytesspeed_tmp.deserialize(i) @BytesSpeedList << bytesspeed_tmp end end unless params['RecordsLogSpeed'].nil? @RecordsLogSpeed = [] params['RecordsLogSpeed'].each do |i| recordsspeed_tmp = RecordsSpeed.new recordsspeed_tmp.deserialize(i) @RecordsLogSpeed << recordsspeed_tmp end end unless params['BytesLogSpeed'].nil? @BytesLogSpeed = [] params['BytesLogSpeed'].each do |i| bytesspeed_tmp = BytesSpeed.new bytesspeed_tmp.deserialize(i) @BytesLogSpeed << bytesspeed_tmp end end end |