Class: TencentCloud::Mps::V20190612::ModifyAIRecognitionTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ModifyAIRecognitionTemplateRequest
- Defined in:
- lib/v20190612/models.rb
Overview
ModifyAIRecognitionTemplate请求参数结构体
Instance Attribute Summary collapse
- #AsrFullTextConfigure ⇒ Object
- #AsrWordsConfigure ⇒ Object
- #Comment ⇒ Object
- #Definition ⇒ Object
- #FaceConfigure ⇒ Object
- #Name ⇒ Object
- #OcrFullTextConfigure ⇒ Object
- #OcrWordsConfigure ⇒ Object
- #TranslateConfigure ⇒ Object
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) ⇒ ModifyAIRecognitionTemplateRequest
constructor
A new instance of ModifyAIRecognitionTemplateRequest.
Constructor Details
#initialize(definition = nil, name = nil, comment = nil, faceconfigure = nil, ocrfulltextconfigure = nil, ocrwordsconfigure = nil, asrfulltextconfigure = nil, asrwordsconfigure = nil, translateconfigure = nil) ⇒ ModifyAIRecognitionTemplateRequest
Returns a new instance of ModifyAIRecognitionTemplateRequest.
21159 21160 21161 21162 21163 21164 21165 21166 21167 21168 21169 |
# File 'lib/v20190612/models.rb', line 21159 def initialize(definition=nil, name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, translateconfigure=nil) @Definition = definition @Name = name @Comment = comment @FaceConfigure = faceconfigure @OcrFullTextConfigure = ocrfulltextconfigure @OcrWordsConfigure = ocrwordsconfigure @AsrFullTextConfigure = asrfulltextconfigure @AsrWordsConfigure = asrwordsconfigure @TranslateConfigure = translateconfigure end |
Instance Attribute Details
#AsrFullTextConfigure ⇒ Object
21157 21158 21159 |
# File 'lib/v20190612/models.rb', line 21157 def AsrFullTextConfigure @AsrFullTextConfigure end |
#AsrWordsConfigure ⇒ Object
21157 21158 21159 |
# File 'lib/v20190612/models.rb', line 21157 def AsrWordsConfigure @AsrWordsConfigure end |
#Comment ⇒ Object
21157 21158 21159 |
# File 'lib/v20190612/models.rb', line 21157 def Comment @Comment end |
#Definition ⇒ Object
21157 21158 21159 |
# File 'lib/v20190612/models.rb', line 21157 def Definition @Definition end |
#FaceConfigure ⇒ Object
21157 21158 21159 |
# File 'lib/v20190612/models.rb', line 21157 def FaceConfigure @FaceConfigure end |
#Name ⇒ Object
21157 21158 21159 |
# File 'lib/v20190612/models.rb', line 21157 def Name @Name end |
#OcrFullTextConfigure ⇒ Object
21157 21158 21159 |
# File 'lib/v20190612/models.rb', line 21157 def OcrFullTextConfigure @OcrFullTextConfigure end |
#OcrWordsConfigure ⇒ Object
21157 21158 21159 |
# File 'lib/v20190612/models.rb', line 21157 def OcrWordsConfigure @OcrWordsConfigure end |
#TranslateConfigure ⇒ Object
21157 21158 21159 |
# File 'lib/v20190612/models.rb', line 21157 def TranslateConfigure @TranslateConfigure end |
Instance Method Details
#deserialize(params) ⇒ Object
21171 21172 21173 21174 21175 21176 21177 21178 21179 21180 21181 21182 21183 21184 21185 21186 21187 21188 21189 21190 21191 21192 21193 21194 21195 21196 21197 21198 21199 |
# File 'lib/v20190612/models.rb', line 21171 def deserialize(params) @Definition = params['Definition'] @Name = params['Name'] @Comment = params['Comment'] unless params['FaceConfigure'].nil? @FaceConfigure = FaceConfigureInfoForUpdate.new @FaceConfigure.deserialize(params['FaceConfigure']) end unless params['OcrFullTextConfigure'].nil? @OcrFullTextConfigure = OcrFullTextConfigureInfoForUpdate.new @OcrFullTextConfigure.deserialize(params['OcrFullTextConfigure']) end unless params['OcrWordsConfigure'].nil? @OcrWordsConfigure = OcrWordsConfigureInfoForUpdate.new @OcrWordsConfigure.deserialize(params['OcrWordsConfigure']) end unless params['AsrFullTextConfigure'].nil? @AsrFullTextConfigure = AsrFullTextConfigureInfoForUpdate.new @AsrFullTextConfigure.deserialize(params['AsrFullTextConfigure']) end unless params['AsrWordsConfigure'].nil? @AsrWordsConfigure = AsrWordsConfigureInfoForUpdate.new @AsrWordsConfigure.deserialize(params['AsrWordsConfigure']) end unless params['TranslateConfigure'].nil? @TranslateConfigure = TranslateConfigureInfoForUpdate.new @TranslateConfigure.deserialize(params['TranslateConfigure']) end end |