/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface ErrorRateLimit */ export interface ErrorRateLimit { /** * The maximum number of requests that the consumer is permitted to make per minute */ limit: number; /** * Which rate limit was exceeded */ name: string; /** * The number of requests remaining in the current rate limit window */ remaining: number; /** * When the client can retry, as an RFC3339 timestamp in UTC. Prefer the Retry-After response header, which carries the same instant as a number of seconds */ retry_after: string; } /** * Check if a given object implements the ErrorRateLimit interface. */ export declare function instanceOfErrorRateLimit(value: object): value is ErrorRateLimit; export declare function ErrorRateLimitFromJSON(json: any): ErrorRateLimit; export declare function ErrorRateLimitFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorRateLimit; export declare function ErrorRateLimitToJSON(json: any): ErrorRateLimit; export declare function ErrorRateLimitToJSONTyped(value?: ErrorRateLimit | null, ignoreDiscriminator?: boolean): any;