Repository navigation
Expand file tree
/
Copy pathSearchOptions.cs
More file actions
60 lines (57 loc) · 1.83 KB
/
Copy pathSearchOptions.cs
File metadata and controls
60 lines (57 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//------------------------------------------------------------------------------
// <copyright company="LeanKit Inc.">
// Copyright (c) LeanKit Inc. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace LeanKit.API.Client.Library.TransferObjects
{
public class SearchOptions
{
public SearchOptions()
{
IncludeArchiveOnly = false;
IncludeBacklogOnly = false;
IncludeComments = false;
UseFuzzySearch = false;
IncludeExternalId = false;
IncludeTags = false;
AddedAfter = null;
AddedBefore = null;
CardTypeIds = new long[0];
ClassOfServiceIds = new long[0];
Page = 1;
MaxResults = 20;
OrderBy = "CreatedOn";
SortOrder = SortOrder.Ascending;
AssignedUserIds = new long[0];
}
public string SearchTerm { get; set; }
public bool ExcludeArchiveAndBacklog { get; set; }
public bool IncludeArchiveOnly { get; set; }
public bool IncludeBacklogOnly { get; set; }
public bool IncludeComments { get; set; }
public bool IncludeExternalId { get; set; }
public bool IncludeTaskBoards { get; set; }
public string LaneId { get; set; }
public string AddedBefore { get; set; }
public string AddedAfter { get; set; }
public bool IncludeTags { get; set; }
public long[] CardTypeIds { get; set; }
public long[] ClassOfServiceIds { get; set; }
public bool UseFuzzySearch { get; set; }
public int Page { get; set; }
public int MaxResults { get; set; }
public string OrderBy { get; set; }
public SortOrder SortOrder { get; set; }
public long[] AssignedUserIds { get; set; }
public bool SearchInBoard { get; set; }
public bool SearchInBacklog { get; set; }
public bool SearchInRecentArchive { get; set; }
public bool SearchInOldArchive { get; set; }
}
public enum SortOrder
{
Ascending = 0,
Descending = 1,
}
}