Class: TencentCloud::Mrs::V20200910::GeneralExaminationOthers
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::GeneralExaminationOthers
- Defined in:
- lib/v20200910/models.rb
Overview
体检报告-其他项
Instance Attribute Summary collapse
- #AbilityOfLifeADL ⇒ Object
- #Addiction ⇒ Object
- #ChestCircumference ⇒ Object
- #Countenance ⇒ Object
- #DevelopmentCondition ⇒ Object
- #Hipline ⇒ Object
- #Memory ⇒ Object
- #MentalStatus ⇒ Object
- #Others ⇒ Object
- #WaistHipRatio ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(countenance = nil, mentalstatus = nil, developmentcondition = nil, memory = nil, hipline = nil, waisthipratio = nil, addiction = nil, abilityoflifeadl = nil, others = nil, chestcircumference = nil) ⇒ GeneralExaminationOthers
constructor
A new instance of GeneralExaminationOthers.
Constructor Details
#initialize(countenance = nil, mentalstatus = nil, developmentcondition = nil, memory = nil, hipline = nil, waisthipratio = nil, addiction = nil, abilityoflifeadl = nil, others = nil, chestcircumference = nil) ⇒ GeneralExaminationOthers
Returns a new instance of GeneralExaminationOthers.
3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 |
# File 'lib/v20200910/models.rb', line 3985 def initialize(countenance=nil, mentalstatus=nil, developmentcondition=nil, memory=nil, hipline=nil, waisthipratio=nil, addiction=nil, abilityoflifeadl=nil, others=nil, chestcircumference=nil) @Countenance = countenance @MentalStatus = mentalstatus @DevelopmentCondition = developmentcondition @Memory = memory @Hipline = hipline @WaistHipRatio = waisthipratio @Addiction = addiction @AbilityOfLifeADL = abilityoflifeadl @Others = others @ChestCircumference = chestcircumference end |
Instance Attribute Details
#AbilityOfLifeADL ⇒ Object
3983 3984 3985 |
# File 'lib/v20200910/models.rb', line 3983 def AbilityOfLifeADL @AbilityOfLifeADL end |
#Addiction ⇒ Object
3983 3984 3985 |
# File 'lib/v20200910/models.rb', line 3983 def Addiction @Addiction end |
#ChestCircumference ⇒ Object
3983 3984 3985 |
# File 'lib/v20200910/models.rb', line 3983 def ChestCircumference @ChestCircumference end |
#Countenance ⇒ Object
3983 3984 3985 |
# File 'lib/v20200910/models.rb', line 3983 def Countenance @Countenance end |
#DevelopmentCondition ⇒ Object
3983 3984 3985 |
# File 'lib/v20200910/models.rb', line 3983 def DevelopmentCondition @DevelopmentCondition end |
#Hipline ⇒ Object
3983 3984 3985 |
# File 'lib/v20200910/models.rb', line 3983 def Hipline @Hipline end |
#Memory ⇒ Object
3983 3984 3985 |
# File 'lib/v20200910/models.rb', line 3983 def Memory @Memory end |
#MentalStatus ⇒ Object
3983 3984 3985 |
# File 'lib/v20200910/models.rb', line 3983 def MentalStatus @MentalStatus end |
#Others ⇒ Object
3983 3984 3985 |
# File 'lib/v20200910/models.rb', line 3983 def Others @Others end |
#WaistHipRatio ⇒ Object
3983 3984 3985 |
# File 'lib/v20200910/models.rb', line 3983 def WaistHipRatio @WaistHipRatio end |
Instance Method Details
#deserialize(params) ⇒ Object
3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 |
# File 'lib/v20200910/models.rb', line 3998 def deserialize(params) unless params['Countenance'].nil? @Countenance = KeyValueItem.new @Countenance.deserialize(params['Countenance']) end unless params['MentalStatus'].nil? @MentalStatus = KeyValueItem.new @MentalStatus.deserialize(params['MentalStatus']) end unless params['DevelopmentCondition'].nil? @DevelopmentCondition = KeyValueItem.new @DevelopmentCondition.deserialize(params['DevelopmentCondition']) end unless params['Memory'].nil? @Memory = KeyValueItem.new @Memory.deserialize(params['Memory']) end unless params['Hipline'].nil? @Hipline = ValueUnitItem.new @Hipline.deserialize(params['Hipline']) end unless params['WaistHipRatio'].nil? @WaistHipRatio = ValueUnitItem.new @WaistHipRatio.deserialize(params['WaistHipRatio']) end unless params['Addiction'].nil? @Addiction = KeyValueItem.new @Addiction.deserialize(params['Addiction']) end unless params['AbilityOfLifeADL'].nil? @AbilityOfLifeADL = KeyValueItem.new @AbilityOfLifeADL.deserialize(params['AbilityOfLifeADL']) end unless params['Others'].nil? @Others = [] params['Others'].each do |i| keyvalueitem_tmp = KeyValueItem.new keyvalueitem_tmp.deserialize(i) @Others << keyvalueitem_tmp end end unless params['ChestCircumference'].nil? @ChestCircumference = ChestCircumferenceItem.new @ChestCircumference.deserialize(params['ChestCircumference']) end end |