// SPDX-License-Identifier: Apache-2.0
import { GenesisNetworkDataWrapper } from './genesis-network-data-wrapper.js';
export class GenesisNetworkRosterEntryDataWrapper extends GenesisNetworkDataWrapper {
    nodeId;
    constructor(nodeId) {
        super(nodeId);
        this.nodeId = nodeId;
    }
    toObject() {
        return {
            nodeId: this.nodeId,
            gossipEndpoint: this.gossipEndpoint,
            gossipCaCertificate: this.gossipCaCertificate,
            weight: this.weight,
        };
    }
}
//# sourceMappingURL=genesis-network-roster-entry-data-wrapper.js.map