Class: TencentCloud::Ssa::V20180608::DescribeComplianceAssetListResponse

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

Overview

DescribeComplianceAssetList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(checkassetslist = nil, total = nil, requestid = nil) ⇒ DescribeComplianceAssetListResponse

Returns a new instance of DescribeComplianceAssetListResponse.



1876
1877
1878
1879
1880
# File 'lib/v20180608/models.rb', line 1876

def initialize(checkassetslist=nil, total=nil, requestid=nil)
  @CheckAssetsList = checkassetslist
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#CheckAssetsListObject

Parameters:

  • CheckAssetsList:

    资产组列表

  • Total:

    资产组列表总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1874
1875
1876
# File 'lib/v20180608/models.rb', line 1874

def CheckAssetsList
  @CheckAssetsList
end

#RequestIdObject

Parameters:

  • CheckAssetsList:

    资产组列表

  • Total:

    资产组列表总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1874
1875
1876
# File 'lib/v20180608/models.rb', line 1874

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • CheckAssetsList:

    资产组列表

  • Total:

    资产组列表总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1874
1875
1876
# File 'lib/v20180608/models.rb', line 1874

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
# File 'lib/v20180608/models.rb', line 1882

def deserialize(params)
  unless params['CheckAssetsList'].nil?
    @CheckAssetsList = []
    params['CheckAssetsList'].each do |i|
      checkassetitem_tmp = CheckAssetItem.new
      checkassetitem_tmp.deserialize(i)
      @CheckAssetsList << checkassetitem_tmp
    end
  end
  @Total = params['Total']
  @RequestId = params['RequestId']
end