Class: TencentCloud::Mps::V20190612::DescribeContentReviewTemplatesRequest

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

Overview

DescribeContentReviewTemplates请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeContentReviewTemplatesRequest.



12250
12251
12252
12253
12254
12255
12256
# File 'lib/v20190612/models.rb', line 12250

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:

    智能审核模板唯一标识过滤条件,数组长度限制:50。

  • Offset:

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

  • Limit:

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

  • Type:

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

  • Name:

    智能审核模板标识过滤条件,长度限制:64 个字符。



12248
12249
12250
# File 'lib/v20190612/models.rb', line 12248

def Definitions
  @Definitions
end

#LimitObject

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

Parameters:

  • Definitions:

    智能审核模板唯一标识过滤条件,数组长度限制:50。

  • Offset:

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

  • Limit:

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

  • Type:

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

  • Name:

    智能审核模板标识过滤条件,长度限制:64 个字符。



12248
12249
12250
# File 'lib/v20190612/models.rb', line 12248

def Limit
  @Limit
end

#NameObject

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

Parameters:

  • Definitions:

    智能审核模板唯一标识过滤条件,数组长度限制:50。

  • Offset:

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

  • Limit:

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

  • Type:

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

  • Name:

    智能审核模板标识过滤条件,长度限制:64 个字符。



12248
12249
12250
# File 'lib/v20190612/models.rb', line 12248

def Name
  @Name
end

#OffsetObject

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

Parameters:

  • Definitions:

    智能审核模板唯一标识过滤条件,数组长度限制:50。

  • Offset:

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

  • Limit:

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

  • Type:

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

  • Name:

    智能审核模板标识过滤条件,长度限制:64 个字符。



12248
12249
12250
# File 'lib/v20190612/models.rb', line 12248

def Offset
  @Offset
end

#TypeObject

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

Parameters:

  • Definitions:

    智能审核模板唯一标识过滤条件,数组长度限制:50。

  • Offset:

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

  • Limit:

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

  • Type:

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

  • Name:

    智能审核模板标识过滤条件,长度限制:64 个字符。



12248
12249
12250
# File 'lib/v20190612/models.rb', line 12248

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



12258
12259
12260
12261
12262
12263
12264
# File 'lib/v20190612/models.rb', line 12258

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