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:建议通过.
-
#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, travelresults = nil, subtag = nil, subtagcode = nil, labelresults = nil, hittype = 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) ⇒ AudioResult
Returns a new instance of AudioResult.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/v20210922/models.rb', line 64 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) @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 end |
Instance Attribute Details
#Duration ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def Duration @Duration end |
#Extra ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def Extra @Extra end |
#HitFlag ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def HitFlag @HitFlag end |
#HitType ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def HitType @HitType end |
#Label ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def Label @Label end |
#LabelResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def LabelResults @LabelResults end |
#LanguageResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def LanguageResults @LanguageResults end |
#MoanResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def MoanResults @MoanResults end |
#RecognitionResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def RecognitionResults @RecognitionResults end |
#Score ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def Score @Score end |
#SpeakerResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def SpeakerResults @SpeakerResults end |
#SubLabel ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def SubLabel @SubLabel end |
#SubTag ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def SubTag @SubTag end |
#SubTagCode ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def SubTagCode @SubTagCode end |
#Suggestion ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def Suggestion @Suggestion end |
#Text ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def Text @Text end |
#TextResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def TextResults @TextResults end |
#TravelResults ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def TravelResults @TravelResults end |
#Url ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
62 63 64 |
# File 'lib/v20210922/models.rb', line 62 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
86 87 88 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 |
# File 'lib/v20210922/models.rb', line 86 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'] end |