kentico-cloud-delivery
Version:
Official Kentico Cloud Delivery SDK
28 lines (27 loc) • 1.05 kB
TypeScript
import { Pagination } from '../common';
import { ICloudResponse, ICloudResponseDebug } from '../common/common-models';
import { ContentType } from './content-type-models';
export declare namespace TypeResponses {
class ListContentTypesResponse implements ICloudResponse {
types: ContentType[];
pagination: Pagination;
debug: ICloudResponseDebug;
/**
* Response containing multiple types
* @constructor
* @param {IContentType[]} types - Content types
* @param {Pagination} pagination - Pagination object
*/
constructor(types: ContentType[], pagination: Pagination, debug: ICloudResponseDebug);
}
class ViewContentTypeResponse implements ICloudResponse {
type: ContentType;
debug: ICloudResponseDebug;
/**
* Response containing single type
* @constructor
* @param {IContentType} type - Content type
*/
constructor(type: ContentType, debug: ICloudResponseDebug);
}
}