2014-10-19 20:04:45 -07:00
|
|
|
|
using MediaBrowser.Model.Connect;
|
2015-01-29 22:18:32 -07:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
2014-10-19 20:04:45 -07:00
|
|
|
|
using System.Collections.Generic;
|
2014-10-13 13:14:53 -07:00
|
|
|
|
|
2014-10-02 20:48:59 -07:00
|
|
|
|
namespace MediaBrowser.Model.ApiClient
|
|
|
|
|
{
|
|
|
|
|
public class ConnectionResult
|
|
|
|
|
{
|
|
|
|
|
public ConnectionState State { get; set; }
|
2014-10-13 13:14:53 -07:00
|
|
|
|
public List<ServerInfo> Servers { get; set; }
|
2014-10-02 20:48:59 -07:00
|
|
|
|
public IApiClient ApiClient { get; set; }
|
2014-10-19 20:04:45 -07:00
|
|
|
|
public ConnectUser ConnectUser { get; set; }
|
2015-01-29 22:18:32 -07:00
|
|
|
|
public UserDto OfflineUser { get; set; }
|
2014-10-06 16:58:46 -07:00
|
|
|
|
|
|
|
|
|
public ConnectionResult()
|
|
|
|
|
{
|
|
|
|
|
State = ConnectionState.Unavailable;
|
2014-10-13 13:14:53 -07:00
|
|
|
|
Servers = new List<ServerInfo>();
|
2014-10-06 16:58:46 -07:00
|
|
|
|
}
|
2014-10-02 20:48:59 -07:00
|
|
|
|
}
|
|
|
|
|
}
|