Class: TencentCloud::Waf::V20180125::UpsertSessionRequest

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

Overview

UpsertSession请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, source = nil, category = nil, keyorstartmat = nil, endmat = nil, startoffset = nil, endoffset = nil, edition = nil, sessionname = nil, sessionid = nil, key = nil) ⇒ UpsertSessionRequest

Returns a new instance of UpsertSessionRequest.



19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
# File 'lib/v20180125/models.rb', line 19589

def initialize(domain=nil, source=nil, category=nil, keyorstartmat=nil, endmat=nil, startoffset=nil, endoffset=nil, edition=nil, sessionname=nil, sessionid=nil, key=nil)
  @Domain = domain
  @Source = source
  @Category = category
  @KeyOrStartMat = keyorstartmat
  @EndMat = endmat
  @StartOffset = startoffset
  @EndOffset = endoffset
  @Edition = edition
  @SessionName = sessionname
  @SessionID = sessionid
  @Key = key
end

Instance Attribute Details

#CategoryObject

Parameters:

  • Domain:

    域名

  • Source:

    session来源位置

  • Category:

    提取类别

  • KeyOrStartMat:

    提取key或者起始匹配模式

  • EndMat:

    结束匹配模式

  • StartOffset:

    起始偏移位置

  • EndOffset:

    结束偏移位置

  • Edition:

    版本

  • SessionName:

    Session名

  • SessionID:

    Session对应ID

  • Key:

    精准匹配时配置的key



19587
19588
19589
# File 'lib/v20180125/models.rb', line 19587

def Category
  @Category
end

#DomainObject

Parameters:

  • Domain:

    域名

  • Source:

    session来源位置

  • Category:

    提取类别

  • KeyOrStartMat:

    提取key或者起始匹配模式

  • EndMat:

    结束匹配模式

  • StartOffset:

    起始偏移位置

  • EndOffset:

    结束偏移位置

  • Edition:

    版本

  • SessionName:

    Session名

  • SessionID:

    Session对应ID

  • Key:

    精准匹配时配置的key



19587
19588
19589
# File 'lib/v20180125/models.rb', line 19587

def Domain
  @Domain
end

#EditionObject

Parameters:

  • Domain:

    域名

  • Source:

    session来源位置

  • Category:

    提取类别

  • KeyOrStartMat:

    提取key或者起始匹配模式

  • EndMat:

    结束匹配模式

  • StartOffset:

    起始偏移位置

  • EndOffset:

    结束偏移位置

  • Edition:

    版本

  • SessionName:

    Session名

  • SessionID:

    Session对应ID

  • Key:

    精准匹配时配置的key



19587
19588
19589
# File 'lib/v20180125/models.rb', line 19587

def Edition
  @Edition
end

#EndMatObject

Parameters:

  • Domain:

    域名

  • Source:

    session来源位置

  • Category:

    提取类别

  • KeyOrStartMat:

    提取key或者起始匹配模式

  • EndMat:

    结束匹配模式

  • StartOffset:

    起始偏移位置

  • EndOffset:

    结束偏移位置

  • Edition:

    版本

  • SessionName:

    Session名

  • SessionID:

    Session对应ID

  • Key:

    精准匹配时配置的key



19587
19588
19589
# File 'lib/v20180125/models.rb', line 19587

def EndMat
  @EndMat
end

#EndOffsetObject

Parameters:

  • Domain:

    域名

  • Source:

    session来源位置

  • Category:

    提取类别

  • KeyOrStartMat:

    提取key或者起始匹配模式

  • EndMat:

    结束匹配模式

  • StartOffset:

    起始偏移位置

  • EndOffset:

    结束偏移位置

  • Edition:

    版本

  • SessionName:

    Session名

  • SessionID:

    Session对应ID

  • Key:

    精准匹配时配置的key



19587
19588
19589
# File 'lib/v20180125/models.rb', line 19587

def EndOffset
  @EndOffset
end

#KeyObject

