Class: TencentCloud::Waf::V20180125::SessionItem

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

Overview

session定义

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(category = nil, keyorstartmat = nil, endmat = nil, startoffset = nil, endoffset = nil, source = nil, tsversion = nil, sessionid = nil, sessionname = nil, sessioninused = nil, relatedruleid = nil, key = nil) ⇒ SessionItem

Returns a new instance of SessionItem.



18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
# File 'lib/v20180125/models.rb', line 18391

def initialize(category=nil, keyorstartmat=nil, endmat=nil, startoffset=nil, endoffset=nil, source=nil, tsversion=nil, sessionid=nil, sessionname=nil, sessioninused=nil, relatedruleid=nil, key=nil)
  @Category = category
  @KeyOrStartMat = keyorstartmat
  @EndMat = endmat
  @StartOffset = startoffset
  @EndOffset = endoffset
  @Source = source
  @TsVersion = tsversion
  @SessionId = sessionid
  @SessionName = sessionname
  @SessionInUsed = sessioninused
  @RelatedRuleID = relatedruleid
  @Key = key
end

Instance Attribute Details

#CategoryObject

Parameters:

  • Category:

    匹配类型

  • KeyOrStartMat:

    起始模式

  • EndMat:

    结束模式

  • StartOffset:

    起始偏移

  • EndOffset:

    结束偏移

  • Source:

    数据源

  • TsVersion:

    更新时间戳

  • SessionId:

    SessionID

  • SessionName:

    Session名

  • SessionInUsed:

    Session是否正在被启用

  • RelatedRuleID:

    Session关联的CC规则ID

  • Key:

    精准匹配时,配置的key



18389
18390
18391
# File 'lib/v20180125/models.rb', line 18389

def Category
  @Category
end

#EndMatObject

Parameters:

  • Category:

    匹配类型

  • KeyOrStartMat:

    起始模式

  • EndMat:

    结束模式

  • StartOffset:

    起始偏移

  • EndOffset:

    结束偏移

  • Source:

    数据源

  • TsVersion:

    更新时间戳

  • SessionId:

    SessionID

  • SessionName:

    Session名

  • SessionInUsed:

    Session是否正在被启用

  • RelatedRuleID:

    Session关联的CC规则ID

  • Key:

    精准匹配时,配置的key



18389
18390
18391
# File 'lib/v20180125/models.rb', line 18389

def EndMat
  @EndMat
end

#EndOffsetObject

Parameters:

  • Category:

    匹配类型

  • KeyOrStartMat:

    起始模式

  • EndMat:

    结束模式

  • StartOffset:

    起始偏移

  • EndOffset:

    结束偏移

  • Source:

    数据源

  • TsVersion:

    更新时间戳

  • SessionId:

    SessionID

  • SessionName:

    Session名

  • SessionInUsed:

    Session是否正在被启用

  • RelatedRuleID:

    Session关联的CC规则ID

  • Key:

    精准匹配时,配置的key



18389
18390
18391
# File 'lib/v20180125/models.rb', line 18389

def EndOffset
  @EndOffset
end

#KeyObject

Parameters:

  • Category:

    匹配类型

  • KeyOrStartMat:

    起始模式

  • EndMat:

    结束模式

  • StartOffset:

    起始偏移

  • EndOffset:

    结束偏移

  • Source:

    数据源

  • TsVersion:

    更新时间戳

  • SessionId:

    SessionID

  • SessionName:

    Session名

  • SessionInUsed:

    Session是否正在被启用

  • RelatedRuleID:

    Session关联的CC规则ID

  • Key:

    精准匹配时,配置的key



18389
18390
18391
# File 'lib/v20180125/models.rb', line 18389

def Key
  @Key
end

#KeyOrStartMatObject

Parameters:

  • Category:

    匹配类型

  • KeyOrStartMat:

    起始模式

  • EndMat:

    结束模式

  • StartOffset:

    起始偏移

  • EndOffset:

    结束偏移

  • Source:

    数据源

  • TsVersion:

    更新时间戳

  • SessionId:

    SessionID

  • SessionName:

    Session名

  • SessionInUsed:

    Session是否正在被启用

  • RelatedRuleID:

    Session关联的CC规则ID

  • Key:

    精准匹配时,配置的key



18389
18390
18391
# File 'lib/v20180125/models.rb', line 18389

def KeyOrStartMat
  @KeyOrStartMat
end

#RelatedRuleIDObject

Parameters:

  • Category:

    匹配类型

  • KeyOrStartMat:

    起始模式

  • EndMat:

    结束模式

  • StartOffset:

    起始偏移

  • EndOffset:

    结束偏移

  • Source:

    数据源

  • TsVersion:

    更新时间戳

  • SessionId:

    SessionID

  • SessionName:

    Session名

  • SessionInUsed:

    Session是否正在被启用

  • RelatedRuleID:

    Session关联的CC规则ID

  • Key:

    精准匹配时,配置的key



