using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace PepperDash.Essentials.AppServer.Messengers
{
///
/// Represents a DeviceStateMessageBase
///
public class DeviceStateMessageBase : DeviceMessageBase
{
///
/// The interfaces implmented by the device sending the messsage
///
[JsonProperty("interfaces", NullValueHandling = NullValueHandling.Ignore)]
[Obsolete("Interfaces is no longer supported and will be removed in a future release. Interfaces for all devices are now retrieved via the /joinroom endpoint in the MobileControlWebsocketServer")]
public List Interfaces { get; private set; }
///
/// Sets the interfaces implemented by the device sending the message
///
///
[Obsolete("SetInterfaces is no longer supported and will be removed in a future release. Interfaces for all devices are now retrieved via the /joinroom endpoint in the MobileControlWebsocketServer")]
public void SetInterfaces(List interfaces)
{
Interfaces = interfaces;
}
}
}