# Class GetCollectionResponse OptimaJet.Workflow.Api.Models.GetCollectionResponse Get Collection Response. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record GetCollectionResponse : IEquatable> where T : class ``` ## Type Hierarchy - GetCollectionResponse Current type - Implemented interfaces - [IEquatable>](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `public GetCollectionResponse(T[] Collection, long Total)` Get Collection Response. ### Parameters | Name | Type | Description | | --- | --- | --- | | `Collection` | `{T}[]` | | | `Total` | `Int64` | | ## Properties ### `public T[] Collection { get; init; }` ### `public long Total { get; init; }` [Previous GetAvailableStatesToSetResponse](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/GetAvailableStatesToSetResponse/) [Next GetCurrentActivityNameRequest](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/GetCurrentActivityNameRequest/)