Class: TencentCloud::Ivld::V20210903::AppearInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ivld::V20210903::AppearInfo
- Defined in:
- lib/v20210903/models.rb
Overview
包含关键词在音频转文字(ASR),图片转文字(OCR)以及视频结果中的出现信息
Instance Attribute Summary collapse
-
#AudioAppearSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TextAppearSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#VideoAppearSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(audioappearset = nil, textappearset = nil, videoappearset = nil) ⇒ AppearInfo
constructor
A new instance of AppearInfo.
Constructor Details
#initialize(audioappearset = nil, textappearset = nil, videoappearset = nil) ⇒ AppearInfo
Returns a new instance of AppearInfo.
118 119 120 121 122 |
# File 'lib/v20210903/models.rb', line 118 def initialize(audioappearset=nil, textappearset=nil, videoappearset=nil) @AudioAppearSet = audioappearset @TextAppearSet = textappearset @VideoAppearSet = videoappearset end |
Instance Attribute Details
#AudioAppearSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
116 117 118 |
# File 'lib/v20210903/models.rb', line 116 def AudioAppearSet @AudioAppearSet end |
#TextAppearSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
116 117 118 |
# File 'lib/v20210903/models.rb', line 116 def TextAppearSet @TextAppearSet end |
#VideoAppearSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
116 117 118 |
# File 'lib/v20210903/models.rb', line 116 def VideoAppearSet @VideoAppearSet end |
Instance Method Details
#deserialize(params) ⇒ Object
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 |
# File 'lib/v20210903/models.rb', line 124 def deserialize(params) unless params['AudioAppearSet'].nil? @AudioAppearSet = [] params['AudioAppearSet'].each do |i| textappearinfo_tmp = TextAppearInfo.new textappearinfo_tmp.deserialize(i) @AudioAppearSet << textappearinfo_tmp end end unless params['TextAppearSet'].nil? @TextAppearSet = [] params['TextAppearSet'].each do |i| textappearinfo_tmp = TextAppearInfo.new textappearinfo_tmp.deserialize(i) @TextAppearSet << textappearinfo_tmp end end unless params['VideoAppearSet'].nil? @VideoAppearSet = [] params['VideoAppearSet'].each do |i| videoappearinfo_tmp = VideoAppearInfo.new videoappearinfo_tmp.deserialize(i) @VideoAppearSet << videoappearinfo_tmp end end end |