package Ġcom . bad oo . automation . devices erver . data Ċ Ċ import Ġcom . fasterxml . jackson . annotation . JsonValue Ċ Ċ enum Ġclass ĠPermission Type (@ JsonValue Ġval Ġvalue : ĠString ) Ġ{ ĊĠĠĠ Ġ// Ġregion Ġyes / no / unset Ġpermissions ĊĠĠĠ ĠCalendar (" calendar "), ĊĊĠĠĠ ĠCamera (" camera "), ĊĊĠĠĠ ĠContact s (" contacts "), ĊĊĠĠĠ ĠHealth (" health "), ĊĊĠĠĠ ĠHome Kit (" home kit "), ĊĊĠĠĠ ĠMedia Library (" med iali brary "), ĊĊĠĠĠ ĠMicro phone (" micro phone "), ĊĊĠĠĠ ĠMotion (" motion "), ĊĊĠĠĠ ĠNotifications (" notifications "), ĊĊĠĠĠ ĠPh otos (" photos "), ĊĊĠĠĠ ĠRem inders (" rem inders "), ĊĊĠĠĠ ĠSi ri (" si ri "), ĊĊĠĠĠ ĠSpeech (" speech "), ĊĠĠĠ Ġ// Ġend region ĊĊĠĠĠ Ġ// Ġregion Ġalways / in use / never / unset Ġpermissions ĊĠĠĠ ĠLocation (" location "), ĊĠĠĠ Ġ// Ġend region Ċ } Ċ Ċ enum Ġclass ĠPermission Allowed (@ JsonValue Ġval Ġvalue : ĠString ) Ġ{ ĊĠĠĠ ĠYes (" yes "), ĊĊĠĠĠ ĠNo (" no "), ĊĊĠĠĠ ĠAlways (" always "), ĊĊĠĠĠ ĠIn use (" in use "), ĊĊĠĠĠ ĠNever (" never "), ĊĊĠĠĠ ĠUn set (" unset "); Ċ } Ċ Ċ class ĠPermission Set : ĠHashMap < Permission Type , ĠPermission Allowed >() ĊĊ