Programm_Wirl/TrelloIntegration/CreateCardOptions.cs

52 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrelloIntegration
{
/// <summary>
/// Optionen zum Erstellen einer Trello-Karte
/// </summary>
public class CreateCardOptions
{
/// <summary>
/// Kartentitel (Pflicht)
/// </summary>
public string Name { get; set; } = "TestKarte";
/// <summary>
/// Beschreibung der Karte (optional)
/// </summary>
public string Desc { get; set; }
/// <summary>
/// ID der Ziel-Liste (Pflicht)
/// </summary>
public string IdList { get; set; } = "6a1fcdc9a1995f42c537ae10";
/// <summary>
/// Position der Karte in der Liste: "top", "bottom" oder eine Zahl (optional)
/// </summary>
public string Pos { get; set; }
/// <summary>
/// Liste von Label-IDs für die Karte (optional)
/// </summary>
public List<string> IdLabels { get; set; }
/// <summary>
/// Fälligkeitsdatum (Due Date) der Karte (optional)
/// Dieses Datum wird in UTC an die Trello-API übergeben.
/// </summary>
public DateTime? DueDate { get; set; }
/// <summary>
/// Startdatum der Karte (optional)
/// Dieses Datum wird in UTC an die Trello-API übergeben.
/// </summary>
public DateTime? StartDate { get; set; }
}
}