| | | 1 | | using Elsa.Api.Client.Resources.WorkflowInstances.Enums; |
| | | 2 | | using Elsa.Api.Client.Shared.Models; |
| | | 3 | | |
| | | 4 | | namespace Elsa.Api.Client.Resources.WorkflowInstances.Requests; |
| | | 5 | | |
| | | 6 | | /// <summary> |
| | | 7 | | /// Represents a request to list workflow instances. |
| | | 8 | | /// </summary> |
| | | 9 | | public class ListWorkflowInstancesRequest |
| | | 10 | | { |
| | | 11 | | /// <summary> |
| | | 12 | | /// Gets or sets the page number. |
| | | 13 | | /// </summary> |
| | 0 | 14 | | public int? Page { get; set; } |
| | | 15 | | |
| | | 16 | | /// <summary> |
| | | 17 | | /// Gets or sets the page size. |
| | | 18 | | /// </summary> |
| | 0 | 19 | | public int? PageSize { get; set; } |
| | | 20 | | |
| | | 21 | | /// <summary> |
| | | 22 | | /// Gets or sets the search term. |
| | | 23 | | /// </summary> |
| | 0 | 24 | | public string? SearchTerm { get; set; } |
| | | 25 | | |
| | | 26 | | /// <summary> |
| | | 27 | | /// Gets or sets the workflow definition id. |
| | | 28 | | /// </summary> |
| | 0 | 29 | | public string? DefinitionId { get; set; } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Gets or sets the workflow definition ids. |
| | | 33 | | /// </summary> |
| | 0 | 34 | | public ICollection<string>? DefinitionIds { get; set; } |
| | | 35 | | |
| | | 36 | | /// <summary> |
| | | 37 | | /// Gets or sets the correlation id. |
| | | 38 | | /// </summary> |
| | 0 | 39 | | public string? CorrelationId { get; set; } |
| | | 40 | | |
| | | 41 | | /// <summary> |
| | | 42 | | /// Gets or sets the version. |
| | | 43 | | /// </summary> |
| | 0 | 44 | | public int? Version { get; set; } |
| | | 45 | | |
| | | 46 | | /// <summary> |
| | | 47 | | /// Gets or sets whether the workflow instances have incidents or not. |
| | | 48 | | /// </summary> |
| | 0 | 49 | | public bool? HasIncidents { get; set; } |
| | | 50 | | |
| | | 51 | | /// <summary> |
| | | 52 | | /// Gets or sets whether to include system workflows. |
| | | 53 | | /// </summary> |
| | 0 | 54 | | public bool? IsSystem { get; set; } |
| | | 55 | | |
| | | 56 | | /// <summary> |
| | | 57 | | /// Gets or sets the status. |
| | | 58 | | /// </summary> |
| | 0 | 59 | | public WorkflowStatus? Status { get; set; } |
| | | 60 | | |
| | | 61 | | /// <summary> |
| | | 62 | | /// Gets or sets the statuses. |
| | | 63 | | /// </summary> |
| | 0 | 64 | | public ICollection<WorkflowStatus>? Statuses { get; set; } |
| | | 65 | | |
| | | 66 | | /// <summary> |
| | | 67 | | /// Gets or sets the sub status. |
| | | 68 | | /// </summary> |
| | 0 | 69 | | public WorkflowSubStatus? SubStatus { get; set; } |
| | | 70 | | |
| | | 71 | | /// <summary> |
| | | 72 | | /// Gets or sets the sub statuses. |
| | | 73 | | /// </summary> |
| | 0 | 74 | | public ICollection<WorkflowSubStatus>? SubStatuses { get; set; } |
| | | 75 | | |
| | | 76 | | /// <summary> |
| | | 77 | | /// Gets or sets the key to order by. |
| | | 78 | | /// </summary> |
| | 0 | 79 | | public OrderByWorkflowInstance? OrderBy { get; set; } |
| | | 80 | | |
| | | 81 | | /// <summary> |
| | | 82 | | /// Gets or sets the order direction. |
| | | 83 | | /// </summary> |
| | 0 | 84 | | public OrderDirection? OrderDirection { get; set; } |
| | | 85 | | |
| | | 86 | | /// <summary> |
| | | 87 | | /// Gets or sets the timestamp filters. |
| | | 88 | | /// </summary> |
| | 0 | 89 | | public ICollection<TimestampFilter>? TimestampFilters { get; set; } |
| | | 90 | | } |