Class: TencentCloud::Vm::V20210922::AudioResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20210922::AudioResult
- Defined in:
- lib/v20210922/models.rb
Overview
音频输出参数
Instance Attribute Summary collapse
-
#Duration ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Extra ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#HitFlag ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#HitType ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Label ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#LabelResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#LanguageResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#MoanResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#RecognitionResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#RequestId ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Score ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Sentences ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#SpeakerResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#SubLabel ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#SubTag ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#SubTagCode ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Suggestion ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Text ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#TextResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#TravelResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Url ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hitflag = nil, label = nil, suggestion = nil, score = nil, text = nil, url = nil, duration = nil, extra = nil, textresults = nil, moanresults = nil, languageresults = nil, sublabel = nil, recognitionresults = nil, speakerresults = nil, travelresults = nil, subtag = nil, subtagcode = nil, labelresults = nil, hittype = nil, sentences = nil, requestid = nil) ⇒ AudioResult
constructor
A new instance of AudioResult.
Constructor Details
#initialize(hitflag = nil, label = nil, suggestion = nil, score = nil, text = nil, url = nil, duration = nil, extra = nil, textresults = nil, moanresults = nil, languageresults = nil, sublabel = nil, recognitionresults = nil, speakerresults = nil, travelresults = nil, subtag = nil, subtagcode = nil, labelresults = nil, hittype = nil, sentences = nil, requestid = nil) ⇒ AudioResult
Returns a new instance of AudioResult.
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/v20210922/models.rb', line 68 def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, text=nil, url=nil, duration=nil, extra=nil, textresults=nil, moanresults=nil, languageresults=nil, sublabel=nil, recognitionresults=nil, speakerresults=nil, travelresults=nil, subtag=nil, subtagcode=nil, labelresults=nil, hittype=nil, sentences=nil, requestid=nil) @HitFlag = hitflag @Label = label @Suggestion = suggestion @Score = score @Text = text @Url = url @Duration = duration @Extra = extra @TextResults = textresults @MoanResults = moanresults @LanguageResults = languageresults @SubLabel = sublabel @RecognitionResults = recognitionresults @SpeakerResults = speakerresults @TravelResults = travelresults @SubTag = subtag @SubTagCode = subtagcode @LabelResults = labelresults @HitType = hittype @Sentences = sentences @RequestId = requestid end |
Instance Attribute Details
#Duration ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def Duration @Duration end |
#Extra ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def Extra @Extra end |
#HitFlag ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def HitFlag @HitFlag end |
#HitType ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def HitType @HitType end |
#Label ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def Label @Label end |
#LabelResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def LabelResults @LabelResults end |
#LanguageResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def LanguageResults @LanguageResults end |
#MoanResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def MoanResults @MoanResults end |
#RecognitionResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def RecognitionResults @RecognitionResults end |
#RequestId ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def RequestId @RequestId end |
#Score ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def Score @Score end |
#Sentences ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def Sentences @Sentences end |
#SpeakerResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def SpeakerResults @SpeakerResults end |
#SubLabel ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def SubLabel @SubLabel end |
#SubTag ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def SubTag @SubTag end |
#SubTagCode ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def SubTagCode @SubTagCode end |
#Suggestion ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def Suggestion @Suggestion end |
#Text ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def Text @Text end |
#TextResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def TextResults @TextResults end |
#TravelResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def TravelResults @TravelResults end |
#Url ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
66 67 68 |
# File 'lib/v20210922/models.rb', line 66 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'lib/v20210922/models.rb', line 92 def deserialize(params) @HitFlag = params['HitFlag'] @Label = params['Label'] @Suggestion = params['Suggestion'] @Score = params['Score'] @Text = params['Text'] @Url = params['Url'] @Duration = params['Duration'] @Extra = params['Extra'] unless params['TextResults'].nil? @TextResults = [] params['TextResults'].each do |i| audioresultdetailtextresult_tmp = AudioResultDetailTextResult.new audioresultdetailtextresult_tmp.deserialize(i) @TextResults << audioresultdetailtextresult_tmp end end unless params['MoanResults'].nil? @MoanResults = [] params['MoanResults'].each do |i| audioresultdetailmoanresult_tmp = AudioResultDetailMoanResult.new audioresultdetailmoanresult_tmp.deserialize(i) @MoanResults << audioresultdetailmoanresult_tmp end end unless params['LanguageResults'].nil? @LanguageResults = [] params['LanguageResults'].each do |i| audioresultdetaillanguageresult_tmp = AudioResultDetailLanguageResult.new audioresultdetaillanguageresult_tmp.deserialize(i) @LanguageResults << audioresultdetaillanguageresult_tmp end end @SubLabel = params['SubLabel'] unless params['RecognitionResults'].nil? @RecognitionResults = [] params['RecognitionResults'].each do |i| recognitionresult_tmp = RecognitionResult.new recognitionresult_tmp.deserialize(i) @RecognitionResults << recognitionresult_tmp end end unless params['SpeakerResults'].nil? @SpeakerResults = [] params['SpeakerResults'].each do |i| speakerresult_tmp = SpeakerResult.new speakerresult_tmp.deserialize(i) @SpeakerResults << speakerresult_tmp end end unless params['TravelResults'].nil? @TravelResults = [] params['TravelResults'].each do |i| travelresult_tmp = TravelResult.new travelresult_tmp.deserialize(i) @TravelResults << travelresult_tmp end end @SubTag = params['SubTag'] @SubTagCode = params['SubTagCode'] unless params['LabelResults'].nil? @LabelResults = [] params['LabelResults'].each do |i| labelresult_tmp = LabelResult.new labelresult_tmp.deserialize(i) @LabelResults << labelresult_tmp end end @HitType = params['HitType'] unless params['Sentences'].nil? @Sentences = [] params['Sentences'].each do |i| sentence_tmp = Sentence.new sentence_tmp.deserialize(i) @Sentences << sentence_tmp end end @RequestId = params['RequestId'] end |