Class: TencentCloud::Mrs::V20200910::LastMenstrualPeriodBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::LastMenstrualPeriodBlock
- 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, norm = nil, type = nil, timestamp = nil, unit = nil, value = nil) ⇒ LastMenstrualPeriodBlock
constructor
A new instance of LastMenstrualPeriodBlock.
Constructor Details
#initialize(name = nil, src = nil, norm = nil, type = nil, timestamp = nil, unit = nil, value = nil) ⇒ LastMenstrualPeriodBlock
Returns a new instance of LastMenstrualPeriodBlock.
6126 6127 6128 6129 6130 6131 6132 6133 6134 |
# File 'lib/v20200910/models.rb', line 6126 def initialize(name=nil, src=nil, norm=nil, type=nil, =nil, unit=nil, value=nil) @Name = name @Src = src @Norm = norm @Type = type @Timestamp = @Unit = unit @Value = value end |
Instance Attribute Details
#Name ⇒ Object
6124 6125 6126 |
# File 'lib/v20200910/models.rb', line 6124 def Name @Name end |
#Norm ⇒ Object
6124 6125 6126 |
# File 'lib/v20200910/models.rb', line 6124 def Norm @Norm end |
#Src ⇒ Object
6124 6125 6126 |
# File 'lib/v20200910/models.rb', line 6124 def Src @Src end |
#Timestamp ⇒ Object
6124 6125 6126 |
# File 'lib/v20200910/models.rb', line 6124 def Timestamp @Timestamp end |
#Type ⇒ Object
6124 6125 6126 |
# File 'lib/v20200910/models.rb', line 6124 def Type @Type end |
#Unit ⇒ Object
6124 6125 6126 |
# File 'lib/v20200910/models.rb', line 6124 def Unit @Unit end |
#Value ⇒ Object
6124 6125 6126 |
# File 'lib/v20200910/models.rb', line 6124 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
6136 6137 6138 6139 6140 6141 6142 6143 6144 |
# File 'lib/v20200910/models.rb', line 6136 def deserialize(params) @Name = params['Name'] @Src = params['Src'] @Norm = params['Norm'] @Type = params['Type'] @Timestamp = params['Timestamp'] @Unit = params['Unit'] @Value = params['Value'] end |