DeviceService.cs 994 B

123456789101112131415161718192021222324252627282930313233343536
  1. namespace Emby.Dlna.Common
  2. {
  3. /// <summary>
  4. /// Defines the <see cref="DeviceService" />.
  5. /// </summary>
  6. public class DeviceService
  7. {
  8. /// <summary>
  9. /// Gets or sets the Service Type.
  10. /// </summary>
  11. public string ServiceType { get; set; } = string.Empty;
  12. /// <summary>
  13. /// Gets or sets the Service Id.
  14. /// </summary>
  15. public string ServiceId { get; set; } = string.Empty;
  16. /// <summary>
  17. /// Gets or sets the Scpd Url.
  18. /// </summary>
  19. public string ScpdUrl { get; set; } = string.Empty;
  20. /// <summary>
  21. /// Gets or sets the Control Url.
  22. /// </summary>
  23. public string ControlUrl { get; set; } = string.Empty;
  24. /// <summary>
  25. /// Gets or sets the EventSubUrl.
  26. /// </summary>
  27. public string EventSubUrl { get; set; } = string.Empty;
  28. /// <inheritdoc />
  29. public override string ToString() => ServiceId;
  30. }
  31. }