lib/components/room-bridge-store.js
function Entry(doc) {
    doc = doc || {};
    this.id = doc.id;
    this.matrix = doc.matrix_id ? new MatrixRoom(doc.matrix_id, doc.matrix) : undefined;
    this.remote = doc.remote_id ? new RemoteRoom(doc.remote_id, doc.remote) : undefined;
    this.data = doc.data;
}
function Entry(doc) {
    doc = doc || {};
    this.id = doc.id;
    this.matrix = doc.matrix_id ? new MatrixRoom(doc.matrix_id, doc.matrix) : undefined;
    this.remote = doc.remote_id ? new RemoteRoom(doc.remote_id, doc.remote) : undefined;
    this.data = doc.data;
}
function Entry ( doc ) { doc = doc || { } ; this . id = doc . id ; this . matrix = doc . matrix_id ? new MatrixRoom ( doc . matrix_id , doc . matrix ) : undefined ; this . remote = doc . remote_id ? new RemoteRoom ( doc . remote_id , doc . remote ) : undefined ; this . data = doc . data ; }
Construct a new RoomBridgeStore Entry.
@constructor
@typedef RoomBridgeStore~Entry
@property {string} id The unique ID for this entry.
@property {?MatrixRoom} matrix The matrix room, if applicable.
@property {?RemoteRoom} remote The remote room, if applicable.
@property {?Object} data Information about this mapping, which may be an empty.
Construct a new RoomBridgeStore Entry .