Class: TencentCloud::Live::V20180801::CreateLiveSnapshotTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::CreateLiveSnapshotTemplateRequest
- Defined in:
- lib/v20180801/models.rb
Overview
CreateLiveSnapshotTemplate请求参数结构体
Instance Attribute Summary collapse
-
#CosAppId ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 注:CosBucket参数值不能包含- 部分。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 范围: 2s ~ 300s。 范围:0-3000 。 范围:0-2000 。 如不传,实际按默认值 /Year-Month-Day 生效 如不传,实际按默认值 StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效.
-
#CosBucket ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 注:CosBucket参数值不能包含- 部分。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 范围: 2s ~ 300s。 范围:0-3000 。 范围:0-2000 。 如不传,实际按默认值 /Year-Month-Day 生效 如不传,实际按默认值 StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效.
-
#CosFileName ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 注:CosBucket参数值不能包含- 部分。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 范围: 2s ~ 300s。 范围:0-3000 。 范围:0-2000 。 如不传,实际按默认值 /Year-Month-Day 生效 如不传,实际按默认值 StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效.
-
#CosPrefix ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 注:CosBucket参数值不能包含- 部分。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 范围: 2s ~ 300s。 范围:0-3000 。 范围:0-2000 。 如不传,实际按默认值 /Year-Month-Day 生效 如不传,实际按默认值 StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效.
-
#CosRegion ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 注:CosBucket参数值不能包含- 部分。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 范围: 2s ~ 300s。 范围:0-3000 。 范围:0-2000 。 如不传,实际按默认值 /Year-Month-Day 生效 如不传,实际按默认值 StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效.
-
#Description ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 注:CosBucket参数值不能包含- 部分。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 范围: 2s ~ 300s。 范围:0-3000 。 范围:0-2000 。 如不传,实际按默认值 /Year-Month-Day 生效 如不传,实际按默认值 StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效.
-
#Height ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 注:CosBucket参数值不能包含- 部分。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 范围: 2s ~ 300s。 范围:0-3000 。 范围:0-2000 。 如不传,实际按默认值 /Year-Month-Day 生效 如不传,实际按默认值 StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效.
-
#PornFlag ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 注:CosBucket参数值不能包含- 部分。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 范围: 2s ~ 300s。 范围:0-3000 。 范围:0-2000 。 如不传,实际按默认值 /Year-Month-Day 生效 如不传,实际按默认值 StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效.
-
#SnapshotInterval ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 注:CosBucket参数值不能包含- 部分。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 范围: 2s ~ 300s。 范围:0-3000 。 范围:0-2000 。 如不传,实际按默认值 /Year-Month-Day 生效 如不传,实际按默认值 StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效.
-
#TemplateName ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 注:CosBucket参数值不能包含- 部分。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 范围: 2s ~ 300s。 范围:0-3000 。 范围:0-2000 。 如不传,实际按默认值 /Year-Month-Day 生效 如不传,实际按默认值 StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效.
-
#Width ⇒ Object
长度上限:255字节。 仅支持中文、英文、数字、_、-。 注:CosBucket参数值不能包含- 部分。 长度上限:1024字节。 仅支持中文、英文、数字、_、-。 范围: 2s ~ 300s。 范围:0-3000 。 范围:0-2000 。 如不传,实际按默认值 /Year-Month-Day 生效 如不传,实际按默认值 StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templatename = nil, cosappid = nil, cosbucket = nil, cosregion = nil, description = nil, snapshotinterval = nil, width = nil, height = nil, pornflag = nil, cosprefix = nil, cosfilename = nil) ⇒ CreateLiveSnapshotTemplateRequest
constructor
A new instance of CreateLiveSnapshotTemplateRequest.
Constructor Details
#initialize(templatename = nil, cosappid = nil, cosbucket = nil, cosregion = nil, description = nil, snapshotinterval = nil, width = nil, height = nil, pornflag = nil, cosprefix = nil, cosfilename = nil) ⇒ CreateLiveSnapshotTemplateRequest
Returns a new instance of CreateLiveSnapshotTemplateRequest.
3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 |
# File 'lib/v20180801/models.rb', line 3315 def initialize(templatename=nil, cosappid=nil, cosbucket=nil, cosregion=nil, description=nil, snapshotinterval=nil, width=nil, height=nil, pornflag=nil, cosprefix=nil, cosfilename=nil) @TemplateName = templatename @CosAppId = cosappid @CosBucket = cosbucket @CosRegion = cosregion @Description = description @SnapshotInterval = snapshotinterval @Width = width @Height = height @PornFlag = pornflag @CosPrefix = cosprefix @CosFileName = cosfilename end |
Instance Attribute Details
#CosAppId ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。注:CosBucket参数值不能包含- 部分。长度上限:1024字节。仅支持中文、英文、数字、_、-。范围: 2s ~ 300s。范围:0-3000 。范围:0-2000 。如不传,实际按默认值/Year-Month-Day 生效如不传,实际按默认值StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效
3313 3314 3315 |
# File 'lib/v20180801/models.rb', line 3313 def CosAppId @CosAppId end |
#CosBucket ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。注:CosBucket参数值不能包含- 部分。长度上限:1024字节。仅支持中文、英文、数字、_、-。范围: 2s ~ 300s。范围:0-3000 。范围:0-2000 。如不传,实际按默认值/Year-Month-Day 生效如不传,实际按默认值StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效
3313 3314 3315 |
# File 'lib/v20180801/models.rb', line 3313 def CosBucket @CosBucket end |
#CosFileName ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。注:CosBucket参数值不能包含- 部分。长度上限:1024字节。仅支持中文、英文、数字、_、-。范围: 2s ~ 300s。范围:0-3000 。范围:0-2000 。如不传,实际按默认值/Year-Month-Day 生效如不传,实际按默认值StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效
3313 3314 3315 |
# File 'lib/v20180801/models.rb', line 3313 def CosFileName @CosFileName end |
#CosPrefix ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。注:CosBucket参数值不能包含- 部分。长度上限:1024字节。仅支持中文、英文、数字、_、-。范围: 2s ~ 300s。范围:0-3000 。范围:0-2000 。如不传,实际按默认值/Year-Month-Day 生效如不传,实际按默认值StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效
3313 3314 3315 |
# File 'lib/v20180801/models.rb', line 3313 def CosPrefix @CosPrefix end |
#CosRegion ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。注:CosBucket参数值不能包含- 部分。长度上限:1024字节。仅支持中文、英文、数字、_、-。范围: 2s ~ 300s。范围:0-3000 。范围:0-2000 。如不传,实际按默认值/Year-Month-Day 生效如不传,实际按默认值StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效
3313 3314 3315 |
# File 'lib/v20180801/models.rb', line 3313 def CosRegion @CosRegion end |
#Description ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。注:CosBucket参数值不能包含- 部分。长度上限:1024字节。仅支持中文、英文、数字、_、-。范围: 2s ~ 300s。范围:0-3000 。范围:0-2000 。如不传,实际按默认值/Year-Month-Day 生效如不传,实际按默认值StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效
3313 3314 3315 |
# File 'lib/v20180801/models.rb', line 3313 def Description @Description end |
#Height ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。注:CosBucket参数值不能包含- 部分。长度上限:1024字节。仅支持中文、英文、数字、_、-。范围: 2s ~ 300s。范围:0-3000 。范围:0-2000 。如不传,实际按默认值/Year-Month-Day 生效如不传,实际按默认值StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效
3313 3314 3315 |
# File 'lib/v20180801/models.rb', line 3313 def Height @Height end |
#PornFlag ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。注:CosBucket参数值不能包含- 部分。长度上限:1024字节。仅支持中文、英文、数字、_、-。范围: 2s ~ 300s。范围:0-3000 。范围:0-2000 。如不传,实际按默认值/Year-Month-Day 生效如不传,实际按默认值StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效
3313 3314 3315 |
# File 'lib/v20180801/models.rb', line 3313 def PornFlag @PornFlag end |
#SnapshotInterval ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。注:CosBucket参数值不能包含- 部分。长度上限:1024字节。仅支持中文、英文、数字、_、-。范围: 2s ~ 300s。范围:0-3000 。范围:0-2000 。如不传,实际按默认值/Year-Month-Day 生效如不传,实际按默认值StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效
3313 3314 3315 |
# File 'lib/v20180801/models.rb', line 3313 def SnapshotInterval @SnapshotInterval end |
#TemplateName ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。注:CosBucket参数值不能包含- 部分。长度上限:1024字节。仅支持中文、英文、数字、_、-。范围: 2s ~ 300s。范围:0-3000 。范围:0-2000 。如不传,实际按默认值/Year-Month-Day 生效如不传,实际按默认值StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效
3313 3314 3315 |
# File 'lib/v20180801/models.rb', line 3313 def TemplateName @TemplateName end |
#Width ⇒ Object
长度上限:255字节。仅支持中文、英文、数字、_、-。注:CosBucket参数值不能包含- 部分。长度上限:1024字节。仅支持中文、英文、数字、_、-。范围: 2s ~ 300s。范围:0-3000 。范围:0-2000 。如不传,实际按默认值/Year-Month-Day 生效如不传,实际按默认值StreamID-screenshot-Hour-Minute-Second-#Widthx#HeightExt 生效
3313 3314 3315 |
# File 'lib/v20180801/models.rb', line 3313 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 |
# File 'lib/v20180801/models.rb', line 3329 def deserialize(params) @TemplateName = params['TemplateName'] @CosAppId = params['CosAppId'] @CosBucket = params['CosBucket'] @CosRegion = params['CosRegion'] @Description = params['Description'] @SnapshotInterval = params['SnapshotInterval'] @Width = params['Width'] @Height = params['Height'] @PornFlag = params['PornFlag'] @CosPrefix = params['CosPrefix'] @CosFileName = params['CosFileName'] end |