Class: TencentCloud::Live::V20180801::ModifyLivePadTemplateRequest

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

Overview

ModifyLivePadTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(templateid = nil, url = nil, waitduration = nil, maxduration = nil, templatename = nil, description = nil, type = nil) ⇒ ModifyLivePadTemplateRequest

Returns a new instance of ModifyLivePadTemplateRequest.



12286
12287
12288
12289
12290
12291
12292
12293
12294
# File 'lib/v20180801/models.rb', line 12286

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

Instance Attribute Details

#DescriptionObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。长度上限:255字节。仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。

Parameters:

  • TemplateId:

    模板id。

  • Url:

    垫片内容。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Type:

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



12284
12285
12286
# File 'lib/v20180801/models.rb', line 12284

def Description
  @Description
end

#MaxDurationObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。长度上限:255字节。仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。

Parameters:

  • TemplateId:

    模板id。

  • Url:

    垫片内容。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Type:

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



12284
12285
12286
# File 'lib/v20180801/models.rb', line 12284

def MaxDuration
  @MaxDuration
end

#TemplateIdObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。长度上限:255字节。仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。

Parameters:

  • TemplateId:

    模板id。

  • Url:

    垫片内容。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Type:

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



12284
12285
12286
# File 'lib/v20180801/models.rb', line 12284

def TemplateId
  @TemplateId
end

#TemplateNameObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。长度上限:255字节。仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。

Parameters:

  • TemplateId:

    模板id。

  • Url:

    垫片内容。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Type:

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



12284
12285
12286
# File 'lib/v20180801/models.rb', line 12284

def TemplateName
  @TemplateName
end

#TypeObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。长度上限:255字节。仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。

Parameters:

  • TemplateId:

    模板id。

  • Url:

    垫片内容。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Type:

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



12284
12285
12286
# File 'lib/v20180801/models.rb', line 12284

def Type
  @Type
end

#UrlObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。长度上限:255字节。仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。

Parameters:

  • TemplateId:

    模板id。

  • Url:

    垫片内容。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Type:

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



12284
12285
12286
# File 'lib/v20180801/models.rb', line 12284

def Url
  @Url
end

#WaitDurationObject

取值范围:0-30000。单位:ms。取值范围:0 - 正无穷。单位:ms。长度上限:255字节。仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。

Parameters:

  • TemplateId:

    模板id。

  • Url:

    垫片内容。

  • WaitDuration:

    断流等待时间。

  • MaxDuration:

    最大垫片时长。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Type:

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



12284
12285
12286
# File 'lib/v20180801/models.rb', line 12284

def WaitDuration
  @WaitDuration
end

Instance Method Details

#deserialize(params) ⇒ Object



12296
12297
12298
12299
12300
12301
12302
12303
12304
# File 'lib/v20180801/models.rb', line 12296

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