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.
18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 |
# File 'lib/v20190612/models.rb', line 18816 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
18814 18815 18816 |
# File 'lib/v20190612/models.rb', line 18814 def AsrFullTextConfigure @AsrFullTextConfigure end |
#AsrWordsConfigure ⇒ Object
18814 18815 18816 |
# File 'lib/v20190612/models.rb', line 18814 def AsrWordsConfigure @AsrWordsConfigure end |
#Comment ⇒ Object
18814 18815 18816 |
# File 'lib/v20190612/models.rb', line 18814 def Comment @Comment end |
#Definition ⇒ Object
18814 18815 18816 |
# File 'lib/v20190612/models.rb', line 18814 def Definition @Definition end |
#FaceConfigure ⇒ Object
18814 18815 18816 |
# File 'lib/v20190612/models.rb', line 18814 def FaceConfigure @FaceConfigure end |
#Name ⇒ Object
18814 18815 18816 |
# File 'lib/v20190612/models.rb', line 18814 def Name @Name end |
#OcrFullTextConfigure ⇒ Object
18814 18815 18816 |
# File 'lib/v20190612/models.rb', line 18814 def OcrFullTextConfigure @OcrFullTextConfigure end |
#OcrWordsConfigure ⇒ Object
18814 18815 18816 |
# File 'lib/v20190612/models.rb', line 18814 def OcrWordsConfigure @OcrWordsConfigure end |
#TranslateConfigure ⇒ Object
18814 18815 18816 |
# File 'lib/v20190612/models.rb', line 18814 def TranslateConfigure @TranslateConfigure end |
Instance Method Details
#deserialize(params) ⇒ Object
18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 |
# File 'lib/v20190612/models.rb', line 18828 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 |