/// <summary>
 /// Initializes a new instance of the <see cref="RecordingMessagingMessage" /> class.
 /// </summary>
 /// <param name="From">From.</param>
 /// <param name="FromUser">FromUser.</param>
 /// <param name="FromExternalContact">FromExternalContact.</param>
 /// <param name="To">To.</param>
 /// <param name="Timestamp">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Id">Id.</param>
 /// <param name="MessageText">MessageText.</param>
 /// <param name="MessageMediaAttachments">MessageMediaAttachments.</param>
 /// <param name="MessageStickerAttachments">MessageStickerAttachments.</param>
 public RecordingMessagingMessage(string From = null, User FromUser = null, ExternalContact FromExternalContact = null, string To = null, DateTime?Timestamp = null, string Id = null, string MessageText = null, List <MessageMediaAttachment> MessageMediaAttachments = null, List <MessageStickerAttachment> MessageStickerAttachments = null)
 {
     this.From                = From;
     this.FromUser            = FromUser;
     this.FromExternalContact = FromExternalContact;
     this.To                        = To;
     this.Timestamp                 = Timestamp;
     this.Id                        = Id;
     this.MessageText               = MessageText;
     this.MessageMediaAttachments   = MessageMediaAttachments;
     this.MessageStickerAttachments = MessageStickerAttachments;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RecordingMessagingMessage" /> class.
 /// </summary>
 /// <param name="From">The message sender session id..</param>
 /// <param name="FromUser">The user who sent this message..</param>
 /// <param name="FromExternalContact">The PureCloud external contact sender details..</param>
 /// <param name="To">The message recipient..</param>
 /// <param name="Timestamp">The time when the message was sent. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="MessageText">The content of this message..</param>
 /// <param name="MessageMediaAttachments">List of media objects attached  with this message..</param>
 /// <param name="MessageStickerAttachments">List of message stickers attached with this message..</param>
 /// <param name="QuickReplies">List of quick reply options offered with this message..</param>
 /// <param name="ButtonResponse">Button Response selected by user for this message..</param>
 /// <param name="Story">Ephemeral story content..</param>
 public RecordingMessagingMessage(string From = null, User FromUser = null, ExternalContact FromExternalContact = null, string To = null, DateTime?Timestamp = null, string Id = null, string MessageText = null, List <MessageMediaAttachment> MessageMediaAttachments = null, List <MessageStickerAttachment> MessageStickerAttachments = null, List <QuickReply> QuickReplies = null, ButtonResponse ButtonResponse = null, RecordingContentStory Story = null)
 {
     this.From                = From;
     this.FromUser            = FromUser;
     this.FromExternalContact = FromExternalContact;
     this.To                        = To;
     this.Timestamp                 = Timestamp;
     this.Id                        = Id;
     this.MessageText               = MessageText;
     this.MessageMediaAttachments   = MessageMediaAttachments;
     this.MessageStickerAttachments = MessageStickerAttachments;
     this.QuickReplies              = QuickReplies;
     this.ButtonResponse            = ButtonResponse;
     this.Story                     = Story;
 }
예제 #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="RecordingMessagingMessage" /> class.
        /// </summary>


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



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



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



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



        /// <param name="Timestamp">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>



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


        public RecordingMessagingMessage(string From = null, User FromUser = null, ExternalContact FromExternalContact = null, string To = null, DateTime?Timestamp = null, string MessageText = null)
        {
            this.From = From;



            this.FromUser = FromUser;



            this.FromExternalContact = FromExternalContact;



            this.To = To;



            this.Timestamp = Timestamp;



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


        /// <param name="Id">The unique participant ID..</param>



        /// <param name="Name">The display friendly name of the participant..</param>



        /// <param name="Address">The participant address..</param>



        /// <param name="StartTime">The time when this participant first joined the conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>



        /// <param name="EndTime">The time when this participant went disconnected for this media (eg: video disconnected time). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>



        /// <param name="Purpose">The participant&#39;s purpose.  Values can be: &#39;agent&#39;, &#39;user&#39;, &#39;customer&#39;, &#39;external&#39;, &#39;acd&#39;, &#39;ivr.</param>



        /// <param name="Direction">The participant&#39;s direction.  Values can be: &#39;inbound&#39; or &#39;outbound&#39;.</param>



        /// <param name="Ani">The call ANI..</param>



        /// <param name="Dnis">The call DNIS..</param>



        /// <param name="User">The PureCloud user for this participant..</param>



        /// <param name="Queue">The PureCloud queue for this participant..</param>



        /// <param name="Group">The group involved in the group ring call..</param>



        /// <param name="DisconnectType">The reason the participant was disconnected from the conversation..</param>



        /// <param name="ExternalContact">The PureCloud external contact.</param>



        /// <param name="ExternalOrganization">The PureCloud external organization.</param>



        /// <param name="DidInteract">Indicates whether the contact ever connected.</param>



        /// <param name="SipResponseCodes">Indicates SIP Response codes associated with the participant.</param>


        public CallHistoryParticipant(string Id = null, string Name = null, string Address = null, DateTime?StartTime = null, DateTime?EndTime = null, string Purpose = null, DirectionEnum?Direction = null, string Ani = null, string Dnis = null, User User = null, Queue Queue = null, Group Group = null, DisconnectTypeEnum?DisconnectType = null, ExternalContact ExternalContact = null, ExternalOrganization ExternalOrganization = null, bool?DidInteract = null, List <long?> SipResponseCodes = null)
        {
            this.Id = Id;



            this.Name = Name;



            this.Address = Address;



            this.StartTime = StartTime;



            this.EndTime = EndTime;



            this.Purpose = Purpose;



            this.Direction = Direction;



            this.Ani = Ani;



            this.Dnis = Dnis;



            this.User = User;



            this.Queue = Queue;



            this.Group = Group;



            this.DisconnectType = DisconnectType;



            this.ExternalContact = ExternalContact;



            this.ExternalOrganization = ExternalOrganization;



            this.DidInteract = DidInteract;



            this.SipResponseCodes = SipResponseCodes;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="BulkResponseResultExternalContactEntity" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Success">Success.</param>
 /// <param name="Entity">Entity.</param>
 /// <param name="Error">Error.</param>
 public BulkResponseResultExternalContactEntity(string Id = null, bool?Success = null, ExternalContact Entity = null, BulkErrorEntity Error = null)
 {
     this.Id      = Id;
     this.Success = Success;
     this.Entity  = Entity;
     this.Error   = Error;
 }
예제 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BulkErrorExternalContact" /> class.
 /// </summary>
 /// <param name="Code">Code.</param>
 /// <param name="Message">Message.</param>
 /// <param name="Status">Status.</param>
 /// <param name="Retryable">Retryable.</param>
 /// <param name="Entity">Entity.</param>
 /// <param name="Details">Details.</param>
 public BulkErrorExternalContact(string Code = null, string Message = null, int?Status = null, bool?Retryable = null, ExternalContact Entity = null, List <BulkErrorDetail> Details = null)
 {
     this.Code      = Code;
     this.Message   = Message;
     this.Status    = Status;
     this.Retryable = Retryable;
     this.Entity    = Entity;
     this.Details   = Details;
 }