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
- #Key ⇒ 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, key = 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, 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
#Category ⇒ Object
19587 19588 19589 |
# File 'lib/v20180125/models.rb', line 19587 def Category @Category end |
#Domain ⇒ Object
19587 19588 19589 |
# File 'lib/v20180125/models.rb', line 19587 def Domain @Domain end |
#Edition ⇒ Object
19587 19588 19589 |
# File 'lib/v20180125/models.rb', line 19587 def Edition @Edition end |
#EndMat ⇒ Object
19587 19588 19589 |
# File 'lib/v20180125/models.rb', line 19587 def EndMat @EndMat end |
#EndOffset ⇒ Object
19587 19588 19589 |
# File 'lib/v20180125/models.rb', line 19587 def EndOffset @EndOffset end |
#Key ⇒ Object
19587 19588 19589 |
# File 'lib/v20180125/models.rb', line 19587 def Key @Key end |
#KeyOrStartMat ⇒ Object
19587 19588 19589 |
# File 'lib/v20180125/models.rb', line 19587 def KeyOrStartMat @KeyOrStartMat end |
#SessionID ⇒ Object
19587 19588 19589 |
# File 'lib/v20180125/models.rb', line 19587 def SessionID @SessionID end |
#SessionName ⇒ Object
19587 19588 19589 |
# File 'lib/v20180125/models.rb', line 19587 def SessionName @SessionName end |
#Source ⇒ Object
19587 19588 19589 |
# File 'lib/v20180125/models.rb', line 19587 def Source @Source end |
#StartOffset ⇒ Object
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 |