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.
8745 8746 8747 8748 8749 8750 8751 |
# File 'lib/v20200910/models.rb', line 8745 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
8743 8744 8745 |
# File 'lib/v20200910/models.rb', line 8743 def AlcoholicHistory @AlcoholicHistory end |
#BirthPlace ⇒ Object
8743 8744 8745 |
# File 'lib/v20200910/models.rb', line 8743 def BirthPlace @BirthPlace end |
#Job ⇒ Object
8743 8744 8745 |
# File 'lib/v20200910/models.rb', line 8743 def Job @Job end |
#LivePlace ⇒ Object
8743 8744 8745 |
# File 'lib/v20200910/models.rb', line 8743 def LivePlace @LivePlace end |
#SmokeHistory ⇒ Object
8743 8744 8745 |
# File 'lib/v20200910/models.rb', line 8743 def SmokeHistory @SmokeHistory end |
Instance Method Details
#deserialize(params) ⇒ Object
8753 8754 8755 8756 8757 8758 8759 |
# File 'lib/v20200910/models.rb', line 8753 def deserialize(params) @BirthPlace = params['BirthPlace'] @LivePlace = params['LivePlace'] @Job = params['Job'] @SmokeHistory = params['SmokeHistory'] @AlcoholicHistory = params['AlcoholicHistory'] end |