UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

58 lines (57 loc) 1.42 kB
import { ModelDefinition } from './BaseModels'; import { Log } from './Log'; import { Project } from './Project'; import { GeoPoint } from './BaseModels'; export interface GisInterface { name?: string; center?: GeoPoint; zoom?: number; type: string; mapType?: string; created?: Date; modified?: Date; deleted?: Date; id?: any; projectId?: any; container?: any; layers?: any[]; trackingLogs?: Log[]; project?: Project; } export declare class Gis implements GisInterface { name: string; center: GeoPoint; zoom: number; type: string; mapType: string; created: Date; modified: Date; deleted: Date; id: any; projectId: any; container?: any; layers?: any[]; trackingLogs?: Log[]; project?: Project; constructor(data?: GisInterface); /** * The name of the model represented by this $resource, * i.e. `Gis`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of Gis for dynamic purposes. */ static factory(data: GisInterface): Gis; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }