28 lines
865 B
C#
28 lines
865 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace O365Clinic.Function.Webhooks.Model
|
|
{
|
|
public class SubscriptionModel
|
|
{
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public string Id { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "clientState", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string ClientState { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "expirationDateTime")]
|
|
public DateTime ExpirationDateTime { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "notificationUrl")]
|
|
public string NotificationUrl { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "resource", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string Resource { get; set; }
|
|
}
|
|
}
|