Class: TencentCloud::Dayu::V20180709::DDoSPolicyPacketFilter

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

Overview

DDoS高级策略的报文过滤项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(protocol = nil, sportstart = nil, sportend = nil, dportstart = nil, dportend = nil, pktlenmin = nil, pktlenmax = nil, matchbegin = nil, matchtype = nil, str = nil, depth = nil, offset = nil, isnot = nil, action = nil) ⇒ DDoSPolicyPacketFilter

Returns a new instance of DDoSPolicyPacketFilter.



1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
# File 'lib/v20180709/models.rb', line 1748

def initialize(protocol=nil, sportstart=nil, sportend=nil, dportstart=nil, dportend=nil, pktlenmin=nil, pktlenmax=nil, matchbegin=nil, matchtype=nil, str=nil, depth=nil, offset=nil, isnot=nil, action=nil)
  @Protocol = protocol
  @SportStart = sportstart
  @SportEnd = sportend
  @DportStart = dportstart
  @DportEnd = dportend
  @PktlenMin = pktlenmin
  @PktlenMax = pktlenmax
  @MatchBegin = matchbegin
  @MatchType = matchtype
  @Str = str
  @Depth = depth
  @Offset = offset
  @IsNot = isnot
  @Action = action
end

Instance Attribute Details

#ActionObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def Action
  @Action
end

#DepthObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def Depth
  @Depth
end

#DportEndObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def DportEnd
  @DportEnd
end

#DportStartObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def DportStart
  @DportStart
end

#IsNotObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def IsNot
  @IsNot
end

#MatchBeginObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def MatchBegin
  @MatchBegin
end

#MatchTypeObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def MatchType
  @MatchType
end

#OffsetObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def Offset
  @Offset
end

#PktlenMaxObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def PktlenMax
  @PktlenMax
end

#PktlenMinObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def PktlenMin
  @PktlenMin
end

#ProtocolObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def Protocol
  @Protocol
end

#SportEndObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def SportEnd
  @SportEnd
end

#SportStartObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def SportStart
  @SportStart
end

#StrObject

begin_l3(IP头) begin_l4(TCP头) begin_l5(载荷) no_match(不检测) ]

Parameters:



1746
1747
1748
# File 'lib/v20180709/models.rb', line 1746

def Str
  @Str
end

Instance Method Details

#deserialize(params) ⇒ Object



1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
# File 'lib/v20180709/models.rb', line 1765

def deserialize(params)
  @Protocol = params['Protocol']
  @SportStart = params['SportStart']
  @SportEnd = params['SportEnd']
  @DportStart = params['DportStart']
  @DportEnd = params['DportEnd']
  @PktlenMin = params['PktlenMin']
  @PktlenMax = params['PktlenMax']
  @MatchBegin = params['MatchBegin']
  @MatchType = params['MatchType']
  @Str = params['Str']
  @Depth = params['Depth']
  @Offset = params['Offset']
  @IsNot = params['IsNot']
  @Action = params['Action']
end