Class: TencentCloud::Mrs::V20200910::MenstrualPeriodBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::MenstrualPeriodBlock
- 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) ⇒ MenstrualPeriodBlock
constructor
A new instance of MenstrualPeriodBlock.
Constructor Details
#initialize(name = nil, src = nil, norm = nil, type = nil, timestamp = nil, unit = nil, value = nil) ⇒ MenstrualPeriodBlock
Returns a new instance of MenstrualPeriodBlock.
6801 6802 6803 6804 6805 6806 6807 6808 6809 |
# File 'lib/v20200910/models.rb', line 6801 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
6799 6800 6801 |
# File 'lib/v20200910/models.rb', line 6799 def Name @Name end |
#Norm ⇒ Object
6799 6800 6801 |
# File 'lib/v20200910/models.rb', line 6799 def Norm @Norm end |
#Src ⇒ Object
6799 6800 6801 |
# File 'lib/v20200910/models.rb', line 6799 def Src @Src end |
#Timestamp ⇒ Object
6799 6800 6801 |
# File 'lib/v20200910/models.rb', line 6799 def Timestamp @Timestamp end |
#Type ⇒ Object
6799 6800 6801 |
# File 'lib/v20200910/models.rb', line 6799 def Type @Type end |
#Unit ⇒ Object
6799 6800 6801 |
# File 'lib/v20200910/models.rb', line 6799 def Unit @Unit end |
#Value ⇒ Object
6799 6800 6801 |
# File 'lib/v20200910/models.rb', line 6799 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
6811 6812 6813 6814 6815 6816 6817 6818 6819 |
# File 'lib/v20200910/models.rb', line 6811 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 |