2020-11-09 17:29:12 +00:00
|
|
|
import Model, { attr } from '@ember-data/model';
|
2019-02-21 13:10:53 +00:00
|
|
|
|
|
|
|
export const PRIMARY_KEY = 'uid';
|
2020-08-11 16:53:45 +00:00
|
|
|
export const SLUG_KEY = 'Node,ServiceID';
|
2020-11-09 17:29:12 +00:00
|
|
|
|
|
|
|
// TODO: This should be changed to ProxyInstance
|
|
|
|
export default class Proxy extends Model {
|
|
|
|
@attr('string') uid;
|
|
|
|
@attr('string') ID;
|
|
|
|
|
|
|
|
@attr('string') Datacenter;
|
|
|
|
@attr('string') Namespace;
|
|
|
|
@attr('string') ServiceName;
|
|
|
|
@attr('string') ServiceID;
|
|
|
|
@attr('string') Node;
|
|
|
|
@attr('number') SyncTime;
|
|
|
|
@attr() ServiceProxy; // {}
|
|
|
|
}
|