Class: TencentCloud::Mrs::V20200910::DeathDateBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::DeathDateBlock
- Defined in:
- lib/v20200910/models.rb
Overview
死亡时间
Instance Attribute Summary collapse
- #Name ⇒ Object
- #Norm ⇒ Object
- #Src ⇒ Object
- #Timestamp ⇒ Object
- #Type ⇒ Object
- #Unit ⇒ Object
- #Value ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, src = nil, type = nil, norm = nil, unit = nil, timestamp = nil, value = nil) ⇒ DeathDateBlock
constructor
A new instance of DeathDateBlock.
Constructor Details
#initialize(name = nil, src = nil, type = nil, norm = nil, unit = nil, timestamp = nil, value = nil) ⇒ DeathDateBlock
Returns a new instance of DeathDateBlock.
2226 2227 2228 2229 2230 2231 2232 2233 2234 |
# File 'lib/v20200910/models.rb', line 2226 def initialize(name=nil, src=nil, type=nil, norm=nil, unit=nil, =nil, value=nil) @Name = name @Src = src @Type = type @Norm = norm @Unit = unit @Timestamp = @Value = value end |
Instance Attribute Details
#Name ⇒ Object
2224 2225 2226 |
# File 'lib/v20200910/models.rb', line 2224 def Name @Name end |
#Norm ⇒ Object
2224 2225 2226 |
# File 'lib/v20200910/models.rb', line 2224 def Norm @Norm end |
#Src ⇒ Object
2224 2225 2226 |
# File 'lib/v20200910/models.rb', line 2224 def Src @Src end |
#Timestamp ⇒ Object
2224 2225 2226 |
# File 'lib/v20200910/models.rb', line 2224 def Timestamp @Timestamp end |
#Type ⇒ Object
2224 2225 2226 |
# File 'lib/v20200910/models.rb', line 2224 def Type @Type end |
#Unit ⇒ Object
2224 2225 2226 |
# File 'lib/v20200910/models.rb', line 2224 def Unit @Unit end |
#Value ⇒ Object
2224 2225 2226 |
# File 'lib/v20200910/models.rb', line 2224 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
2236 2237 2238 2239 2240 2241 2242 2243 2244 |
# File 'lib/v20200910/models.rb', line 2236 def deserialize(params) @Name = params['Name'] @Src = params['Src'] @Type = params['Type'] @Norm = params['Norm'] @Unit = params['Unit'] @Timestamp = params['Timestamp'] @Value = params['Value'] end |