package Ġde . r ki . cor on aw arn app . covid certificate . test . core . storage . types Ċ Ċ import Ġcom . google . gson . annotations . SerializedName Ċ import Ġde . r ki . cor on aw arn app . covid certificate . common . certificate . C wa Cov id Certificate Ċ import Ġorg . joda . time . Instant Ċ Ċ /** Ċ Ġ* ĠA Ġgeneric Ġdata Ġclass Ġused Ġto Ġstore Ġdata Ġfor Ġscanned Ġqr codes . Ċ Ġ* ĠMay Ġbe Ġcloned Ġif Ġwe Ġneed Ġto Ġsupport Ġdifferent Ġtypes Ġof Ġtest Ġcertificates Ġin Ġthe Ġfuture . Ċ Ġ*/ Ċ data Ġclass ĠGeneric Test Certificate Data ( ĊĠĠĠ Ġ@ SerializedName (" identifier ") ĊĠĠĠ Ġoverride Ġval Ġidentifier : ĠString , ĊĊĠĠĠ Ġ@ SerializedName (" registered At ") ĊĠĠĠ Ġoverride Ġval Ġregistered At : ĠInstant , ĊĊĠĠĠ Ġ@ SerializedName (" certificate Received At ") ĊĠĠĠ Ġoverride Ġval Ġcertificate Received At : ĠInstant ? Ġ= Ġnull , ĊĊĠĠĠ Ġ@ SerializedName (" not ified Invalid At ") ĊĠĠĠ Ġoverride Ġval Ġnotified Invalid At : ĠInstant ? Ġ= Ġnull , ĊĊĠĠĠ Ġ@ SerializedName (" last Seen StateChange ") ĊĠĠĠ Ġoverride Ġval Ġlast Seen StateChange : ĠC wa Cov id Certificate . State ? Ġ= Ġnull , ĊĊĠĠĠ Ġ@ SerializedName (" last Seen StateChange At ") ĊĠĠĠ Ġoverride Ġval Ġlast Seen StateChange At : ĠInstant ? Ġ= Ġnull , ĊĊĠĠĠ Ġ@ SerializedName (" test Certificate Qr Code ") ĊĠĠĠ Ġoverride Ġval Ġtest Certificate Qr Code : ĠString ? Ġ= Ġnull , ĊĊĠĠĠ Ġ// ĠImport ed ĠC ertificates Ġare Ġalready Ġscanned Ġsome Ġtime Ġago Ġand Ġshouldn 't Ġshow Ġa Ġbadge ĊĠĠĠ Ġ@ SerializedName (" certificate Seen ByUser ") ĊĠĠĠ Ġoverride Ġval Ġcertificate Seen ByUser : ĠBoolean Ġ= Ġtrue , Ċ ) Ġ: ĠSc anned Test Certificate () Ġ{ ĊĊĠĠĠ Ġ// ĠOtherwise ĠG SON Ġun saf es Ġreflection Ġto Ġcreate Ġthis Ġclass , Ġand Ġsets Ġthe ĠL AZ Y Ġto Ġnull ĊĠĠĠ Ġ@ Suppress (" unused ") ĊĠĠĠ Ġconstructor () Ġ: Ġthis ( ĊĠĠĠĠĠĠĠ Ġidentifier Ġ= Ġ"", ĊĠĠĠĠĠĠĠ Ġregistered At Ġ= ĠInstant . EPOCH ĊĠĠĠ Ġ) Ċ } Ċ