public CreateAppointmentResultProtocol CreateAppointment(CreateAppointmentSetupProtocol setupParam)
 {
     object[] results = this.Invoke("CreateAppointment3", new object[] {
                 setupParam});
     return ((CreateAppointmentResultProtocol)(results[0]));
 }
 /// <remarks/>
 public System.IAsyncResult BeginCreateAppointment3(CreateAppointmentSetupProtocol setupParam, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CreateAppointment3", new object[] {
                 setupParam}, callback, asyncState);
 }
        internal Protocol.CreateAppointmentSetupProtocol ToProtocol()
        {
            Protocol.CreateAppointmentSetupProtocol protocol = new Protocol.CreateAppointmentSetupProtocol();

            protocol.Description = this.Description;
            protocol.StartDate = this.StartDate;
            protocol.EndDate = this.EndDate;
            protocol.Duration = this.Duration;
            protocol.CellText = this.CellText;
            protocol.EmployeeFirstName = this.EmployeeFirstName;
            protocol.EmployeeLastName = this.EmployeeLastName;
            protocol.SitePartObjid = this.SitePartObjid;
            protocol.AppointmentClass = this.AppointmentClass;
            protocol.AppointmentType = this.AppointmentType;
            protocol.CaseIDNum = this.CaseIDNum;
            protocol.UserName = this.UserName;
            protocol.CreateDate = this.CreateDate;
            protocol.ConstructorCue = this.ConstructorCue;
            protocol.DirtyFieldFlags = this.DirtyFieldFlags;

            return protocol;
        }