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.
6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 |
# File 'lib/v20190612/models.rb', line 6682 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
6680 6681 6682 |
# File 'lib/v20190612/models.rb', line 6680 def AsrFullTextConfigure @AsrFullTextConfigure end |
#AsrWordsConfigure ⇒ Object
6680 6681 6682 |
# File 'lib/v20190612/models.rb', line 6680 def AsrWordsConfigure @AsrWordsConfigure end |
#Comment ⇒ Object
6680 6681 6682 |
# File 'lib/v20190612/models.rb', line 6680 def Comment @Comment end |
#FaceConfigure ⇒ Object
6680 6681 6682 |
# File 'lib/v20190612/models.rb', line 6680 def FaceConfigure @FaceConfigure end |
#Name ⇒ Object
6680 6681 6682 |
# File 'lib/v20190612/models.rb', line 6680 def Name @Name end |
#OcrFullTextConfigure ⇒ Object
6680 6681 6682 |
# File 'lib/v20190612/models.rb', line 6680 def OcrFullTextConfigure @OcrFullTextConfigure end |
#OcrWordsConfigure ⇒ Object
6680 6681 6682 |
# File 'lib/v20190612/models.rb', line 6680 def OcrWordsConfigure @OcrWordsConfigure end |
#TranslateConfigure ⇒ Object
6680 6681 6682 |
# File 'lib/v20190612/models.rb', line 6680 def TranslateConfigure @TranslateConfigure end |
Instance Method Details
#deserialize(params) ⇒ Object
6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 |
# File 'lib/v20190612/models.rb', line 6693 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 |