Class: TencentCloud::Mps::V20190612::AdaptiveDynamicStreamingTemplate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AdaptiveDynamicStreamingTemplate
- Defined in:
- lib/v20190612/models.rb
Overview
转自适应码流模板详情
Instance Attribute Summary collapse
-
#Comment ⇒ Object
注:自适应码流的hls分片格式已此字段为准 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
注:自适应码流的hls分片格式已此字段为准 注意:此字段可能返回 null,表示取不到有效值。.
-
#Definition ⇒ Object
注:自适应码流的hls分片格式已此字段为准 注意:此字段可能返回 null,表示取不到有效值。.
-
#DisableHigherVideoBitrate ⇒ Object
注:自适应码流的hls分片格式已此字段为准 注意:此字段可能返回 null,表示取不到有效值。.
-
#DisableHigherVideoResolution ⇒ Object
注:自适应码流的hls分片格式已此字段为准 注意:此字段可能返回 null,表示取不到有效值。.
-
#Format ⇒ Object
注:自适应码流的hls分片格式已此字段为准 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注:自适应码流的hls分片格式已此字段为准 注意:此字段可能返回 null,表示取不到有效值。.
-
#PureAudio ⇒ Object
注:自适应码流的hls分片格式已此字段为准 注意:此字段可能返回 null,表示取不到有效值。.
-
#SegmentType ⇒ Object
注:自适应码流的hls分片格式已此字段为准 注意:此字段可能返回 null,表示取不到有效值。.
-
#StreamInfos ⇒ Object
注:自适应码流的hls分片格式已此字段为准 注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注:自适应码流的hls分片格式已此字段为准 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpdateTime ⇒ Object
注:自适应码流的hls分片格式已此字段为准 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(definition = nil, type = nil, name = nil, comment = nil, format = nil, streaminfos = nil, disablehighervideobitrate = nil, disablehighervideoresolution = nil, createtime = nil, updatetime = nil, pureaudio = nil, segmenttype = nil) ⇒ AdaptiveDynamicStreamingTemplate
constructor
A new instance of AdaptiveDynamicStreamingTemplate.
Constructor Details
#initialize(definition = nil, type = nil, name = nil, comment = nil, format = nil, streaminfos = nil, disablehighervideobitrate = nil, disablehighervideoresolution = nil, createtime = nil, updatetime = nil, pureaudio = nil, segmenttype = nil) ⇒ AdaptiveDynamicStreamingTemplate
Returns a new instance of AdaptiveDynamicStreamingTemplate.
687 688 689 690 691 692 693 694 695 696 697 698 699 700 |
# File 'lib/v20190612/models.rb', line 687 def initialize(definition=nil, type=nil, name=nil, comment=nil, format=nil, streaminfos=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, createtime=nil, updatetime=nil, pureaudio=nil, segmenttype=nil) @Definition = definition @Type = type @Name = name @Comment = comment @Format = format @StreamInfos = streaminfos @DisableHigherVideoBitrate = disablehighervideobitrate @DisableHigherVideoResolution = disablehighervideoresolution @CreateTime = createtime @UpdateTime = updatetime @PureAudio = pureaudio @SegmentType = segmenttype end |
Instance Attribute Details
#Comment ⇒ Object
注:自适应码流的hls分片格式已此字段为准注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20190612/models.rb', line 685 def Comment @Comment end |
#CreateTime ⇒ Object
注:自适应码流的hls分片格式已此字段为准注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20190612/models.rb', line 685 def CreateTime @CreateTime end |
#Definition ⇒ Object
注:自适应码流的hls分片格式已此字段为准注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20190612/models.rb', line 685 def Definition @Definition end |
#DisableHigherVideoBitrate ⇒ Object
注:自适应码流的hls分片格式已此字段为准注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20190612/models.rb', line 685 def DisableHigherVideoBitrate @DisableHigherVideoBitrate end |
#DisableHigherVideoResolution ⇒ Object
注:自适应码流的hls分片格式已此字段为准注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20190612/models.rb', line 685 def DisableHigherVideoResolution @DisableHigherVideoResolution end |
#Format ⇒ Object
注:自适应码流的hls分片格式已此字段为准注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20190612/models.rb', line 685 def Format @Format end |
#Name ⇒ Object
注:自适应码流的hls分片格式已此字段为准注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20190612/models.rb', line 685 def Name @Name end |
#PureAudio ⇒ Object
注:自适应码流的hls分片格式已此字段为准注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20190612/models.rb', line 685 def PureAudio @PureAudio end |
#SegmentType ⇒ Object
注:自适应码流的hls分片格式已此字段为准注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20190612/models.rb', line 685 def SegmentType @SegmentType end |
#StreamInfos ⇒ Object
注:自适应码流的hls分片格式已此字段为准注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20190612/models.rb', line 685 def StreamInfos @StreamInfos end |
#Type ⇒ Object
注:自适应码流的hls分片格式已此字段为准注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20190612/models.rb', line 685 def Type @Type end |
#UpdateTime ⇒ Object
注:自适应码流的hls分片格式已此字段为准注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20190612/models.rb', line 685 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 |
# File 'lib/v20190612/models.rb', line 702 def deserialize(params) @Definition = params['Definition'] @Type = params['Type'] @Name = params['Name'] @Comment = params['Comment'] @Format = params['Format'] unless params['StreamInfos'].nil? @StreamInfos = [] params['StreamInfos'].each do |i| adaptivestreamtemplate_tmp = AdaptiveStreamTemplate.new adaptivestreamtemplate_tmp.deserialize(i) @StreamInfos << adaptivestreamtemplate_tmp end end @DisableHigherVideoBitrate = params['DisableHigherVideoBitrate'] @DisableHigherVideoResolution = params['DisableHigherVideoResolution'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @PureAudio = params['PureAudio'] @SegmentType = params['SegmentType'] end |