Class: TencentCloud::Live::V20180801::ModifyLiveTimeShiftTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::ModifyLiveTimeShiftTemplateRequest
- Defined in:
- lib/v20180801/models.rb
Overview
ModifyLiveTimeShiftTemplate请求参数结构体
Instance Attribute Summary collapse
-
#Area ⇒ Object
仅支持中文、英文、数字、_、-。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 单位:s。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。.
-
#Description ⇒ Object
仅支持中文、英文、数字、_、-。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 单位:s。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。.
-
#Duration ⇒ Object
仅支持中文、英文、数字、_、-。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 单位:s。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。.
-
#ItemDuration ⇒ Object
仅支持中文、英文、数字、_、-。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 单位:s。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。.
-
#RemoveWatermark ⇒ Object
仅支持中文、英文、数字、_、-。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 单位:s。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。.
-
#TemplateId ⇒ Object
仅支持中文、英文、数字、_、-。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 单位:s。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。.
-
#TemplateName ⇒ Object
仅支持中文、英文、数字、_、-。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 单位:s。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。.
-
#TranscodeTemplateIds ⇒ Object
仅支持中文、英文、数字、_、-。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 单位:s。 可取3-10。 单位:s。 默认值:5。 传true则将录制原始流。 默认值:false。 此参数仅在 RemoveWatermark为false时生效。 Mainland:中国大陆。 Overseas:海外及港澳台地区。 默认值:Mainland。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templateid = nil, templatename = nil, description = nil, duration = nil, itemduration = nil, removewatermark = nil, transcodetemplateids = nil, area = nil) ⇒ ModifyLiveTimeShiftTemplateRequest
constructor
A new instance of ModifyLiveTimeShiftTemplateRequest.
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
#Area ⇒ Object
仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。
12943 12944 12945 |
# File 'lib/v20180801/models.rb', line 12943 def Area @Area end |
#Description ⇒ Object
仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。
12943 12944 12945 |
# File 'lib/v20180801/models.rb', line 12943 def Description @Description end |
#Duration ⇒ Object
仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。
12943 12944 12945 |
# File 'lib/v20180801/models.rb', line 12943 def Duration @Duration end |
#ItemDuration ⇒ Object
仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。
12943 12944 12945 |
# File 'lib/v20180801/models.rb', line 12943 def ItemDuration @ItemDuration end |
#RemoveWatermark ⇒ Object
仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。
12943 12944 12945 |
# File 'lib/v20180801/models.rb', line 12943 def RemoveWatermark @RemoveWatermark end |
#TemplateId ⇒ Object
仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。
12943 12944 12945 |
# File 'lib/v20180801/models.rb', line 12943 def TemplateId @TemplateId end |
#TemplateName ⇒ Object
仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。
12943 12944 12945 |
# File 'lib/v20180801/models.rb', line 12943 def TemplateName @TemplateName end |
#TranscodeTemplateIds ⇒ Object
仅支持中文、英文、数字、_、-。长度上限:1024字节。仅支持中文、英文、数字、_、-。单位:s。可取3-10。单位:s。默认值:5。传true则将录制原始流。默认值:false。此参数仅在 RemoveWatermark为false时生效。Mainland:中国大陆。Overseas:海外及港澳台地区。默认值:Mainland。
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 |