using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace gehGassi.LocalNotifications
{
///
/// Repräsentiert eine Notification-Anfrage die erstellt werden soll
///
public class NotificationRequest
{
///
/// Eindeutige ID. Ist die ID nicht eindeutig, dann wird keine neue Anfrage erstellt
///
public int NotificationId { get; set; }
///
/// Titel der Notification
///
public string Title { get; set; }
///
/// Beschreibung der Notification
///
public string Description { get; set; }
///
/// Zeit wann die Anfrage storniert wurde
///
public long CalledAt { get; set; }
///
/// Letzter Aufrauf als DateTime
///
public DateTime? LastCalledAt { get; set; }
///
/// ERiunnerungszeit als Epoch
///
public long NotifyTimeSinceEpoch { get; set; }
///
/// Erinnerungszeit
///
public DateTime? NotifyTime { get; set; }
///
/// Wiederholen?
///
public bool Repeats { get; set; } = false;
///
/// Wiederhilungsintervall
///
public NotificationRepeat RepeatInterval { get; set; }
///
/// Zeit
///
public Time Time { get; set; }
///
/// Wochentag
///
public Day WeekDay { get; set; }
///
/// Payload das bei einem Tap zur Verfügung gestellt wird
///
public string Payload { get; set; }
///
/// Android Optionen
///
public AndroidOptions Android { get; set; } = new AndroidOptions();
///
/// IOS-Optionen
///
public IosOptions iOS { get; set; } = new IosOptions();
}
}