using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace HDLMonitorService.Entity
|
{
|
public class AlexaResponse
|
{
|
public Event @event { get; set; }
|
|
public Context context { get; set; }
|
}
|
|
public class Event
|
{
|
public AlexaHeader header { get; set; }
|
|
public Endpoint endpoint { get; set; }
|
|
public object payload { get; set; }
|
}
|
|
public class AlexaHeader
|
{
|
public string @namespace { get; set; }
|
|
public string name { get; set; }
|
|
public string messageId { get; set; }
|
|
public string payloadVersion { get; set; }
|
|
public string correlationToken { get; set; }
|
}
|
|
public class Scope
|
{
|
public string type { get; set; }
|
|
public string token { get; set; }
|
}
|
|
public class Endpoint
|
{
|
public Scope scope { get; set; }
|
|
public string endpointId { get; set; }
|
}
|
|
public class Context
|
{
|
public List<Properties> Properties { get; set; }
|
}
|
|
public class Properties
|
{
|
public string @namespace { get; set; }
|
|
public string name { get; set; }
|
|
public string value { get; set; }
|
|
public string timeOfSample { get; set; }
|
|
public int uncertaintyInMilliseconds { get; set; }
|
}
|
}
|