UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

63 lines (62 loc) 1.7 kB
import { ModelDefinition } from './BaseModels'; import { Log } from './Log'; import { Asset } from './Asset'; import { Summary } from './Summary'; import { SummaryForProject } from './SummaryForProject'; export interface SummaryForAssetInterface { id?: string; type: string; from: Date; to: Date; length: number; detail: any; updated: boolean; created?: Date; modified?: Date; deleted?: Date; assetId?: any; summaryForProjectId?: string; trackingLogs?: Log[]; asset?: Asset; summaries?: Summary[]; summaryForProject?: SummaryForProject; } export declare class SummaryForAsset implements SummaryForAssetInterface { id: string; type: string; from: Date; to: Date; length: number; detail: any; updated: boolean; created: Date; modified: Date; deleted: Date; assetId: any; summaryForProjectId: string; trackingLogs?: Log[]; asset?: Asset; summaries?: Summary[]; summaryForProject?: SummaryForProject; constructor(data?: SummaryForAssetInterface); /** * The name of the model represented by this $resource, * i.e. `SummaryForAsset`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of SummaryForAsset for dynamic purposes. */ static factory(data: SummaryForAssetInterface): SummaryForAsset; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }