Class: TencentCloud::Vtc::V20240223::TranslateResult

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20240223/models.rb

Overview

音频翻译结果。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sourcetext = nil, targettext = nil) ⇒ TranslateResult



317
318
319
320
# File 'lib/v20240223/models.rb', line 317

def initialize(sourcetext=nil, targettext=nil)
  @SourceText = sourcetext
  @TargetText = targettext
end

Instance Attribute Details

#SourceTextObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。



315
316
317
# File 'lib/v20240223/models.rb', line 315

def SourceText
  @SourceText
end

#TargetTextObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。



315
316
317
# File 'lib/v20240223/models.rb', line 315

def TargetText
  @TargetText
end

Instance Method Details

#deserialize(params) ⇒ Object



322
323
324
325
# File 'lib/v20240223/models.rb', line 322

def deserialize(params)
  @SourceText = params['SourceText']
  @TargetText = params['TargetText']
end