UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

37 lines (36 loc) 1.02 kB
import { ModelDefinition } from './BaseModels'; export interface RateLimitInterface { readLimit: number; writeLimit: number; timeIntervalS: number; enabled?: boolean; id?: any; } export declare class RateLimit implements RateLimitInterface { readLimit: number; writeLimit: number; timeIntervalS: number; enabled: boolean; id: any; constructor(data?: RateLimitInterface); /** * The name of the model represented by this $resource, * i.e. `RateLimit`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of RateLimit for dynamic purposes. */ static factory(data: RateLimitInterface): RateLimit; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }