Class: TencentCloud::Cms::V20190321::CustomResult
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cms::V20190321::CustomResult
- Defined in:
- lib/v20190321/models.rb
Overview
文本返回的自定义词库结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keywords = nil, libname = nil, libid = nil, type = nil) ⇒ CustomResult
constructor
A new instance of CustomResult.
Constructor Details
#initialize(keywords = nil, libname = nil, libid = nil, type = nil) ⇒ CustomResult
Returns a new instance of CustomResult.
265 266 267 268 269 270 |
# File 'lib/v20190321/models.rb', line 265 def initialize(keywords=nil, libname=nil, libid=nil, type=nil) @Keywords = keywords @LibName = libname @LibId = libid @Type = type end |
Instance Attribute Details
#Keywords ⇒ Object
263 264 265 |
# File 'lib/v20190321/models.rb', line 263 def Keywords @Keywords end |
#LibId ⇒ Object
263 264 265 |
# File 'lib/v20190321/models.rb', line 263 def LibId @LibId end |
#LibName ⇒ Object
263 264 265 |
# File 'lib/v20190321/models.rb', line 263 def LibName @LibName end |
#Type ⇒ Object
263 264 265 |
# File 'lib/v20190321/models.rb', line 263 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
272 273 274 275 276 277 |
# File 'lib/v20190321/models.rb', line 272 def deserialize(params) @Keywords = params['Keywords'] @LibName = params['LibName'] @LibId = params['LibId'] @Type = params['Type'] end |