Class FetchResponseModel<T>
Represents a response model for fetching 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 FetchResponseModel<T>
Type Parameters
| Name | Description |
|---|---|
| T | The entity response model type. |
Constructors
View SourceFetchResponseModel()
Declaration
public FetchResponseModel()
Properties
View SourceItems
Gets or sets the collection of fetched 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 |