Class: TencentCloud::Vod::V20180717::ModifyAIRecognitionTemplateRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180717/models.rb

Overview

ModifyAIRecognitionTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(definition = nil, subappid = nil, name = nil, comment = nil, headtailconfigure = nil, segmentconfigure = nil, faceconfigure = nil, ocrfulltextconfigure = nil, ocrwordsconfigure = nil, asrfulltextconfigure = nil, asrwordsconfigure = nil, asrtranslateconfigure = nil, objectconfigure = nil, screenshotinterval = nil) ⇒ ModifyAIRecognitionTemplateRequest



18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
# File 'lib/v20180717/models.rb', line 18895

def initialize(definition=nil, subappid=nil, name=nil, comment=nil, headtailconfigure=nil, segmentconfigure=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, asrtranslateconfigure=nil, objectconfigure=nil, screenshotinterval=nil)
  @Definition = definition
  @SubAppId = subappid
  @Name = name
  @Comment = comment
  @HeadTailConfigure = headtailconfigure
  @SegmentConfigure = segmentconfigure
  @FaceConfigure = faceconfigure
  @OcrFullTextConfigure = ocrfulltextconfigure
  @OcrWordsConfigure = ocrwordsconfigure
  @AsrFullTextConfigure = asrfulltextconfigure
  @AsrWordsConfigure = asrwordsconfigure
  @AsrTranslateConfigure = asrtranslateconfigure
  @ObjectConfigure = objectconfigure
  @ScreenshotInterval = screenshotinterval
end

Instance Attribute Details

#AsrFullTextConfigureObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def AsrFullTextConfigure
  @AsrFullTextConfigure
end

#AsrTranslateConfigureObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def AsrTranslateConfigure
  @AsrTranslateConfigure
end

#AsrWordsConfigureObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def AsrWordsConfigure
  @AsrWordsConfigure
end

#CommentObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def Comment
  @Comment
end

#DefinitionObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def Definition
  @Definition
end

#FaceConfigureObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def FaceConfigure
  @FaceConfigure
end

#HeadTailConfigureObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def HeadTailConfigure
  @HeadTailConfigure
end

#NameObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def Name
  @Name
end

#ObjectConfigureObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def ObjectConfigure
  @ObjectConfigure
end

#OcrFullTextConfigureObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def OcrFullTextConfigure
  @OcrFullTextConfigure
end

#OcrWordsConfigureObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def OcrWordsConfigure
  @OcrWordsConfigure
end

#ScreenshotIntervalObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def ScreenshotInterval
  @ScreenshotInterval
end

#SegmentConfigureObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def SegmentConfigure
  @SegmentConfigure
end

#SubAppIdObject

<font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>



18893
18894
18895
# File 'lib/v20180717/models.rb', line 18893

def SubAppId
  @SubAppId
end

Instance Method Details

#deserialize(params) ⇒ Object



18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
# File 'lib/v20180717/models.rb', line 18912

def deserialize(params)
  @Definition = params['Definition']
  @SubAppId = params['SubAppId']
  @Name = params['Name']
  @Comment = params['Comment']
  unless params['HeadTailConfigure'].nil?
    @HeadTailConfigure = HeadTailConfigureInfoForUpdate.new
    @HeadTailConfigure.deserialize(params['HeadTailConfigure'])
  end
  unless params['SegmentConfigure'].nil?
    @SegmentConfigure = SegmentConfigureInfoForUpdate.new
    @SegmentConfigure.deserialize(params['SegmentConfigure'])
  end
  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['AsrTranslateConfigure'].nil?
    @AsrTranslateConfigure = AsrTranslateConfigureInfoForUpdate.new
    @AsrTranslateConfigure.deserialize(params['AsrTranslateConfigure'])
  end
  unless params['ObjectConfigure'].nil?
    @ObjectConfigure = ObjectConfigureInfoForUpdate.new
    @ObjectConfigure.deserialize(params['ObjectConfigure'])
  end
  @ScreenshotInterval = params['ScreenshotInterval']
end