Class: TencentCloud::Live::V20180801::PadTemplate

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

Overview

直播垫片模板。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(templateid = nil, templatename = nil, url = nil, createtime = nil, updatetime = nil, description = nil, waitduration = nil, maxduration = nil, type = nil) ⇒ PadTemplate

Returns a new instance of PadTemplate.



13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
# File 'lib/v20180801/models.rb', line 13258

def initialize(templateid=nil, templatename=nil, url=nil, createtime=nil, updatetime=nil, description=nil, waitduration=nil, maxduration=nil, type=nil)
  @TemplateId = templateid
  @TemplateName = templatename
  @Url = url
  @CreateTime = createtime
  @UpdateTime = updatetime
  @Description = description
  @WaitDuration = waitduration
  @MaxDuration = maxduration
  @Type = type
end

Instance Attribute Details

#CreateTimeObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

    垫片内容类型: 1:图片,2:视频。 默认值:1。



13256
13257
13258
# File 'lib/v20180801/models.rb', line 13256

def CreateTime
  @CreateTime
end

#DescriptionObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

    垫片内容类型: 1:图片,2:视频。 默认值:1。



13256
13257
13258
# File 'lib/v20180801/models.rb', line 13256

def Description
  @Description
end

#MaxDurationObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

    垫片内容类型: 1:图片,2:视频。 默认值:1。



13256
13257
13258
# File 'lib/v20180801/models.rb', line 13256

def MaxDuration
  @MaxDuration
end

#TemplateIdObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

    垫片内容类型: 1:图片,2:视频。 默认值:1。



13256
13257
13258
# File 'lib/v20180801/models.rb', line 13256

def TemplateId
  @TemplateId
end

#TemplateNameObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

    垫片内容类型: 1:图片,2:视频。 默认值:1。



13256
13257
13258
# File 'lib/v20180801/models.rb', line 13256

def TemplateName
  @TemplateName
end

#TypeObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

    垫片内容类型: 1:图片,2:视频。 默认值:1。



13256
13257
13258
# File 'lib/v20180801/models.rb', line 13256

def Type
  @Type
end

#UpdateTimeObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

    垫片内容类型: 1:图片,2:视频。 默认值:1。



13256
13257
13258
# File 'lib/v20180801/models.rb', line 13256

def UpdateTime
  @UpdateTime
end

#UrlObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

    垫片内容类型: 1:图片,2:视频。 默认值:1。



13256
13257
13258
# File 'lib/v20180801/models.rb', line 13256

def Url
  @Url
end

#WaitDurationObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

    垫片内容类型: 1:图片,2:视频。 默认值:1。



13256
13257
13258
# File 'lib/v20180801/models.rb', line 13256

def WaitDuration
  @WaitDuration
end

Instance Method Details

#deserialize(params) ⇒ Object



13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
# File 'lib/v20180801/models.rb', line 13270

def deserialize(params)
  @TemplateId = params['TemplateId']
  @TemplateName = params['TemplateName']
  @Url = params['Url']
  @CreateTime = params['CreateTime']
  @UpdateTime = params['UpdateTime']
  @Description = params['Description']
  @WaitDuration = params['WaitDuration']
  @MaxDuration = params['MaxDuration']
  @Type = params['Type']
end