Class: TencentCloud::Ams::V20201229::AudioResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::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:建议通过.
-
#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:建议通过.
-
#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, labelresults = nil, travelresults = nil, subtag = nil, subtagcode = nil, hittype = nil, sentences = 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, hittype = nil, sentences = nil) ⇒ AudioResult
Returns a new instance of AudioResult.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
# File 'lib/v20201229/models.rb', line 66 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, hittype=nil, sentences=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 @HitType = hittype @Sentences = sentences end |
Instance Attribute Details
#Duration ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def Duration @Duration end |
#Extra ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def Extra @Extra end |
#HitFlag ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def HitFlag @HitFlag end |
#HitType ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def HitType @HitType end |
#Label ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def Label @Label end |
#LabelResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def LabelResults @LabelResults end |
#LanguageResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def LanguageResults @LanguageResults end |
#MoanResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def MoanResults @MoanResults end |
#RecognitionResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def RecognitionResults @RecognitionResults end |
#Score ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def Score @Score end |
#Sentences ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def Sentences @Sentences end |
#SpeakerResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def SpeakerResults @SpeakerResults end |
#SubLabel ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def SubLabel @SubLabel end |
#SubTag ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def SubTag @SubTag end |
#SubTagCode ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def SubTagCode @SubTagCode end |
#Suggestion ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def Suggestion @Suggestion end |
#Text ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def Text @Text end |
#TextResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def TextResults @TextResults end |
#TravelResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def TravelResults @TravelResults end |
#Url ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
64 65 66 |
# File 'lib/v20201229/models.rb', line 64 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
89 90 91 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 |
# File 'lib/v20201229/models.rb', line 89 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| speakerresults_tmp = SpeakerResults.new speakerresults_tmp.deserialize(i) @SpeakerResults << speakerresults_tmp end end unless params['LabelResults'].nil? @LabelResults = [] params['LabelResults'].each do |i| labelresults_tmp = LabelResults.new labelresults_tmp.deserialize(i) @LabelResults << labelresults_tmp end end unless params['TravelResults'].nil? @TravelResults = [] params['TravelResults'].each do |i| travelresults_tmp = TravelResults.new travelresults_tmp.deserialize(i) @TravelResults << travelresults_tmp end end @SubTag = params['SubTag'] @SubTagCode = params['SubTagCode'] @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 end |