public static Result<List<CampaignMonitorAPI.Campaign>> GetCampaigns(string apiKey, string clientID) { CampaignMonitorAPIWrapper.CampaignMonitorAPI.api _api = new CampaignMonitorAPI.api(); object o = _api.GetClientCampaigns(apiKey, clientID); if (o is CampaignMonitorAPI.Result) return new Result<List<CampaignMonitorAPI.Campaign>>((CampaignMonitorAPI.Result)o, null); else return new Result<List<CampaignMonitorAPI.Campaign>>(0, "Success", new List<CampaignMonitorAPI.Campaign>((IEnumerable<CampaignMonitorAPI.Campaign>)o)); }