jellyfin/MediaBrowser.Model/ApiClient/ConnectionResult.cs

22 lines
598 B
C#
Raw Normal View History

2014-10-20 03:04:45 +00:00
using MediaBrowser.Model.Connect;
2015-01-30 05:18:32 +00:00
using MediaBrowser.Model.Dto;
2014-10-20 03:04:45 +00:00
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; }
2015-01-30 05:18:32 +00:00
public UserDto OfflineUser { 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
}
}