Class: TencentCloud::Cwp::V20180228::DescribeMalwareWhiteListResponse

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

Overview

DescribeMalwareWhiteList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, whitelist = nil, requestid = nil) ⇒ DescribeMalwareWhiteListResponse

Returns a new instance of DescribeMalwareWhiteListResponse.



18586
18587
18588
18589
18590
# File 'lib/v20180228/models.rb', line 18586

def initialize(totalcount=nil, whitelist=nil, requestid=nil)
  @TotalCount = totalcount
  @WhiteList = whitelist
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    总记录数

  • WhiteList:

    白名单列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



18584
18585
18586
# File 'lib/v20180228/models.rb', line 18584

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总记录数

  • WhiteList:

    白名单列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



18584
18585
18586
# File 'lib/v20180228/models.rb', line 18584

def TotalCount
  @TotalCount
end

#WhiteListObject

Parameters:

  • TotalCount:

    总记录数

  • WhiteList:

    白名单列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



18584
18585
18586
# File 'lib/v20180228/models.rb', line 18584

def WhiteList
  @WhiteList
end

Instance Method Details

#deserialize(params) ⇒ Object



18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
# File 'lib/v20180228/models.rb', line 18592

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['WhiteList'].nil?
    @WhiteList = []
    params['WhiteList'].each do |i|
      malwarewhitelistinfo_tmp = MalwareWhiteListInfo.new
      malwarewhitelistinfo_tmp.deserialize(i)
      @WhiteList << malwarewhitelistinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end