public DateTime?GetDateTime(string key, bool required = true) { long?ts = GetValue <long?>(key, required); if (ts == null) { return(null); } return(ApiUtil.ConvertFromTimestamp((long)ts)); }