public static ExternalNotificationTypeEnum getByName(String name) {
        for (ExternalNotificationTypeEnum dbTypeEnum : ExternalNotificationTypeEnum.values()) {
            if (dbTypeEnum.name().equalsIgnoreCase(name)) {
                return dbTypeEnum;
            }
        }
        return null;
    }
Get enum by name

@param name
@return
chat2db-server/chat2db-server-domain/chat2db-server-domain-core/src/main/java/ai/chat2db/server/domain/core/enums/ExternalNotificationTypeEnum.java