Class: TencentCloud::Live::V20180801::CreateLiveTimeShiftTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::CreateLiveTimeShiftTemplateRequest
- Defined in:
- lib/v20180801/models.rb
Overview
CreateLiveTimeShiftTemplate请求参数结构体
Instance Attribute Summary collapse
-
#Area ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 仅支持中文、英文、数字、_、-。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#Description ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 仅支持中文、英文、数字、_、-。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#Duration ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 仅支持中文、英文、数字、_、-。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#ItemDuration ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 仅支持中文、英文、数字、_、-。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#RemoveWatermark ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 仅支持中文、英文、数字、_、-。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#TemplateName ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 仅支持中文、英文、数字、_、-。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#TranscodeTemplateIds ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 仅支持中文、英文、数字、_、-。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templatename = nil, duration = nil, description = nil, area = nil, itemduration = nil, removewatermark = nil, transcodetemplateids = nil) ⇒ CreateLiveTimeShiftTemplateRequest
constructor
A new instance of CreateLiveTimeShiftTemplateRequest.
Constructor Details
#initialize(templatename = nil, duration = nil, description = nil, area = nil, itemduration = nil, removewatermark = nil, transcodetemplateids = nil) ⇒ CreateLiveTimeShiftTemplateRequest
Returns a new instance of CreateLiveTimeShiftTemplateRequest.
3549 3550 3551 3552 3553 3554 3555 3556 3557 |
# File 'lib/v20180801/models.rb', line 3549 def initialize(templatename=nil, duration=nil, description=nil, area=nil, itemduration=nil, removewatermark=nil, transcodetemplateids=nil) @TemplateName = templatename @Duration = duration @Description = description @Area = area @ItemDuration = itemduration @RemoveWatermark = removewatermark @TranscodeTemplateIds = transcodetemplateids end |
Instance Attribute Details
#Area ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。仅支持中文、英文、数字、_、-。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
3547 3548 3549 |
# File 'lib/v20180801/models.rb', line 3547 def Area @Area end |
#Description ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。仅支持中文、英文、数字、_、-。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
3547 3548 3549 |
# File 'lib/v20180801/models.rb', line 3547 def Description @Description end |
#Duration ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。仅支持中文、英文、数字、_、-。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
3547 3548 3549 |
# File 'lib/v20180801/models.rb', line 3547 def Duration @Duration end |
#ItemDuration ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。仅支持中文、英文、数字、_、-。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
3547 3548 3549 |
# File 'lib/v20180801/models.rb', line 3547 def ItemDuration @ItemDuration end |
#RemoveWatermark ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。仅支持中文、英文、数字、_、-。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
3547 3548 3549 |
# File 'lib/v20180801/models.rb', line 3547 def RemoveWatermark @RemoveWatermark end |
#TemplateName ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。仅支持中文、英文、数字、_、-。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
3547 3548 3549 |
# File 'lib/v20180801/models.rb', line 3547 def TemplateName @TemplateName end |
#TranscodeTemplateIds ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。仅支持中文、英文、数字、_、-。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
3547 3548 3549 |
# File 'lib/v20180801/models.rb', line 3547 def TranscodeTemplateIds @TranscodeTemplateIds end |
Instance Method Details
#deserialize(params) ⇒ Object
3559 3560 3561 3562 3563 3564 3565 3566 3567 |
# File 'lib/v20180801/models.rb', line 3559 def deserialize(params) @TemplateName = params['TemplateName'] @Duration = params['Duration'] @Description = params['Description'] @Area = params['Area'] @ItemDuration = params['ItemDuration'] @RemoveWatermark = params['RemoveWatermark'] @TranscodeTemplateIds = params['TranscodeTemplateIds'] end |