Class: TencentCloud::Cwp::V20180228::DescribeMalWareListResponse

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

Overview

DescribeMalWareList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(malwarelist = nil, totalcount = nil, requestid = nil) ⇒ DescribeMalWareListResponse

Returns a new instance of DescribeMalWareListResponse.



18081
18082
18083
18084
18085
# File 'lib/v20180228/models.rb', line 18081

def initialize(malwarelist=nil, totalcount=nil, requestid=nil)
  @MalWareList = malwarelist
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#MalWareListObject

Parameters:

  • MalWareList:

    木马列表

  • TotalCount:

    总数量

  • RequestId:

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



18079
18080
18081
# File 'lib/v20180228/models.rb', line 18079

def MalWareList
  @MalWareList
end

#RequestIdObject

Parameters:

  • MalWareList:

    木马列表

  • TotalCount:

    总数量

  • RequestId:

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



18079
18080
18081
# File 'lib/v20180228/models.rb', line 18079

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • MalWareList:

    木马列表

  • TotalCount:

    总数量

  • RequestId:

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



18079
18080
18081
# File 'lib/v20180228/models.rb', line 18079

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
# File 'lib/v20180228/models.rb', line 18087

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