Class: TencentCloud::Mrs::V20200910::MenstrualHistoryDetailBlock

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, state = nil, norm = nil, timetype = nil, timestamp = nil, unit = nil, value = nil) ⇒ MenstrualHistoryDetailBlock



6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
# File 'lib/v20200910/models.rb', line 6750

def initialize(name=nil, src=nil, state=nil, norm=nil, timetype=nil, timestamp=nil, unit=nil, value=nil)
  @Name = name
  @Src = src
  @State = state
  @Norm = norm
  @TimeType = timetype
  @Timestamp = timestamp
  @Unit = unit
  @Value = value
end

Instance Attribute Details

#NameObject



6748
6749
6750
# File 'lib/v20200910/models.rb', line 6748

def Name
  @Name
end

#NormObject



6748
6749
6750
# File 'lib/v20200910/models.rb', line 6748

def Norm
  @Norm
end

#SrcObject



6748
6749
6750
# File 'lib/v20200910/models.rb', line 6748

def Src
  @Src
end

#StateObject



6748
6749
6750
# File 'lib/v20200910/models.rb', line 6748

def State
  @State
end

#TimestampObject



6748
6749
6750
# File 'lib/v20200910/models.rb', line 6748

def Timestamp
  @Timestamp
end

#TimeTypeObject



6748
6749
6750
# File 'lib/v20200910/models.rb', line 6748

def TimeType
  @TimeType
end

#UnitObject



6748
6749
6750
# File 'lib/v20200910/models.rb', line 6748

def Unit
  @Unit
end

#ValueObject



6748
6749
6750
# File 'lib/v20200910/models.rb', line 6748

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
# File 'lib/v20200910/models.rb', line 6761

def deserialize(params)
  @Name = params['Name']
  @Src = params['Src']
  @State = params['State']
  @Norm = params['Norm']
  @TimeType = params['TimeType']
  @Timestamp = params['Timestamp']
  @Unit = params['Unit']
  @Value = params['Value']
end