Class: TencentCloud::Vod::V20180717::CreateAIRecognitionTemplateRequest

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

Overview

CreateAIRecognitionTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(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) ⇒ CreateAIRecognitionTemplateRequest



6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
# File 'lib/v20180717/models.rb', line 6323

def initialize(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)
  @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>



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def AsrFullTextConfigure
  @AsrFullTextConfigure
end

#AsrTranslateConfigureObject

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



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def AsrTranslateConfigure
  @AsrTranslateConfigure
end

#AsrWordsConfigureObject

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



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def AsrWordsConfigure
  @AsrWordsConfigure
end

#CommentObject

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



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def Comment
  @Comment
end

#FaceConfigureObject

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



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def FaceConfigure
  @FaceConfigure
end

#HeadTailConfigureObject

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



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def HeadTailConfigure
  @HeadTailConfigure
end

#NameObject

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



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def Name
  @Name
end

#ObjectConfigureObject

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



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def ObjectConfigure
  @ObjectConfigure
end

#OcrFullTextConfigureObject

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



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def OcrFullTextConfigure
  @OcrFullTextConfigure
end

#OcrWordsConfigureObject

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



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def OcrWordsConfigure
  @OcrWordsConfigure
end

#ScreenshotIntervalObject

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



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def ScreenshotInterval
  @ScreenshotInterval
end

#SegmentConfigureObject

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



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def SegmentConfigure
  @SegmentConfigure
end

#SubAppIdObject

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



6321
6322
6323
# File 'lib/v20180717/models.rb', line 6321

def SubAppId
  @SubAppId
end

Instance Method Details

#deserialize(params) ⇒ Object



6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
# File 'lib/v20180717/models.rb', line 6339

def deserialize(params)
  @SubAppId = params['SubAppId']
  @Name = params['Name']
  @Comment = params['Comment']
  unless params['HeadTailConfigure'].nil?
    @HeadTailConfigure = HeadTailConfigureInfo.new
    @HeadTailConfigure.deserialize(params['HeadTailConfigure'])
  end
  unless params['SegmentConfigure'].nil?
    @SegmentConfigure = SegmentConfigureInfo.new
    @SegmentConfigure.deserialize(params['SegmentConfigure'])
  end
  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['AsrTranslateConfigure'].nil?
    @AsrTranslateConfigure = AsrTranslateConfigureInfo.new
    @AsrTranslateConfigure.deserialize(params['AsrTranslateConfigure'])
  end
  unless params['ObjectConfigure'].nil?
    @ObjectConfigure = ObjectConfigureInfo.new
    @ObjectConfigure.deserialize(params['ObjectConfigure'])
  end
  @ScreenshotInterval = params['ScreenshotInterval']
end