@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
37 lines (36 loc) • 1.04 kB
TypeScript
import { ModelDefinition } from './BaseModels';
export interface NotificationInterface {
enabled?: boolean;
sendEmail?: boolean;
sendSMS?: boolean;
minInterval?: number;
id?: any;
}
export declare class Notification implements NotificationInterface {
enabled: boolean;
sendEmail: boolean;
sendSMS: boolean;
minInterval: number;
id: any;
constructor(data?: NotificationInterface);
/**
* The name of the model represented by this $resource,
* i.e. `Notification`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of Notification for dynamic purposes.
*/
static factory(data: NotificationInterface): Notification;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}