Class: TencentCloud::Nlp::V20190408::ComposeCoupletRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Nlp::V20190408::ComposeCoupletRequest
- Defined in:
- lib/v20190408/models.rb
Overview
ComposeCouplet请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(text = nil, targettype = nil) ⇒ ComposeCoupletRequest
constructor
A new instance of ComposeCoupletRequest.
Constructor Details
#initialize(text = nil, targettype = nil) ⇒ ComposeCoupletRequest
Returns a new instance of ComposeCoupletRequest.
198 199 200 201 |
# File 'lib/v20190408/models.rb', line 198 def initialize(text=nil, targettype=nil) @Text = text @TargetType = targettype end |
Instance Attribute Details
#TargetType ⇒ Object
196 197 198 |
# File 'lib/v20190408/models.rb', line 196 def TargetType @TargetType end |
#Text ⇒ Object
196 197 198 |
# File 'lib/v20190408/models.rb', line 196 def Text @Text end |
Instance Method Details
#deserialize(params) ⇒ Object
203 204 205 206 |
# File 'lib/v20190408/models.rb', line 203 def deserialize(params) @Text = params['Text'] @TargetType = params['TargetType'] end |