public ApplyLinkRequest(ApplyLink args, APISettings settings) : base(settings) { if (args == null) { throw new ArgumentException(); } model = args; }
public static void Before() { args = new NameValueCollection() { {"JobDID", "Fake_DID"}, {"SiteID", "Fake_Site_ID"}, {"HostSite", "US"}, {"JApply", "Fake_JApply"}, {"ApplicationEmail", "*****@*****.**"}, {"TrackingID", "Fake_TrackingID"}, {"Cobrand", "Fake_Cobrand"} }; applyLink = new ApplyLink(args); }
public static void Before() { args = new NameValueCollection() { { "JobDID", "Fake_DID" }, { "SiteID", "Fake_Site_ID" }, { "HostSite", "US" }, { "JApply", "Fake_JApply" }, { "ApplicationEmail", "*****@*****.**" }, { "TrackingID", "Fake_TrackingID" }, { "Cobrand", "Fake_Cobrand" } }; applyLink = new ApplyLink(args); }
/// <summary> /// Gets the ApplyLink for a Job /// </summary> /// <param name="request">An ApplyLink values collection to pass to the api.</param> /// <returns>The uri to apply to the given job.</returns> public string ApplyLink(ApplyLink request) { ApplyLinkRequest applyRequest = new ApplyLinkRequest(request, _Settings); return applyRequest.Retrieve(); }
public ApplyLinkRequestStub(ApplyLink args, APISettings settings) : base(args, settings) { }
/// <summary> /// Gets the ApplyLink for a Job /// </summary> /// <param name="request">An ApplyLink values collection to pass to the api.</param> /// <returns>The uri to apply to the given job.</returns> public string ApplyLink(ApplyLink request) { ApplyLinkRequest applyRequest = new ApplyLinkRequest(request, _Settings); return(applyRequest.Retrieve()); }