Class: TencentCloud::Live::V20180801::TimeShiftTemplate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::TimeShiftTemplate
- Defined in:
- lib/v20180801/models.rb
Overview
直播时移模板配置
Instance Attribute Summary collapse
-
#Area ⇒ Object
单位:秒。 可取3-10。 单位:s。 默认值:5。 Mainland:中国大陆; Overseas:海外及港澳台地区; 默认值:Mainland。 为true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#Description ⇒ Object
单位:秒。 可取3-10。 单位:s。 默认值:5。 Mainland:中国大陆; Overseas:海外及港澳台地区; 默认值:Mainland。 为true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#Duration ⇒ Object
单位:秒。 可取3-10。 单位:s。 默认值:5。 Mainland:中国大陆; Overseas:海外及港澳台地区; 默认值:Mainland。 为true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#ItemDuration ⇒ Object
单位:秒。 可取3-10。 单位:s。 默认值:5。 Mainland:中国大陆; Overseas:海外及港澳台地区; 默认值:Mainland。 为true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#RemoveWatermark ⇒ Object
单位:秒。 可取3-10。 单位:s。 默认值:5。 Mainland:中国大陆; Overseas:海外及港澳台地区; 默认值:Mainland。 为true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#TemplateId ⇒ Object
单位:秒。 可取3-10。 单位:s。 默认值:5。 Mainland:中国大陆; Overseas:海外及港澳台地区; 默认值:Mainland。 为true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#TemplateName ⇒ Object
单位:秒。 可取3-10。 单位:s。 默认值:5。 Mainland:中国大陆; Overseas:海外及港澳台地区; 默认值:Mainland。 为true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
-
#TranscodeTemplateIds ⇒ Object
单位:秒。 可取3-10。 单位:s。 默认值:5。 Mainland:中国大陆; Overseas:海外及港澳台地区; 默认值:Mainland。 为true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templatename = nil, duration = nil, itemduration = nil, templateid = nil, description = nil, area = nil, removewatermark = nil, transcodetemplateids = nil) ⇒ TimeShiftTemplate
constructor
A new instance of TimeShiftTemplate.
Constructor Details
#initialize(templatename = nil, duration = nil, itemduration = nil, templateid = nil, description = nil, area = nil, removewatermark = nil, transcodetemplateids = nil) ⇒ TimeShiftTemplate
Returns a new instance of TimeShiftTemplate.
15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 |
# File 'lib/v20180801/models.rb', line 15681 def initialize(templatename=nil, duration=nil, itemduration=nil, templateid=nil, description=nil, area=nil, removewatermark=nil, transcodetemplateids=nil) @TemplateName = templatename @Duration = duration @ItemDuration = itemduration @TemplateId = templateid @Description = description @Area = area @RemoveWatermark = removewatermark @TranscodeTemplateIds = transcodetemplateids end |
Instance Attribute Details
#Area ⇒ Object
单位:秒。可取3-10。单位:s。默认值:5。Mainland:中国大陆;Overseas:海外及港澳台地区;默认值:Mainland。为true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
15679 15680 15681 |
# File 'lib/v20180801/models.rb', line 15679 def Area @Area end |
#Description ⇒ Object
单位:秒。可取3-10。单位:s。默认值:5。Mainland:中国大陆;Overseas:海外及港澳台地区;默认值:Mainland。为true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
15679 15680 15681 |
# File 'lib/v20180801/models.rb', line 15679 def Description @Description end |
#Duration ⇒ Object
单位:秒。可取3-10。单位:s。默认值:5。Mainland:中国大陆;Overseas:海外及港澳台地区;默认值:Mainland。为true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
15679 15680 15681 |
# File 'lib/v20180801/models.rb', line 15679 def Duration @Duration end |
#ItemDuration ⇒ Object
单位:秒。可取3-10。单位:s。默认值:5。Mainland:中国大陆;Overseas:海外及港澳台地区;默认值:Mainland。为true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
15679 15680 15681 |
# File 'lib/v20180801/models.rb', line 15679 def ItemDuration @ItemDuration end |
#RemoveWatermark ⇒ Object
单位:秒。可取3-10。单位:s。默认值:5。Mainland:中国大陆;Overseas:海外及港澳台地区;默认值:Mainland。为true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
15679 15680 15681 |
# File 'lib/v20180801/models.rb', line 15679 def RemoveWatermark @RemoveWatermark end |
#TemplateId ⇒ Object
单位:秒。可取3-10。单位:s。默认值:5。Mainland:中国大陆;Overseas:海外及港澳台地区;默认值:Mainland。为true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
15679 15680 15681 |
# File 'lib/v20180801/models.rb', line 15679 def TemplateId @TemplateId end |
#TemplateName ⇒ Object
单位:秒。可取3-10。单位:s。默认值:5。Mainland:中国大陆;Overseas:海外及港澳台地区;默认值:Mainland。为true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
15679 15680 15681 |
# File 'lib/v20180801/models.rb', line 15679 def TemplateName @TemplateName end |
#TranscodeTemplateIds ⇒ Object
单位:秒。可取3-10。单位:s。默认值:5。Mainland:中国大陆;Overseas:海外及港澳台地区;默认值:Mainland。为true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。
15679 15680 15681 |
# File 'lib/v20180801/models.rb', line 15679 def TranscodeTemplateIds @TranscodeTemplateIds end |
Instance Method Details
#deserialize(params) ⇒ Object
15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 |
# File 'lib/v20180801/models.rb', line 15692 def deserialize(params) @TemplateName = params['TemplateName'] @Duration = params['Duration'] @ItemDuration = params['ItemDuration'] @TemplateId = params['TemplateId'] @Description = params['Description'] @Area = params['Area'] @RemoveWatermark = params['RemoveWatermark'] @TranscodeTemplateIds = params['TranscodeTemplateIds'] end |