UNPKG

umbraco-management-api-client

Version:

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

65 lines (64 loc) 2.02 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 { RelationReferenceModel } from './RelationReferenceModel'; import type { ReferenceByIdModel } from './ReferenceByIdModel'; /** * * @export * @interface RelationResponseModel */ export interface RelationResponseModel { /** * * @type {string} * @memberof RelationResponseModel */ id: string; /** * * @type {ReferenceByIdModel} * @memberof RelationResponseModel */ relationType: ReferenceByIdModel; /** * * @type {RelationReferenceModel} * @memberof RelationResponseModel */ parent: RelationReferenceModel; /** * * @type {RelationReferenceModel} * @memberof RelationResponseModel */ child: RelationReferenceModel; /** * * @type {Date} * @memberof RelationResponseModel */ readonly createDate: Date; /** * * @type {string} * @memberof RelationResponseModel */ readonly comment?: string | null; } /** * Check if a given object implements the RelationResponseModel interface. */ export declare function instanceOfRelationResponseModel(value: object): value is RelationResponseModel; export declare function RelationResponseModelFromJSON(json: any): RelationResponseModel; export declare function RelationResponseModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): RelationResponseModel; export declare function RelationResponseModelToJSON(json: any): RelationResponseModel; export declare function RelationResponseModelToJSONTyped(value?: Omit<RelationResponseModel, 'createDate' | 'comment'> | null, ignoreDiscriminator?: boolean): any;