Class: TencentCloud::Nlp::V20190408::ComposeCoupletResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Nlp::V20190408::ComposeCoupletResponse
- Defined in:
- lib/v20190408/models.rb
Overview
ComposeCouplet返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topscroll = nil, content = nil, randomcause = nil, requestid = nil) ⇒ ComposeCoupletResponse
constructor
A new instance of ComposeCoupletResponse.
Constructor Details
#initialize(topscroll = nil, content = nil, randomcause = nil, requestid = nil) ⇒ ComposeCoupletResponse
Returns a new instance of ComposeCoupletResponse.
222 223 224 225 226 227 |
# File 'lib/v20190408/models.rb', line 222 def initialize(topscroll=nil, content=nil, randomcause=nil, requestid=nil) @TopScroll = topscroll @Content = content @RandomCause = randomcause @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
220 221 222 |
# File 'lib/v20190408/models.rb', line 220 def Content @Content end |
#RandomCause ⇒ Object
220 221 222 |
# File 'lib/v20190408/models.rb', line 220 def RandomCause @RandomCause end |
#RequestId ⇒ Object
220 221 222 |
# File 'lib/v20190408/models.rb', line 220 def RequestId @RequestId end |
#TopScroll ⇒ Object
220 221 222 |
# File 'lib/v20190408/models.rb', line 220 def TopScroll @TopScroll end |
Instance Method Details
#deserialize(params) ⇒ Object
229 230 231 232 233 234 |
# File 'lib/v20190408/models.rb', line 229 def deserialize(params) @TopScroll = params['TopScroll'] @Content = params['Content'] @RandomCause = params['RandomCause'] @RequestId = params['RequestId'] end |