Class: TencentCloud::Vtc::V20240223::AudioTranslateResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vtc::V20240223::AudioTranslateResult
- Defined in:
- lib/v20240223/models.rb
Overview
音频翻译结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sourcetext = nil, targettext = nil) ⇒ AudioTranslateResult
constructor
A new instance of AudioTranslateResult.
Constructor Details
#initialize(sourcetext = nil, targettext = nil) ⇒ AudioTranslateResult
Returns a new instance of AudioTranslateResult.
56 57 58 59 |
# File 'lib/v20240223/models.rb', line 56 def initialize(sourcetext=nil, targettext=nil) @SourceText = sourcetext @TargetText = targettext end |
Instance Attribute Details
#SourceText ⇒ Object
54 55 56 |
# File 'lib/v20240223/models.rb', line 54 def SourceText @SourceText end |
#TargetText ⇒ Object
54 55 56 |
# File 'lib/v20240223/models.rb', line 54 def TargetText @TargetText end |
Instance Method Details
#deserialize(params) ⇒ Object
61 62 63 64 |
# File 'lib/v20240223/models.rb', line 61 def deserialize(params) @SourceText = params['SourceText'] @TargetText = params['TargetText'] end |