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