class AcceptRejectApplicationKtaInviteModelPopulator {

    public AcceptRejectApplicationKtaInviteViewModel populateModel(ApplicationKtaInviteResource invite) {

        return new AcceptRejectApplicationKtaInviteViewModel(invite.getApplication(),
                invite.getApplicationName(),
                invite.getCompetitionName(),
                invite.getLeadOrganisationName(),
                invite.getLeadApplicant(),
                invite.getHash());
    }

}