@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
67 lines (66 loc) • 1.71 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Log } from './Log';
import { Project } from './Project';
import { Manager } from './Manager';
import { Asset } from './Asset';
export interface ReportInterface {
type: string;
name: string;
description?: string;
emails?: Array<any>;
scheduler?: any;
parameters?: any;
nextReportTime?: Date;
lastSendError?: string;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
projectId?: any;
assetIds?: Array<any>;
trackingLogs?: Log[];
project?: Project;
managers?: Manager[];
assets?: Asset[];
}
export declare class Report implements ReportInterface {
type: string;
name: string;
description: string;
emails: Array<any>;
scheduler: any;
parameters: any;
nextReportTime: Date;
lastSendError: string;
created: Date;
modified: Date;
deleted: Date;
id: any;
projectId: any;
assetIds: Array<any>;
trackingLogs?: Log[];
project?: Project;
managers?: Manager[];
assets?: Asset[];
constructor(data?: ReportInterface);
/**
* The name of the model represented by this $resource,
* i.e. `Report`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of Report for dynamic purposes.
*/
static factory(data: ReportInterface): Report;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}