Class: TencentCloud::Tci::V20190318::LightStandard
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::LightStandard
- Defined in:
- lib/v20190318/models.rb
Overview
光照标准,结构的相关示例为:
"Name":"dark",
"Range":[0,30]
当光照的区间落入在0到30的范围时,就会命中dark的光照标准
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, range = nil) ⇒ LightStandard
constructor
A new instance of LightStandard.
Constructor Details
#initialize(name = nil, range = nil) ⇒ LightStandard
Returns a new instance of LightStandard.
2656 2657 2658 2659 |
# File 'lib/v20190318/models.rb', line 2656 def initialize(name=nil, range=nil) @Name = name @Range = range end |
Instance Attribute Details
#Name ⇒ Object
2654 2655 2656 |
# File 'lib/v20190318/models.rb', line 2654 def Name @Name end |
#Range ⇒ Object
2654 2655 2656 |
# File 'lib/v20190318/models.rb', line 2654 def Range @Range end |
Instance Method Details
#deserialize(params) ⇒ Object
2661 2662 2663 2664 |
# File 'lib/v20190318/models.rb', line 2661 def deserialize(params) @Name = params['Name'] @Range = params['Range'] end |