public ToolkitResultProtocol CreateLead(CreateLeadSetupProtocol setupParam)
 {
     object[] results = this.Invoke("CreateLead1", new object[] {
                 setupParam});
     return ((ToolkitResultProtocol)(results[0]));
 }
        internal Protocol.CreateLeadSetupProtocol ToProtocol()
        {
            Protocol.CreateLeadSetupProtocol protocol = new Protocol.CreateLeadSetupProtocol();

            protocol.LeadObjid = this.LeadObjid;
            protocol.ContactFirstName = this.ContactFirstName;
            protocol.ContactLastName = this.ContactLastName;
            protocol.ContactPhone = this.ContactPhone;
            protocol.Fax = this.Fax;
            protocol.Address = this.Address;
            protocol.Address2 = this.Address2;
            protocol.City = this.City;
            protocol.State = this.State;
            protocol.PostalCode = this.PostalCode;
            protocol.Country = this.Country;
            protocol.TimeZone = this.TimeZone;
            protocol.Email = this.Email;
            protocol.Title = this.Title;
            protocol.CompanyName = this.CompanyName;
            protocol.SiteName = this.SiteName;
            protocol.SiteType = this.SiteType;
            protocol.Rating = this.Rating;
            protocol.ContactRole = this.ContactRole;
            protocol.LeadSource = this.LeadSource;
            protocol.UserName = this.UserName;
            protocol.CreateDate = this.CreateDate;
            protocol.GenerateTimeBombs = this.GenerateTimeBombs;
            protocol.AdditionalFields = this.AdditionalFields;
            protocol.ConstructorCue = this.ConstructorCue;
            protocol.DirtyFieldFlags = this.DirtyFieldFlags;

            return protocol;
        }
 /// <remarks/>
 public System.IAsyncResult BeginCreateLead1(CreateLeadSetupProtocol setupParam, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CreateLead1", new object[] {
                 setupParam}, callback, asyncState);
 }