using Newtonsoft.Json; using System.Collections.Generic; namespace Edgegap { public struct DeployPostData { [JsonProperty("app_name")] public string AppName { get; set; } [JsonProperty("version_name")] public string AppVersionName { get; set; } [JsonProperty("ip_list")] public IList IpList { get; set; } public DeployPostData(string appName, string appVersionName, IList ipList) { AppName = appName; AppVersionName = appVersionName; IpList = ipList; } } }