Class: TencentCloud::Cls::V20201016::HighLightItem
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::HighLightItem
- Defined in:
- lib/v20201016/models.rb
Overview
符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, values = nil) ⇒ HighLightItem
constructor
A new instance of HighLightItem.
Constructor Details
#initialize(key = nil, values = nil) ⇒ HighLightItem
Returns a new instance of HighLightItem.
11560 11561 11562 11563 |
# File 'lib/v20201016/models.rb', line 11560 def initialize(key=nil, values=nil) @Key = key @Values = values end |
Instance Attribute Details
#Key ⇒ Object
11558 11559 11560 |
# File 'lib/v20201016/models.rb', line 11558 def Key @Key end |
#Values ⇒ Object
11558 11559 11560 |
# File 'lib/v20201016/models.rb', line 11558 def Values @Values end |
Instance Method Details
#deserialize(params) ⇒ Object
11565 11566 11567 11568 |
# File 'lib/v20201016/models.rb', line 11565 def deserialize(params) @Key = params['Key'] @Values = params['Values'] end |