Class: TencentCloud::Tmt::V20180321::LanguageDetectRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tmt::V20180321::LanguageDetectRequest
- Defined in:
- lib/v20180321/models.rb
Overview
LanguageDetect请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(text = nil, projectid = nil) ⇒ LanguageDetectRequest
constructor
A new instance of LanguageDetectRequest.
Constructor Details
#initialize(text = nil, projectid = nil) ⇒ LanguageDetectRequest
Returns a new instance of LanguageDetectRequest.
346 347 348 349 |
# File 'lib/v20180321/models.rb', line 346 def initialize(text=nil, projectid=nil) @Text = text @ProjectId = projectid end |
Instance Attribute Details
#ProjectId ⇒ Object
344 345 346 |
# File 'lib/v20180321/models.rb', line 344 def ProjectId @ProjectId end |
#Text ⇒ Object
344 345 346 |
# File 'lib/v20180321/models.rb', line 344 def Text @Text end |
Instance Method Details
#deserialize(params) ⇒ Object
351 352 353 354 |
# File 'lib/v20180321/models.rb', line 351 def deserialize(params) @Text = params['Text'] @ProjectId = params['ProjectId'] end |