/// <summary> /// Initializes a new instance of the <see cref="KapiConferenceRecord" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID.</param> /// <param name="conferenceID">conferenceID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="mediaName">mediaName (required).</param> public KapiConferenceRecord(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), string conferenceID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), string mediaName = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiConferenceRecord and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "conferenceID" is required (not null) if (conferenceID == null) { throw new InvalidDataException("conferenceID is a required property for KapiConferenceRecord and cannot be null"); } else { this.ConferenceID = conferenceID; } // to ensure "mediaName" is required (not null) if (mediaName == null) { throw new InvalidDataException("mediaName is a required property for KapiConferenceRecord and cannot be null"); } else { this.MediaName = mediaName; } this.CallID = callID; this.EventCategory = eventCategory; this.EventName = eventName; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanHoldControl" /> class. /// </summary> /// <param name="action">action (required).</param> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> public KapiDialplanHoldControl(ActionEnum action = default(ActionEnum), ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?)) { // to ensure "action" is required (not null) if (action == null) { throw new InvalidDataException("action is a required property for KapiDialplanHoldControl and cannot be null"); } else { this.Action = action; } // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanHoldControl and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanHoldControl and cannot be null"); } else { this.CallID = callID; } this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanFetch" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="fromOtherLeg">fromOtherLeg.</param> /// <param name="insertAt">insertAt.</param> public KapiDialplanFetch(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), bool?fromOtherLeg = default(bool?), InsertAtEnum?insertAt = default(InsertAtEnum?)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanFetch and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanFetch and cannot be null"); } else { this.CallID = callID; } this.EventCategory = eventCategory; this.EventName = eventName; this.FromOtherLeg = fromOtherLeg; this.InsertAt = insertAt; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanPrivacy" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> /// <param name="privacyMode">privacyMode.</param> public KapiDialplanPrivacy(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?), PrivacyModeEnum?privacyMode = default(PrivacyModeEnum?)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanPrivacy and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanPrivacy and cannot be null"); } else { this.CallID = callID; } this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; this.PrivacyMode = privacyMode; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanSetTerminators" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> /// <param name="terminators">terminators (required).</param> public KapiDialplanSetTerminators(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?), List <TerminatorsEnum> terminators = default(List <TerminatorsEnum>)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanSetTerminators and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanSetTerminators and cannot be null"); } else { this.CallID = callID; } // to ensure "terminators" is required (not null) if (terminators == null) { throw new InvalidDataException("terminators is a required property for KapiDialplanSetTerminators and cannot be null"); } else { this.Terminators = terminators; } this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanExecuteExtension" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="customChannelVars">customChannelVars.</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="extension">extension (required).</param> /// <param name="insertAt">insertAt.</param> /// <param name="reset">reset.</param> public KapiDialplanExecuteExtension(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), Object customChannelVars = default(Object), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), string extension = default(string), InsertAtEnum?insertAt = default(InsertAtEnum?), string reset = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanExecuteExtension and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanExecuteExtension and cannot be null"); } else { this.CallID = callID; } // to ensure "extension" is required (not null) if (extension == null) { throw new InvalidDataException("extension is a required property for KapiDialplanExecuteExtension and cannot be null"); } else { this.Extension = extension; } this.CustomChannelVars = customChannelVars; this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; this.Reset = reset; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanRedirect" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> /// <param name="redirectContact">redirectContact (required).</param> /// <param name="redirectNode">redirectNode.</param> /// <param name="redirectServer">redirectServer.</param> public KapiDialplanRedirect(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?), string redirectContact = default(string), string redirectNode = default(string), string redirectServer = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanRedirect and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanRedirect and cannot be null"); } else { this.CallID = callID; } // to ensure "redirectContact" is required (not null) if (redirectContact == null) { throw new InvalidDataException("redirectContact is a required property for KapiDialplanRedirect and cannot be null"); } else { this.RedirectContact = redirectContact; } this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; this.RedirectNode = redirectNode; this.RedirectServer = redirectServer; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanSendDtmf" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="dTMFs">dTMFs (required).</param> /// <param name="duration">duration.</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> public KapiDialplanSendDtmf(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), string dTMFs = default(string), string duration = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanSendDtmf and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanSendDtmf and cannot be null"); } else { this.CallID = callID; } // to ensure "dTMFs" is required (not null) if (dTMFs == null) { throw new InvalidDataException("dTMFs is a required property for KapiDialplanSendDtmf and cannot be null"); } else { this.DTMFs = dTMFs; } this.Duration = duration; this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanPark" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="hangupCause">hangupCause.</param> /// <param name="insertAt">insertAt.</param> /// <param name="timeout">timeout.</param> public KapiDialplanPark(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), string hangupCause = default(string), InsertAtEnum?insertAt = default(InsertAtEnum?), string timeout = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanPark and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanPark and cannot be null"); } else { this.CallID = callID; } this.EventCategory = eventCategory; this.EventName = eventName; this.HangupCause = hangupCause; this.InsertAt = insertAt; this.Timeout = timeout; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanMediaMacro" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> /// <param name="mediaMacros">mediaMacros (required).</param> public KapiDialplanMediaMacro(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?), Object mediaMacros = default(Object)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanMediaMacro and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanMediaMacro and cannot be null"); } else { this.CallID = callID; } // to ensure "mediaMacros" is required (not null) if (mediaMacros == null) { throw new InvalidDataException("mediaMacros is a required property for KapiDialplanMediaMacro and cannot be null"); } else { this.MediaMacros = mediaMacros; } this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; }
/// <summary> /// Initializes a new instance of the <see cref="KapiConferenceStopPlay" /> class. /// </summary> /// <param name="affects">affects.</param> /// <param name="applicationName">applicationName (required).</param> /// <param name="conferenceID">conferenceID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="participantID">participantID.</param> public KapiConferenceStopPlay(AffectsEnum?affects = default(AffectsEnum?), ApplicationNameEnum applicationName = default(ApplicationNameEnum), string conferenceID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), string participantID = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiConferenceStopPlay and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "conferenceID" is required (not null) if (conferenceID == null) { throw new InvalidDataException("conferenceID is a required property for KapiConferenceStopPlay and cannot be null"); } else { this.ConferenceID = conferenceID; } this.Affects = affects; this.EventCategory = eventCategory; this.EventName = eventName; this.ParticipantID = participantID; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanNoop" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="bLegEvents">bLegEvents.</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="filterApplications">filterApplications.</param> /// <param name="insertAt">insertAt.</param> public KapiDialplanNoop(ApplicationNameEnum applicationName = default(ApplicationNameEnum), List <BLegEventsEnum> bLegEvents = default(List <BLegEventsEnum>), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), string filterApplications = default(string), InsertAtEnum?insertAt = default(InsertAtEnum?)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanNoop and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanNoop and cannot be null"); } else { this.CallID = callID; } this.BLegEvents = bLegEvents; this.EventCategory = eventCategory; this.EventName = eventName; this.FilterApplications = filterApplications; this.InsertAt = insertAt; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanQueue" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="commands">commands (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> public KapiDialplanQueue(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), List <string> commands = default(List <string>), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanQueue and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanQueue and cannot be null"); } else { this.CallID = callID; } // to ensure "commands" is required (not null) if (commands == null) { throw new InvalidDataException("commands is a required property for KapiDialplanQueue and cannot be null"); } else { this.Commands = commands; } this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanReceiveFax" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="enableT38Fax">enableT38Fax.</param> /// <param name="enableT38FaxRequest">enableT38FaxRequest.</param> /// <param name="enableT38Gateway">enableT38Gateway.</param> /// <param name="enableT38Passthrough">enableT38Passthrough.</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="faxLocalFilename">faxLocalFilename.</param> /// <param name="insertAt">insertAt.</param> public KapiDialplanReceiveFax(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), string enableT38Fax = default(string), string enableT38FaxRequest = default(string), string enableT38Gateway = default(string), string enableT38Passthrough = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), string faxLocalFilename = default(string), InsertAtEnum?insertAt = default(InsertAtEnum?)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanReceiveFax and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanReceiveFax and cannot be null"); } else { this.CallID = callID; } this.EnableT38Fax = enableT38Fax; this.EnableT38FaxRequest = enableT38FaxRequest; this.EnableT38Gateway = enableT38Gateway; this.EnableT38Passthrough = enableT38Passthrough; this.EventCategory = eventCategory; this.EventName = eventName; this.FaxLocalFilename = faxLocalFilename; this.InsertAt = insertAt; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanSoftHold" /> class. /// </summary> /// <param name="aMOH">aMOH.</param> /// <param name="applicationName">applicationName (required).</param> /// <param name="bMOH">bMOH.</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> /// <param name="unholdKey">unholdKey (required).</param> public KapiDialplanSoftHold(string aMOH = default(string), ApplicationNameEnum applicationName = default(ApplicationNameEnum), string bMOH = default(string), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?), string unholdKey = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanSoftHold and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanSoftHold and cannot be null"); } else { this.CallID = callID; } // to ensure "unholdKey" is required (not null) if (unholdKey == null) { throw new InvalidDataException("unholdKey is a required property for KapiDialplanSoftHold and cannot be null"); } else { this.UnholdKey = unholdKey; } this.A_MOH = aMOH; this.B_MOH = bMOH; this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanAudioLevel" /> class. /// </summary> /// <param name="action">action (required).</param> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt (required).</param> /// <param name="level">level (required).</param> /// <param name="mode">mode (required).</param> public KapiDialplanAudioLevel(string action = default(string), ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum insertAt = default(InsertAtEnum), string level = default(string), string mode = default(string)) { // to ensure "action" is required (not null) if (action == null) { throw new InvalidDataException("action is a required property for KapiDialplanAudioLevel and cannot be null"); } else { this.Action = action; } // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanAudioLevel and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanAudioLevel and cannot be null"); } else { this.CallID = callID; } // to ensure "insertAt" is required (not null) if (insertAt == null) { throw new InvalidDataException("insertAt is a required property for KapiDialplanAudioLevel and cannot be null"); } else { this.InsertAt = insertAt; } // to ensure "level" is required (not null) if (level == null) { throw new InvalidDataException("level is a required property for KapiDialplanAudioLevel and cannot be null"); } else { this.Level = level; } // to ensure "mode" is required (not null) if (mode == null) { throw new InvalidDataException("mode is a required property for KapiDialplanAudioLevel and cannot be null"); } else { this.Mode = mode; } this.EventCategory = eventCategory; this.EventName = eventName; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanStoreHttpResp" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="mediaName">mediaName (required).</param> /// <param name="mediaTransferMethod">mediaTransferMethod (required).</param> /// <param name="mediaTransferResults">mediaTransferResults (required).</param> public KapiDialplanStoreHttpResp(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), string mediaName = default(string), MediaTransferMethodEnum mediaTransferMethod = default(MediaTransferMethodEnum), Object mediaTransferResults = default(Object)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanStoreHttpResp and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanStoreHttpResp and cannot be null"); } else { this.CallID = callID; } // to ensure "mediaName" is required (not null) if (mediaName == null) { throw new InvalidDataException("mediaName is a required property for KapiDialplanStoreHttpResp and cannot be null"); } else { this.MediaName = mediaName; } // to ensure "mediaTransferMethod" is required (not null) if (mediaTransferMethod == null) { throw new InvalidDataException("mediaTransferMethod is a required property for KapiDialplanStoreHttpResp and cannot be null"); } else { this.MediaTransferMethod = mediaTransferMethod; } // to ensure "mediaTransferResults" is required (not null) if (mediaTransferResults == null) { throw new InvalidDataException("mediaTransferResults is a required property for KapiDialplanStoreHttpResp and cannot be null"); } else { this.MediaTransferResults = mediaTransferResults; } this.EventCategory = eventCategory; this.EventName = eventName; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanStoreAmqpResp" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="mediaContent">mediaContent (required).</param> /// <param name="mediaName">mediaName (required).</param> /// <param name="mediaSequenceID">mediaSequenceID.</param> /// <param name="mediaTransferMethod">mediaTransferMethod (required).</param> public KapiDialplanStoreAmqpResp(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), string mediaContent = default(string), string mediaName = default(string), string mediaSequenceID = default(string), MediaTransferMethodEnum mediaTransferMethod = default(MediaTransferMethodEnum)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanStoreAmqpResp and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanStoreAmqpResp and cannot be null"); } else { this.CallID = callID; } // to ensure "mediaContent" is required (not null) if (mediaContent == null) { throw new InvalidDataException("mediaContent is a required property for KapiDialplanStoreAmqpResp and cannot be null"); } else { this.MediaContent = mediaContent; } // to ensure "mediaName" is required (not null) if (mediaName == null) { throw new InvalidDataException("mediaName is a required property for KapiDialplanStoreAmqpResp and cannot be null"); } else { this.MediaName = mediaName; } // to ensure "mediaTransferMethod" is required (not null) if (mediaTransferMethod == null) { throw new InvalidDataException("mediaTransferMethod is a required property for KapiDialplanStoreAmqpResp and cannot be null"); } else { this.MediaTransferMethod = mediaTransferMethod; } this.MediaSequenceID = mediaSequenceID; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanTransfer" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="attendedTransferKeys">attendedTransferKeys.</param> /// <param name="callID">callID (required).</param> /// <param name="callerIDName">callerIDName.</param> /// <param name="callerIDNumber">callerIDNumber.</param> /// <param name="customChannelVars">customChannelVars.</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> /// <param name="transferContext">transferContext.</param> /// <param name="transferLeg">transferLeg.</param> /// <param name="transferTo">transferTo (required).</param> /// <param name="transferType">transferType (required).</param> public KapiDialplanTransfer(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string attendedTransferKeys = default(string), string callID = default(string), string callerIDName = default(string), string callerIDNumber = default(string), Object customChannelVars = default(Object), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?), string transferContext = default(string), TransferLegEnum?transferLeg = default(TransferLegEnum?), string transferTo = default(string), TransferTypeEnum transferType = default(TransferTypeEnum)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanTransfer and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanTransfer and cannot be null"); } else { this.CallID = callID; } // to ensure "transferTo" is required (not null) if (transferTo == null) { throw new InvalidDataException("transferTo is a required property for KapiDialplanTransfer and cannot be null"); } else { this.TransferTo = transferTo; } // to ensure "transferType" is required (not null) if (transferType == null) { throw new InvalidDataException("transferType is a required property for KapiDialplanTransfer and cannot be null"); } else { this.TransferType = transferType; } this.AttendedTransferKeys = attendedTransferKeys; this.CallerIDName = callerIDName; this.CallerIDNumber = callerIDNumber; this.CustomChannelVars = customChannelVars; this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; this.TransferContext = transferContext; this.TransferLeg = transferLeg; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanToneDetect" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="frequencies">frequencies (required).</param> /// <param name="hitsNeeded">hitsNeeded.</param> /// <param name="insertAt">insertAt.</param> /// <param name="onSuccess">onSuccess.</param> /// <param name="sniffDirection">sniffDirection.</param> /// <param name="timeout">timeout.</param> /// <param name="toneDetectName">toneDetectName (required).</param> public KapiDialplanToneDetect(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), string frequencies = default(string), string hitsNeeded = default(string), InsertAtEnum?insertAt = default(InsertAtEnum?), List <string> onSuccess = default(List <string>), SniffDirectionEnum?sniffDirection = default(SniffDirectionEnum?), int?timeout = default(int?), string toneDetectName = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanToneDetect and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanToneDetect and cannot be null"); } else { this.CallID = callID; } // to ensure "frequencies" is required (not null) if (frequencies == null) { throw new InvalidDataException("frequencies is a required property for KapiDialplanToneDetect and cannot be null"); } else { this.Frequencies = frequencies; } // to ensure "toneDetectName" is required (not null) if (toneDetectName == null) { throw new InvalidDataException("toneDetectName is a required property for KapiDialplanToneDetect and cannot be null"); } else { this.ToneDetectName = toneDetectName; } this.EventCategory = eventCategory; this.EventName = eventName; this.HitsNeeded = hitsNeeded; this.InsertAt = insertAt; this.OnSuccess = onSuccess; this.SniffDirection = sniffDirection; this.Timeout = timeout; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanSet" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="customApplicationVars">customApplicationVars.</param> /// <param name="customCallVars">customCallVars (required).</param> /// <param name="customChannelVars">customChannelVars (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="exportAll">exportAll.</param> /// <param name="insertAt">insertAt.</param> public KapiDialplanSet(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), Object customApplicationVars = default(Object), Object customCallVars = default(Object), Object customChannelVars = default(Object), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), bool?exportAll = default(bool?), InsertAtEnum?insertAt = default(InsertAtEnum?)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanSet and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanSet and cannot be null"); } else { this.CallID = callID; } // to ensure "customCallVars" is required (not null) if (customCallVars == null) { throw new InvalidDataException("customCallVars is a required property for KapiDialplanSet and cannot be null"); } else { this.CustomCallVars = customCallVars; } // to ensure "customChannelVars" is required (not null) if (customChannelVars == null) { throw new InvalidDataException("customChannelVars is a required property for KapiDialplanSet and cannot be null"); } else { this.CustomChannelVars = customChannelVars; } this.CustomApplicationVars = customApplicationVars; this.EventCategory = eventCategory; this.EventName = eventName; this.ExportAll = exportAll; this.InsertAt = insertAt; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanConnectLeg" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="bLegEvents">bLegEvents.</param> /// <param name="callID">callID (required).</param> /// <param name="continueOnCancel">continueOnCancel.</param> /// <param name="continueOnFail">continueOnFail.</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="hangupAfterPickup">hangupAfterPickup.</param> /// <param name="insertAt">insertAt.</param> /// <param name="moveChannelIfNecessary">moveChannelIfNecessary.</param> /// <param name="otherLeg">otherLeg.</param> /// <param name="parkAfterPickup">parkAfterPickup.</param> /// <param name="publishUsurp">publishUsurp.</param> /// <param name="targetCallID">targetCallID (required).</param> /// <param name="unansweredOnly">unansweredOnly.</param> /// <param name="unbridgedOnly">unbridgedOnly.</param> public KapiDialplanConnectLeg(ApplicationNameEnum applicationName = default(ApplicationNameEnum), List <BLegEventsEnum> bLegEvents = default(List <BLegEventsEnum>), string callID = default(string), string continueOnCancel = default(string), string continueOnFail = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), bool?hangupAfterPickup = default(bool?), InsertAtEnum?insertAt = default(InsertAtEnum?), bool?moveChannelIfNecessary = default(bool?), string otherLeg = default(string), bool?parkAfterPickup = default(bool?), bool?publishUsurp = default(bool?), string targetCallID = default(string), string unansweredOnly = default(string), string unbridgedOnly = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanConnectLeg and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanConnectLeg and cannot be null"); } else { this.CallID = callID; } // to ensure "targetCallID" is required (not null) if (targetCallID == null) { throw new InvalidDataException("targetCallID is a required property for KapiDialplanConnectLeg and cannot be null"); } else { this.TargetCallID = targetCallID; } this.BLegEvents = bLegEvents; this.ContinueOnCancel = continueOnCancel; this.ContinueOnFail = continueOnFail; this.EventCategory = eventCategory; this.EventName = eventName; this.HangupAfterPickup = hangupAfterPickup; this.InsertAt = insertAt; this.MoveChannelIfNecessary = moveChannelIfNecessary; this.OtherLeg = otherLeg; this.ParkAfterPickup = parkAfterPickup; this.PublishUsurp = publishUsurp; this.UnansweredOnly = unansweredOnly; this.UnbridgedOnly = unbridgedOnly; }
/// <summary> /// Initializes a new instance of the <see cref="KapiConferenceSay" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="conferenceID">conferenceID.</param> /// <param name="endlessPlayback">endlessPlayback.</param> /// <param name="engine">engine.</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="groupID">groupID.</param> /// <param name="insertAt">insertAt.</param> /// <param name="language">language.</param> /// <param name="leg">leg.</param> /// <param name="loopCount">loopCount.</param> /// <param name="terminators">terminators.</param> /// <param name="text">text (required).</param> /// <param name="voice">voice.</param> public KapiConferenceSay(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), string conferenceID = default(string), bool?endlessPlayback = default(bool?), string engine = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), string groupID = default(string), InsertAtEnum?insertAt = default(InsertAtEnum?), string language = default(string), string leg = default(string), int?loopCount = default(int?), List <TerminatorsEnum> terminators = default(List <TerminatorsEnum>), string text = default(string), string voice = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiConferenceSay and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiConferenceSay and cannot be null"); } else { this.CallID = callID; } // to ensure "text" is required (not null) if (text == null) { throw new InvalidDataException("text is a required property for KapiConferenceSay and cannot be null"); } else { this.Text = text; } this.ConferenceID = conferenceID; this.EndlessPlayback = endlessPlayback; this.Engine = engine; this.EventCategory = eventCategory; this.EventName = eventName; this.GroupID = groupID; this.InsertAt = insertAt; this.Language = language; this.Leg = leg; this.LoopCount = loopCount; this.Terminators = terminators; this.Voice = voice; }
/// <summary> /// Initializes a new instance of the <see cref="KapiConferenceDial" /> class. /// </summary> /// <param name="accountID">accountID.</param> /// <param name="applicationName">applicationName (required).</param> /// <param name="callerIDName">callerIDName.</param> /// <param name="callerIDNumber">callerIDNumber.</param> /// <param name="conferenceID">conferenceID (required).</param> /// <param name="customApplicationVars">customApplicationVars.</param> /// <param name="customChannelVars">customChannelVars.</param> /// <param name="endpoints">endpoints (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="outboundCallID">outboundCallID.</param> /// <param name="participantFlags">participantFlags.</param> /// <param name="profileName">profileName.</param> /// <param name="targetCallID">targetCallID.</param> /// <param name="timeout">timeout.</param> public KapiConferenceDial(string accountID = default(string), ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callerIDName = default(string), string callerIDNumber = default(string), string conferenceID = default(string), Object customApplicationVars = default(Object), Object customChannelVars = default(Object), List <KapiDialplanBridgeEndpoint> endpoints = default(List <KapiDialplanBridgeEndpoint>), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), string outboundCallID = default(string), string participantFlags = default(string), string profileName = default(string), string targetCallID = default(string), int?timeout = default(int?)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiConferenceDial and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "conferenceID" is required (not null) if (conferenceID == null) { throw new InvalidDataException("conferenceID is a required property for KapiConferenceDial and cannot be null"); } else { this.ConferenceID = conferenceID; } // to ensure "endpoints" is required (not null) if (endpoints == null) { throw new InvalidDataException("endpoints is a required property for KapiConferenceDial and cannot be null"); } else { this.Endpoints = endpoints; } this.AccountID = accountID; this.CallerIDName = callerIDName; this.CallerIDNumber = callerIDNumber; this.CustomApplicationVars = customApplicationVars; this.CustomChannelVars = customChannelVars; this.EventCategory = eventCategory; this.EventName = eventName; this.OutboundCallID = outboundCallID; this.ParticipantFlags = participantFlags; this.ProfileName = profileName; this.TargetCallID = targetCallID; this.Timeout = timeout; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanPage" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="calleeIDName">calleeIDName.</param> /// <param name="calleeIDNumber">calleeIDNumber.</param> /// <param name="callerIDName">callerIDName.</param> /// <param name="callerIDNumber">callerIDNumber.</param> /// <param name="customChannelVars">customChannelVars.</param> /// <param name="customSIPHeaders">customSIPHeaders.</param> /// <param name="endpoints">endpoints (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> /// <param name="pageOptions">pageOptions.</param> /// <param name="timeout">timeout.</param> public KapiDialplanPage(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), string calleeIDName = default(string), string calleeIDNumber = default(string), string callerIDName = default(string), string callerIDNumber = default(string), Object customChannelVars = default(Object), Object customSIPHeaders = default(Object), List <KapiDialplanBridgeEndpoint> endpoints = default(List <KapiDialplanBridgeEndpoint>), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?), string pageOptions = default(string), string timeout = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanPage and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanPage and cannot be null"); } else { this.CallID = callID; } // to ensure "endpoints" is required (not null) if (endpoints == null) { throw new InvalidDataException("endpoints is a required property for KapiDialplanPage and cannot be null"); } else { this.Endpoints = endpoints; } this.CalleeIDName = calleeIDName; this.CalleeIDNumber = calleeIDNumber; this.CallerIDName = callerIDName; this.CallerIDNumber = callerIDNumber; this.CustomChannelVars = customChannelVars; this.CustomSIPHeaders = customSIPHeaders; this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; this.PageOptions = pageOptions; this.Timeout = timeout; }
/// <summary> /// Initializes a new instance of the <see cref="KapiConferenceSet" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="conferenceID">conferenceID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="_parameter">_parameter (required).</param> /// <param name="value">value (required).</param> public KapiConferenceSet(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string conferenceID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), ParameterEnum _parameter = default(ParameterEnum), string value = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiConferenceSet and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "conferenceID" is required (not null) if (conferenceID == null) { throw new InvalidDataException("conferenceID is a required property for KapiConferenceSet and cannot be null"); } else { this.ConferenceID = conferenceID; } // to ensure "_parameter" is required (not null) if (_parameter == null) { throw new InvalidDataException("_parameter is a required property for KapiConferenceSet and cannot be null"); } else { this.Parameter = _parameter; } // to ensure "value" is required (not null) if (value == null) { throw new InvalidDataException("value is a required property for KapiConferenceSet and cannot be null"); } else { this.Value = value; } this.EventCategory = eventCategory; this.EventName = eventName; }
/// <summary> /// Initializes a new instance of the <see cref="KapiConferenceParticipantEnergy" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="conferenceID">conferenceID (required).</param> /// <param name="energyLevel">energyLevel (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="participantID">participantID (required).</param> public KapiConferenceParticipantEnergy(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string conferenceID = default(string), string energyLevel = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), string participantID = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiConferenceParticipantEnergy and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "conferenceID" is required (not null) if (conferenceID == null) { throw new InvalidDataException("conferenceID is a required property for KapiConferenceParticipantEnergy and cannot be null"); } else { this.ConferenceID = conferenceID; } // to ensure "energyLevel" is required (not null) if (energyLevel == null) { throw new InvalidDataException("energyLevel is a required property for KapiConferenceParticipantEnergy and cannot be null"); } else { this.EnergyLevel = energyLevel; } // to ensure "participantID" is required (not null) if (participantID == null) { throw new InvalidDataException("participantID is a required property for KapiConferenceParticipantEnergy and cannot be null"); } else { this.ParticipantID = participantID; } this.EventCategory = eventCategory; this.EventName = eventName; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanConference" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="conferenceID">conferenceID (required).</param> /// <param name="deaf">deaf.</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> /// <param name="memberNospeak">memberNospeak.</param> /// <param name="moderator">moderator.</param> /// <param name="mute">mute.</param> /// <param name="nospeakCheck">nospeakCheck.</param> /// <param name="profile">profile.</param> /// <param name="reinvite">reinvite.</param> public KapiDialplanConference(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), string conferenceID = default(string), bool?deaf = default(bool?), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?), string memberNospeak = default(string), bool?moderator = default(bool?), bool?mute = default(bool?), string nospeakCheck = default(string), string profile = default(string), bool?reinvite = default(bool?)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanConference and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanConference and cannot be null"); } else { this.CallID = callID; } // to ensure "conferenceID" is required (not null) if (conferenceID == null) { throw new InvalidDataException("conferenceID is a required property for KapiDialplanConference and cannot be null"); } else { this.ConferenceID = conferenceID; } this.Deaf = deaf; this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; this.MemberNospeak = memberNospeak; this.Moderator = moderator; this.Mute = mute; this.NospeakCheck = nospeakCheck; this.Profile = profile; this.Reinvite = reinvite; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanEavesdrop" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="continueOnCancel">continueOnCancel.</param> /// <param name="continueOnFail">continueOnFail.</param> /// <param name="enableDTMF">enableDTMF.</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> /// <param name="moveChannelIfNecessary">moveChannelIfNecessary.</param> /// <param name="otherLeg">otherLeg.</param> /// <param name="targetCallID">targetCallID (required).</param> public KapiDialplanEavesdrop(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), string continueOnCancel = default(string), string continueOnFail = default(string), string enableDTMF = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?), bool?moveChannelIfNecessary = default(bool?), string otherLeg = default(string), string targetCallID = default(string)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanEavesdrop and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanEavesdrop and cannot be null"); } else { this.CallID = callID; } // to ensure "targetCallID" is required (not null) if (targetCallID == null) { throw new InvalidDataException("targetCallID is a required property for KapiDialplanEavesdrop and cannot be null"); } else { this.TargetCallID = targetCallID; } this.ContinueOnCancel = continueOnCancel; this.ContinueOnFail = continueOnFail; this.EnableDTMF = enableDTMF; this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; this.MoveChannelIfNecessary = moveChannelIfNecessary; this.OtherLeg = otherLeg; }
/// <summary> /// Initializes a new instance of the <see cref="KapiDialplanRecord" /> class. /// </summary> /// <param name="applicationName">applicationName (required).</param> /// <param name="callID">callID (required).</param> /// <param name="eventCategory">eventCategory.</param> /// <param name="eventName">eventName.</param> /// <param name="insertAt">insertAt.</param> /// <param name="mediaName">mediaName (required).</param> /// <param name="silenceHits">silenceHits.</param> /// <param name="silenceThreshold">silenceThreshold.</param> /// <param name="terminators">terminators.</param> /// <param name="timeLimit">timeLimit.</param> public KapiDialplanRecord(ApplicationNameEnum applicationName = default(ApplicationNameEnum), string callID = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), InsertAtEnum?insertAt = default(InsertAtEnum?), string mediaName = default(string), string silenceHits = default(string), string silenceThreshold = default(string), List <TerminatorsEnum> terminators = default(List <TerminatorsEnum>), int?timeLimit = default(int?)) { // to ensure "applicationName" is required (not null) if (applicationName == null) { throw new InvalidDataException("applicationName is a required property for KapiDialplanRecord and cannot be null"); } else { this.ApplicationName = applicationName; } // to ensure "callID" is required (not null) if (callID == null) { throw new InvalidDataException("callID is a required property for KapiDialplanRecord and cannot be null"); } else { this.CallID = callID; } // to ensure "mediaName" is required (not null) if (mediaName == null) { throw new InvalidDataException("mediaName is a required property for KapiDialplanRecord and cannot be null"); } else { this.MediaName = mediaName; } this.EventCategory = eventCategory; this.EventName = eventName; this.InsertAt = insertAt; this.SilenceHits = silenceHits; this.SilenceThreshold = silenceThreshold; this.Terminators = terminators; this.TimeLimit = timeLimit; }