Class: TencentCloud::Waf::V20180125::UpsertSessionRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::UpsertSessionRequest
- Defined in:
- lib/v20180125/models.rb
Overview
UpsertSession请求参数结构体
Instance Attribute Summary collapse
- #Category ⇒ Object
- #Domain ⇒ Object
- #Edition ⇒ Object
- #EndMat ⇒ Object
- #EndOffset ⇒ Object
- #KeyOrStartMat ⇒ Object
- #SessionID ⇒ Object
- #SessionName ⇒ Object
- #Source ⇒ Object
- #StartOffset ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, source = nil, category = nil, keyorstartmat = nil, endmat = nil, startoffset = nil, endoffset = nil, edition = nil, sessionname = nil, sessionid = nil) ⇒ UpsertSessionRequest
constructor
A new instance of UpsertSessionRequest.
Constructor Details
#initialize(domain = nil, source = nil, category = nil, keyorstartmat = nil, endmat = nil, startoffset = nil, endoffset = nil, edition = nil, sessionname = nil, sessionid = nil) ⇒ UpsertSessionRequest
Returns a new instance of UpsertSessionRequest.
13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 |
# File 'lib/v20180125/models.rb', line 13003 def initialize(domain=nil, source=nil, category=nil, keyorstartmat=nil, endmat=nil, startoffset=nil, endoffset=nil, edition=nil, sessionname=nil, sessionid=nil) @Domain = domain @Source = source @Category = category @KeyOrStartMat = keyorstartmat @EndMat = endmat @StartOffset = startoffset @EndOffset = endoffset @Edition = edition @SessionName = sessionname @SessionID = sessionid end |
Instance Attribute Details
#Category ⇒ Object
13001 13002 13003 |
# File 'lib/v20180125/models.rb', line 13001 def Category @Category end |
#Domain ⇒ Object
13001 13002 13003 |
# File 'lib/v20180125/models.rb', line 13001 def Domain @Domain end |
#Edition ⇒ Object
13001 13002 13003 |
# File 'lib/v20180125/models.rb', line 13001 def Edition @Edition end |
#EndMat ⇒ Object
13001 13002 13003 |
# File 'lib/v20180125/models.rb', line 13001 def EndMat @EndMat end |
#EndOffset ⇒ Object
13001 13002 13003 |
# File 'lib/v20180125/models.rb', line 13001 def EndOffset @EndOffset end |
#KeyOrStartMat ⇒ Object
13001 13002 13003 |
# File 'lib/v20180125/models.rb', line 13001 def KeyOrStartMat @KeyOrStartMat end |
#SessionID ⇒ Object
13001 13002 13003 |
# File 'lib/v20180125/models.rb', line 13001 def SessionID @SessionID end |
#SessionName ⇒ Object
13001 13002 13003 |
# File 'lib/v20180125/models.rb', line 13001 def SessionName @SessionName end |
#Source ⇒ Object
13001 13002 13003 |
# File 'lib/v20180125/models.rb', line 13001 def Source @Source end |
#StartOffset ⇒ Object
13001 13002 13003 |
# File 'lib/v20180125/models.rb', line 13001 def StartOffset @StartOffset end |
Instance Method Details
#deserialize(params) ⇒ Object
13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 |
# File 'lib/v20180125/models.rb', line 13016 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'] end |