ConnectData.cs 870 B

123456789101112131415161718192021222324252627282930
  1. using MediaBrowser.Model.Connect;
  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<ConnectAuthorization> PendingAuthorizations { get; set; }
  22. public ConnectData()
  23. {
  24. PendingAuthorizations = new List<ConnectAuthorization>();
  25. }
  26. }
  27. }