package Ġcom . ec wid . male or ang . method . v 3 _ 0 . lists . tags Ċ Ċ import Ġcom . ec wid . male or ang . Mail ch imp Method Ċ import Ġcom . ec wid . male or ang . Mail ch imp Object Ċ import Ġcom . ec wid . male or ang . annotation .* Ċ import Ġorg . apache . commons . codec . digest . Digest Utils Ċ Ċ /** Ċ Ġ* Ġ[ Adds / re moves Ġtags Ġfrom Ġsome Ġsubscriber ]( https :// mail ch imp . com / developer / marketing / api / list - member - tags / add - or - remove - member - tags /) Ċ Ġ* Ġ@ author Ġsp or ritt Ċ Ġ* Ċ Ġ* ĠTo Ġuse Ġthis Ġclass : Ċ Ġ* Ċ Ġ* Ġval Ġupdater Ġ= Ġnew ĠUpdate Tags Method ( list Id , Ġemail , ĠArray ( new ĠUpdate Tag Info (" tagName ", ĠACT IVE )) Ċ Ġ* Ġupdater . execute () Ċ Ġ*/ Ċ @ Method ( http Method Ġ= ĠHttpMethod . POST , Ġversion Ġ= ĠAPI Version . v 3 _ 0 , Ġpath Ġ= Ġ"/ lists /{ list _ id }/ members /{ subscriber _ hash }/ tags ") Ċ class ĠUpdate Tags Method (@ Jvm Field Ġ@ Path Param Ġval Ġlist _ id : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġemail : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Jvm Field Ġ@ Field Ġval Ġtags : Array < Update Tag Info > Ġ= ĠarrayOf ()) Ġ: ĠMail ch imp Method < Update Tags Method . Response >() Ġ{ ĊĊĠĠĠ Ġ@ Jvm Field ĊĠĠĠ Ġ@ Path Param ĊĠĠĠ Ġval Ġsubscriber _ hash : ĠString Ġ= ĠDigest Utils . md 5 Hex ( email . toLowerCase ()) ĊĊĠĠĠ Ġclass ĠResponse Ġ: ĠMail ch imp Object () Ġ{ Ġ} Ċ Ċ } Ċ