Class: TencentCloud::Nlp::V20190408::AnalyzeSentimentRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Nlp::V20190408::AnalyzeSentimentRequest
- Defined in:
- lib/v20190408/models.rb
Overview
AnalyzeSentiment请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(text = nil) ⇒ AnalyzeSentimentRequest
constructor
A new instance of AnalyzeSentimentRequest.
Constructor Details
#initialize(text = nil) ⇒ AnalyzeSentimentRequest
Returns a new instance of AnalyzeSentimentRequest.
27 28 29 |
# File 'lib/v20190408/models.rb', line 27 def initialize(text=nil) @Text = text end |
Instance Attribute Details
#Text ⇒ Object
25 26 27 |
# File 'lib/v20190408/models.rb', line 25 def Text @Text end |
Instance Method Details
#deserialize(params) ⇒ Object
31 32 33 |
# File 'lib/v20190408/models.rb', line 31 def deserialize(params) @Text = params['Text'] end |