Class: TencentCloud::Mrs::V20200910::MenstrualHistoryBlock

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

Overview

月经史

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lastmenstrualperiod = nil, menstrualflow = nil, menarcheage = nil, menstruationornot = nil, menstrualcycles = nil, menstrualperiod = nil) ⇒ MenstrualHistoryBlock

Returns a new instance of MenstrualHistoryBlock.



6692
6693
6694
6695
6696
6697
6698
6699
# File 'lib/v20200910/models.rb', line 6692

def initialize(lastmenstrualperiod=nil, menstrualflow=nil, menarcheage=nil, menstruationornot=nil, menstrualcycles=nil, menstrualperiod=nil)
  @LastMenstrualPeriod = lastmenstrualperiod
  @MenstrualFlow = menstrualflow
  @MenarcheAge = menarcheage
  @MenstruationOrNot = menstruationornot
  @MenstrualCycles = menstrualcycles
  @MenstrualPeriod = menstrualperiod
end

Instance Attribute Details

#LastMenstrualPeriodObject

Parameters:

  • LastMenstrualPeriod:

    末次月经

  • MenstrualFlow:

    月经量

  • MenarcheAge:

    初潮时间

  • MenstruationOrNot:

    是否绝经

  • MenstrualCycles:

    月经周期

  • MenstrualPeriod:

    月经经期



6690
6691
6692
# File 'lib/v20200910/models.rb', line 6690

def LastMenstrualPeriod
  @LastMenstrualPeriod
end

#MenarcheAgeObject

Parameters:

  • LastMenstrualPeriod:

    末次月经

  • MenstrualFlow:

    月经量

  • MenarcheAge:

    初潮时间

  • MenstruationOrNot:

    是否绝经

  • MenstrualCycles:

    月经周期

  • MenstrualPeriod:

    月经经期



6690
6691
6692
# File 'lib/v20200910/models.rb', line 6690

def MenarcheAge
  @MenarcheAge
end

#MenstrualCyclesObject

Parameters:

  • LastMenstrualPeriod:

    末次月经

  • MenstrualFlow:

    月经量

  • MenarcheAge:

    初潮时间

  • MenstruationOrNot:

    是否绝经

  • MenstrualCycles:

    月经周期

  • MenstrualPeriod:

    月经经期



6690
6691
6692
# File 'lib/v20200910/models.rb', line 6690

def MenstrualCycles
  @MenstrualCycles
end

#MenstrualFlowObject

Parameters:

  • LastMenstrualPeriod:

    末次月经

  • MenstrualFlow:

    月经量

  • MenarcheAge:

    初潮时间

  • MenstruationOrNot:

    是否绝经

  • MenstrualCycles:

    月经周期

  • MenstrualPeriod:

    月经经期



6690
6691
6692
# File 'lib/v20200910/models.rb', line 6690

def MenstrualFlow
  @MenstrualFlow
end

#MenstrualPeriodObject

Parameters:

  • LastMenstrualPeriod:

    末次月经

  • MenstrualFlow:

    月经量

  • MenarcheAge:

    初潮时间

  • MenstruationOrNot:

    是否绝经

  • MenstrualCycles:

    月经周期

  • MenstrualPeriod:

    月经经期



6690
6691
6692
# File 'lib/v20200910/models.rb', line 6690

def MenstrualPeriod
  @MenstrualPeriod
end

#MenstruationOrNotObject

Parameters:

  • LastMenstrualPeriod:

    末次月经

  • MenstrualFlow:

    月经量

  • MenarcheAge:

    初潮时间

  • MenstruationOrNot:

    是否绝经

  • MenstrualCycles:

    月经周期

  • MenstrualPeriod:

    月经经期



6690
6691
6692
# File 'lib/v20200910/models.rb', line 6690

def MenstruationOrNot
  @MenstruationOrNot
end

Instance Method Details

#deserialize(params) ⇒ Object



6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
# File 'lib/v20200910/models.rb', line 6701

def deserialize(params)
  unless params['LastMenstrualPeriod'].nil?
    @LastMenstrualPeriod = LastMenstrualPeriodBlock.new
    @LastMenstrualPeriod.deserialize(params['LastMenstrualPeriod'])
  end
  unless params['MenstrualFlow'].nil?
    @MenstrualFlow = MenstrualFlowBlock.new
    @MenstrualFlow.deserialize(params['MenstrualFlow'])
  end
  unless params['MenarcheAge'].nil?
    @MenarcheAge = LastMenstrualPeriodBlock.new
    @MenarcheAge.deserialize(params['MenarcheAge'])
  end
  unless params['MenstruationOrNot'].nil?
    @MenstruationOrNot = MenstruationOrNotBlock.new
    @MenstruationOrNot.deserialize(params['MenstruationOrNot'])
  end
  unless params['MenstrualCycles'].nil?
    @MenstrualCycles = LastMenstrualPeriodBlock.new
    @MenstrualCycles.deserialize(params['MenstrualCycles'])
  end
  unless params['MenstrualPeriod'].nil?
    @MenstrualPeriod = MenstrualPeriodBlock.new
    @MenstrualPeriod.deserialize(params['MenstrualPeriod'])
  end
end