35 lines
943 B
C#
35 lines
943 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 NotificationModel
|
|||
|
{
|
|||
|
[JsonProperty(PropertyName = "subscriptionId")]
|
|||
|
public string SubscriptionId { get; set; }
|
|||
|
|
|||
|
[JsonProperty(PropertyName = "clientState")]
|
|||
|
public string ClientState { get; set; }
|
|||
|
|
|||
|
[JsonProperty(PropertyName = "expirationDateTime")]
|
|||
|
public DateTime ExpirationDateTime { get; set; }
|
|||
|
|
|||
|
[JsonProperty(PropertyName = "resource")]
|
|||
|
public string Resource { get; set; }
|
|||
|
|
|||
|
[JsonProperty(PropertyName = "tenantId")]
|
|||
|
public string TenantId { get; set; }
|
|||
|
|
|||
|
[JsonProperty(PropertyName = "siteUrl")]
|
|||
|
public string SiteUrl { get; set; }
|
|||
|
|
|||
|
[JsonProperty(PropertyName = "webId")]
|
|||
|
public string WebId { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
}
|