Class: TencentCloud::Ssa::V20180608::DescribeSocCheckItemListRspRsp

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) ⇒ DescribeSocCheckItemListRspRsp

Returns a new instance of DescribeSocCheckItemListRspRsp.



2509
2510
2511
2512
# File 'lib/v20180608/models.rb', line 2509

def initialize(list=nil, total=nil)
  @List = list
  @Total = total
end

Instance Attribute Details

#ListObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • List:

    检查项详情列表

  • Total:

    检查项总数



2507
2508
2509
# File 'lib/v20180608/models.rb', line 2507

def List
  @List
end

#TotalObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • List:

    检查项详情列表

  • Total:

    检查项总数



2507
2508
2509
# File 'lib/v20180608/models.rb', line 2507

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
# File 'lib/v20180608/models.rb', line 2514

def deserialize(params)
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      soccheckitemv1_tmp = SocCheckItemV1.new
      soccheckitemv1_tmp.deserialize(i)
      @List << soccheckitemv1_tmp
    end
  end
  @Total = params['Total']
end