/// <summary> /// Create a new <Conference/> element and append it as a child of this element. /// </summary> /// <param name="name"> Conference name, the body of the TwiML Element. </param> /// <param name="muted"> Join the conference muted </param> /// <param name="beep"> Play beep when joining </param> /// <param name="startConferenceOnEnter"> Start the conference on enter </param> /// <param name="endConferenceOnExit"> End the conferenceon exit </param> /// <param name="waitUrl"> Wait URL </param> /// <param name="waitMethod"> Wait URL method </param> /// <param name="maxParticipants"> Maximum number of participants </param> /// <param name="record"> Record the conference </param> /// <param name="region"> Conference region </param> /// <param name="coach"> Call coach </param> /// <param name="trim"> Trim the conference recording </param> /// <param name="statusCallbackEvent"> Events to call status callback URL </param> /// <param name="statusCallback"> Status callback URL </param> /// <param name="statusCallbackMethod"> Status callback URL method </param> /// <param name="recordingStatusCallback"> Recording status callback URL </param> /// <param name="recordingStatusCallbackMethod"> Recording status callback URL method </param> /// <param name="recordingStatusCallbackEvent"> Recording status callback events </param> /// <param name="eventCallbackUrl"> Event callback URL </param> /// <param name="jitterBufferSize"> Size of jitter buffer for participant </param> /// <param name="participantLabel"> A label for participant </param> public Dial Conference(string name = null, bool?muted = null, Conference.BeepEnum beep = null, bool?startConferenceOnEnter = null, bool?endConferenceOnExit = null, Uri waitUrl = null, Twilio.Http.HttpMethod waitMethod = null, int?maxParticipants = null, Conference.RecordEnum record = null, Conference.RegionEnum region = null, string coach = null, Conference.TrimEnum trim = null, List <Conference.EventEnum> statusCallbackEvent = null, Uri statusCallback = null, Twilio.Http.HttpMethod statusCallbackMethod = null, Uri recordingStatusCallback = null, Twilio.Http.HttpMethod recordingStatusCallbackMethod = null, List <Conference.RecordingEventEnum> recordingStatusCallbackEvent = null, Uri eventCallbackUrl = null, Conference.JitterBufferSizeEnum jitterBufferSize = null, string participantLabel = null) { var newChild = new Conference( name, muted, beep, startConferenceOnEnter, endConferenceOnExit, waitUrl, waitMethod, maxParticipants, record, region, coach, trim, statusCallbackEvent, statusCallback, statusCallbackMethod, recordingStatusCallback, recordingStatusCallbackMethod, recordingStatusCallbackEvent, eventCallbackUrl, jitterBufferSize, participantLabel ); this.Append(newChild); return(this); }
/// <summary> /// Create a new Conference /// </summary> /// <param name="name"> Conference name, the body of the TwiML Element. </param> /// <param name="muted"> Join the conference muted </param> /// <param name="beep"> Play beep when joining </param> /// <param name="startConferenceOnEnter"> Start the conference on enter </param> /// <param name="endConferenceOnExit"> End the conferenceon exit </param> /// <param name="waitUrl"> Wait URL </param> /// <param name="waitMethod"> Wait URL method </param> /// <param name="maxParticipants"> Maximum number of participants </param> /// <param name="record"> Record the conference </param> /// <param name="region"> Conference region </param> /// <param name="coach"> Call coach </param> /// <param name="trim"> Trim the conference recording </param> /// <param name="statusCallbackEvent"> Events to call status callback URL </param> /// <param name="statusCallback"> Status callback URL </param> /// <param name="statusCallbackMethod"> Status callback URL method </param> /// <param name="recordingStatusCallback"> Recording status callback URL </param> /// <param name="recordingStatusCallbackMethod"> Recording status callback URL method </param> /// <param name="recordingStatusCallbackEvent"> Recording status callback events </param> /// <param name="eventCallbackUrl"> Event callback URL </param> /// <param name="jitterBufferSize"> Size of jitter buffer for participant </param> /// <param name="participantLabel"> A label for participant </param> public Conference(string name = null, bool?muted = null, Conference.BeepEnum beep = null, bool?startConferenceOnEnter = null, bool?endConferenceOnExit = null, Uri waitUrl = null, Twilio.Http.HttpMethod waitMethod = null, int?maxParticipants = null, Conference.RecordEnum record = null, Conference.RegionEnum region = null, string coach = null, Conference.TrimEnum trim = null, List <Conference.EventEnum> statusCallbackEvent = null, Uri statusCallback = null, Twilio.Http.HttpMethod statusCallbackMethod = null, Uri recordingStatusCallback = null, Twilio.Http.HttpMethod recordingStatusCallbackMethod = null, List <Conference.RecordingEventEnum> recordingStatusCallbackEvent = null, Uri eventCallbackUrl = null, Conference.JitterBufferSizeEnum jitterBufferSize = null, string participantLabel = null) : base("Conference") { this.Name = name; this.Muted = muted; this.Beep = beep; this.StartConferenceOnEnter = startConferenceOnEnter; this.EndConferenceOnExit = endConferenceOnExit; this.WaitUrl = waitUrl; this.WaitMethod = waitMethod; this.MaxParticipants = maxParticipants; this.Record = record; this.Region = region; this.Coach = coach; this.Trim = trim; this.StatusCallbackEvent = statusCallbackEvent; this.StatusCallback = statusCallback; this.StatusCallbackMethod = statusCallbackMethod; this.RecordingStatusCallback = recordingStatusCallback; this.RecordingStatusCallbackMethod = recordingStatusCallbackMethod; this.RecordingStatusCallbackEvent = recordingStatusCallbackEvent; this.EventCallbackUrl = eventCallbackUrl; this.JitterBufferSize = jitterBufferSize; this.ParticipantLabel = participantLabel; }