umbraco-management-api-client
Version:
TypeScript client for the Umbraco Management API (auto-generated by OpenAPI Generator)
96 lines (95 loc) • 3.17 kB
TypeScript
/**
* 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 { PropertyTypeValidationModel } from './PropertyTypeValidationModel';
import type { PropertyTypeAppearanceModel } from './PropertyTypeAppearanceModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
/**
*
* @export
* @interface CreateDocumentTypePropertyTypeRequestModel
*/
export interface CreateDocumentTypePropertyTypeRequestModel {
/**
*
* @type {string}
* @memberof CreateDocumentTypePropertyTypeRequestModel
*/
id: string;
/**
*
* @type {ReferenceByIdModel}
* @memberof CreateDocumentTypePropertyTypeRequestModel
*/
container?: ReferenceByIdModel | null;
/**
*
* @type {number}
* @memberof CreateDocumentTypePropertyTypeRequestModel
*/
sortOrder: number;
/**
*
* @type {string}
* @memberof CreateDocumentTypePropertyTypeRequestModel
*/
alias: string;
/**
*
* @type {string}
* @memberof CreateDocumentTypePropertyTypeRequestModel
*/
name: string;
/**
*
* @type {string}
* @memberof CreateDocumentTypePropertyTypeRequestModel
*/
description?: string | null;
/**
*
* @type {ReferenceByIdModel}
* @memberof CreateDocumentTypePropertyTypeRequestModel
*/
dataType: ReferenceByIdModel;
/**
*
* @type {boolean}
* @memberof CreateDocumentTypePropertyTypeRequestModel
*/
variesByCulture: boolean;
/**
*
* @type {boolean}
* @memberof CreateDocumentTypePropertyTypeRequestModel
*/
variesBySegment: boolean;
/**
*
* @type {PropertyTypeValidationModel}
* @memberof CreateDocumentTypePropertyTypeRequestModel
*/
validation: PropertyTypeValidationModel;
/**
*
* @type {PropertyTypeAppearanceModel}
* @memberof CreateDocumentTypePropertyTypeRequestModel
*/
appearance: PropertyTypeAppearanceModel;
}
/**
* Check if a given object implements the CreateDocumentTypePropertyTypeRequestModel interface.
*/
export declare function instanceOfCreateDocumentTypePropertyTypeRequestModel(value: object): value is CreateDocumentTypePropertyTypeRequestModel;
export declare function CreateDocumentTypePropertyTypeRequestModelFromJSON(json: any): CreateDocumentTypePropertyTypeRequestModel;
export declare function CreateDocumentTypePropertyTypeRequestModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateDocumentTypePropertyTypeRequestModel;
export declare function CreateDocumentTypePropertyTypeRequestModelToJSON(json: any): CreateDocumentTypePropertyTypeRequestModel;
export declare function CreateDocumentTypePropertyTypeRequestModelToJSONTyped(value?: CreateDocumentTypePropertyTypeRequestModel | null, ignoreDiscriminator?: boolean): any;