Class: TencentCloud::Cwp::V20180228::DescribeRiskDnsEventListResponse

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

Overview

DescribeRiskDnsEventList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeRiskDnsEventListResponse

Returns a new instance of DescribeRiskDnsEventListResponse.



20655
20656
20657
20658
20659
# File 'lib/v20180228/models.rb', line 20655

def initialize(list=nil, totalcount=nil, requestid=nil)
  @List = list
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#ListObject

Parameters:

  • List:

    恶意请求事件列表

  • TotalCount:

    总数

  • RequestId:

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



20653
20654
20655
# File 'lib/v20180228/models.rb', line 20653

def List
  @List
end

#RequestIdObject

Parameters:

  • List:

    恶意请求事件列表

  • TotalCount:

    总数

  • RequestId:

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



20653
20654
20655
# File 'lib/v20180228/models.rb', line 20653

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • List:

    恶意请求事件列表

  • TotalCount:

    总数

  • RequestId:

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



20653
20654
20655
# File 'lib/v20180228/models.rb', line 20653

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
# File 'lib/v20180228/models.rb', line 20661

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