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
11773 11774 11775 11776 |
# File 'lib/v20200910/models.rb', line 11773 def initialize(vaccinelist=nil, page=nil) @VaccineList = vaccinelist @Page = page end |
Instance Attribute Details
#Page ⇒ Object
11771 11772 11773 |
# File 'lib/v20200910/models.rb', line 11771 def Page @Page end |
#VaccineList ⇒ Object
11771 11772 11773 |
# File 'lib/v20200910/models.rb', line 11771 def VaccineList @VaccineList end |
Instance Method Details
#deserialize(params) ⇒ Object
11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 |
# File 'lib/v20200910/models.rb', line 11778 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 |