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