DeployPostData.cs 597 B

123456789101112131415161718192021222324
  1. using Newtonsoft.Json;
  2. using System.Collections.Generic;
  3. namespace Edgegap
  4. {
  5. public struct DeployPostData
  6. {
  7. [JsonProperty("app_name")]
  8. public string AppName { get; set; }
  9. [JsonProperty("version_name")]
  10. public string AppVersionName { get; set; }
  11. [JsonProperty("ip_list")]
  12. public IList<string> IpList { get; set; }
  13. public DeployPostData(string appName, string appVersionName, IList<string> ipList)
  14. {
  15. AppName = appName;
  16. AppVersionName = appVersionName;
  17. IpList = ipList;
  18. }
  19. }
  20. }