static function getName($id)
    {
        try {
            return self::TYPES_NAMES[$id];
        } catch (\Exception $e) {
            throw new EndomondoWorkoutException('Unknown workout type', $e->getCode(), $e->getPrevious());
        }
    }