Class: TencentCloud::Vm::V20201229::AudioResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20201229::AudioResult
- Defined in:
- lib/v20201229/models.rb
Overview
音频审核输出参数
Instance Attribute Summary collapse
-
#Duration ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Extra ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#HitFlag ⇒ 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:建议通过.
-
#Score ⇒ 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, labelresults = nil, travelresults = nil, subtag = nil, subtagcode = 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, labelresults = nil, travelresults = nil, subtag = nil, subtagcode = nil) ⇒ AudioResult
Returns a new instance of AudioResult.
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/v20201229/models.rb', line 102 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, labelresults=nil, travelresults=nil, subtag=nil, subtagcode=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 @LabelResults = labelresults @TravelResults = travelresults @SubTag = subtag @SubTagCode = subtagcode end |
Instance Attribute Details
#Duration ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def Duration @Duration end |
#Extra ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def Extra @Extra end |
#HitFlag ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def HitFlag @HitFlag end |
#Label ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def Label @Label end |
#LabelResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def LabelResults @LabelResults end |
#LanguageResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def LanguageResults @LanguageResults end |
#MoanResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def MoanResults @MoanResults end |
#RecognitionResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def RecognitionResults @RecognitionResults end |
#Score ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def Score @Score end |
#SpeakerResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def SpeakerResults @SpeakerResults end |
#SubLabel ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def SubLabel @SubLabel end |
#SubTag ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def SubTag @SubTag end |
#SubTagCode ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def SubTagCode @SubTagCode end |
#Suggestion ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def Suggestion @Suggestion end |
#Text ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def Text @Text end |
#TextResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def TextResults @TextResults end |
#TravelResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def TravelResults @TravelResults end |
#Url ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
100 101 102 |
# File 'lib/v20201229/models.rb', line 100 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
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 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'lib/v20201229/models.rb', line 123 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['LabelResults'].nil? @LabelResults = [] params['LabelResults'].each do |i| audiolabelresult_tmp = AudioLabelResult.new audiolabelresult_tmp.deserialize(i) @LabelResults << audiolabelresult_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'] end |