Class: TencentCloud::Mps::V20190612::AIRecognitionTemplateItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AIRecognitionTemplateItem
- Defined in:
- lib/v20190612/models.rb
Overview
视频内容识别模板详情
Instance Attribute Summary collapse
-
#AsrFullTextConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 * Preset:系统预置模板; * Custom:用户自定义模板。 注意:此字段可能返回 null,表示取不到有效值。.
-
#AsrWordsConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 * Preset:系统预置模板; * Custom:用户自定义模板。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Comment ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 * Preset:系统预置模板; * Custom:用户自定义模板。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 * Preset:系统预置模板; * Custom:用户自定义模板。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Definition ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 * Preset:系统预置模板; * Custom:用户自定义模板。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FaceConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 * Preset:系统预置模板; * Custom:用户自定义模板。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 * Preset:系统预置模板; * Custom:用户自定义模板。 注意:此字段可能返回 null,表示取不到有效值。.
-
#OcrFullTextConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 * Preset:系统预置模板; * Custom:用户自定义模板。 注意:此字段可能返回 null,表示取不到有效值。.
-
#OcrWordsConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 * Preset:系统预置模板; * Custom:用户自定义模板。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TranslateConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 * Preset:系统预置模板; * Custom:用户自定义模板。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 * Preset:系统预置模板; * Custom:用户自定义模板。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpdateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 * Preset:系统预置模板; * Custom:用户自定义模板。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(definition = nil, name = nil, comment = nil, faceconfigure = nil, ocrfulltextconfigure = nil, ocrwordsconfigure = nil, asrfulltextconfigure = nil, asrwordsconfigure = nil, translateconfigure = nil, createtime = nil, updatetime = nil, type = nil) ⇒ AIRecognitionTemplateItem
constructor
A new instance of AIRecognitionTemplateItem.
Constructor Details
#initialize(definition = nil, name = nil, comment = nil, faceconfigure = nil, ocrfulltextconfigure = nil, ocrwordsconfigure = nil, asrfulltextconfigure = nil, asrwordsconfigure = nil, translateconfigure = nil, createtime = nil, updatetime = nil, type = nil) ⇒ AIRecognitionTemplateItem
Returns a new instance of AIRecognitionTemplateItem.
124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'lib/v20190612/models.rb', line 124 def initialize(definition=nil, name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, translateconfigure=nil, createtime=nil, updatetime=nil, type=nil) @Definition = definition @Name = name @Comment = comment @FaceConfigure = faceconfigure @OcrFullTextConfigure = ocrfulltextconfigure @OcrWordsConfigure = ocrwordsconfigure @AsrFullTextConfigure = asrfulltextconfigure @AsrWordsConfigure = asrwordsconfigure @TranslateConfigure = translateconfigure @CreateTime = createtime @UpdateTime = updatetime @Type = type end |
Instance Attribute Details
#AsrFullTextConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
Preset:系统预置模板;
-
Custom:用户自定义模板。
注意:此字段可能返回 null,表示取不到有效值。
122 123 124 |
# File 'lib/v20190612/models.rb', line 122 def AsrFullTextConfigure @AsrFullTextConfigure end |
#AsrWordsConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
Preset:系统预置模板;
-
Custom:用户自定义模板。
注意:此字段可能返回 null,表示取不到有效值。
122 123 124 |
# File 'lib/v20190612/models.rb', line 122 def AsrWordsConfigure @AsrWordsConfigure end |
#Comment ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
Preset:系统预置模板;
-
Custom:用户自定义模板。
注意:此字段可能返回 null,表示取不到有效值。
122 123 124 |
# File 'lib/v20190612/models.rb', line 122 def Comment @Comment end |
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
Preset:系统预置模板;
-
Custom:用户自定义模板。
注意:此字段可能返回 null,表示取不到有效值。
122 123 124 |
# File 'lib/v20190612/models.rb', line 122 def CreateTime @CreateTime end |
#Definition ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
Preset:系统预置模板;
-
Custom:用户自定义模板。
注意:此字段可能返回 null,表示取不到有效值。
122 123 124 |
# File 'lib/v20190612/models.rb', line 122 def Definition @Definition end |
#FaceConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
Preset:系统预置模板;
-
Custom:用户自定义模板。
注意:此字段可能返回 null,表示取不到有效值。
122 123 124 |
# File 'lib/v20190612/models.rb', line 122 def FaceConfigure @FaceConfigure end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
Preset:系统预置模板;
-
Custom:用户自定义模板。
注意:此字段可能返回 null,表示取不到有效值。
122 123 124 |
# File 'lib/v20190612/models.rb', line 122 def Name @Name end |
#OcrFullTextConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
Preset:系统预置模板;
-
Custom:用户自定义模板。
注意:此字段可能返回 null,表示取不到有效值。
122 123 124 |
# File 'lib/v20190612/models.rb', line 122 def OcrFullTextConfigure @OcrFullTextConfigure end |
#OcrWordsConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
Preset:系统预置模板;
-
Custom:用户自定义模板。
注意:此字段可能返回 null,表示取不到有效值。
122 123 124 |
# File 'lib/v20190612/models.rb', line 122 def OcrWordsConfigure @OcrWordsConfigure end |
#TranslateConfigure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
Preset:系统预置模板;
-
Custom:用户自定义模板。
注意:此字段可能返回 null,表示取不到有效值。
122 123 124 |
# File 'lib/v20190612/models.rb', line 122 def TranslateConfigure @TranslateConfigure end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
Preset:系统预置模板;
-
Custom:用户自定义模板。
注意:此字段可能返回 null,表示取不到有效值。
122 123 124 |
# File 'lib/v20190612/models.rb', line 122 def Type @Type end |
#UpdateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
Preset:系统预置模板;
-
Custom:用户自定义模板。
注意:此字段可能返回 null,表示取不到有效值。
122 123 124 |
# File 'lib/v20190612/models.rb', line 122 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
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/v20190612/models.rb', line 139 def deserialize(params) @Definition = params['Definition'] @Name = params['Name'] @Comment = params['Comment'] unless params['FaceConfigure'].nil? @FaceConfigure = FaceConfigureInfo.new @FaceConfigure.deserialize(params['FaceConfigure']) end unless params['OcrFullTextConfigure'].nil? @OcrFullTextConfigure = OcrFullTextConfigureInfo.new @OcrFullTextConfigure.deserialize(params['OcrFullTextConfigure']) end unless params['OcrWordsConfigure'].nil? @OcrWordsConfigure = OcrWordsConfigureInfo.new @OcrWordsConfigure.deserialize(params['OcrWordsConfigure']) end unless params['AsrFullTextConfigure'].nil? @AsrFullTextConfigure = AsrFullTextConfigureInfo.new @AsrFullTextConfigure.deserialize(params['AsrFullTextConfigure']) end unless params['AsrWordsConfigure'].nil? @AsrWordsConfigure = AsrWordsConfigureInfo.new @AsrWordsConfigure.deserialize(params['AsrWordsConfigure']) end unless params['TranslateConfigure'].nil? @TranslateConfigure = TranslateConfigureInfo.new @TranslateConfigure.deserialize(params['TranslateConfigure']) end @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @Type = params['Type'] end |