Class: TencentCloud::Tmt::V20180321::TextTranslateBatchResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tmt::V20180321::TextTranslateBatchResponse
- Defined in:
- lib/v20180321/models.rb
Overview
TextTranslateBatch返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(source = nil, target = nil, targettextlist = nil, requestid = nil) ⇒ TextTranslateBatchResponse
constructor
A new instance of TextTranslateBatchResponse.
Constructor Details
#initialize(source = nil, target = nil, targettextlist = nil, requestid = nil) ⇒ TextTranslateBatchResponse
Returns a new instance of TextTranslateBatchResponse.
573 574 575 576 577 578 |
# File 'lib/v20180321/models.rb', line 573 def initialize(source=nil, target=nil, targettextlist=nil, requestid=nil) @Source = source @Target = target @TargetTextList = targettextlist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
571 572 573 |
# File 'lib/v20180321/models.rb', line 571 def RequestId @RequestId end |
#Source ⇒ Object
571 572 573 |
# File 'lib/v20180321/models.rb', line 571 def Source @Source end |
#Target ⇒ Object
571 572 573 |
# File 'lib/v20180321/models.rb', line 571 def Target @Target end |
#TargetTextList ⇒ Object
571 572 573 |
# File 'lib/v20180321/models.rb', line 571 def TargetTextList @TargetTextList end |
Instance Method Details
#deserialize(params) ⇒ Object
580 581 582 583 584 585 |
# File 'lib/v20180321/models.rb', line 580 def deserialize(params) @Source = params['Source'] @Target = params['Target'] @TargetTextList = params['TargetTextList'] @RequestId = params['RequestId'] end |