Class CreateContentRequestModelBase<TValueModel, TVariantModel>
Serves as the base class for content creation request models, parameterized by value and variant model types.
Namespace: Umbraco.Cms.Api.Management.ViewModels.Content
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public abstract class CreateContentRequestModelBase<TValueModel, TVariantModel> : ContentModelBase<TValueModel, TVariantModel> where TValueModel : ValueModelBase where TVariantModel : VariantModelBase
Type Parameters
| Name | Description |
|---|---|
| TValueModel | Specifies the type representing the content's values. |
| TVariantModel | Specifies the type representing the content's variants (e.g., language or segment variations). |
Constructors
View SourceCreateContentRequestModelBase()
Declaration
protected CreateContentRequestModelBase()
Properties
View SourceId
Gets or sets the unique identifier for the content.
Declaration
public Guid? Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? |