2014-10-20 03:04:45 +00:00
|
|
|
|
using MediaBrowser.Model.Connect;
|
|
|
|
|
using System.Collections.Generic;
|
2014-10-13 20:14:53 +00:00
|
|
|
|
|
2014-10-03 03:48:59 +00:00
|
|
|
|
namespace MediaBrowser.Model.ApiClient
|
|
|
|
|
{
|
|
|
|
|
public class ConnectionResult
|
|
|
|
|
{
|
|
|
|
|
public ConnectionState State { get; set; }
|
2014-10-13 20:14:53 +00:00
|
|
|
|
public List<ServerInfo> Servers { get; set; }
|
2014-10-03 03:48:59 +00:00
|
|
|
|
public IApiClient ApiClient { get; set; }
|
2014-10-20 03:04:45 +00:00
|
|
|
|
public ConnectUser ConnectUser { get; set; }
|
2014-10-06 23:58:46 +00:00
|
|
|
|
|
|
|
|
|
public ConnectionResult()
|
|
|
|
|
{
|
|
|
|
|
State = ConnectionState.Unavailable;
|
2014-10-13 20:14:53 +00:00
|
|
|
|
Servers = new List<ServerInfo>();
|
2014-10-06 23:58:46 +00:00
|
|
|
|
}
|
2014-10-03 03:48:59 +00:00
|
|
|
|
}
|
|
|
|
|
}
|