@revolugo/booking-api-client
Version:
Javascript Revolugo Booking API Client (browser + server)
46 lines (45 loc) • 1.93 kB
TypeScript
import { PollerStatus } from './PollerStatus';
/**
* Meta information about the response list, such as pagination cursors or status.
* @export
* @interface MetaPollingResponseApi
*/
export interface MetaPollingResponseApi {
/**
* A cursor to use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
* @type {string}
* @memberof MetaPollingResponseApi
*/
endingBefore?: string | null;
/**
* A limit on the number of object to be returned.
* @type {number}
* @memberof MetaPollingResponseApi
*/
limit?: number;
/**
* A cursor to use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
* @type {string}
* @memberof MetaPollingResponseApi
*/
startingAfter?: string | null;
/**
*
* @type {number}
* @memberof MetaPollingResponseApi
*/
totalCount?: number | null;
/**
*
* @type {PollerStatus}
* @memberof MetaPollingResponseApi
*/
status: PollerStatus;
}
/**
* Check if a given object implements the MetaPollingResponseApi interface.
*/
export declare function instanceOfMetaPollingResponseApi(value: object): boolean;
export declare function MetaPollingResponseApiFromJSON(json: any): MetaPollingResponseApi;
export declare function MetaPollingResponseApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetaPollingResponseApi;
export declare function MetaPollingResponseApiToJSON(value?: MetaPollingResponseApi | null): any;