Class CreateContentTypeWithParentRequestModelBase<TPropertyType, TPropertyTypeContainer>
Serves as a base request model for creating a content type with a parent, using generic property types and property type containers.
Inheritance
object
ContentTypeModelBase<TPropertyType, TPropertyTypeContainer>
CreateContentTypeRequestModelBase<TPropertyType, TPropertyTypeContainer>
Namespace: Umbraco.Cms.Api.Management.ViewModels.ContentType
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public abstract class CreateContentTypeWithParentRequestModelBase<TPropertyType, TPropertyTypeContainer> : CreateContentTypeRequestModelBase<TPropertyType, TPropertyTypeContainer> where TPropertyType : PropertyTypeModelBase where TPropertyTypeContainer : PropertyTypeContainerModelBase
Type Parameters
| Name | Description |
|---|---|
| TPropertyType | The type representing a property. |
| TPropertyTypeContainer | The type representing a container for property types. |
Constructors
View SourceCreateContentTypeWithParentRequestModelBase()
Declaration
protected CreateContentTypeWithParentRequestModelBase()
Properties
View SourceParent
Gets or sets the model representing the parent content type by its ID.
Declaration
public ReferenceByIdModel? Parent { get; set; }
Property Value
| Type | Description |
|---|---|
| ReferenceByIdModel |