Class: TencentCloud::Mrs::V20200910::BodyExaminationBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::BodyExaminationBlock
- Defined in:
- lib/v20200910/models.rb
Overview
查体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(bodytemperature = nil, pulse = nil, breathe = nil, bloodpressure = nil) ⇒ BodyExaminationBlock
constructor
A new instance of BodyExaminationBlock.
Constructor Details
#initialize(bodytemperature = nil, pulse = nil, breathe = nil, bloodpressure = nil) ⇒ BodyExaminationBlock
Returns a new instance of BodyExaminationBlock.
1242 1243 1244 1245 1246 1247 |
# File 'lib/v20200910/models.rb', line 1242 def initialize(bodytemperature=nil, pulse=nil, breathe=nil, bloodpressure=nil) @BodyTemperature = bodytemperature @Pulse = pulse @Breathe = breathe @BloodPressure = bloodpressure end |
Instance Attribute Details
#BloodPressure ⇒ Object
1240 1241 1242 |
# File 'lib/v20200910/models.rb', line 1240 def BloodPressure @BloodPressure end |
#BodyTemperature ⇒ Object
1240 1241 1242 |
# File 'lib/v20200910/models.rb', line 1240 def BodyTemperature @BodyTemperature end |
#Breathe ⇒ Object
1240 1241 1242 |
# File 'lib/v20200910/models.rb', line 1240 def Breathe @Breathe end |
#Pulse ⇒ Object
1240 1241 1242 |
# File 'lib/v20200910/models.rb', line 1240 def Pulse @Pulse end |
Instance Method Details
#deserialize(params) ⇒ Object
1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 |
# File 'lib/v20200910/models.rb', line 1249 def deserialize(params) unless params['BodyTemperature'].nil? @BodyTemperature = BodyTemperatureBlock.new @BodyTemperature.deserialize(params['BodyTemperature']) end unless params['Pulse'].nil? @Pulse = BodyTemperatureBlock.new @Pulse.deserialize(params['Pulse']) end unless params['Breathe'].nil? @Breathe = BodyTemperatureBlock.new @Breathe.deserialize(params['Breathe']) end unless params['BloodPressure'].nil? @BloodPressure = BloodPressureBlock.new @BloodPressure.deserialize(params['BloodPressure']) end end |