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.



13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
# File 'lib/v20180801/models.rb', line 13359

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。



13357
13358
13359
# File 'lib/v20180801/models.rb', line 13357

def CreateTime
  @CreateTime
end

#DescriptionObject

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

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

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



13357
13358
13359
# File 'lib/v20180801/models.rb', line 13357

def Description
  @Description
end

#MaxDurationObject

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

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

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



13357
13358
13359
# File 'lib/v20180801/models.rb', line 13357

def MaxDuration
  @MaxDuration
end

#TemplateIdObject

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

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

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



13357
13358
13359
# File 'lib/v20180801/models.rb', line 13357

def TemplateId
  @TemplateId
end

#TemplateNameObject

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

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

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



13357
13358
13359
# File 'lib/v20180801/models.rb', line 13357

def TemplateName
  @TemplateName
end

#TypeObject

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

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

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



13357
13358
13359
# File 'lib/v20180801/models.rb', line 13357

def Type
  @Type
end

#UpdateTimeObject

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

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

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



13357
13358
13359
# File 'lib/v20180801/models.rb', line 13357

def UpdateTime
  @UpdateTime
end

#UrlObject

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

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

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



13357
13358
13359
# File 'lib/v20180801/models.rb', line 13357

def Url
  @Url
end

#WaitDurationObject

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

Parameters:

  • TemplateId:

    模板id。

  • TemplateName:

    模板名称。

  • Url:

    垫片内容。

  • CreateTime:

    模板创建时间。

  • UpdateTime:

    模板修改时间。

  • Description:

    模板描述。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • Type:

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



13357
13358
13359
# File 'lib/v20180801/models.rb', line 13357

def WaitDuration
  @WaitDuration
end

Instance Method Details

#deserialize(params) ⇒ Object



13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
# File 'lib/v20180801/models.rb', line 13371

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