Class: TencentCloud::Tmt::V20180321::TextTranslateResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tmt::V20180321::TextTranslateResponse
- Defined in:
- lib/v20180321/models.rb
Overview
TextTranslate返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(targettext = nil, source = nil, target = nil, requestid = nil) ⇒ TextTranslateResponse
constructor
A new instance of TextTranslateResponse.
Constructor Details
#initialize(targettext = nil, source = nil, target = nil, requestid = nil) ⇒ TextTranslateResponse
Returns a new instance of TextTranslateResponse.
671 672 673 674 675 676 |
# File 'lib/v20180321/models.rb', line 671 def initialize(targettext=nil, source=nil, target=nil, requestid=nil) @TargetText = targettext @Source = source @Target = target @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
669 670 671 |
# File 'lib/v20180321/models.rb', line 669 def RequestId @RequestId end |
#Source ⇒ Object
669 670 671 |
# File 'lib/v20180321/models.rb', line 669 def Source @Source end |
#Target ⇒ Object
669 670 671 |
# File 'lib/v20180321/models.rb', line 669 def Target @Target end |
#TargetText ⇒ Object
669 670 671 |
# File 'lib/v20180321/models.rb', line 669 def TargetText @TargetText end |
Instance Method Details
#deserialize(params) ⇒ Object
678 679 680 681 682 683 |
# File 'lib/v20180321/models.rb', line 678 def deserialize(params) @TargetText = params['TargetText'] @Source = params['Source'] @Target = params['Target'] @RequestId = params['RequestId'] end |