Package se.digg.dgc.payload.v1
Class Eudcc
- java.lang.Object
-
- se.digg.dgc.payload.v1.Eudcc
-
- Direct Known Subclasses:
DigitalCovidCertificate
@Generated("jsonschema2pojo") public class Eudcc extends Object
EU DCCEU Digital Covid Certificate Schema version 1.3.0
-
-
Constructor Summary
Constructors Constructor Description Eudcc()
No args constructor for use in serializationEudcc(String ver, PersonName nam, String dob, List<VaccinationEntry> v, List<TestEntry> t, List<RecoveryEntry> r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
String
getDob()
Date of birthPersonName
getNam()
Person name: Surname(s), forename(s) - in that orderList<RecoveryEntry>
getR()
Recovery GroupList<TestEntry>
getT()
Test GroupList<VaccinationEntry>
getV()
Vaccination GroupString
getVer()
Schema versionint
hashCode()
void
setDob(String dob)
Date of birthvoid
setNam(PersonName nam)
Person name: Surname(s), forename(s) - in that ordervoid
setR(List<RecoveryEntry> r)
Recovery Groupvoid
setT(List<TestEntry> t)
Test Groupvoid
setV(List<VaccinationEntry> v)
Vaccination Groupvoid
setVer(String ver)
Schema versionString
toString()
Eudcc
withDob(String dob)
Eudcc
withNam(PersonName nam)
Eudcc
withR(List<RecoveryEntry> r)
Eudcc
withT(List<TestEntry> t)
Eudcc
withV(List<VaccinationEntry> v)
Eudcc
withVer(String ver)
-
-
-
Constructor Detail
-
Eudcc
public Eudcc()
No args constructor for use in serialization
-
Eudcc
public Eudcc(String ver, PersonName nam, String dob, List<VaccinationEntry> v, List<TestEntry> t, List<RecoveryEntry> r)
- Parameters:
ver
-r
-t
-dob
-v
-nam
-
-
-
Method Detail
-
getVer
public String getVer()
Schema versionVersion of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)
-
setVer
public void setVer(String ver)
Schema versionVersion of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)
-
getNam
public PersonName getNam()
Person name: Surname(s), forename(s) - in that order
-
setNam
public void setNam(PersonName nam)
Person name: Surname(s), forename(s) - in that order
-
withNam
public Eudcc withNam(PersonName nam)
-
getDob
public String getDob()
Date of birthDate of Birth of the person addressed in the DCC. ISO 8601 date format restricted to range 1900-2099 or empty
-
setDob
public void setDob(String dob)
Date of birthDate of Birth of the person addressed in the DCC. ISO 8601 date format restricted to range 1900-2099 or empty
-
getV
public List<VaccinationEntry> getV()
Vaccination Group
-
setV
public void setV(List<VaccinationEntry> v)
Vaccination Group
-
withV
public Eudcc withV(List<VaccinationEntry> v)
-
getR
public List<RecoveryEntry> getR()
Recovery Group
-
setR
public void setR(List<RecoveryEntry> r)
Recovery Group
-
withR
public Eudcc withR(List<RecoveryEntry> r)
-
-