Class: TencentCloud::Mps::V20190612::DescribeAIRecognitionTemplatesRequest

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

Overview

DescribeAIRecognitionTemplates请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(definitions = nil, offset = nil, limit = nil, type = nil, name = nil) ⇒ DescribeAIRecognitionTemplatesRequest

Returns a new instance of DescribeAIRecognitionTemplatesRequest.



11597
11598
11599
11600
11601
11602
11603
# File 'lib/v20190612/models.rb', line 11597

def initialize(definitions=nil, offset=nil, limit=nil, type=nil, name=nil)
  @Definitions = definitions
  @Offset = offset
  @Limit = limit
  @Type = type
  @Name = name
end

Instance Attribute Details

#DefinitionsObject

  • Preset:系统预置模板;
  • Custom:用户自定义模板。

Parameters:

  • Definitions:

    视频内容识别模板唯一标识过滤条件,数组长度限制:100。

  • Offset:

    分页偏移量,默认值:0。

  • Limit:

    返回记录条数,默认值:10,最大值:50。

  • Type:

    模板类型过滤条件,不填则返回所有,可选值:

  • Name:

    视频内容识别模板标识过滤条件,长度限制:64 个字符。



11595
11596
11597
# File 'lib/v20190612/models.rb', line 11595

def Definitions
  @Definitions
end

#LimitObject

  • Preset:系统预置模板;
  • Custom:用户自定义模板。

Parameters:

  • Definitions:

    视频内容识别模板唯一标识过滤条件,数组长度限制:100。

  • Offset:

    分页偏移量,默认值:0。

  • Limit:

    返回记录条数,默认值:10,最大值:50。

  • Type:

    模板类型过滤条件,不填则返回所有,可选值:

  • Name:

    视频内容识别模板标识过滤条件,长度限制:64 个字符。



11595
11596
11597
# File 'lib/v20190612/models.rb', line 11595

def Limit
  @Limit
end

#NameObject

  • Preset:系统预置模板;
  • Custom:用户自定义模板。

Parameters:

  • Definitions:

    视频内容识别模板唯一标识过滤条件,数组长度限制:100。

  • Offset:

    分页偏移量,默认值:0。

  • Limit:

    返回记录条数,默认值:10,最大值:50。

  • Type:

    模板类型过滤条件,不填则返回所有,可选值:

  • Name:

    视频内容识别模板标识过滤条件,长度限制:64 个字符。



11595
11596
11597
# File 'lib/v20190612/models.rb', line 11595

def Name
  @Name
end

#OffsetObject

  • Preset:系统预置模板;
  • Custom:用户自定义模板。

Parameters:

  • Definitions:

    视频内容识别模板唯一标识过滤条件,数组长度限制:100。

  • Offset:

    分页偏移量,默认值:0。

  • Limit:

    返回记录条数,默认值:10,最大值:50。

  • Type:

    模板类型过滤条件,不填则返回所有,可选值:

  • Name:

    视频内容识别模板标识过滤条件,长度限制:64 个字符。



11595
11596
11597
# File 'lib/v20190612/models.rb', line 11595

def Offset
  @Offset
end

#TypeObject

  • Preset:系统预置模板;
  • Custom:用户自定义模板。

Parameters:

  • Definitions:

    视频内容识别模板唯一标识过滤条件,数组长度限制:100。

  • Offset:

    分页偏移量,默认值:0。

  • Limit:

    返回记录条数,默认值:10,最大值:50。

  • Type:

    模板类型过滤条件,不填则返回所有,可选值:

  • Name:

    视频内容识别模板标识过滤条件,长度限制:64 个字符。



11595
11596
11597
# File 'lib/v20190612/models.rb', line 11595

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



11605
11606
11607
11608
11609
11610
11611
# File 'lib/v20190612/models.rb', line 11605

def deserialize(params)
  @Definitions = params['Definitions']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @Type = params['Type']
  @Name = params['Name']
end