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