Class: TencentCloud::Nlp::V20190408::ClassifyContentRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Nlp::V20190408::ClassifyContentRequest
- Defined in:
- lib/v20190408/models.rb
Overview
ClassifyContent请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(title = nil, content = nil) ⇒ ClassifyContentRequest
constructor
A new instance of ClassifyContentRequest.
Constructor Details
#initialize(title = nil, content = nil) ⇒ ClassifyContentRequest
Returns a new instance of ClassifyContentRequest.
140 141 142 143 |
# File 'lib/v20190408/models.rb', line 140 def initialize(title=nil, content=nil) @Title = title @Content = content end |
Instance Attribute Details
#Content ⇒ Object
138 139 140 |
# File 'lib/v20190408/models.rb', line 138 def Content @Content end |
#Title ⇒ Object
138 139 140 |
# File 'lib/v20190408/models.rb', line 138 def Title @Title end |
Instance Method Details
#deserialize(params) ⇒ Object
145 146 147 148 |
# File 'lib/v20190408/models.rb', line 145 def deserialize(params) @Title = params['Title'] @Content = params['Content'] end |