30 lines
601 B
C#
30 lines
601 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using Newtonsoft.Json.Linq;
|
|
using System;
|
|
|
|
namespace AyaNova.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;
|
|
}
|
|
}
|
|
|
|
} |