Class: TencentCloud::Mps::V20190612::HdrConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::HdrConfig
- Defined in:
- lib/v20190612/models.rb
Overview
HDR配置
Instance Attribute Summary collapse
-
#Switch ⇒ Object
- ON:开启;
- OFF:关闭。
默认值:ON。- HDR10
- HLG
默认值:HDR10。 注意:video的编码方式需要为h264或h265; 注意:视频编码位深为10。 注意:此字段可能返回 null,表示取不到有效值。. -
#Type ⇒ Object
- ON:开启;
- OFF:关闭。
默认值:ON。- HDR10
- HLG
默认值:HDR10。 注意:video的编码方式需要为h264或h265; 注意:视频编码位深为10。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, type = nil) ⇒ HdrConfig
constructor
A new instance of HdrConfig.
Constructor Details
#initialize(switch = nil, type = nil) ⇒ HdrConfig
Returns a new instance of HdrConfig.
17532 17533 17534 17535 |
# File 'lib/v20190612/models.rb', line 17532 def initialize(switch=nil, type=nil) @Switch = switch @Type = type end |
Instance Attribute Details
#Switch ⇒ Object
17530 17531 17532 |
# File 'lib/v20190612/models.rb', line 17530 def Switch @Switch end |
#Type ⇒ Object
17530 17531 17532 |
# File 'lib/v20190612/models.rb', line 17530 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
17537 17538 17539 17540 |
# File 'lib/v20190612/models.rb', line 17537 def deserialize(params) @Switch = params['Switch'] @Type = params['Type'] end |