RabbitMQQueue.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace DllEapEntity.OFILM
  5. {
  6. /// <summary>
  7. /// RabbitMQ Queue信息
  8. /// </summary>
  9. public class RabbitMQQueueDetail
  10. {
  11. public bool auto_delete { get; set; }
  12. public int consumers { get; set; }
  13. public int messages { get; set; }
  14. public int messages_paged_out { get; set; }
  15. public int messages_ready { get; set; }
  16. public int messages_unacknowledged { get; set; }
  17. public string name { get; set; }
  18. public string node { get; set; }
  19. public string state { get; set; }
  20. public string type { get; set; }
  21. }
  22. public class RabbitQueueInfo
  23. {
  24. public int filtered_count { get; set; }
  25. public int item_count { get; set; }
  26. public IEnumerable<RabbitMQQueueDetail> items { get; set; }
  27. public int page { get; set; }
  28. public int page_count { get; set; }
  29. public int page_size { get; set; }
  30. public int total_count { get; set; }
  31. }
  32. }