Class: TencentCloud::Cwp::V20180228::NetAttackTopInfo

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

Overview

网络攻击top统计数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(agent = nil, srcip = nil, dstport = nil, vul = nil) ⇒ NetAttackTopInfo

Returns a new instance of NetAttackTopInfo.



34771
34772
34773
34774
34775
34776
# File 'lib/v20180228/models.rb', line 34771

def initialize(agent=nil, srcip=nil, dstport=nil, vul=nil)
  @Agent = agent
  @SrcIp = srcip
  @DstPort = dstport
  @Vul = vul
end

Instance Attribute Details

#AgentObject

Parameters:

  • 网络攻击主机维度top统计数据

  • 网络攻击ip来源维度top统计数据

  • 网络攻击目标端口维度top统计数据

  • 网络攻击漏洞维度top统计数据



34769
34770
34771
# File 'lib/v20180228/models.rb', line 34769

def Agent
  @Agent
end

#DstPortObject

Parameters:

  • 网络攻击主机维度top统计数据

  • 网络攻击ip来源维度top统计数据

  • 网络攻击目标端口维度top统计数据

  • 网络攻击漏洞维度top统计数据



34769
34770
34771
# File 'lib/v20180228/models.rb', line 34769

def DstPort
  @DstPort
end

#SrcIpObject

Parameters:

  • 网络攻击主机维度top统计数据

  • 网络攻击ip来源维度top统计数据

  • 网络攻击目标端口维度top统计数据

  • 网络攻击漏洞维度top统计数据



34769
34770
34771
# File 'lib/v20180228/models.rb', line 34769

def SrcIp
  @SrcIp
end

#VulObject

Parameters:

  • 网络攻击主机维度top统计数据

  • 网络攻击ip来源维度top统计数据

  • 网络攻击目标端口维度top统计数据

  • 网络攻击漏洞维度top统计数据



34769
34770
34771
# File 'lib/v20180228/models.rb', line 34769

def Vul
  @Vul
end

Instance Method Details

#deserialize(params) ⇒ Object



34778
34779
34780
34781
34782
34783
34784
34785
34786
34787
34788
34789
34790
34791
34792
34793
34794
34795
34796
34797
34798
34799
34800
34801
34802
34803
34804
34805
34806
34807
34808
34809
34810
34811
# File 'lib/v20180228/models.rb', line 34778

def deserialize(params)
  unless params['Agent'].nil?
    @Agent = []
    params['Agent'].each do |i|
      topinfo_tmp = TopInfo.new
      topinfo_tmp.deserialize(i)
      @Agent << topinfo_tmp
    end
  end
  unless params['SrcIp'].nil?
    @SrcIp = []
    params['SrcIp'].each do |i|
      topinfo_tmp = TopInfo.new
      topinfo_tmp.deserialize(i)
      @SrcIp << topinfo_tmp
    end
  end
  unless params['DstPort'].nil?
    @DstPort = []
    params['DstPort'].each do |i|
      topinfo_tmp = TopInfo.new
      topinfo_tmp.deserialize(i)
      @DstPort << topinfo_tmp
    end
  end
  unless params['Vul'].nil?
    @Vul = []
    params['Vul'].each do |i|
      topinfo_tmp = TopInfo.new
      topinfo_tmp.deserialize(i)
      @Vul << topinfo_tmp
    end
  end
end