Class: TencentCloud::Mrs::V20200910::PersonalMedicalHistory
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::PersonalMedicalHistory
- Defined in:
- lib/v20200910/models.rb
Overview
个人史
Instance Attribute Summary collapse
- #AlcoholicHistory ⇒ Object
- #BirthPlace ⇒ Object
- #Job ⇒ Object
- #LivePlace ⇒ Object
- #SmokeHistory ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(birthplace = nil, liveplace = nil, job = nil, smokehistory = nil, alcoholichistory = nil) ⇒ PersonalMedicalHistory
constructor
A new instance of PersonalMedicalHistory.
Constructor Details
#initialize(birthplace = nil, liveplace = nil, job = nil, smokehistory = nil, alcoholichistory = nil) ⇒ PersonalMedicalHistory
Returns a new instance of PersonalMedicalHistory.
8718 8719 8720 8721 8722 8723 8724 |
# File 'lib/v20200910/models.rb', line 8718 def initialize(birthplace=nil, liveplace=nil, job=nil, smokehistory=nil, alcoholichistory=nil) @BirthPlace = birthplace @LivePlace = liveplace @Job = job @SmokeHistory = smokehistory @AlcoholicHistory = alcoholichistory end |
Instance Attribute Details
#AlcoholicHistory ⇒ Object
8716 8717 8718 |
# File 'lib/v20200910/models.rb', line 8716 def AlcoholicHistory @AlcoholicHistory end |
#BirthPlace ⇒ Object
8716 8717 8718 |
# File 'lib/v20200910/models.rb', line 8716 def BirthPlace @BirthPlace end |
#Job ⇒ Object
8716 8717 8718 |
# File 'lib/v20200910/models.rb', line 8716 def Job @Job end |
#LivePlace ⇒ Object
8716 8717 8718 |
# File 'lib/v20200910/models.rb', line 8716 def LivePlace @LivePlace end |
#SmokeHistory ⇒ Object
8716 8717 8718 |
# File 'lib/v20200910/models.rb', line 8716 def SmokeHistory @SmokeHistory end |
Instance Method Details
#deserialize(params) ⇒ Object
8726 8727 8728 8729 8730 8731 8732 |
# File 'lib/v20200910/models.rb', line 8726 def deserialize(params) @BirthPlace = params['BirthPlace'] @LivePlace = params['LivePlace'] @Job = params['Job'] @SmokeHistory = params['SmokeHistory'] @AlcoholicHistory = params['AlcoholicHistory'] end |