UNPKG

wallee

Version:
41 lines (40 loc) 1.54 kB
import type { RestCountry } from './RestCountry'; /** * * @export * @interface CountrySearchResponse */ export interface CountrySearchResponse { /** * An array containing the actual response objects. * @type {Array<RestCountry>} * @memberof CountrySearchResponse */ readonly data?: Array<RestCountry>; /** * The number of skipped objects. * @type {number} * @memberof CountrySearchResponse */ readonly offset?: number; /** * Whether there are more objects available after this set. If false, there are no more objects to retrieve. * @type {boolean} * @memberof CountrySearchResponse */ readonly hasMore?: boolean; /** * The applied limit on the number of objects returned. * @type {number} * @memberof CountrySearchResponse */ readonly limit?: number; } /** * Check if a given object implements the CountrySearchResponse interface. */ export declare function instanceOfCountrySearchResponse(value: object): value is CountrySearchResponse; export declare function CountrySearchResponseFromJSON(json: any): CountrySearchResponse; export declare function CountrySearchResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountrySearchResponse; export declare function CountrySearchResponseToJSON(json: any): CountrySearchResponse; export declare function CountrySearchResponseToJSONTyped(value?: Omit<CountrySearchResponse, 'data' | 'offset' | 'hasMore' | 'limit'> | null, ignoreDiscriminator?: boolean): any;