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.
1253 1254 1255 1256 1257 1258 |
# File 'lib/v20200910/models.rb', line 1253 def initialize(bodytemperature=nil, pulse=nil, breathe=nil, bloodpressure=nil) @BodyTemperature = bodytemperature @Pulse = pulse @Breathe = breathe @BloodPressure = bloodpressure end |
Instance Attribute Details
#BloodPressure ⇒ Object
1251 1252 1253 |
# File 'lib/v20200910/models.rb', line 1251 def BloodPressure @BloodPressure end |
#BodyTemperature ⇒ Object
1251 1252 1253 |
# File 'lib/v20200910/models.rb', line 1251 def BodyTemperature @BodyTemperature end |
#Breathe ⇒ Object
1251 1252 1253 |
# File 'lib/v20200910/models.rb', line 1251 def Breathe @Breathe end |
#Pulse ⇒ Object
1251 1252 1253 |
# File 'lib/v20200910/models.rb', line 1251 def Pulse @Pulse end |
Instance Method Details
#deserialize(params) ⇒ Object
1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 |
# File 'lib/v20200910/models.rb', line 1260 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 |