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.



30596
30597
30598
30599
30600
30601
# File 'lib/v20210820/models.rb', line 30596

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:

    日志大小速度



30594
30595
30596
# File 'lib/v20210820/models.rb', line 30594

def BytesLogSpeed
  @BytesLogSpeed
end

#BytesSpeedListObject

Parameters:

  • RecordsSpeedList:

    同步速度条/s列表

  • BytesSpeedList:

    同步速度字节/s列表

  • RecordsLogSpeed:

    日志条数速度

  • BytesLogSpeed:

    日志大小速度



30594
30595
30596
# File 'lib/v20210820/models.rb', line 30594

def BytesSpeedList
  @BytesSpeedList
end

#RecordsLogSpeedObject

Parameters:

  • RecordsSpeedList:

    同步速度条/s列表

  • BytesSpeedList:

    同步速度字节/s列表

  • RecordsLogSpeed:

    日志条数速度

  • BytesLogSpeed:

    日志大小速度



30594
30595
30596
# File 'lib/v20210820/models.rb', line 30594

def RecordsLogSpeed
  @RecordsLogSpeed
end

#RecordsSpeedListObject

Parameters:

  • RecordsSpeedList:

    同步速度条/s列表

  • BytesSpeedList:

    同步速度字节/s列表

  • RecordsLogSpeed:

    日志条数速度

  • BytesLogSpeed:

    日志大小速度



30594
30595
30596
# File 'lib/v20210820/models.rb', line 30594

def RecordsSpeedList
  @RecordsSpeedList
end

Instance Method Details

#deserialize(params) ⇒ Object



30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
# File 'lib/v20210820/models.rb', line 30603

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