This commit is contained in:
30
server/kpi/KPIRequestOptions.cs
Normal file
30
server/kpi/KPIRequestOptions.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
|
||||
namespace Sockeye.KPI
|
||||
{
|
||||
|
||||
//string kpiName, string criteria, DateTimeOffset clientTimeStamp
|
||||
|
||||
|
||||
public sealed class KPIRequestOptions
|
||||
{
|
||||
|
||||
[FromBody]
|
||||
public string KPIName { get; set; }
|
||||
|
||||
[FromBody]
|
||||
public JObject Criteria { get; set; }
|
||||
|
||||
[FromBody]
|
||||
public DateTimeOffset ClientTimeStamp { get; set; }
|
||||
|
||||
public KPIRequestOptions()
|
||||
{
|
||||
KPIName=string.Empty;
|
||||
Criteria=null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user