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.



6665
6666
6667
6668
6669
6670
6671
6672
# File 'lib/v20200910/models.rb', line 6665

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:

    月经经期



6663
6664
6665
# File 'lib/v20200910/models.rb', line 6663

def LastMenstrualPeriod
  @LastMenstrualPeriod
end

#MenarcheAgeObject

Parameters:

  • LastMenstrualPeriod:

    末次月经

  • MenstrualFlow:

    月经量

  • MenarcheAge:

    初潮时间

  • MenstruationOrNot:

    是否绝经

  • MenstrualCycles:

    月经周期

  • MenstrualPeriod:

    月经经期



6663
6664
6665
# File 'lib/v20200910/models.rb', line 6663

def MenarcheAge
  @MenarcheAge
end

#MenstrualCyclesObject

Parameters:

  • LastMenstrualPeriod:

    末次月经

  • MenstrualFlow:

    月经量

  • MenarcheAge:

    初潮时间

  • MenstruationOrNot:

    是否绝经

  • MenstrualCycles:

    月经周期

  • MenstrualPeriod:

    月经经期



6663
6664
6665
# File 'lib/v20200910/models.rb', line 6663

def MenstrualCycles
  @MenstrualCycles
end

#MenstrualFlowObject

Parameters:

  • LastMenstrualPeriod:

    末次月经

  • MenstrualFlow:

    月经量

  • MenarcheAge:

    初潮时间

  • MenstruationOrNot:

    是否绝经

  • MenstrualCycles:

    月经周期

  • MenstrualPeriod:

    月经经期



6663
6664
6665
# File 'lib/v20200910/models.rb', line 6663

def MenstrualFlow
  @MenstrualFlow
end

#MenstrualPeriodObject

Parameters:

  • LastMenstrualPeriod:

    末次月经

  • MenstrualFlow:

    月经量

  • MenarcheAge:

    初潮时间

  • MenstruationOrNot:

    是否绝经

  • MenstrualCycles:

    月经周期

  • MenstrualPeriod:

    月经经期



6663
6664
6665
# File 'lib/v20200910/models.rb', line 6663

def MenstrualPeriod
  @MenstrualPeriod
end

#MenstruationOrNotObject

Parameters:

  • LastMenstrualPeriod:

    末次月经

  • MenstrualFlow:

    月经量

  • MenarcheAge:

    初潮时间

  • MenstruationOrNot:

    是否绝经

  • MenstrualCycles:

    月经周期

  • MenstrualPeriod:

    月经经期



6663
6664
6665
# File 'lib/v20200910/models.rb', line 6663

def MenstruationOrNot
  @MenstruationOrNot
end

Instance Method Details

#deserialize(params) ⇒ Object



6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
# File 'lib/v20200910/models.rb', line 6674

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