UNPKG

umbraco-management-api-client

Version:

TypeScript client for the Umbraco Management API (auto-generated by OpenAPI Generator)

65 lines (64 loc) 2.26 kB
/** * Umbraco Management API * This shows all APIs available in this version of Umbraco - including all the legacy apis that are available for backward compatibility * * The version of the OpenAPI document: Latest * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { DocumentItemResponseModelVariantsInner } from './DocumentItemResponseModelVariantsInner'; import type { TrackedReferenceDocumentTypeModel } from './TrackedReferenceDocumentTypeModel'; /** * * @export * @interface DocumentReferenceResponseModel */ export interface DocumentReferenceResponseModel { /** * * @type {string} * @memberof DocumentReferenceResponseModel */ $type: string; /** * * @type {string} * @memberof DocumentReferenceResponseModel */ id: string; /** * * @type {string} * @memberof DocumentReferenceResponseModel */ name?: string | null; /** * * @type {boolean} * @memberof DocumentReferenceResponseModel */ published?: boolean | null; /** * * @type {TrackedReferenceDocumentTypeModel} * @memberof DocumentReferenceResponseModel */ documentType: TrackedReferenceDocumentTypeModel; /** * * @type {Array<DocumentItemResponseModelVariantsInner>} * @memberof DocumentReferenceResponseModel */ variants: Array<DocumentItemResponseModelVariantsInner>; } /** * Check if a given object implements the DocumentReferenceResponseModel interface. */ export declare function instanceOfDocumentReferenceResponseModel(value: object): value is DocumentReferenceResponseModel; export declare function DocumentReferenceResponseModelFromJSON(json: any): DocumentReferenceResponseModel; export declare function DocumentReferenceResponseModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentReferenceResponseModel; export declare function DocumentReferenceResponseModelToJSON(json: any): DocumentReferenceResponseModel; export declare function DocumentReferenceResponseModelToJSONTyped(value?: DocumentReferenceResponseModel | null, ignoreDiscriminator?: boolean): any;