Class ContentCollectionResponseModelBase<TValueResponseModelBase, TVariantResponseModel>
Serves as the base response model for a collection of content items, parameterized by value and variant response model types.
Inheritance
object
ContentModelBase<TValueResponseModelBase, TVariantResponseModel>
ContentResponseModelBase<TValueResponseModelBase, TVariantResponseModel>
Namespace: Umbraco.Cms.Api.Management.ViewModels.Content
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public abstract class ContentCollectionResponseModelBase<TValueResponseModelBase, TVariantResponseModel> : ContentResponseModelBase<TValueResponseModelBase, TVariantResponseModel>, IHasFlags, IHasChildren where TValueResponseModelBase : ValueResponseModelBase where TVariantResponseModel : VariantResponseModelBase
Type Parameters
| Name | Description |
|---|---|
| TValueResponseModelBase | |
| TVariantResponseModel |
Constructors
View SourceContentCollectionResponseModelBase()
Declaration
protected ContentCollectionResponseModelBase()
Properties
View SourceCreator
Gets or sets the name or identifier of the user who created the content.
Declaration
public string? Creator { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasChildren
Gets or sets a value indicating whether the entity has at least one child entity of its own type.
Declaration
public bool HasChildren { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Children are counted regardless of their published state and regardless of the requesting user's permissions, so an entity can report that it has children that the user is not permitted to see.
SortOrder
Gets or sets the sort order of the content item within the collection.
Declaration
public int SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| int |