protected AbstractInvitation()

in teamcity-invitations-plugin-server/src/main/java/org/jetbrains/teamcity/invitations/AbstractInvitation.java [42:52]


    protected AbstractInvitation(Map<String, String> params, SProject project, InvitationType type) {
        this.name = params.get("name");
        this.enabled = !Boolean.valueOf(params.get("disabled"));
        this.token = params.get(TOKEN_PARAM_NAME);
        this.multi = Boolean.valueOf(params.get("multi"));
        this.createdByUserId = Long.parseLong(params.get("createdByUserId"));
        this.welcomeText = params.get("welcomeText");
        this.disabledText = params.get("disabledText");
        this.type = type;
        this.project = project;
    }