UNPKG

wallee

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