public static function getEntityValues(\Twizo\Api\AbstractEntity $entity)
    {
        $result = array();
        $methods = get_class_methods($entity);
        sort($methods);
        foreach ($methods as $method) {
            if (substr($method, 0, 3) == 'get') {
                $result[$method] = $entity->$method();
            }
        }

        return $result;
    }