Class: TencentCloud::Wedata::V20210820::RealTimeTaskSpeed

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210820/models.rb

Overview

实时任务同步速度趋势

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BytesLogSpeedObject

Parameters:

  • RecordsSpeedList:

    同步速度条/s列表

  • BytesSpeedList:

    同步速度字节/s列表

  • RecordsLogSpeed:

    日志条数速度

  • BytesLogSpeed:

    日志大小速度



29236
29237
29238
# File 'lib/v20210820/models.rb', line 29236

def BytesLogSpeed
  @BytesLogSpeed
end

#BytesSpeedListObject

Parameters:

  • RecordsSpeedList:

    同步速度条/s列表

  • BytesSpeedList:

    同步速度字节/s列表

  • RecordsLogSpeed:

    日志条数速度

  • BytesLogSpeed:

    日志大小速度



29236
29237
29238
# File 'lib/v20210820/models.rb', line 29236

def BytesSpeedList
  @BytesSpeedList
end

#RecordsLogSpeedObject

Parameters:

  • RecordsSpeedList:

    同步速度条/s列表

  • BytesSpeedList:

    同步速度字节/s列表

  • RecordsLogSpeed:

    日志条数速度

  • BytesLogSpeed:

    日志大小速度



29236
29237
29238
# File 'lib/v20210820/models.rb', line 29236

def RecordsLogSpeed
  @RecordsLogSpeed
end

#RecordsSpeedListObject

Parameters:

  • RecordsSpeedList:

    同步速度条/s列表

  • BytesSpeedList:

    同步速度字节/s列表

  • RecordsLogSpeed:

    日志条数速度

  • BytesLogSpeed:

    日志大小速度



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