Class: TencentCloud::Live::V20180801::SnapshotTemplateInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::SnapshotTemplateInfo
- Defined in:
- lib/v20180801/models.rb
Overview
截图模板信息。
Instance Attribute Summary collapse
-
#CosAppId ⇒ Object
0:原始宽度并适配原始比例。 0:原始高度并适配原始比例。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CosBucket ⇒ Object
0:原始宽度并适配原始比例。 0:原始高度并适配原始比例。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CosFileName ⇒ Object
0:原始宽度并适配原始比例。 0:原始高度并适配原始比例。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CosPrefix ⇒ Object
0:原始宽度并适配原始比例。 0:原始高度并适配原始比例。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CosRegion ⇒ Object
0:原始宽度并适配原始比例。 0:原始高度并适配原始比例。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Description ⇒ Object
0:原始宽度并适配原始比例。 0:原始高度并适配原始比例。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Height ⇒ Object
0:原始宽度并适配原始比例。 0:原始高度并适配原始比例。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PornFlag ⇒ Object
0:原始宽度并适配原始比例。 0:原始高度并适配原始比例。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotInterval ⇒ Object
0:原始宽度并适配原始比例。 0:原始高度并适配原始比例。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TemplateId ⇒ Object
0:原始宽度并适配原始比例。 0:原始高度并适配原始比例。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TemplateName ⇒ Object
0:原始宽度并适配原始比例。 0:原始高度并适配原始比例。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Width ⇒ Object
0:原始宽度并适配原始比例。 0:原始高度并适配原始比例。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templateid = nil, templatename = nil, snapshotinterval = nil, width = nil, height = nil, pornflag = nil, cosappid = nil, cosbucket = nil, cosregion = nil, description = nil, cosprefix = nil, cosfilename = nil) ⇒ SnapshotTemplateInfo
constructor
A new instance of SnapshotTemplateInfo.
Constructor Details
#initialize(templateid = nil, templatename = nil, snapshotinterval = nil, width = nil, height = nil, pornflag = nil, cosappid = nil, cosbucket = nil, cosregion = nil, description = nil, cosprefix = nil, cosfilename = nil) ⇒ SnapshotTemplateInfo
Returns a new instance of SnapshotTemplateInfo.
14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 |
# File 'lib/v20180801/models.rb', line 14758 def initialize(templateid=nil, templatename=nil, snapshotinterval=nil, width=nil, height=nil, pornflag=nil, cosappid=nil, cosbucket=nil, cosregion=nil, description=nil, cosprefix=nil, cosfilename=nil) @TemplateId = templateid @TemplateName = templatename @SnapshotInterval = snapshotinterval @Width = width @Height = height @PornFlag = pornflag @CosAppId = cosappid @CosBucket = cosbucket @CosRegion = cosregion @Description = description @CosPrefix = cosprefix @CosFileName = cosfilename end |
Instance Attribute Details
#CosAppId ⇒ Object
0:原始宽度并适配原始比例。0:原始高度并适配原始比例。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
14756 14757 14758 |
# File 'lib/v20180801/models.rb', line 14756 def CosAppId @CosAppId end |
#CosBucket ⇒ Object
0:原始宽度并适配原始比例。0:原始高度并适配原始比例。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
14756 14757 14758 |
# File 'lib/v20180801/models.rb', line 14756 def CosBucket @CosBucket end |
#CosFileName ⇒ Object
0:原始宽度并适配原始比例。0:原始高度并适配原始比例。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
14756 14757 14758 |
# File 'lib/v20180801/models.rb', line 14756 def CosFileName @CosFileName end |
#CosPrefix ⇒ Object
0:原始宽度并适配原始比例。0:原始高度并适配原始比例。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
14756 14757 14758 |
# File 'lib/v20180801/models.rb', line 14756 def CosPrefix @CosPrefix end |
#CosRegion ⇒ Object
0:原始宽度并适配原始比例。0:原始高度并适配原始比例。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
14756 14757 14758 |
# File 'lib/v20180801/models.rb', line 14756 def CosRegion @CosRegion end |
#Description ⇒ Object
0:原始宽度并适配原始比例。0:原始高度并适配原始比例。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
14756 14757 14758 |
# File 'lib/v20180801/models.rb', line 14756 def Description @Description end |
#Height ⇒ Object
0:原始宽度并适配原始比例。0:原始高度并适配原始比例。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
14756 14757 14758 |
# File 'lib/v20180801/models.rb', line 14756 def Height @Height end |
#PornFlag ⇒ Object
0:原始宽度并适配原始比例。0:原始高度并适配原始比例。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
14756 14757 14758 |
# File 'lib/v20180801/models.rb', line 14756 def PornFlag @PornFlag end |
#SnapshotInterval ⇒ Object
0:原始宽度并适配原始比例。0:原始高度并适配原始比例。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
14756 14757 14758 |
# File 'lib/v20180801/models.rb', line 14756 def SnapshotInterval @SnapshotInterval end |
#TemplateId ⇒ Object
0:原始宽度并适配原始比例。0:原始高度并适配原始比例。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
14756 14757 14758 |
# File 'lib/v20180801/models.rb', line 14756 def TemplateId @TemplateId end |
#TemplateName ⇒ Object
0:原始宽度并适配原始比例。0:原始高度并适配原始比例。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
14756 14757 14758 |
# File 'lib/v20180801/models.rb', line 14756 def TemplateName @TemplateName end |
#Width ⇒ Object
0:原始宽度并适配原始比例。0:原始高度并适配原始比例。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
14756 14757 14758 |
# File 'lib/v20180801/models.rb', line 14756 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 |
# File 'lib/v20180801/models.rb', line 14773 def deserialize(params) @TemplateId = params['TemplateId'] @TemplateName = params['TemplateName'] @SnapshotInterval = params['SnapshotInterval'] @Width = params['Width'] @Height = params['Height'] @PornFlag = params['PornFlag'] @CosAppId = params['CosAppId'] @CosBucket = params['CosBucket'] @CosRegion = params['CosRegion'] @Description = params['Description'] @CosPrefix = params['CosPrefix'] @CosFileName = params['CosFileName'] end |