Class: TencentCloud::Mrs::V20200910::PhysicalExamination
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::PhysicalExamination
- Defined in:
- lib/v20200910/models.rb
Overview
体检报告综合信息
Instance Attribute Summary collapse
- #GeneralExamination ⇒ Object
- #Gynaecology ⇒ Object
- #InternalMedicine ⇒ Object
- #Ophthalmology ⇒ Object
- #Otolaryngology ⇒ Object
- #Stomatology ⇒ Object
- #Surgery ⇒ Object
- #Unclassified ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(generalexamination = nil, internalmedicine = nil, surgery = nil, stomatology = nil, ophthalmology = nil, otolaryngology = nil, gynaecology = nil, unclassified = nil) ⇒ PhysicalExamination
constructor
A new instance of PhysicalExamination.
Constructor Details
#initialize(generalexamination = nil, internalmedicine = nil, surgery = nil, stomatology = nil, ophthalmology = nil, otolaryngology = nil, gynaecology = nil, unclassified = nil) ⇒ PhysicalExamination
Returns a new instance of PhysicalExamination.
8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 |
# File 'lib/v20200910/models.rb', line 8791 def initialize(generalexamination=nil, internalmedicine=nil, surgery=nil, stomatology=nil, ophthalmology=nil, otolaryngology=nil, gynaecology=nil, unclassified=nil) @GeneralExamination = generalexamination @InternalMedicine = internalmedicine @Surgery = surgery @Stomatology = stomatology @Ophthalmology = ophthalmology @Otolaryngology = otolaryngology @Gynaecology = gynaecology @Unclassified = unclassified end |
Instance Attribute Details
#GeneralExamination ⇒ Object
8789 8790 8791 |
# File 'lib/v20200910/models.rb', line 8789 def GeneralExamination @GeneralExamination end |
#Gynaecology ⇒ Object
8789 8790 8791 |
# File 'lib/v20200910/models.rb', line 8789 def Gynaecology @Gynaecology end |
#InternalMedicine ⇒ Object
8789 8790 8791 |
# File 'lib/v20200910/models.rb', line 8789 def InternalMedicine @InternalMedicine end |
#Ophthalmology ⇒ Object
8789 8790 8791 |
# File 'lib/v20200910/models.rb', line 8789 def Ophthalmology @Ophthalmology end |
#Otolaryngology ⇒ Object
8789 8790 8791 |
# File 'lib/v20200910/models.rb', line 8789 def Otolaryngology @Otolaryngology end |
#Stomatology ⇒ Object
8789 8790 8791 |
# File 'lib/v20200910/models.rb', line 8789 def Stomatology @Stomatology end |
#Surgery ⇒ Object
8789 8790 8791 |
# File 'lib/v20200910/models.rb', line 8789 def Surgery @Surgery end |
#Unclassified ⇒ Object
8789 8790 8791 |
# File 'lib/v20200910/models.rb', line 8789 def Unclassified @Unclassified end |
Instance Method Details
#deserialize(params) ⇒ Object
8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 |
# File 'lib/v20200910/models.rb', line 8802 def deserialize(params) unless params['GeneralExamination'].nil? @GeneralExamination = GeneralExaminationBaseItem.new @GeneralExamination.deserialize(params['GeneralExamination']) end unless params['InternalMedicine'].nil? @InternalMedicine = InternalMedicineBaseItem.new @InternalMedicine.deserialize(params['InternalMedicine']) end unless params['Surgery'].nil? @Surgery = SurgeryBaseItem.new @Surgery.deserialize(params['Surgery']) end unless params['Stomatology'].nil? @Stomatology = StomatologyBaseItem.new @Stomatology.deserialize(params['Stomatology']) end unless params['Ophthalmology'].nil? @Ophthalmology = OphthalmologyBaseItem.new @Ophthalmology.deserialize(params['Ophthalmology']) end unless params['Otolaryngology'].nil? @Otolaryngology = OtolaryngologyBaseItem.new @Otolaryngology.deserialize(params['Otolaryngology']) end unless params['Gynaecology'].nil? @Gynaecology = GynaecologyBaseItem.new @Gynaecology.deserialize(params['Gynaecology']) end unless params['Unclassified'].nil? @Unclassified = [] params['Unclassified'].each do |i| keyvalueitem_tmp = KeyValueItem.new keyvalueitem_tmp.deserialize(i) @Unclassified << keyvalueitem_tmp end end end |