public Campaigns(CampaignsInput input) { if (input == null) { throw new Exception("Input Parameters are empty."); } Input = input; Output = new CampaignsOutput(input);// Need to set some of the default values. }
public Campaigns(CampaignsInput input) { if (input == null) { throw new Exception("Input Parameters are empty."); } Input = input; Output = new CampaignsOutput(input);// Need to set some of the default values. }
public static void GetAllCampaigns() { CampaignsInput objEmmaInput = new CampaignsInput(); objEmmaInput.ApiPrivateKey = "f9c4d4c0b118051c18d3"; objEmmaInput.ApiPublicKey = "4f932c1659a49045ae39"; objEmmaInput.ApiAccountID = "1717169"; Campaigns cmd = new Campaigns(objEmmaInput); CampaignsOutput objOut = cmd.Execute(); PrintObject <CampaignsResult>(objOut.Result); }
public CampaignsOutput(CampaignsInput input) : base(input) { // Need to take variable for input parm for campaing Cache . }
public CampaignsOutput(CampaignsInput input) : base(input) { // Need to take variable for input parm for campaing Cache . }