Class: TencentCloud::Cwp::V20180228::RuleInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::RuleInfo
- Defined in:
- lib/v20180228/models.rb
Overview
索引规则
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fulltext = nil, keyvalue = nil, tag = nil) ⇒ RuleInfo
constructor
A new instance of RuleInfo.
Constructor Details
#initialize(fulltext = nil, keyvalue = nil, tag = nil) ⇒ RuleInfo
Returns a new instance of RuleInfo.
37406 37407 37408 37409 37410 |
# File 'lib/v20180228/models.rb', line 37406 def initialize(fulltext=nil, keyvalue=nil, tag=nil) @FullText = fulltext @KeyValue = keyvalue @Tag = tag end |
Instance Attribute Details
#FullText ⇒ Object
37404 37405 37406 |
# File 'lib/v20180228/models.rb', line 37404 def FullText @FullText end |
#KeyValue ⇒ Object
37404 37405 37406 |
# File 'lib/v20180228/models.rb', line 37404 def KeyValue @KeyValue end |
#Tag ⇒ Object
37404 37405 37406 |
# File 'lib/v20180228/models.rb', line 37404 def Tag @Tag end |
Instance Method Details
#deserialize(params) ⇒ Object
37412 37413 37414 37415 37416 37417 37418 37419 37420 37421 37422 37423 37424 37425 |
# File 'lib/v20180228/models.rb', line 37412 def deserialize(params) unless params['FullText'].nil? @FullText = FullTextInfo.new @FullText.deserialize(params['FullText']) end unless params['KeyValue'].nil? @KeyValue = KeyValueInfo.new @KeyValue.deserialize(params['KeyValue']) end unless params['Tag'].nil? @Tag = KeyValueInfo.new @Tag.deserialize(params['Tag']) end end |