class VitamSession {

    public void mutateFrom(@NotNull VitamSession newSession) {
        // Parameters guard
        if (newSession == null) {
            throw new IllegalArgumentException("VitamSession should not be null");
        }
        setRequestId(newSession.getRequestId());
        setInternalRequestId(newSession.getInternalRequestId());
        setTenantId(newSession.getTenantId());
        setContractId(newSession.getContractId());
        setContract(newSession.getContract());
        setOther(newSession.getOther());
        setContextId(newSession.getContextId());
        setApplicationSessionId(newSession.getApplicationSessionId());
        setSecurityProfileIdentifier(newSession.getSecurityProfileIdentifier());
        setPersonalCertificate(newSession.getPersonalCertificate());
    }

    public  VitamSession(VitamThreadFactory.VitamThread owningThread);

}