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.
21460 21461 21462 21463 21464 21465 21466 21467 21468 21469 21470 |
# File 'lib/v20190612/models.rb', line 21460 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
21458 21459 21460 |
# File 'lib/v20190612/models.rb', line 21458 def AsrFullTextConfigure @AsrFullTextConfigure end |
#AsrWordsConfigure ⇒ Object
21458 21459 21460 |
# File 'lib/v20190612/models.rb', line 21458 def AsrWordsConfigure @AsrWordsConfigure end |
#Comment ⇒ Object
21458 21459 21460 |
# File 'lib/v20190612/models.rb', line 21458 def Comment @Comment end |
#Definition ⇒ Object
21458 21459 21460 |
# File 'lib/v20190612/models.rb', line 21458 def Definition @Definition end |
#FaceConfigure ⇒ Object
21458 21459 21460 |
# File 'lib/v20190612/models.rb', line 21458 def FaceConfigure @FaceConfigure end |
#Name ⇒ Object
21458 21459 21460 |
# File 'lib/v20190612/models.rb', line 21458 def Name @Name end |
#OcrFullTextConfigure ⇒ Object
21458 21459 21460 |
# File 'lib/v20190612/models.rb', line 21458 def OcrFullTextConfigure @OcrFullTextConfigure end |
#OcrWordsConfigure ⇒ Object
21458 21459 21460 |
# File 'lib/v20190612/models.rb', line 21458 def OcrWordsConfigure @OcrWordsConfigure end |
#TranslateConfigure ⇒ Object
21458 21459 21460 |
# File 'lib/v20190612/models.rb', line 21458 def TranslateConfigure @TranslateConfigure end |
Instance Method Details
#deserialize(params) ⇒ Object
21472 21473 21474 21475 21476 21477 21478 21479 21480 21481 21482 21483 21484 21485 21486 21487 21488 21489 21490 21491 21492 21493 21494 21495 21496 21497 21498 21499 21500 |
# File 'lib/v20190612/models.rb', line 21472 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 |