Class: TencentCloud::Aca::V20210323::PatientBaseInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aca::V20210323::PatientBaseInfo
- Defined in:
- lib/v20210323/models.rb
Overview
患者信息
Instance Attribute Summary collapse
- #Age ⇒ Object
- #BirthDay ⇒ Object
- #BirthPlace ⇒ Object
- #Height ⇒ Object
- #LivePlace ⇒ Object
- #Name ⇒ Object
- #PatientId ⇒ Object
- #Sex ⇒ Object
- #Weight ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sex = nil, height = nil, weight = nil, patientid = nil, name = nil, age = nil, birthplace = nil, liveplace = nil, birthday = nil) ⇒ PatientBaseInfo
constructor
A new instance of PatientBaseInfo.
Constructor Details
#initialize(sex = nil, height = nil, weight = nil, patientid = nil, name = nil, age = nil, birthplace = nil, liveplace = nil, birthday = nil) ⇒ PatientBaseInfo
Returns a new instance of PatientBaseInfo.
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 |
# File 'lib/v20210323/models.rb', line 1125 def initialize(sex=nil, height=nil, weight=nil, patientid=nil, name=nil, age=nil, birthplace=nil, liveplace=nil, birthday=nil) @Sex = sex @Height = height @Weight = weight @PatientId = patientid @Name = name @Age = age @BirthPlace = birthplace @LivePlace = liveplace @BirthDay = birthday end |
Instance Attribute Details
#Age ⇒ Object
1123 1124 1125 |
# File 'lib/v20210323/models.rb', line 1123 def Age @Age end |
#BirthDay ⇒ Object
1123 1124 1125 |
# File 'lib/v20210323/models.rb', line 1123 def BirthDay @BirthDay end |
#BirthPlace ⇒ Object
1123 1124 1125 |
# File 'lib/v20210323/models.rb', line 1123 def BirthPlace @BirthPlace end |
#Height ⇒ Object
1123 1124 1125 |
# File 'lib/v20210323/models.rb', line 1123 def Height @Height end |
#LivePlace ⇒ Object
1123 1124 1125 |
# File 'lib/v20210323/models.rb', line 1123 def LivePlace @LivePlace end |
#Name ⇒ Object
1123 1124 1125 |
# File 'lib/v20210323/models.rb', line 1123 def Name @Name end |
#PatientId ⇒ Object
1123 1124 1125 |
# File 'lib/v20210323/models.rb', line 1123 def PatientId @PatientId end |
#Sex ⇒ Object
1123 1124 1125 |
# File 'lib/v20210323/models.rb', line 1123 def Sex @Sex end |
#Weight ⇒ Object
1123 1124 1125 |
# File 'lib/v20210323/models.rb', line 1123 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 |
# File 'lib/v20210323/models.rb', line 1137 def deserialize(params) @Sex = params['Sex'] @Height = params['Height'] @Weight = params['Weight'] @PatientId = params['PatientId'] @Name = params['Name'] @Age = params['Age'] @BirthPlace = params['BirthPlace'] @LivePlace = params['LivePlace'] @BirthDay = params['BirthDay'] end |