Class: TencentCloud::Mps::V20190612::CreateAIAnalysisTemplateRequest

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

Overview

CreateAIAnalysisTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, comment = nil, classificationconfigure = nil, tagconfigure = nil, coverconfigure = nil, frametagconfigure = nil) ⇒ CreateAIAnalysisTemplateRequest

Returns a new instance of CreateAIAnalysisTemplateRequest.



7470
7471
7472
7473
7474
7475
7476
7477
# File 'lib/v20190612/models.rb', line 7470

def initialize(name=nil, comment=nil, classificationconfigure=nil, tagconfigure=nil, coverconfigure=nil, frametagconfigure=nil)
  @Name = name
  @Comment = comment
  @ClassificationConfigure = classificationconfigure
  @TagConfigure = tagconfigure
  @CoverConfigure = coverconfigure
  @FrameTagConfigure = frametagconfigure
end

Instance Attribute Details

#ClassificationConfigureObject

Parameters:

  • Name:

    视频内容分析模板名称,长度限制:64 个字符。

  • Comment:

    视频内容分析模板描述信息,长度限制:256 个字符。

  • ClassificationConfigure:

    智能分类任务控制参数。

  • TagConfigure:

    智能标签任务控制参数。

  • CoverConfigure:

    智能封面任务控制参数。

  • FrameTagConfigure:

    智能按帧标签任务控制参数。



7468
7469
7470
# File 'lib/v20190612/models.rb', line 7468

def ClassificationConfigure
  @ClassificationConfigure
end

#CommentObject

Parameters:

  • Name:

    视频内容分析模板名称,长度限制:64 个字符。

  • Comment:

    视频内容分析模板描述信息,长度限制:256 个字符。

  • ClassificationConfigure:

    智能分类任务控制参数。

  • TagConfigure:

    智能标签任务控制参数。

  • CoverConfigure:

    智能封面任务控制参数。

  • FrameTagConfigure:

    智能按帧标签任务控制参数。



7468
7469
7470
# File 'lib/v20190612/models.rb', line 7468

def Comment
  @Comment
end

#CoverConfigureObject

Parameters:

  • Name:

    视频内容分析模板名称,长度限制:64 个字符。

  • Comment:

    视频内容分析模板描述信息,长度限制:256 个字符。

  • ClassificationConfigure:

    智能分类任务控制参数。

  • TagConfigure:

    智能标签任务控制参数。

  • CoverConfigure:

    智能封面任务控制参数。

  • FrameTagConfigure:

    智能按帧标签任务控制参数。



7468
7469
7470
# File 'lib/v20190612/models.rb', line 7468

def CoverConfigure
  @CoverConfigure
end

#FrameTagConfigureObject

Parameters:

  • Name:

    视频内容分析模板名称,长度限制:64 个字符。

  • Comment:

    视频内容分析模板描述信息,长度限制:256 个字符。

  • ClassificationConfigure:

    智能分类任务控制参数。

  • TagConfigure:

    智能标签任务控制参数。

  • CoverConfigure:

    智能封面任务控制参数。

  • FrameTagConfigure:

    智能按帧标签任务控制参数。



7468
7469
7470
# File 'lib/v20190612/models.rb', line 7468

def FrameTagConfigure
  @FrameTagConfigure
end

#NameObject

Parameters:

  • Name:

    视频内容分析模板名称,长度限制:64 个字符。

  • Comment:

    视频内容分析模板描述信息,长度限制:256 个字符。

  • ClassificationConfigure:

    智能分类任务控制参数。

  • TagConfigure:

    智能标签任务控制参数。

  • CoverConfigure:

    智能封面任务控制参数。

  • FrameTagConfigure:

    智能按帧标签任务控制参数。



7468
7469
7470
# File 'lib/v20190612/models.rb', line 7468

def Name
  @Name
end

#TagConfigureObject

Parameters:

  • Name:

    视频内容分析模板名称,长度限制:64 个字符。

  • Comment:

    视频内容分析模板描述信息,长度限制:256 个字符。

  • ClassificationConfigure:

    智能分类任务控制参数。

  • TagConfigure:

    智能标签任务控制参数。

  • CoverConfigure:

    智能封面任务控制参数。

  • FrameTagConfigure:

    智能按帧标签任务控制参数。



7468
7469
7470
# File 'lib/v20190612/models.rb', line 7468

def TagConfigure
  @TagConfigure
end

Instance Method Details

#deserialize(params) ⇒ Object



7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
# File 'lib/v20190612/models.rb', line 7479

def deserialize(params)
  @Name = params['Name']
  @Comment = params['Comment']
  unless params['ClassificationConfigure'].nil?
    @ClassificationConfigure = ClassificationConfigureInfo.new
    @ClassificationConfigure.deserialize(params['ClassificationConfigure'])
  end
  unless params['TagConfigure'].nil?
    @TagConfigure = TagConfigureInfo.new
    @TagConfigure.deserialize(params['TagConfigure'])
  end
  unless params['CoverConfigure'].nil?
    @CoverConfigure = CoverConfigureInfo.new
    @CoverConfigure.deserialize(params['CoverConfigure'])
  end
  unless params['FrameTagConfigure'].nil?
    @FrameTagConfigure = FrameTagConfigureInfo.new
    @FrameTagConfigure.deserialize(params['FrameTagConfigure'])
  end
end