Class: TencentCloud::Mrs::V20200910::PersonalMedicalHistory

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200910/models.rb

Overview

个人史

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AlcoholicHistoryObject

Parameters:

  • BirthPlace:

    出生史

  • LivePlace:

    居住史

  • Job:

    工作史

  • SmokeHistory:

    吸烟史

  • AlcoholicHistory:

    饮酒史



8716
8717
8718
# File 'lib/v20200910/models.rb', line 8716

def AlcoholicHistory
  @AlcoholicHistory
end

#BirthPlaceObject

Parameters:

  • BirthPlace:

    出生史

  • LivePlace:

    居住史

  • Job:

    工作史

  • SmokeHistory:

    吸烟史

  • AlcoholicHistory:

    饮酒史



8716
8717
8718
# File 'lib/v20200910/models.rb', line 8716

def BirthPlace
  @BirthPlace
end

#JobObject

Parameters:

  • BirthPlace:

    出生史

  • LivePlace:

    居住史

  • Job:

    工作史

  • SmokeHistory:

    吸烟史

  • AlcoholicHistory:

    饮酒史



8716
8717
8718
# File 'lib/v20200910/models.rb', line 8716

def Job
  @Job
end

#LivePlaceObject

Parameters:

  • BirthPlace:

    出生史

  • LivePlace:

    居住史

  • Job:

    工作史

  • SmokeHistory:

    吸烟史

  • AlcoholicHistory:

    饮酒史



8716
8717
8718
# File 'lib/v20200910/models.rb', line 8716

def LivePlace
  @LivePlace
end

#SmokeHistoryObject

Parameters:

  • BirthPlace:

    出生史

  • LivePlace:

    居住史

  • Job:

    工作史

  • SmokeHistory:

    吸烟史

  • AlcoholicHistory:

    饮酒史



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