Class: TencentCloud::Mrs::V20200910::VaccineCertificate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::VaccineCertificate
- Defined in:
- lib/v20200910/models.rb
Overview
免疫接种证明
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vaccinelist = nil, page = nil) ⇒ VaccineCertificate
constructor
A new instance of VaccineCertificate.
Constructor Details
#initialize(vaccinelist = nil, page = nil) ⇒ VaccineCertificate
Returns a new instance of VaccineCertificate.
11737 11738 11739 11740 |
# File 'lib/v20200910/models.rb', line 11737 def initialize(vaccinelist=nil, page=nil) @VaccineList = vaccinelist @Page = page end |
Instance Attribute Details
#Page ⇒ Object
11735 11736 11737 |
# File 'lib/v20200910/models.rb', line 11735 def Page @Page end |
#VaccineList ⇒ Object
11735 11736 11737 |
# File 'lib/v20200910/models.rb', line 11735 def VaccineList @VaccineList end |
Instance Method Details
#deserialize(params) ⇒ Object
11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 |
# File 'lib/v20200910/models.rb', line 11742 def deserialize(params) unless params['VaccineList'].nil? @VaccineList = [] params['VaccineList'].each do |i| vaccination_tmp = Vaccination.new vaccination_tmp.deserialize(i) @VaccineList << vaccination_tmp end end @Page = params['Page'] end |