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.
8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 |
# File 'lib/v20200910/models.rb', line 8818 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
8816 8817 8818 |
# File 'lib/v20200910/models.rb', line 8816 def GeneralExamination @GeneralExamination end |
#Gynaecology ⇒ Object
8816 8817 8818 |
# File 'lib/v20200910/models.rb', line 8816 def Gynaecology @Gynaecology end |
#InternalMedicine ⇒ Object
8816 8817 8818 |
# File 'lib/v20200910/models.rb', line 8816 def InternalMedicine @InternalMedicine end |
#Ophthalmology ⇒ Object
8816 8817 8818 |
# File 'lib/v20200910/models.rb', line 8816 def Ophthalmology @Ophthalmology end |
#Otolaryngology ⇒ Object
8816 8817 8818 |
# File 'lib/v20200910/models.rb', line 8816 def Otolaryngology @Otolaryngology end |
#Stomatology ⇒ Object
8816 8817 8818 |
# File 'lib/v20200910/models.rb', line 8816 def Stomatology @Stomatology end |
#Surgery ⇒ Object
8816 8817 8818 |
# File 'lib/v20200910/models.rb', line 8816 def Surgery @Surgery end |
#Unclassified ⇒ Object
8816 8817 8818 |
# File 'lib/v20200910/models.rb', line 8816 def Unclassified @Unclassified end |
Instance Method Details
#deserialize(params) ⇒ Object
8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 |
# File 'lib/v20200910/models.rb', line 8829 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 |