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

Returns a new instance of FamilyHistoryBlock.



3458
3459
3460
3461
3462
# File 'lib/v20200910/models.rb', line 3458

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

Instance Attribute Details

#GeneticHistoryObject

Parameters:

  • RelativeHistory:

    家庭成员

  • RelativeCancerHistory:

    家族肿瘤史

  • GeneticHistory:

    家族遗传史



3456
3457
3458
# File 'lib/v20200910/models.rb', line 3456

def GeneticHistory
  @GeneticHistory
end

#RelativeCancerHistoryObject

Parameters:

  • RelativeHistory:

    家庭成员

  • RelativeCancerHistory:

    家族肿瘤史

  • GeneticHistory:

    家族遗传史



3456
3457
3458
# File 'lib/v20200910/models.rb', line 3456

def RelativeCancerHistory
  @RelativeCancerHistory
end

#RelativeHistoryObject

Parameters:

  • RelativeHistory:

    家庭成员

  • RelativeCancerHistory:

    家族肿瘤史

  • GeneticHistory:

    家族遗传史



3456
3457
3458
# File 'lib/v20200910/models.rb', line 3456

def RelativeHistory
  @RelativeHistory
end

Instance Method Details

#deserialize(params) ⇒ Object



3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
# File 'lib/v20200910/models.rb', line 3464

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