result = 29 * result + (primary != null ? primary.hashCode() : 0); result = 29 * result + (monitored != null ? monitored.hashCode() : 0);
result = 29 * result + (primary ? 1 : 0); result = 29 * result + (monitored ? 1 : 0);
    public int hashCode() {        int result;        result = (id != null ? id.hashCode() : 0);        result = 29 * result + (callerId != null ? callerId.hashCode() : 0);        result = 29 * result + (device != null ? device.hashCode() : 0);        result = 29 * result + (primary != null ? primary.hashCode() : 0);        result = 29 * result + (monitored != null ? monitored.hashCode() : 0);        result = 29 * result + (extension != null ? extension.hashCode() : 0);        return result;    }