@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
49 lines (48 loc) • 1.33 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Asset } from './Asset';
import { Log } from './Log';
export interface AssetMilestoneInterface {
creationDate?: Date;
firstSyncDate?: Date;
activationDate?: Date;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
assetId?: any;
asset?: Asset;
trackingLogs?: Log[];
}
export declare class AssetMilestone implements AssetMilestoneInterface {
creationDate: Date;
firstSyncDate: Date;
activationDate: Date;
created: Date;
modified: Date;
deleted: Date;
id: any;
assetId: any;
asset?: Asset;
trackingLogs?: Log[];
constructor(data?: AssetMilestoneInterface);
/**
* The name of the model represented by this $resource,
* i.e. `AssetMilestone`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of AssetMilestone for dynamic purposes.
*/
static factory(data: AssetMilestoneInterface): AssetMilestone;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}