6bcb98ea71
* Add copyright headers to UI files * Ensure copywrite file ignores external libs
26 lines
641 B
JavaScript
26 lines
641 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import Model, { attr } from '@ember-data/model';
|
|
|
|
export const PRIMARY_KEY = 'uid';
|
|
export const SLUG_KEY = 'ID';
|
|
|
|
export default class BindingRule extends Model {
|
|
@attr('string') uid;
|
|
@attr('string') ID;
|
|
|
|
@attr('string') Datacenter;
|
|
@attr('string') Namespace;
|
|
@attr('string') Partition;
|
|
@attr('string', { defaultValue: () => '' }) Description;
|
|
@attr('string') AuthMethod;
|
|
@attr('string', { defaultValue: () => '' }) Selector;
|
|
@attr('string') BindType;
|
|
@attr('string') BindName;
|
|
@attr('number') CreateIndex;
|
|
@attr('number') ModifyIndex;
|
|
}
|