Class: TencentCloud::Mrs::V20200910::DeathDateBlock

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200910/models.rb

Overview

死亡时间

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, src = nil, type = nil, norm = nil, unit = nil, timestamp = nil, value = nil) ⇒ DeathDateBlock



2237
2238
2239
2240
2241
2242
2243
2244
2245
# File 'lib/v20200910/models.rb', line 2237

def initialize(name=nil, src=nil, type=nil, norm=nil, unit=nil, timestamp=nil, value=nil)
  @Name = name
  @Src = src
  @Type = type
  @Norm = norm
  @Unit = unit
  @Timestamp = timestamp
  @Value = value
end

Instance Attribute Details

#NameObject



2235
2236
2237
# File 'lib/v20200910/models.rb', line 2235

def Name
  @Name
end

#NormObject



2235
2236
2237
# File 'lib/v20200910/models.rb', line 2235

def Norm
  @Norm
end

#SrcObject



2235
2236
2237
# File 'lib/v20200910/models.rb', line 2235

def Src
  @Src
end

#TimestampObject



2235
2236
2237
# File 'lib/v20200910/models.rb', line 2235

def Timestamp
  @Timestamp
end

#TypeObject



2235
2236
2237
# File 'lib/v20200910/models.rb', line 2235

def Type
  @Type
end

#UnitObject



2235
2236
2237
# File 'lib/v20200910/models.rb', line 2235

def Unit
  @Unit
end

#ValueObject



2235
2236
2237
# File 'lib/v20200910/models.rb', line 2235

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



2247
2248
2249
2250
2251
2252
2253
2254
2255
# File 'lib/v20200910/models.rb', line 2247

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