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;           
        }
    }

}