2014-08-24 23:54:45 -04:00
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Server.Implementations.Connect
|
|
|
|
|
|
{
|
|
|
|
|
|
public class ServerRegistrationResponse
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
public string Url { get; set; }
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
public string AccessKey { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class UpdateServerRegistrationResponse
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
public string Url { get; set; }
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
}
|
2014-09-14 11:10:51 -04:00
|
|
|
|
|
|
|
|
|
|
public class GetConnectUserResponse
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
public string DisplayName { get; set; }
|
|
|
|
|
|
public string Email { get; set; }
|
2014-09-14 13:25:46 -04:00
|
|
|
|
public bool IsActive { get; set; }
|
2014-09-14 11:10:51 -04:00
|
|
|
|
public string ImageUrl { get; set; }
|
|
|
|
|
|
}
|
2014-09-14 13:12:47 -04:00
|
|
|
|
|
|
|
|
|
|
public class ServerUserAuthorizationResponse
|
|
|
|
|
|
{
|
2014-09-14 19:39:06 -04:00
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
public string ServerId { get; set; }
|
|
|
|
|
|
public string UserId { get; set; }
|
|
|
|
|
|
public string AccessToken { get; set; }
|
|
|
|
|
|
public string DateCreated { get; set; }
|
|
|
|
|
|
public bool IsActive { get; set; }
|
|
|
|
|
|
public string AcceptStatus { get; set; }
|
|
|
|
|
|
public string UserType { get; set; }
|
2014-09-14 13:12:47 -04:00
|
|
|
|
}
|
2014-08-24 23:54:45 -04:00
|
|
|
|
}
|