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