HttpdnsApiruleGetResponse.cs 910 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Xml.Serialization;
  3. using System.Collections.Generic;
  4. namespace Top.Api.Response
  5. {
  6. /// <summary>
  7. /// HttpdnsApiruleGetResponse.
  8. /// </summary>
  9. public class HttpdnsApiruleGetResponse : TopResponse
  10. {
  11. /// <summary>
  12. /// modal
  13. /// </summary>
  14. [XmlArray("rules")]
  15. [XmlArrayItem("api_cluster_config_do")]
  16. public List<ApiClusterConfigDoDomain> Rules { get; set; }
  17. /// <summary>
  18. /// ApiClusterConfigDoDomain Data Structure.
  19. /// </summary>
  20. [Serializable]
  21. public class ApiClusterConfigDoDomain : TopObject
  22. {
  23. /// <summary>
  24. /// 权重
  25. /// </summary>
  26. [XmlElement("power")]
  27. public string Power { get; set; }
  28. /// <summary>
  29. /// 区域
  30. /// </summary>
  31. [XmlElement("region")]
  32. public string Region { get; set; }
  33. }
  34. }
  35. }