Class: TencentCloud::Live::V20180801::ModifyLiveTimeShiftTemplateRequest

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

Overview

ModifyLiveTimeShiftTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(templateid = nil, templatename = nil, description = nil, duration = nil, itemduration = nil, removewatermark = nil, transcodetemplateids = nil, area = nil) ⇒ ModifyLiveTimeShiftTemplateRequest

Returns a new instance of ModifyLiveTimeShiftTemplateRequest.



12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
# File 'lib/v20180801/models.rb', line 12945

def initialize(templateid=nil, templatename=nil, description=nil, duration=nil, itemduration=nil, removewatermark=nil, transcodetemplateids=nil, area=nil)
  @TemplateId = templateid
  @TemplateName = templatename
  @Description = description
  @Duration = duration
  @ItemDuration = itemduration
  @RemoveWatermark = removewatermark
  @TranscodeTemplateIds = transcodetemplateids
  @Area = area
end

Instance Attribute Details

#AreaObject

仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。

Parameters:

  • TemplateId:

    时移模板id。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Duration:

    时移时长。

  • ItemDuration:

    分片时长。

  • RemoveWatermark:

    是否去除水印。

  • TranscodeTemplateIds:

    转码流id列表。

  • Area:

    地域。



12943
12944
12945
# File 'lib/v20180801/models.rb', line 12943

def Area
  @Area
end

#DescriptionObject

仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。

Parameters:

  • TemplateId:

    时移模板id。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Duration:

    时移时长。

  • ItemDuration:

    分片时长。

  • RemoveWatermark:

    是否去除水印。

  • TranscodeTemplateIds:

    转码流id列表。

  • Area:

    地域。



12943
12944
12945
# File 'lib/v20180801/models.rb', line 12943

def Description
  @Description
end

#DurationObject

仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。

Parameters:

  • TemplateId:

    时移模板id。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Duration:

    时移时长。

  • ItemDuration:

    分片时长。

  • RemoveWatermark:

    是否去除水印。

  • TranscodeTemplateIds:

    转码流id列表。

  • Area:

    地域。



12943
12944
12945
# File 'lib/v20180801/models.rb', line 12943

def Duration
  @Duration
end

#ItemDurationObject

仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。

Parameters:

  • TemplateId:

    时移模板id。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Duration:

    时移时长。

  • ItemDuration:

    分片时长。

  • RemoveWatermark:

    是否去除水印。

  • TranscodeTemplateIds:

    转码流id列表。

  • Area:

    地域。



12943
12944
12945
# File 'lib/v20180801/models.rb', line 12943

def ItemDuration
  @ItemDuration
end

#RemoveWatermarkObject

仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。

Parameters:

  • TemplateId:

    时移模板id。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Duration:

    时移时长。

  • ItemDuration:

    分片时长。

  • RemoveWatermark:

    是否去除水印。

  • TranscodeTemplateIds:

    转码流id列表。

  • Area:

    地域。



12943
12944
12945
# File 'lib/v20180801/models.rb', line 12943

def RemoveWatermark
  @RemoveWatermark
end

#TemplateIdObject

仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。

Parameters:

  • TemplateId:

    时移模板id。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Duration:

    时移时长。

  • ItemDuration:

    分片时长。

  • RemoveWatermark:

    是否去除水印。

  • TranscodeTemplateIds:

    转码流id列表。

  • Area:

    地域。



12943
12944
12945
# File 'lib/v20180801/models.rb', line 12943

def TemplateId
  @TemplateId
end

#TemplateNameObject

仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。

Parameters:

  • TemplateId:

    时移模板id。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Duration:

    时移时长。

  • ItemDuration:

    分片时长。

  • RemoveWatermark:

    是否去除水印。

  • TranscodeTemplateIds:

    转码流id列表。

  • Area:

    地域。



12943
12944
12945
# File 'lib/v20180801/models.rb', line 12943

def TemplateName
  @TemplateName
end

#TranscodeTemplateIdsObject

仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。

Parameters:

  • TemplateId:

    时移模板id。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • Duration:

    时移时长。

  • ItemDuration:

    分片时长。

  • RemoveWatermark:

    是否去除水印。

  • TranscodeTemplateIds:

    转码流id列表。

  • Area:

    地域。



12943
12944
12945
# File 'lib/v20180801/models.rb', line 12943

def TranscodeTemplateIds
  @TranscodeTemplateIds
end

Instance Method Details

#deserialize(params) ⇒ Object



12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
# File 'lib/v20180801/models.rb', line 12956

def deserialize(params)
  @TemplateId = params['TemplateId']
  @TemplateName = params['TemplateName']
  @Description = params['Description']
  @Duration = params['Duration']
  @ItemDuration = params['ItemDuration']
  @RemoveWatermark = params['RemoveWatermark']
  @TranscodeTemplateIds = params['TranscodeTemplateIds']
  @Area = params['Area']
end