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.



18305
18306
18307
18308
18309
# File 'lib/v20180228/models.rb', line 18305

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。



18303
18304
18305
# File 'lib/v20180228/models.rb', line 18303

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总记录数

  • WhiteList:

    白名单列表

  • RequestId:

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



18303
18304
18305
# File 'lib/v20180228/models.rb', line 18303

def TotalCount
  @TotalCount
end

#WhiteListObject

Parameters:

  • TotalCount:

    总记录数

  • WhiteList:

    白名单列表

  • RequestId:

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



18303
18304
18305
# File 'lib/v20180228/models.rb', line 18303

def WhiteList
  @WhiteList
end

Instance Method Details

#deserialize(params) ⇒ Object



18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
# File 'lib/v20180228/models.rb', line 18311

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