Class: TencentCloud::Mps::V20190612::CreateAIRecognitionTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::CreateAIRecognitionTemplateRequest
- Defined in:
- lib/v20190612/models.rb
Overview
CreateAIRecognitionTemplate请求参数结构体
Instance Attribute Summary collapse
- #AsrFullTextConfigure ⇒ Object
- #AsrWordsConfigure ⇒ Object
- #Comment ⇒ Object
- #FaceConfigure ⇒ Object
- #Name ⇒ Object
- #OcrFullTextConfigure ⇒ Object
- #OcrWordsConfigure ⇒ Object
- #TranslateConfigure ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, comment = nil, faceconfigure = nil, ocrfulltextconfigure = nil, ocrwordsconfigure = nil, asrfulltextconfigure = nil, asrwordsconfigure = nil, translateconfigure = nil) ⇒ CreateAIRecognitionTemplateRequest
constructor
A new instance of CreateAIRecognitionTemplateRequest.
Constructor Details
#initialize(name = nil, comment = nil, faceconfigure = nil, ocrfulltextconfigure = nil, ocrwordsconfigure = nil, asrfulltextconfigure = nil, asrwordsconfigure = nil, translateconfigure = nil) ⇒ CreateAIRecognitionTemplateRequest
Returns a new instance of CreateAIRecognitionTemplateRequest.
7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 |
# File 'lib/v20190612/models.rb', line 7603 def initialize(name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, translateconfigure=nil) @Name = name @Comment = comment @FaceConfigure = faceconfigure @OcrFullTextConfigure = ocrfulltextconfigure @OcrWordsConfigure = ocrwordsconfigure @AsrFullTextConfigure = asrfulltextconfigure @AsrWordsConfigure = asrwordsconfigure @TranslateConfigure = translateconfigure end |
Instance Attribute Details
#AsrFullTextConfigure ⇒ Object
7601 7602 7603 |
# File 'lib/v20190612/models.rb', line 7601 def AsrFullTextConfigure @AsrFullTextConfigure end |
#AsrWordsConfigure ⇒ Object
7601 7602 7603 |
# File 'lib/v20190612/models.rb', line 7601 def AsrWordsConfigure @AsrWordsConfigure end |
#Comment ⇒ Object
7601 7602 7603 |
# File 'lib/v20190612/models.rb', line 7601 def Comment @Comment end |
#FaceConfigure ⇒ Object
7601 7602 7603 |
# File 'lib/v20190612/models.rb', line 7601 def FaceConfigure @FaceConfigure end |
#Name ⇒ Object
7601 7602 7603 |
# File 'lib/v20190612/models.rb', line 7601 def Name @Name end |
#OcrFullTextConfigure ⇒ Object
7601 7602 7603 |
# File 'lib/v20190612/models.rb', line 7601 def OcrFullTextConfigure @OcrFullTextConfigure end |
#OcrWordsConfigure ⇒ Object
7601 7602 7603 |
# File 'lib/v20190612/models.rb', line 7601 def OcrWordsConfigure @OcrWordsConfigure end |
#TranslateConfigure ⇒ Object
7601 7602 7603 |
# File 'lib/v20190612/models.rb', line 7601 def TranslateConfigure @TranslateConfigure end |
Instance Method Details
#deserialize(params) ⇒ Object
7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 |
# File 'lib/v20190612/models.rb', line 7614 def deserialize(params) @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 end |