ConnectData.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Server.Implementations.Connect
  4. {
  5. public class ConnectData
  6. {
  7. /// <summary>
  8. /// Gets or sets the server identifier.
  9. /// </summary>
  10. /// <value>The server identifier.</value>
  11. public string ServerId { get; set; }
  12. /// <summary>
  13. /// Gets or sets the access key.
  14. /// </summary>
  15. /// <value>The access key.</value>
  16. public string AccessKey { get; set; }
  17. /// <summary>
  18. /// Gets or sets the authorizations.
  19. /// </summary>
  20. /// <value>The authorizations.</value>
  21. public List<ConnectAuthorizationInternal> PendingAuthorizations { get; set; }
  22. /// <summary>
  23. /// Gets or sets the last authorizations refresh.
  24. /// </summary>
  25. /// <value>The last authorizations refresh.</value>
  26. public DateTime LastAuthorizationsRefresh { get; set; }
  27. public ConnectData()
  28. {
  29. PendingAuthorizations = new List<ConnectAuthorizationInternal>();
  30. }
  31. }
  32. }