Parameters:

  • Domain:

    域名

  • Source:

    session来源位置

  • Category:

    提取类别

  • KeyOrStartMat:

    提取key或者起始匹配模式

  • EndMat:

    结束匹配模式

  • StartOffset:

    起始偏移位置

  • EndOffset:

    结束偏移位置

  • Edition:

    版本

  • SessionName:

    Session名

  • SessionID:

    Session对应ID

  • Key:

    精准匹配时配置的key



19587
19588
19589
# File 'lib/v20180125/models.rb', line 19587

def Key
  @Key
end

#KeyOrStartMatObject

Parameters:

  • Domain:

    域名

  • Source:

    session来源位置

  • Category:

    提取类别

  • KeyOrStartMat:

    提取key或者起始匹配模式

  • EndMat:

    结束匹配模式

  • StartOffset:

    起始偏移位置

  • EndOffset:

    结束偏移位置

  • Edition:

    版本

  • SessionName:

    Session名

  • SessionID:

    Session对应ID

  • Key:

    精准匹配时配置的key



19587
19588
19589
# File 'lib/v20180125/models.rb', line 19587

def KeyOrStartMat
  @KeyOrStartMat
end

#SessionIDObject

Parameters:

  • Domain:

    域名

  • Source:

    session来源位置

  • Category:

    提取类别

  • KeyOrStartMat:

    提取key或者起始匹配模式

  • EndMat:

    结束匹配模式

  • StartOffset:

    起始偏移位置

  • EndOffset:

    结束偏移位置

  • Edition:

    版本

  • SessionName:

    Session名

  • SessionID:

    Session对应ID

  • Key:

    精准匹配时配置的key



19587
19588
19589
# File 'lib/v20180125/models.rb', line 19587

def SessionID
  @SessionID
end

#SessionNameObject

Parameters:

  • Domain:

    域名

  • Source:

    session来源位置

  • Category:

    提取类别

  • KeyOrStartMat:

    提取key或者起始匹配模式

  • EndMat:

    结束匹配模式

  • StartOffset:

    起始偏移位置

  • EndOffset:

    结束偏移位置

  • Edition:

    版本

  • SessionName:

    Session名

  • SessionID:

    Session对应ID

  • Key:

    精准匹配时配置的key



19587
19588
19589
# File 'lib/v20180125/models.rb', line 19587

def SessionName
  @SessionName
end

#SourceObject

Parameters:

  • Domain:

    域名

  • Source:

    session来源位置

  • Category:

    提取类别

  • KeyOrStartMat:

    提取key或者起始匹配模式

  • EndMat:

    结束匹配模式

  • StartOffset:

    起始偏移位置

  • EndOffset:

    结束偏移位置

  • Edition:

    版本

  • SessionName:

    Session名

  • SessionID:

    Session对应ID

  • Key:

    精准匹配时配置的key



19587
19588
19589
# File 'lib/v20180125/models.rb', line 19587

def Source
  @Source
end

#StartOffsetObject

Parameters:

  • Domain:

    域名

  • Source:

    session来源位置

  • Category:

    提取类别

  • KeyOrStartMat:

    提取key或者起始匹配模式

  • EndMat:

    结束匹配模式

  • StartOffset:

    起始偏移位置

  • EndOffset:

    结束偏移位置

  • Edition:

    版本

  • SessionName:

    Session名

  • SessionID:

    Session对应ID

  • Key:

    精准匹配时配置的key



19587
19588
19589
# File 'lib/v20180125/models.rb', line 19587

def StartOffset
  @StartOffset
end

Instance Method Details

#deserialize(params) ⇒ Object



19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
# File 'lib/v20180125/models.rb', line 19603

def deserialize(params)
  @Domain = params['Domain']
  @Source = params['Source']
  @Category = params['Category']
  @KeyOrStartMat = params['KeyOrStartMat']
  @EndMat = params['EndMat']
  @StartOffset = params['StartOffset']
  @EndOffset = params['EndOffset']
  @Edition = params['Edition']
  @SessionName = params['SessionName']
  @SessionID = params['SessionID']
  @Key = params['Key']
end