mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-24 12:11:11 +01:00
* license: update headers to IBM Corp. * `make proto` * update offset because source file changed Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
16 lines
435 B
JavaScript
16 lines
435 B
JavaScript
/**
|
|
* Copyright IBM Corp. 2016, 2025
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import Model, { attr } from '@ember-data/model';
|
|
|
|
//{"node_id":"1249bfbc-b234-96f3-0c66-07078ac3e16e","address":"127.0.0.1:8201","leader":true,"protocol_version":"3","voter":true}
|
|
export default Model.extend({
|
|
address: attr('string'),
|
|
nodeId: attr('string'),
|
|
protocolVersion: attr('string'),
|
|
voter: attr('boolean'),
|
|
leader: attr('boolean'),
|
|
});
|