Class: TencentCloud::Ssa::V20180608::DescribeSocCheckResultListRspRsp

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

Overview

检查项结果详情列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(list = nil, total = nil, lowtotal = nil, middletotal = nil, hightotal = nil, normaltotal = nil) ⇒ DescribeSocCheckResultListRspRsp



2615
2616
2617
2618
2619
2620
2621
2622
# File 'lib/v20180608/models.rb', line 2615

def initialize(list=nil, total=nil, lowtotal=nil, middletotal=nil, hightotal=nil, normaltotal=nil)
  @List = list
  @Total = total
  @LowTotal = lowtotal
  @MiddleTotal = middletotal
  @HighTotal = hightotal
  @NormalTotal = normaltotal
end

Instance Attribute Details

#HighTotalObject



2613
2614
2615
# File 'lib/v20180608/models.rb', line 2613

def HighTotal
  @HighTotal
end

#ListObject



2613
2614
2615
# File 'lib/v20180608/models.rb', line 2613

def List
  @List
end

#LowTotalObject



2613
2614
2615
# File 'lib/v20180608/models.rb', line 2613

def LowTotal
  @LowTotal
end

#MiddleTotalObject



2613
2614
2615
# File 'lib/v20180608/models.rb', line 2613

def MiddleTotal
  @MiddleTotal
end

#NormalTotalObject



2613
2614
2615
# File 'lib/v20180608/models.rb', line 2613

def NormalTotal
  @NormalTotal
end

#TotalObject



2613
2614
2615
# File 'lib/v20180608/models.rb', line 2613

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
# File 'lib/v20180608/models.rb', line 2624

def deserialize(params)
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      soccheckresult_tmp = SocCheckResult.new
      soccheckresult_tmp.deserialize(i)
      @List << soccheckresult_tmp
    end
  end
  @Total = params['Total']
  @LowTotal = params['LowTotal']
  @MiddleTotal = params['MiddleTotal']
  @HighTotal = params['HighTotal']
  @NormalTotal = params['NormalTotal']
end