Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ConversationNotificationCallbacks" /> class.
        /// </summary>


        /// <param name="State">State.</param>



        /// <param name="Id">Id.</param>



        /// <param name="Direction">Direction.</param>



        /// <param name="Held">Held.</param>



        /// <param name="DisconnectType">DisconnectType.</param>



        /// <param name="StartHoldTime">StartHoldTime.</param>



        /// <param name="DialerPreview">DialerPreview.</param>



        /// <param name="Voicemail">Voicemail.</param>



        /// <param name="CallbackNumbers">CallbackNumbers.</param>



        /// <param name="CallbackUserName">CallbackUserName.</param>



        /// <param name="ScriptId">ScriptId.</param>



        /// <param name="PeerId">PeerId.</param>



        /// <param name="SkipEnabled">SkipEnabled.</param>



        /// <param name="Provider">Provider.</param>



        /// <param name="TimeoutSeconds">TimeoutSeconds.</param>



        /// <param name="ConnectedTime">ConnectedTime.</param>



        /// <param name="DisconnectedTime">DisconnectedTime.</param>



        /// <param name="CallbackScheduledTime">CallbackScheduledTime.</param>



        /// <param name="AutomatedCallbackConfigId">AutomatedCallbackConfigId.</param>



        /// <param name="AdditionalProperties">AdditionalProperties.</param>


        public ConversationNotificationCallbacks(StateEnum?State = null, string Id = null, DirectionEnum?Direction = null, bool?Held = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, ConversationNotificationDialerPreview DialerPreview = null, ConversationNotificationVoicemail Voicemail = null, List <string> CallbackNumbers = null, string CallbackUserName = null, string ScriptId = null, string PeerId = null, bool?SkipEnabled = null, string Provider = null, int?TimeoutSeconds = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, DateTime?CallbackScheduledTime = null, string AutomatedCallbackConfigId = null, Object AdditionalProperties = null)
        {
            this.State = State;



            this.Id = Id;



            this.Direction = Direction;



            this.Held = Held;



            this.DisconnectType = DisconnectType;



            this.StartHoldTime = StartHoldTime;



            this.DialerPreview = DialerPreview;



            this.Voicemail = Voicemail;



            this.CallbackNumbers = CallbackNumbers;



            this.CallbackUserName = CallbackUserName;



            this.ScriptId = ScriptId;



            this.PeerId = PeerId;



            this.SkipEnabled = SkipEnabled;



            this.Provider = Provider;



            this.TimeoutSeconds = TimeoutSeconds;



            this.ConnectedTime = ConnectedTime;



            this.DisconnectedTime = DisconnectedTime;



            this.CallbackScheduledTime = CallbackScheduledTime;



            this.AutomatedCallbackConfigId = AutomatedCallbackConfigId;



            this.AdditionalProperties = AdditionalProperties;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="CallbackConversationNotificationParticipants" /> class.
        /// </summary>


        /// <param name="Id">Id.</param>



        /// <param name="Name">Name.</param>



        /// <param name="Address">Address.</param>



        /// <param name="StartTime">StartTime.</param>



        /// <param name="ConnectedTime">ConnectedTime.</param>



        /// <param name="EndTime">EndTime.</param>



        /// <param name="StartHoldTime">StartHoldTime.</param>



        /// <param name="Purpose">Purpose.</param>



        /// <param name="State">State.</param>



        /// <param name="Direction">Direction.</param>



        /// <param name="DisconnectType">DisconnectType.</param>



        /// <param name="Held">Held.</param>



        /// <param name="WrapupRequired">WrapupRequired.</param>



        /// <param name="WrapupPrompt">WrapupPrompt.</param>



        /// <param name="User">User.</param>



        /// <param name="Queue">Queue.</param>



        /// <param name="Attributes">Attributes.</param>



        /// <param name="ErrorInfo">ErrorInfo.</param>



        /// <param name="Script">Script.</param>



        /// <param name="WrapupTimeoutMs">WrapupTimeoutMs.</param>



        /// <param name="WrapupSkipped">WrapupSkipped.</param>



        /// <param name="Provider">Provider.</param>



        /// <param name="ExternalContact">ExternalContact.</param>



        /// <param name="ExternalOrganization">ExternalOrganization.</param>



        /// <param name="Wrapup">Wrapup.</param>



        /// <param name="Peer">Peer.</param>



        /// <param name="ScreenRecordingState">ScreenRecordingState.</param>



        /// <param name="FlaggedReason">FlaggedReason.</param>



        /// <param name="OutboundPreview">OutboundPreview.</param>



        /// <param name="Voicemail">Voicemail.</param>



        /// <param name="CallbackNumbers">CallbackNumbers.</param>



        /// <param name="CallbackUserName">CallbackUserName.</param>



        /// <param name="SkipEnabled">SkipEnabled.</param>



        /// <param name="TimeoutSeconds">TimeoutSeconds.</param>



        /// <param name="CallbackScheduledTime">CallbackScheduledTime.</param>



        /// <param name="AutomatedCallbackConfigId">AutomatedCallbackConfigId.</param>


        public CallbackConversationNotificationParticipants(string Id = null, string Name = null, string Address = null, DateTime?StartTime = null, DateTime?ConnectedTime = null, DateTime?EndTime = null, DateTime?StartHoldTime = null, string Purpose = null, StateEnum?State = null, DirectionEnum?Direction = null, DisconnectTypeEnum?DisconnectType = null, bool?Held = null, bool?WrapupRequired = null, string WrapupPrompt = null, DocumentDataV2NotificationCreatedBy User = null, CallbackConversationNotificationUriReference Queue = null, Dictionary <string, string> Attributes = null, CallbackConversationNotificationErrorInfo ErrorInfo = null, CallbackConversationNotificationUriReference Script = null, int?WrapupTimeoutMs = null, bool?WrapupSkipped = null, string Provider = null, CallbackConversationNotificationUriReference ExternalContact = null, CallbackConversationNotificationUriReference ExternalOrganization = null, ConversationNotificationWrapup Wrapup = null, string Peer = null, string ScreenRecordingState = null, FlaggedReasonEnum?FlaggedReason = null, ConversationNotificationDialerPreview OutboundPreview = null, ConversationNotificationVoicemail Voicemail = null, List <string> CallbackNumbers = null, string CallbackUserName = null, bool?SkipEnabled = null, int?TimeoutSeconds = null, DateTime?CallbackScheduledTime = null, string AutomatedCallbackConfigId = null)
        {
            this.Id = Id;



            this.Name = Name;



            this.Address = Address;



            this.StartTime = StartTime;



            this.ConnectedTime = ConnectedTime;



            this.EndTime = EndTime;



            this.StartHoldTime = StartHoldTime;



            this.Purpose = Purpose;



            this.State = State;



            this.Direction = Direction;



            this.DisconnectType = DisconnectType;



            this.Held = Held;



            this.WrapupRequired = WrapupRequired;



            this.WrapupPrompt = WrapupPrompt;



            this.User = User;



            this.Queue = Queue;



            this.Attributes = Attributes;



            this.ErrorInfo = ErrorInfo;



            this.Script = Script;



            this.WrapupTimeoutMs = WrapupTimeoutMs;



            this.WrapupSkipped = WrapupSkipped;



            this.Provider = Provider;



            this.ExternalContact = ExternalContact;



            this.ExternalOrganization = ExternalOrganization;



            this.Wrapup = Wrapup;



            this.Peer = Peer;



            this.ScreenRecordingState = ScreenRecordingState;



            this.FlaggedReason = FlaggedReason;



            this.OutboundPreview = OutboundPreview;



            this.Voicemail = Voicemail;



            this.CallbackNumbers = CallbackNumbers;



            this.CallbackUserName = CallbackUserName;



            this.SkipEnabled = SkipEnabled;



            this.TimeoutSeconds = TimeoutSeconds;



            this.CallbackScheduledTime = CallbackScheduledTime;



            this.AutomatedCallbackConfigId = AutomatedCallbackConfigId;
        }