2021-03-26 15:47:47 +00:00
|
|
|
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;
|
2021-09-15 18:50:11 +00:00
|
|
|
@attr('string') Partition;
|
2021-03-26 15:47:47 +00:00
|
|
|
@attr('string', { defaultValue: () => '' }) Description;
|
|
|
|
@attr('string') AuthMethod;
|
|
|
|
@attr('string', { defaultValue: () => '' }) Selector;
|
|
|
|
@attr('string') BindType;
|
|
|
|
@attr('string') BindName;
|
|
|
|
@attr('number') CreateIndex;
|
|
|
|
@attr('number') ModifyIndex;
|
|
|
|
}
|