Class BatchResponseModel<T>
Represents a response model for retrieving multiple entities, including the total count and the collection of items.
Inheritance
object
Namespace: Umbraco.Cms.Api.Management.ViewModels
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class BatchResponseModel<T>
Type Parameters
| Name | Description |
|---|---|
| T | The entity response model type. |
Constructors
View SourceBatchResponseModel()
Declaration
public BatchResponseModel()
Properties
View SourceItems
Gets or sets the collection of entities.
Declaration
public IEnumerable<T> Items { get; set; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<T> |
Total
Gets or sets the total number of entities returned.
Declaration
public int Total { get; set; }
Property Value
| Type | Description |
|---|---|
| int |