Class: TencentCloud::Antiddos::V20200309::DescribeOverviewDDoSEventListResponse

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

Overview

DescribeOverviewDDoSEventList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, eventlist = nil, requestid = nil) ⇒ DescribeOverviewDDoSEventListResponse

Returns a new instance of DescribeOverviewDDoSEventListResponse.



5683
5684
5685
5686
5687
# File 'lib/v20200309/models.rb', line 5683

def initialize(total=nil, eventlist=nil, requestid=nil)
  @Total = total
  @EventList = eventlist
  @RequestId = requestid
end

Instance Attribute Details

#EventListObject

Parameters:

  • Total:

    记录总数

  • EventList:

    事件列表

  • RequestId:

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



5681
5682
5683
# File 'lib/v20200309/models.rb', line 5681

def EventList
  @EventList
end

#RequestIdObject

Parameters:

  • Total:

    记录总数

  • EventList:

    事件列表

  • RequestId:

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



5681
5682
5683
# File 'lib/v20200309/models.rb', line 5681

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • Total:

    记录总数

  • EventList:

    事件列表

  • RequestId:

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



5681
5682
5683
# File 'lib/v20200309/models.rb', line 5681

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
# File 'lib/v20200309/models.rb', line 5689

def deserialize(params)
  @Total = params['Total']
  unless params['EventList'].nil?
    @EventList = []
    params['EventList'].each do |i|
      overviewddosevent_tmp = OverviewDDoSEvent.new
      overviewddosevent_tmp.deserialize(i)
      @EventList << overviewddosevent_tmp
    end
  end
  @RequestId = params['RequestId']
end