Class: TencentCloud::Tmt::V20180321::SpeechTranslateResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tmt::V20180321::SpeechTranslateResponse
- Defined in:
- lib/v20180321/models.rb
Overview
SpeechTranslate返回参数结构体
Instance Attribute Summary collapse
- #RecognizeStatus ⇒ Object
- #RequestId ⇒ Object
- #Seq ⇒ Object
- #SessionUuid ⇒ Object
- #Source ⇒ Object
- #SourceText ⇒ Object
- #Target ⇒ Object
- #TargetText ⇒ Object
- #VadSeq ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sessionuuid = nil, recognizestatus = nil, sourcetext = nil, targettext = nil, seq = nil, source = nil, target = nil, vadseq = nil, requestid = nil) ⇒ SpeechTranslateResponse
constructor
A new instance of SpeechTranslateResponse.
Constructor Details
#initialize(sessionuuid = nil, recognizestatus = nil, sourcetext = nil, targettext = nil, seq = nil, source = nil, target = nil, vadseq = nil, requestid = nil) ⇒ SpeechTranslateResponse
Returns a new instance of SpeechTranslateResponse.
453 454 455 456 457 458 459 460 461 462 463 |
# File 'lib/v20180321/models.rb', line 453 def initialize(sessionuuid=nil, recognizestatus=nil, sourcetext=nil, targettext=nil, seq=nil, source=nil, target=nil, vadseq=nil, requestid=nil) @SessionUuid = sessionuuid @RecognizeStatus = recognizestatus @SourceText = sourcetext @TargetText = targettext @Seq = seq @Source = source @Target = target @VadSeq = vadseq @RequestId = requestid end |
Instance Attribute Details
#RecognizeStatus ⇒ Object
451 452 453 |
# File 'lib/v20180321/models.rb', line 451 def RecognizeStatus @RecognizeStatus end |
#RequestId ⇒ Object
451 452 453 |
# File 'lib/v20180321/models.rb', line 451 def RequestId @RequestId end |
#Seq ⇒ Object
451 452 453 |
# File 'lib/v20180321/models.rb', line 451 def Seq @Seq end |
#SessionUuid ⇒ Object
451 452 453 |
# File 'lib/v20180321/models.rb', line 451 def SessionUuid @SessionUuid end |
#Source ⇒ Object
451 452 453 |
# File 'lib/v20180321/models.rb', line 451 def Source @Source end |
#SourceText ⇒ Object
451 452 453 |
# File 'lib/v20180321/models.rb', line 451 def SourceText @SourceText end |
#Target ⇒ Object
451 452 453 |
# File 'lib/v20180321/models.rb', line 451 def Target @Target end |
#TargetText ⇒ Object
451 452 453 |
# File 'lib/v20180321/models.rb', line 451 def TargetText @TargetText end |
#VadSeq ⇒ Object
451 452 453 |
# File 'lib/v20180321/models.rb', line 451 def VadSeq @VadSeq end |
Instance Method Details
#deserialize(params) ⇒ Object
465 466 467 468 469 470 471 472 473 474 475 |
# File 'lib/v20180321/models.rb', line 465 def deserialize(params) @SessionUuid = params['SessionUuid'] @RecognizeStatus = params['RecognizeStatus'] @SourceText = params['SourceText'] @TargetText = params['TargetText'] @Seq = params['Seq'] @Source = params['Source'] @Target = params['Target'] @VadSeq = params['VadSeq'] @RequestId = params['RequestId'] end |