jellyfin/MediaBrowser.Model/ApiClient/ServerInfo.cs

34 lines
829 B
C#
Raw Normal View History

2014-10-03 03:48:59 +00:00
using System;
using System.Collections.Generic;
namespace MediaBrowser.Model.ApiClient
{
public class ServerInfo
{
public String Name { get; set; }
public String Id { get; set; }
public String LocalAddress { get; set; }
public String RemoteAddress { get; set; }
public String UserId { get; set; }
public String AccessToken { get; set; }
2014-10-04 01:42:38 +00:00
public List<WakeOnLanInfo> WakeOnLanInfos { get; set; }
2014-10-03 03:48:59 +00:00
public ServerInfo()
{
2014-10-04 01:42:38 +00:00
WakeOnLanInfos = new List<WakeOnLanInfo>();
2014-10-03 03:48:59 +00:00
LocalAddress = "http://localhost:8096";
}
}
2014-10-04 01:42:38 +00:00
public class WakeOnLanInfo
{
public string MacAddress { get; set; }
public int Port { get; set; }
public WakeOnLanInfo()
{
Port = 9;
}
}
2014-10-03 03:48:59 +00:00
}