Class: TencentCloud::Mrs::V20200910::FamilyHistoryBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::FamilyHistoryBlock
- Defined in:
- lib/v20200910/models.rb
Overview
家族史
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(relativehistory = nil, relativecancerhistory = nil, genetichistory = nil) ⇒ FamilyHistoryBlock
constructor
A new instance of FamilyHistoryBlock.
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
#GeneticHistory ⇒ Object
3456 3457 3458 |
# File 'lib/v20200910/models.rb', line 3456 def GeneticHistory @GeneticHistory end |
#RelativeCancerHistory ⇒ Object
3456 3457 3458 |
# File 'lib/v20200910/models.rb', line 3456 def RelativeCancerHistory @RelativeCancerHistory end |
#RelativeHistory ⇒ Object
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 |