18389
18390
18391
# File 'lib/v20180125/models.rb', line 18389

def RelatedRuleID
  @RelatedRuleID
end

#SessionIdObject

Parameters:

  • Category:

    匹配类型

  • KeyOrStartMat:

    起始模式

  • EndMat:

    结束模式

  • StartOffset:

    起始偏移

  • EndOffset:

    结束偏移

  • Source:

    数据源

  • TsVersion:

    更新时间戳

  • SessionId:

    SessionID

  • SessionName:

    Session名

  • SessionInUsed:

    Session是否正在被启用

  • RelatedRuleID:

    Session关联的CC规则ID

  • Key:

    精准匹配时,配置的key



18389
18390
18391
# File 'lib/v20180125/models.rb', line 18389

def SessionId
  @SessionId
end

#SessionInUsedObject

Parameters:

  • Category:

    匹配类型

  • KeyOrStartMat:

    起始模式

  • EndMat:

    结束模式

  • StartOffset:

    起始偏移

  • EndOffset:

    结束偏移

  • Source:

    数据源

  • TsVersion:

    更新时间戳

  • SessionId:

    SessionID

  • SessionName:

    Session名

  • SessionInUsed:

    Session是否正在被启用

  • RelatedRuleID:

    Session关联的CC规则ID

  • Key:

    精准匹配时,配置的key



18389
18390
18391
# File 'lib/v20180125/models.rb', line 18389

def SessionInUsed
  @SessionInUsed
end

#SessionNameObject

Parameters:

  • Category:

    匹配类型

  • KeyOrStartMat:

    起始模式

  • EndMat:

    结束模式

  • StartOffset:

    起始偏移

  • EndOffset:

    结束偏移

  • Source:

    数据源

  • TsVersion:

    更新时间戳

  • SessionId:

    SessionID

  • SessionName:

    Session名

  • SessionInUsed:

    Session是否正在被启用

  • RelatedRuleID:

    Session关联的CC规则ID

  • Key:

    精准匹配时,配置的key



18389
18390
18391
# File 'lib/v20180125/models.rb', line 18389

def SessionName
  @SessionName
end

#SourceObject

Parameters:

  • Category:

    匹配类型

  • KeyOrStartMat:

    起始模式

  • EndMat:

    结束模式

  • StartOffset:

    起始偏移

  • EndOffset:

    结束偏移

  • Source:

    数据源

  • TsVersion:

    更新时间戳

  • SessionId:

    SessionID

  • SessionName:

    Session名

  • SessionInUsed:

    Session是否正在被启用

  • RelatedRuleID:

    Session关联的CC规则ID

  • Key:

    精准匹配时,配置的key



18389
18390
18391
# File 'lib/v20180125/models.rb', line 18389

def Source
  @Source
end

#StartOffsetObject

Parameters:

  • Category:

    匹配类型

  • KeyOrStartMat:

    起始模式

  • EndMat:

    结束模式

  • StartOffset:

    起始偏移

  • EndOffset:

    结束偏移

  • Source:

    数据源

  • TsVersion:

    更新时间戳

  • SessionId:

    SessionID

  • SessionName:

    Session名

  • SessionInUsed:

    Session是否正在被启用

  • RelatedRuleID:

    Session关联的CC规则ID

  • Key:

    精准匹配时,配置的key



18389
18390
18391
# File 'lib/v20180125/models.rb', line 18389

def StartOffset
  @StartOffset
end

#TsVersionObject

Parameters:

  • Category:

    匹配类型

  • KeyOrStartMat:

    起始模式

  • EndMat:

    结束模式

  • StartOffset:

    起始偏移

  • EndOffset:

    结束偏移

  • Source:

    数据源

  • TsVersion:

    更新时间戳

  • SessionId:

    SessionID

  • SessionName:

    Session名

  • SessionInUsed:

    Session是否正在被启用

  • RelatedRuleID:

    Session关联的CC规则ID

  • Key:

    精准匹配时,配置的key



18389
18390
18391
# File 'lib/v20180125/models.rb', line 18389

def TsVersion
  @TsVersion
end

Instance Method Details

#deserialize(params) ⇒ Object



18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
# File 'lib/v20180125/models.rb', line 18406

def deserialize(params)
  @Category = params['Category']
  @KeyOrStartMat = params['KeyOrStartMat']
  @EndMat = params['EndMat']
  @StartOffset = params['StartOffset']
  @EndOffset = params['EndOffset']
  @Source = params['Source']
  @TsVersion = params['TsVersion']
  @SessionId = params['SessionId']
  @SessionName = params['SessionName']
  @SessionInUsed = params['SessionInUsed']
  @RelatedRuleID = params['RelatedRuleID']
  @Key = params['Key']
end