Responses.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. 
  2. namespace MediaBrowser.Server.Implementations.Connect
  3. {
  4. public class ServerRegistrationResponse
  5. {
  6. public string Id { get; set; }
  7. public string Url { get; set; }
  8. public string Name { get; set; }
  9. public string AccessKey { get; set; }
  10. }
  11. public class UpdateServerRegistrationResponse
  12. {
  13. public string Id { get; set; }
  14. public string Url { get; set; }
  15. public string Name { get; set; }
  16. }
  17. public class GetConnectUserResponse
  18. {
  19. public string Id { get; set; }
  20. public string Name { get; set; }
  21. public string DisplayName { get; set; }
  22. public string Email { get; set; }
  23. public bool IsActive { get; set; }
  24. public string ImageUrl { get; set; }
  25. }
  26. public class ServerUserAuthorizationResponse
  27. {
  28. public string Id { get; set; }
  29. public string ServerId { get; set; }
  30. public string UserId { get; set; }
  31. public string AccessToken { get; set; }
  32. public string DateCreated { get; set; }
  33. public bool IsActive { get; set; }
  34. public string AcceptStatus { get; set; }
  35. public string UserType { get; set; }
  36. public string UserImageUrl { get; set; }
  37. public string UserName { get; set; }
  38. }
  39. }