Class: TencentCloud::Mrs::V20200910::FamilyHistoryBlock

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

Overview

家族史

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(relativehistory = nil, relativecancerhistory = nil, genetichistory = nil) ⇒ FamilyHistoryBlock



3473
3474
3475
3476
3477
# File 'lib/v20200910/models.rb', line 3473

def initialize(relativehistory=nil, relativecancerhistory=nil, genetichistory=nil)
  @RelativeHistory = relativehistory
  @RelativeCancerHistory = relativecancerhistory
  @GeneticHistory = genetichistory
end

Instance Attribute Details

#GeneticHistoryObject



3471
3472
3473
# File 'lib/v20200910/models.rb', line 3471

def GeneticHistory
  @GeneticHistory
end

#RelativeCancerHistoryObject



3471
3472
3473
# File 'lib/v20200910/models.rb', line 3471

def RelativeCancerHistory
  @RelativeCancerHistory
end

#RelativeHistoryObject



3471
3472
3473
# File 'lib/v20200910/models.rb', line 3471

def RelativeHistory
  @RelativeHistory
end

Instance Method Details

#deserialize(params) ⇒ Object



3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
# File 'lib/v20200910/models.rb', line 3479

def deserialize(params)
  unless params['RelativeHistory'].nil?
    @RelativeHistory = RelativeHistoryBlock.new
    @RelativeHistory.deserialize(params['RelativeHistory'])
  end
  unless params['RelativeCancerHistory'].nil?
    @RelativeCancerHistory = RelativeCancerHistoryBlock.new
    @RelativeCancerHistory.deserialize(params['RelativeCancerHistory'])
  end
  unless params['GeneticHistory'].nil?
    @GeneticHistory = GeneticHistoryBlock.new
    @GeneticHistory.deserialize(params['GeneticHistory'])
  end
end