• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rwjdk / TrelloDotNet / 13130769410

04 Feb 2025 07:55AM UTC coverage: 48.162% (-9.2%) from 57.373%
13130769410

push

github

rwjdk
v2 WIP

942 of 2566 branches covered (36.71%)

Branch coverage included in aggregate %.

8 of 571 new or added lines in 8 files covered. (1.4%)

3 existing lines in 3 files now uncovered.

2451 of 4479 relevant lines covered (54.72%)

43.55 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/TrelloDotNet/Model/Options/GetInboxCardOptions/GetInboxCardOptions.cs
1
using System.Collections.Generic;
2
using TrelloDotNet.Model.Options.GetCardOptions;
3

4
namespace TrelloDotNet.Model.Options.GetInboxCardOptions
5
{
6
    /// <summary>
7
    /// Options on how and what should be included on the cards (Example only a few fields to increase performance or more nested data to avoid more API calls)
8
    /// </summary>
9
    public class GetInboxCardOptions
10
    {
11
        /// <summary>
12
        /// all or a comma-separated list of fields. Defaults: badges, checkItemStates, closed, dateLastActivity, desc, descData, due, start, email, idBoard, idChecklists, idLabels, idList, idMembers, idShort, idAttachmentCover, manualCoverAttachment, labels, name, pos, shortUrl, url
13
        /// </summary>
14
        public CardFields CardFields { get; set; }
×
15

16
        /// <summary>
17
        /// Provide one or more Card-action types there (TrelloDotNet.Model.Webhook.WebhookActionTypes) to get them included with the Card
18
        /// </summary>
19
        public ActionTypesToInclude ActionsTypes { get; set; }
×
20

21
        /// <summary>
22
        /// Controls if cards should include their attachments (Default: False)
23
        /// </summary>
24
        public GetCardOptionsIncludeAttachments IncludeAttachments { get; set; } = GetCardOptionsIncludeAttachments.False;
×
25

26
        /// <summary>
27
        /// What attachments-fields to include if IncludeAttachments are set to 'True' or 'Cover'
28
        /// </summary>
29
        public AttachmentFields AttachmentFields { get; set; }
×
30

31
        /// <summary>
32
        /// Whether to return checklist objects for members on the card (Default: False)
33
        /// </summary>
34
        public bool IncludeChecklists { get; set; }
×
35

36
        /// <summary>
37
        /// What checklist-fields to include if IncludeChecklists are set to True
38
        /// </summary>
39
        public ChecklistFields ChecklistFields { get; set; }
×
40

41
        /// <summary>
42
        /// Whether to return CustomFieldsItem objects of the card (Default: False)
43
        /// </summary>
44
        public bool IncludeCustomFieldItems { get; set; }
×
45

46
        /// <summary>
47
        /// Limit how many object are returned (Default All) [Only used by methods where multiple objects are returned
48
        /// </summary>
49
        public int? Limit { get; set; }
×
50

51
        /// <summary>
52
        /// A Card ID
53
        /// </summary>
54
        public string Before { get; set; } = null;
×
55

56
        /// <summary>
57
        /// A Card ID
58
        /// </summary>
59
        public string Since { get; set; } = null;
×
60

61
        /// <summary>
62
        /// What Kind of Cards should be included (Active, Closed/Archived or All)
63
        /// </summary>
64
        public CardsFilter? Filter { get; set; }
×
65

66
        /// <summary>
67
        /// Order the cards returned by this (only used when multiple cards are returned)
68
        /// </summary>
NEW
69
        public CardsOrderBy? OrderBy { get; set; }
×
70

71
        /// <summary>
72
        /// Additional Parameters not supported out-of-the-box
73
        /// </summary>
74
        public List<QueryParameter> AdditionalParameters { get; set; } = new List<QueryParameter>();
×
75

76
        internal GetCardOptions.GetCardOptions ToCardOptions()
77
        {
78
            return new GetCardOptions.GetCardOptions
×
79
            {
×
80
                ActionsTypes = ActionsTypes,
×
81
                AdditionalParameters = AdditionalParameters,
×
82
                AttachmentFields = AttachmentFields,
×
83
                Before = Before,
×
84
                CardFields = CardFields,
×
85
                IncludeCustomFieldItems = IncludeCustomFieldItems,
×
86
                ChecklistFields = ChecklistFields,
×
87
                IncludeAttachments = IncludeAttachments,
×
88
                IncludeChecklists = IncludeChecklists,
×
89
                Limit = Limit,
×
90
                Since = Since,
×
91
                Filter = Filter
×
92
            };
×
93
        }
94
    }
95
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc