private void toSlime(Cursor object) {
        object.setString(APPLICATION_ID_FIELD, applicationId.serializedForm());
        activeSession.ifPresent(session -> object.setLong(ACTIVE_SESSION_FIELD, session));
        lastDeployedSession.ifPresent(session -> object.setLong(LAST_DEPLOYED_SESSION_FIELD, session));
    }
Data class for application id, active session and last deployed session

@author hmusum
configserver/src/main/java/com/yahoo/vespa/config/server/application/ApplicationData.java