コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LocationDefinition" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="ContactUser">Site contact for the location entity.</param>
 /// <param name="EmergencyNumber">Emergency number for the location entity.</param>
 /// <param name="Address">Address.</param>
 /// <param name="State">Current state of the location entity.</param>
 /// <param name="Notes">Notes for the location entity.</param>
 /// <param name="Version">Current version of the location entity, value to be supplied should be retrieved by a GET or on create/update response.</param>
 /// <param name="Path">A list of ancestor IDs in order.</param>
 /// <param name="ProfileImage">Profile image of the location entity, retrieved with ?expand=images query parameter.</param>
 /// <param name="FloorplanImage">Floorplan images of the location entity, retrieved with ?expand=images query parameter.</param>
 /// <param name="AddressVerificationDetails">Address verification information, retrieve dwith the ?expand=addressVerificationDetails query parameter.</param>
 /// <param name="Images">Images.</param>
 public LocationDefinition(string Name = null, AddressableEntityRef ContactUser = null, LocationEmergencyNumber EmergencyNumber = null, LocationAddress Address = null, StateEnum?State = null, string Notes = null, int?Version = null, List <string> Path = null, List <LocationImage> ProfileImage = null, List <LocationImage> FloorplanImage = null, LocationAddressVerificationDetails AddressVerificationDetails = null, string Images = null)
 {
     this.Name                       = Name;
     this.ContactUser                = ContactUser;
     this.EmergencyNumber            = EmergencyNumber;
     this.Address                    = Address;
     this.State                      = State;
     this.Notes                      = Notes;
     this.Version                    = Version;
     this.Path                       = Path;
     this.ProfileImage               = ProfileImage;
     this.FloorplanImage             = FloorplanImage;
     this.AddressVerificationDetails = AddressVerificationDetails;
     this.Images                     = Images;
 }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ConversationNotificationScreenshare" /> class.
        /// </summary>


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



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



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



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



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



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



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



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



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



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



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



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


        public ConversationNotificationScreenshare(StateEnum?State = null, ConversationNotificationAddress Self = null, string Id = null, string Context = null, bool?Sharing = null, string Provider = null, string ScriptId = null, string PeerId = null, DisconnectTypeEnum?DisconnectType = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, Object AdditionalProperties = null)
        {
            this.State = State;



            this.Self = Self;



            this.Id = Id;



            this.Context = Context;



            this.Sharing = Sharing;



            this.Provider = Provider;



            this.ScriptId = ScriptId;



            this.PeerId = PeerId;



            this.DisconnectType = DisconnectType;



            this.ConnectedTime = ConnectedTime;



            this.DisconnectedTime = DisconnectedTime;



            this.AdditionalProperties = AdditionalProperties;
        }
コード例 #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Video" /> class.
        /// </summary>


        /// <param name="State">The connection state of this communication..</param>



        /// <param name="Id">A globally unique identifier for this communication..</param>



        /// <param name="Context">The room id context (xmpp jid) for the conference session..</param>



        /// <param name="AudioMuted">Indicates whether this participant has muted their outgoing audio..</param>



        /// <param name="VideoMuted">Indicates whether this participant has muted/paused their outgoing video..</param>



        /// <param name="SharingScreen">Indicates whether this participant is sharing their screen to the session..</param>



        /// <param name="PeerCount">The number of peer participants from the perspective of the participant in the conference..</param>



        /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>



        /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>



        /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>



        /// <param name="Provider">The source provider for the video..</param>



        /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>


        public Video(StateEnum?State = null, string Id = null, string Context = null, bool?AudioMuted = null, bool?VideoMuted = null, bool?SharingScreen = null, int?PeerCount = null, DisconnectTypeEnum?DisconnectType = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null, string PeerId = null)
        {
            this.State = State;



            this.Id = Id;



            this.Context = Context;



            this.AudioMuted = AudioMuted;



            this.VideoMuted = VideoMuted;



            this.SharingScreen = SharingScreen;



            this.PeerCount = PeerCount;



            this.DisconnectType = DisconnectType;



            this.ConnectedTime = ConnectedTime;



            this.DisconnectedTime = DisconnectedTime;



            this.Provider = Provider;



            this.PeerId = PeerId;
        }
コード例 #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ConversationNotificationChats" /> class.
        /// </summary>


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



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



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



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



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



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



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



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



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



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



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



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


        public ConversationNotificationChats(StateEnum?State = null, string Id = null, string Provider = null, string ScriptId = null, string PeerId = null, string RoomId = null, bool?Held = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, Object AdditionalProperties = null)
        {
            this.State = State;



            this.Id = Id;



            this.Provider = Provider;



            this.ScriptId = ScriptId;



            this.PeerId = PeerId;



            this.RoomId = RoomId;



            this.Held = Held;



            this.DisconnectType = DisconnectType;



            this.StartHoldTime = StartHoldTime;



            this.ConnectedTime = ConnectedTime;



            this.DisconnectedTime = DisconnectedTime;



            this.AdditionalProperties = AdditionalProperties;
        }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NetworkConnectionSchema" /> class.
 /// </summary>
 /// <param name="address">address.</param>
 /// <param name="connectedAt">connectedAt.</param>
 /// <param name="height">height.</param>
 /// <param name="id">id.</param>
 /// <param name="isTrustedPeer">isTrustedPeer.</param>
 /// <param name="lastReceived">lastReceived.</param>
 /// <param name="lastSent">lastSent.</param>
 /// <param name="listenPort">listenPort.</param>
 /// <param name="mirror">mirror.</param>
 /// <param name="outgoing">outgoing.</param>
 /// <param name="state">state.</param>
 /// <param name="unconfirmedVerifyTransaction">unconfirmedVerifyTransaction.</param>
 /// <param name="userAgent">userAgent.</param>
 public NetworkConnectionSchema(string address = default(string), long?connectedAt = default(long?), long?height = default(long?), long?id = default(long?), bool?isTrustedPeer = default(bool?), long?lastReceived = default(long?), long?lastSent = default(long?), int?listenPort = default(int?), int?mirror = default(int?), bool?outgoing = default(bool?), StateEnum?state = default(StateEnum?), NetworkConnectionSchemaUnconfirmedVerifyTransaction unconfirmedVerifyTransaction = default(NetworkConnectionSchemaUnconfirmedVerifyTransaction), string userAgent = default(string))
 {
     this.Address       = address;
     this.ConnectedAt   = connectedAt;
     this.Height        = height;
     this.Id            = id;
     this.IsTrustedPeer = isTrustedPeer;
     this.LastReceived  = lastReceived;
     this.LastSent      = lastSent;
     this.ListenPort    = listenPort;
     this.Mirror        = mirror;
     this.Outgoing      = outgoing;
     this.State         = state;
     this.UnconfirmedVerifyTransaction = unconfirmedVerifyTransaction;
     this.UserAgent = userAgent;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RecurringPaymentDetails" /> class.
 /// </summary>
 /// <param name="storeId">Store ID number..</param>
 /// <param name="purchaseOrderNumber">Purchase order number..</param>
 /// <param name="invoiceNumber">Invoice number..</param>
 /// <param name="creationDate">Date recurring payment was created..</param>
 /// <param name="startDate">Date of mandate signature..</param>
 /// <param name="nextAttemptDate">Date of next transaction process attempt..</param>
 /// <param name="transactionAmount">transactionAmount.</param>
 /// <param name="paymentMethodDetails">paymentMethodDetails.</param>
 /// <param name="frequency">frequency.</param>
 /// <param name="numberOfPayments">Number of times the recurring payment will process..</param>
 /// <param name="runCount">Times the recurring payment has already run..</param>
 /// <param name="state">State of the recurring payment..</param>
 /// <param name="comments">User supplied comments..</param>
 public RecurringPaymentDetails(string storeId = default(string), string purchaseOrderNumber = default(string), string invoiceNumber = default(string), string creationDate = default(string), string startDate = default(string), string nextAttemptDate = default(string), Amount transactionAmount = default(Amount), PaymentMethodDetails paymentMethodDetails = default(PaymentMethodDetails), Frequency frequency = default(Frequency), int numberOfPayments = default(int), int runCount = default(int), StateEnum?state = null, string comments = default(string))
 {
     this.StoreId              = storeId;
     this.PurchaseOrderNumber  = purchaseOrderNumber;
     this.InvoiceNumber        = invoiceNumber;
     this.CreationDate         = creationDate;
     this.StartDate            = startDate;
     this.NextAttemptDate      = nextAttemptDate;
     this.TransactionAmount    = transactionAmount;
     this.PaymentMethodDetails = paymentMethodDetails;
     this.Frequency            = frequency;
     this.NumberOfPayments     = numberOfPayments;
     this.RunCount             = runCount;
     this.State    = state;
     this.Comments = comments;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="QueueConversationVideoEventTopicChat" /> class.
 /// </summary>
 /// <param name="State">State.</param>
 /// <param name="Id">Id.</param>
 /// <param name="Provider">Provider.</param>
 /// <param name="ScriptId">ScriptId.</param>
 /// <param name="PeerId">PeerId.</param>
 /// <param name="RoomId">RoomId.</param>
 /// <param name="Held">Held.</param>
 /// <param name="DisconnectType">DisconnectType.</param>
 /// <param name="StartHoldTime">StartHoldTime.</param>
 /// <param name="ConnectedTime">ConnectedTime.</param>
 /// <param name="DisconnectedTime">DisconnectedTime.</param>
 /// <param name="JourneyContext">JourneyContext.</param>
 /// <param name="AdditionalProperties">AdditionalProperties.</param>
 public QueueConversationVideoEventTopicChat(StateEnum?State = null, string Id = null, string Provider = null, string ScriptId = null, string PeerId = null, string RoomId = null, bool?Held = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, QueueConversationVideoEventTopicJourneyContext JourneyContext = null, Object AdditionalProperties = null)
 {
     this.State                = State;
     this.Id                   = Id;
     this.Provider             = Provider;
     this.ScriptId             = ScriptId;
     this.PeerId               = PeerId;
     this.RoomId               = RoomId;
     this.Held                 = Held;
     this.DisconnectType       = DisconnectType;
     this.StartHoldTime        = StartHoldTime;
     this.ConnectedTime        = ConnectedTime;
     this.DisconnectedTime     = DisconnectedTime;
     this.JourneyContext       = JourneyContext;
     this.AdditionalProperties = AdditionalProperties;
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Cobrowsesession" /> class.
 /// </summary>
 /// <param name="State">The connection state of this communication..</param>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>
 /// <param name="Self">Address and name data for a call endpoint..</param>
 /// <param name="CobrowseSessionId">The co-browse session ID..</param>
 /// <param name="CobrowseRole">This value identifies the role of the co-browse client within the co-browse session (a client is a sharer or a viewer)..</param>
 /// <param name="Controlling">ID of co-browse participants for which this client has been granted control (list is empty if this client cannot control any shared pages)..</param>
 /// <param name="ViewerUrl">The URL that can be used to open co-browse session in web browser..</param>
 /// <param name="ProviderEventTime">The time when the provider event which triggered this conversation update happened in the corrected provider clock (milliseconds since 1970-01-01 00:00:00 UTC). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Provider">The source provider for the co-browse session..</param>
 /// <param name="Segments">The time line of the participant&#39;s call, divided into activity segments..</param>
 public Cobrowsesession(StateEnum?State = null, string Id = null, DisconnectTypeEnum?DisconnectType = null, Address Self = null, string CobrowseSessionId = null, string CobrowseRole = null, List <string> Controlling = null, string ViewerUrl = null, DateTime?ProviderEventTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null, List <Segment> Segments = null)
 {
     this.State             = State;
     this.Id                = Id;
     this.DisconnectType    = DisconnectType;
     this.Self              = Self;
     this.CobrowseSessionId = CobrowseSessionId;
     this.CobrowseRole      = CobrowseRole;
     this.Controlling       = Controlling;
     this.ViewerUrl         = ViewerUrl;
     this.ProviderEventTime = ProviderEventTime;
     this.ConnectedTime     = ConnectedTime;
     this.DisconnectedTime  = DisconnectedTime;
     this.Provider          = Provider;
     this.Segments          = Segments;
 }
コード例 #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebChatMemberInfo" /> class.
 /// </summary>
 /// <param name="Id">The communicationId of this member..</param>
 /// <param name="DisplayName">The display name of the member..</param>
 /// <param name="FirstName">The first name of the member..</param>
 /// <param name="LastName">The last name of the member..</param>
 /// <param name="Email">The email address of the member..</param>
 /// <param name="PhoneNumber">The phone number of the member..</param>
 /// <param name="AvatarImageUrl">The url to the avatar image of the member..</param>
 /// <param name="Role">The role of the member, one of [agent, customer, acd, workflow] (required).</param>
 /// <param name="JoinDate">The time the member joined the conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="LeaveDate">The time the member left the conversation, or null if the member is still active in the conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="AuthenticatedGuest">If true, the guest member is an authenticated guest..</param>
 /// <param name="CustomFields">Any custom fields of information pertaining to this member..</param>
 /// <param name="State">The connection state of this member..</param>
 public WebChatMemberInfo(string Id = null, string DisplayName = null, string FirstName = null, string LastName = null, string Email = null, string PhoneNumber = null, string AvatarImageUrl = null, RoleEnum?Role = null, DateTime?JoinDate = null, DateTime?LeaveDate = null, bool?AuthenticatedGuest = null, Dictionary <string, string> CustomFields = null, StateEnum?State = null)
 {
     this.Id                 = Id;
     this.DisplayName        = DisplayName;
     this.FirstName          = FirstName;
     this.LastName           = LastName;
     this.Email              = Email;
     this.PhoneNumber        = PhoneNumber;
     this.AvatarImageUrl     = AvatarImageUrl;
     this.Role               = Role;
     this.JoinDate           = JoinDate;
     this.LeaveDate          = LeaveDate;
     this.AuthenticatedGuest = AuthenticatedGuest;
     this.CustomFields       = CustomFields;
     this.State              = State;
 }
コード例 #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SocialExpression" /> class.
 /// </summary>
 /// <param name="State">The connection state of this communication..</param>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="SocialMediaId">A globally unique identifier for the social media..</param>
 /// <param name="SocialMediaHub">The social network of the communication.</param>
 /// <param name="SocialUserName">The user name for the communication..</param>
 /// <param name="PreviewText">The text preview of the communication contents.</param>
 /// <param name="RecordingId">A globally unique identifier for the recording associated with this chat..</param>
 /// <param name="Segments">The time line of the participant&#39;s chat, divided into activity segments..</param>
 /// <param name="Held">True if this call is held and the person on this side hears silence..</param>
 /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>
 /// <param name="StartHoldTime">The timestamp the chat was placed on hold in the cloud clock if the chat is currently on hold. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Provider">The source provider for the social expression..</param>
 public SocialExpression(StateEnum?State = null, string Id = null, string SocialMediaId = null, string SocialMediaHub = null, string SocialUserName = null, string PreviewText = null, string RecordingId = null, List <Segment> Segments = null, bool?Held = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null)
 {
     this.State            = State;
     this.Id               = Id;
     this.SocialMediaId    = SocialMediaId;
     this.SocialMediaHub   = SocialMediaHub;
     this.SocialUserName   = SocialUserName;
     this.PreviewText      = PreviewText;
     this.RecordingId      = RecordingId;
     this.Segments         = Segments;
     this.Held             = Held;
     this.DisconnectType   = DisconnectType;
     this.StartHoldTime    = StartHoldTime;
     this.ConnectedTime    = ConnectedTime;
     this.DisconnectedTime = DisconnectedTime;
     this.Provider         = Provider;
 }
コード例 #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Email" /> class.
 /// </summary>
 /// <param name="State">The connection state of this communication..</param>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="Held">True if this call is held and the person on this side hears silence..</param>
 /// <param name="Subject">The subject for the initial email that started this conversation..</param>
 /// <param name="MessagesSent">The number of email messages sent by this participant..</param>
 /// <param name="Segments">The time line of the participant&#39;s email, divided into activity segments..</param>
 /// <param name="Direction">The direction of the email.</param>
 /// <param name="RecordingId">A globally unique identifier for the recording associated with this call..</param>
 /// <param name="ErrorInfo">ErrorInfo.</param>
 /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>
 /// <param name="StartHoldTime">The timestamp the email was placed on hold in the cloud clock if the email is currently on hold. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Provider">The source provider for the email..</param>
 public Email(StateEnum?State = null, string Id = null, bool?Held = null, string Subject = null, int?MessagesSent = null, List <Segment> Segments = null, DirectionEnum?Direction = null, string RecordingId = null, ErrorBody ErrorInfo = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null)
 {
     this.State            = State;
     this.Id               = Id;
     this.Held             = Held;
     this.Subject          = Subject;
     this.MessagesSent     = MessagesSent;
     this.Segments         = Segments;
     this.Direction        = Direction;
     this.RecordingId      = RecordingId;
     this.ErrorInfo        = ErrorInfo;
     this.DisconnectType   = DisconnectType;
     this.StartHoldTime    = StartHoldTime;
     this.ConnectedTime    = ConnectedTime;
     this.DisconnectedTime = DisconnectedTime;
     this.Provider         = Provider;
 }
コード例 #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OAuthClientListing" /> class.
 /// </summary>
 /// <param name="Name">The name of the OAuth client. (required).</param>
 /// <param name="AccessTokenValiditySeconds">The number of seconds, between 5mins and 48hrs, until tokens created with this client expire. If this field is omitted, a default of 24 hours will be applied..</param>
 /// <param name="Description">Description.</param>
 /// <param name="RegisteredRedirectUri">List of allowed callbacks for this client. For example: https://myap.example.com/auth/callback.</param>
 /// <param name="Secret">System created secret assigned to this client. Secrets are required for code authorization and client credential grants..</param>
 /// <param name="RoleIds">Deprecated. Use roleDivisions instead..</param>
 /// <param name="DateCreated">Date this client was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DateModified">Date this client was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="CreatedBy">User that created this client.</param>
 /// <param name="ModifiedBy">User that last modified this client.</param>
 /// <param name="Scope">The scope requested by this client. Scopes only apply to clients not using the client_credential grant.</param>
 /// <param name="RoleDivisions">Set of roles and their corresponding divisions associated with this client. Roles and divisions only apply to clients using the client_credential grant.</param>
 /// <param name="State">The state of the OAuth client. Active: The OAuth client can be used to create access tokens. This is the default state. Disabled: Access tokens created by the client are invalid and new ones cannot be created. Inactive: Access tokens cannot be created with this OAuth client and it will be deleted..</param>
 /// <param name="DateToDelete">The time at which this client will be deleted. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 public OAuthClientListing(string Name = null, long?AccessTokenValiditySeconds = null, string Description = null, List <string> RegisteredRedirectUri = null, string Secret = null, List <string> RoleIds = null, DateTime?DateCreated = null, DateTime?DateModified = null, DomainEntityRef CreatedBy = null, DomainEntityRef ModifiedBy = null, List <string> Scope = null, List <RoleDivision> RoleDivisions = null, StateEnum?State = null, DateTime?DateToDelete = null)
 {
     this.Name = Name;
     this.AccessTokenValiditySeconds = AccessTokenValiditySeconds;
     this.Description           = Description;
     this.RegisteredRedirectUri = RegisteredRedirectUri;
     this.Secret        = Secret;
     this.RoleIds       = RoleIds;
     this.DateCreated   = DateCreated;
     this.DateModified  = DateModified;
     this.CreatedBy     = CreatedBy;
     this.ModifiedBy    = ModifiedBy;
     this.Scope         = Scope;
     this.RoleDivisions = RoleDivisions;
     this.State         = State;
     this.DateToDelete  = DateToDelete;
 }
コード例 #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationNotificationCobrowsesessions" /> class.
 /// </summary>
 /// <param name="State">State.</param>
 /// <param name="DisconnectType">DisconnectType.</param>
 /// <param name="Id">Id.</param>
 /// <param name="Self">Self.</param>
 /// <param name="RoomId">RoomId.</param>
 /// <param name="CobrowseSessionId">CobrowseSessionId.</param>
 /// <param name="CobrowseRole">CobrowseRole.</param>
 /// <param name="Controlling">Controlling.</param>
 /// <param name="ViewerUrl">ViewerUrl.</param>
 /// <param name="Provider">Provider.</param>
 /// <param name="ProviderEventTime">ProviderEventTime.</param>
 /// <param name="ConnectedTime">ConnectedTime.</param>
 /// <param name="DisconnectedTime">DisconnectedTime.</param>
 /// <param name="AdditionalProperties">AdditionalProperties.</param>
 public ConversationNotificationCobrowsesessions(StateEnum?State = null, DisconnectTypeEnum?DisconnectType = null, string Id = null, ConversationNotificationAddress Self = null, string RoomId = null, string CobrowseSessionId = null, string CobrowseRole = null, List <string> Controlling = null, string ViewerUrl = null, string Provider = null, DateTime?ProviderEventTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, Object AdditionalProperties = null)
 {
     this.State                = State;
     this.DisconnectType       = DisconnectType;
     this.Id                   = Id;
     this.Self                 = Self;
     this.RoomId               = RoomId;
     this.CobrowseSessionId    = CobrowseSessionId;
     this.CobrowseRole         = CobrowseRole;
     this.Controlling          = Controlling;
     this.ViewerUrl            = ViewerUrl;
     this.Provider             = Provider;
     this.ProviderEventTime    = ProviderEventTime;
     this.ConnectedTime        = ConnectedTime;
     this.DisconnectedTime     = DisconnectedTime;
     this.AdditionalProperties = AdditionalProperties;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationNotificationSocialExpression" /> class.
 /// </summary>
 /// <param name="State">State.</param>
 /// <param name="Id">Id.</param>
 /// <param name="SocialMediaId">SocialMediaId.</param>
 /// <param name="SocialMediaHub">SocialMediaHub.</param>
 /// <param name="SocialUserName">SocialUserName.</param>
 /// <param name="PreviewText">PreviewText.</param>
 /// <param name="RecordingId">RecordingId.</param>
 /// <param name="Held">Held.</param>
 /// <param name="Provider">Provider.</param>
 /// <param name="DisconnectType">DisconnectType.</param>
 /// <param name="StartHoldTime">StartHoldTime.</param>
 /// <param name="ConnectedTime">ConnectedTime.</param>
 /// <param name="DisconnectedTime">DisconnectedTime.</param>
 /// <param name="AdditionalProperties">AdditionalProperties.</param>
 public ConversationNotificationSocialExpression(StateEnum?State = null, string Id = null, string SocialMediaId = null, string SocialMediaHub = null, string SocialUserName = null, string PreviewText = null, string RecordingId = null, bool?Held = null, string Provider = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, Object AdditionalProperties = null)
 {
     this.State                = State;
     this.Id                   = Id;
     this.SocialMediaId        = SocialMediaId;
     this.SocialMediaHub       = SocialMediaHub;
     this.SocialUserName       = SocialUserName;
     this.PreviewText          = PreviewText;
     this.RecordingId          = RecordingId;
     this.Held                 = Held;
     this.Provider             = Provider;
     this.DisconnectType       = DisconnectType;
     this.StartHoldTime        = StartHoldTime;
     this.ConnectedTime        = ConnectedTime;
     this.DisconnectedTime     = DisconnectedTime;
     this.AdditionalProperties = AdditionalProperties;
 }
コード例 #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateCampaignPostRequest" /> class.
 /// </summary>
 /// <param name="Description">An optional description of the campaign.</param>
 /// <param name="DeviceFilter">The filter for the devices the campaign is targeting at (required).</param>
 /// <param name="Name">The name for this campaign.</param>
 /// <param name="_Object">The API resource entity.</param>
 /// <param name="RootManifestId">RootManifestId.</param>
 /// <param name="State">The state of the campaign.</param>
 /// <param name="When">The scheduled start time for the update campaign. Not in use..</param>
 public UpdateCampaignPostRequest(string Description = default(string), string DeviceFilter = default(string), string Name = default(string), string _Object = default(string), string RootManifestId = default(string), StateEnum?State = default(StateEnum?), DateTime?When = default(DateTime?))
 {
     // to ensure "DeviceFilter" is required (not null)
     if (DeviceFilter == null)
     {
         throw new InvalidDataException("DeviceFilter is a required property for UpdateCampaignPostRequest and cannot be null");
     }
     else
     {
         this.DeviceFilter = DeviceFilter;
     }
     this.Description    = Description;
     this.Name           = Name;
     this._Object        = _Object;
     this.RootManifestId = RootManifestId;
     this.State          = State;
     this.When           = When;
 }
コード例 #16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QueueConversationEventTopicVideo" /> class.
 /// </summary>
 /// <param name="State">State.</param>
 /// <param name="Self">Self.</param>
 /// <param name="Id">Id.</param>
 /// <param name="Context">Context.</param>
 /// <param name="AudioMuted">AudioMuted.</param>
 /// <param name="VideoMuted">VideoMuted.</param>
 /// <param name="SharingScreen">SharingScreen.</param>
 /// <param name="Provider">Provider.</param>
 /// <param name="ScriptId">ScriptId.</param>
 /// <param name="PeerId">PeerId.</param>
 /// <param name="DisconnectType">DisconnectType.</param>
 /// <param name="ConnectedTime">ConnectedTime.</param>
 /// <param name="DisconnectedTime">DisconnectedTime.</param>
 /// <param name="Msids">Msids.</param>
 /// <param name="AdditionalProperties">AdditionalProperties.</param>
 public QueueConversationEventTopicVideo(StateEnum?State = null, QueueConversationEventTopicAddress Self = null, string Id = null, string Context = null, bool?AudioMuted = null, bool?VideoMuted = null, bool?SharingScreen = null, string Provider = null, string ScriptId = null, string PeerId = null, DisconnectTypeEnum?DisconnectType = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, List <string> Msids = null, Object AdditionalProperties = null)
 {
     this.State                = State;
     this.Self                 = Self;
     this.Id                   = Id;
     this.Context              = Context;
     this.AudioMuted           = AudioMuted;
     this.VideoMuted           = VideoMuted;
     this.SharingScreen        = SharingScreen;
     this.Provider             = Provider;
     this.ScriptId             = ScriptId;
     this.PeerId               = PeerId;
     this.DisconnectType       = DisconnectType;
     this.ConnectedTime        = ConnectedTime;
     this.DisconnectedTime     = DisconnectedTime;
     this.Msids                = Msids;
     this.AdditionalProperties = AdditionalProperties;
 }
コード例 #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Video" /> class.
 /// </summary>
 /// <param name="State">The connection state of this communication..</param>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="Context">The room id context (xmpp jid) for the conference session..</param>
 /// <param name="AudioMuted">Indicates whether this participant has muted their outgoing audio..</param>
 /// <param name="VideoMuted">Indicates whether this participant has muted/paused their outgoing video..</param>
 /// <param name="SharingScreen">Indicates whether this participant is sharing their screen to the session..</param>
 /// <param name="PeerCount">The number of peer participants from the perspective of the participant in the conference..</param>
 /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>
 /// <param name="StartAlertingTime">The timestamp the communication has when it is first put into an alerting state. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Provider">The source provider for the video..</param>
 /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="Msids">List of media stream ids.</param>
 /// <param name="Self">Address and name data for a call endpoint..</param>
 public Video(StateEnum?State = null, string Id = null, string Context = null, bool?AudioMuted = null, bool?VideoMuted = null, bool?SharingScreen = null, int?PeerCount = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartAlertingTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null, string PeerId = null, List <string> Msids = null, Address Self = null)
 {
     this.State             = State;
     this.Id                = Id;
     this.Context           = Context;
     this.AudioMuted        = AudioMuted;
     this.VideoMuted        = VideoMuted;
     this.SharingScreen     = SharingScreen;
     this.PeerCount         = PeerCount;
     this.DisconnectType    = DisconnectType;
     this.StartAlertingTime = StartAlertingTime;
     this.ConnectedTime     = ConnectedTime;
     this.DisconnectedTime  = DisconnectedTime;
     this.Provider          = Provider;
     this.PeerId            = PeerId;
     this.Msids             = Msids;
     this.Self              = Self;
 }
コード例 #18
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Screenshare" /> class.
        /// </summary>


        /// <param name="State">The connection state of this communication..</param>



        /// <param name="Id">A globally unique identifier for this communication..</param>



        /// <param name="Context">The room id context (xmpp jid) for the conference session..</param>



        /// <param name="Sharing">Indicates whether this participant is sharing their screen..</param>



        /// <param name="PeerCount">The number of peer participants from the perspective of the participant in the conference..</param>



        /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>



        /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>



        /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>



        /// <param name="Provider">The source provider for the screen share..</param>



        /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>



        /// <param name="Segments">The time line of the participant&#39;s call, divided into activity segments..</param>


        public Screenshare(StateEnum?State = null, string Id = null, string Context = null, bool?Sharing = null, int?PeerCount = null, DisconnectTypeEnum?DisconnectType = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null, string PeerId = null, List <Segment> Segments = null)
        {
            this.State = State;



            this.Id = Id;



            this.Context = Context;



            this.Sharing = Sharing;



            this.PeerCount = PeerCount;



            this.DisconnectType = DisconnectType;



            this.ConnectedTime = ConnectedTime;



            this.DisconnectedTime = DisconnectedTime;



            this.Provider = Provider;



            this.PeerId = PeerId;



            this.Segments = Segments;
        }
コード例 #19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="KapiPresenceDialog" /> class.
 /// </summary>
 /// <param name="callCookie">callCookie.</param>
 /// <param name="callID">callID.</param>
 /// <param name="direction">direction.</param>
 /// <param name="eventCategory">eventCategory.</param>
 /// <param name="eventName">eventName.</param>
 /// <param name="eventPackage">eventPackage.</param>
 /// <param name="expires">expires.</param>
 /// <param name="flushLevel">flushLevel.</param>
 /// <param name="from">from (required).</param>
 /// <param name="fromRealm">fromRealm.</param>
 /// <param name="fromTag">fromTag.</param>
 /// <param name="fromURI">fromURI.</param>
 /// <param name="fromUser">fromUser.</param>
 /// <param name="presenceID">presenceID.</param>
 /// <param name="presentity">presentity.</param>
 /// <param name="presentityRealm">presentityRealm.</param>
 /// <param name="presentityUser">presentityUser.</param>
 /// <param name="state">state.</param>
 /// <param name="switchURI">switchURI.</param>
 /// <param name="targetCallID">targetCallID.</param>
 /// <param name="to">to (required).</param>
 /// <param name="toRealm">toRealm.</param>
 /// <param name="toTag">toTag.</param>
 /// <param name="toURI">toURI.</param>
 /// <param name="toUser">toUser.</param>
 public KapiPresenceDialog(string callCookie = default(string), string callID = default(string), string direction = default(string), EventCategoryEnum?eventCategory = default(EventCategoryEnum?), EventNameEnum?eventName = default(EventNameEnum?), string eventPackage = default(string), string expires = default(string), string flushLevel = default(string), string from = default(string), string fromRealm = default(string), string fromTag = default(string), string fromURI = default(string), string fromUser = default(string), string presenceID = default(string), string presentity = default(string), string presentityRealm = default(string), string presentityUser = default(string), StateEnum?state = default(StateEnum?), string switchURI = default(string), string targetCallID = default(string), string to = default(string), string toRealm = default(string), string toTag = default(string), string toURI = default(string), string toUser = default(string))
 {
     // to ensure "from" is required (not null)
     if (from == null)
     {
         throw new InvalidDataException("from is a required property for KapiPresenceDialog and cannot be null");
     }
     else
     {
         this.From = from;
     }
     // to ensure "to" is required (not null)
     if (to == null)
     {
         throw new InvalidDataException("to is a required property for KapiPresenceDialog and cannot be null");
     }
     else
     {
         this.To = to;
     }
     this.CallCookie      = callCookie;
     this.CallID          = callID;
     this.Direction       = direction;
     this.EventCategory   = eventCategory;
     this.EventName       = eventName;
     this.EventPackage    = eventPackage;
     this.Expires         = expires;
     this.FlushLevel      = flushLevel;
     this.FromRealm       = fromRealm;
     this.FromTag         = fromTag;
     this.FromURI         = fromURI;
     this.FromUser        = fromUser;
     this.PresenceID      = presenceID;
     this.Presentity      = presentity;
     this.PresentityRealm = presentityRealm;
     this.PresentityUser  = presentityUser;
     this.State           = state;
     this.SwitchURI       = switchURI;
     this.TargetCallID    = targetCallID;
     this.ToRealm         = toRealm;
     this.ToTag           = toTag;
     this.ToURI           = toURI;
     this.ToUser          = toUser;
 }
コード例 #20
0
        /// <summary>
        /// Initializes a new instance of the <see cref="GroupUpdate" /> class.
        /// </summary>



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



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



        /// <param name="State">State of the group..</param>



        /// <param name="Version">Current version for this resource. (required).</param>



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



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



        /// <param name="RulesVisible">Are membership rules visible to the person requesting to view the group.</param>



        /// <param name="Visibility">Who can view this group.</param>



        /// <param name="OwnerIds">Owners of the group.</param>



        public GroupUpdate(string Name = null, string Description = null, StateEnum?State = null, int?Version = null, List <UserImage> Images = null, List <GroupContact> Addresses = null, bool?RulesVisible = null, VisibilityEnum?Visibility = null, List <string> OwnerIds = null)
        {
            // to ensure "Version" is required (not null)
            if (Version == null)
            {
                throw new InvalidDataException("Version is a required property for GroupUpdate and cannot be null");
            }
            else
            {
                this.Version = Version;
            }



            this.Name = Name;



            this.Description = Description;



            this.State = State;



            this.Images = Images;



            this.Addresses = Addresses;



            this.RulesVisible = RulesVisible;



            this.Visibility = Visibility;



            this.OwnerIds = OwnerIds;
        }
コード例 #21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NewCustomerSession" /> class.
 /// </summary>
 /// <param name="profileId">ID of the customers profile as used within this Talon.One account. May be omitted or set to the empty string if the customer does not yet have a known profile ID..</param>
 /// <param name="coupon">Any coupon code entered..</param>
 /// <param name="referral">Any referral code entered..</param>
 /// <param name="state">Indicates the current state of the session. All sessions must start in the \&quot;open\&quot; state, after which valid transitions are...  1. open -&gt; closed 2. open -&gt; cancelled 3. closed -&gt; cancelled  (default to StateEnum.Open).</param>
 /// <param name="cartItems">Serialized JSON representation..</param>
 /// <param name="identifiers">Identifiers for the customer, this can be used for limits on values such as device ID..</param>
 /// <param name="total">The total sum of the cart in one session..</param>
 /// <param name="attributes">A key-value map of the sessions attributes. The potentially valid attributes are configured in your accounts developer settings. .</param>
 public NewCustomerSession(string profileId = default(string), string coupon = default(string), string referral = default(string), StateEnum?state = StateEnum.Open, List <CartItem> cartItems = default(List <CartItem>), List <string> identifiers = default(List <string>), decimal total = default(decimal), Object attributes = default(Object))
 {
     this.ProfileId = profileId;
     this.Coupon    = coupon;
     this.Referral  = referral;
     // use default value if no "state" provided
     if (state == null)
     {
         this.State = StateEnum.Open;
     }
     else
     {
         this.State = state;
     }
     this.CartItems   = cartItems;
     this.Identifiers = identifiers;
     this.Total       = total;
     this.Attributes  = attributes;
 }
コード例 #22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationEventTopicScreenshare" /> class.
 /// </summary>
 /// <param name="State">State.</param>
 /// <param name="InitialState">InitialState.</param>
 /// <param name="Self">Address and name data for a call endpoint..</param>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="Context">The room id context (xmpp jid) for the conference session..</param>
 /// <param name="Sharing">Indicates whether this participant is sharing their screen to the session..</param>
 /// <param name="Provider">The source provider of the screen share..</param>
 /// <param name="ScriptId">The UUID of the script to use..</param>
 /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="PeerCount">The number of peer participants from the perspective of the participant in the conference..</param>
 /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock..</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock..</param>
 /// <param name="Wrapup">Call wrap up or disposition data..</param>
 /// <param name="AfterCallWork">A communication's after-call work data..</param>
 /// <param name="AfterCallWorkRequired">Indicates if after-call is required for a communication. Only used when the ACW Setting is Agent Requested..</param>
 public ConversationEventTopicScreenshare(StateEnum?State = null, InitialStateEnum?InitialState = null, ConversationEventTopicAddress Self = null, string Id = null, string Context = null, bool?Sharing = null, string Provider = null, string ScriptId = null, string PeerId = null, Object PeerCount = null, DisconnectTypeEnum?DisconnectType = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, ConversationEventTopicWrapup Wrapup = null, ConversationEventTopicAfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null)
 {
     this.State                 = State;
     this.InitialState          = InitialState;
     this.Self                  = Self;
     this.Id                    = Id;
     this.Context               = Context;
     this.Sharing               = Sharing;
     this.Provider              = Provider;
     this.ScriptId              = ScriptId;
     this.PeerId                = PeerId;
     this.PeerCount             = PeerCount;
     this.DisconnectType        = DisconnectType;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
 }
コード例 #23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AlertDto" /> class.
 /// </summary>
 /// <param name="NotificationName">The name of a specific type of notification, e.g. Robot.StatusChanged.NotResponding..</param>
 /// <param name="Data">Stores data about the context in which the event occurred, in JSON format..</param>
 /// <param name="Component">The component that raised the alert..</param>
 /// <param name="Severity">The severity level of the alert. (required).</param>
 /// <param name="CreationTime">The date and time when the alert was generated..</param>
 /// <param name="State">Defines if a specified notification has been read or not.  &lt;para /&gt;Members: Unread (0) - the specified notification has not been marked as read; Read (1) - the specified notification has been marked as read..</param>
 /// <param name="UserNotificationId">The database unique identifier for the alert notification sent to the current user..</param>
 /// <param name="Id">Id.</param>
 public AlertDto(string NotificationName = default(string), string Data = default(string), ComponentEnum?Component = default(ComponentEnum?), SeverityEnum Severity = default(SeverityEnum), DateTime?CreationTime = default(DateTime?), StateEnum?State = default(StateEnum?), Guid?UserNotificationId = default(Guid?), Guid?Id = default(Guid?))
 {
     // to ensure "Severity" is required (not null)
     if (Severity == null)
     {
         throw new InvalidDataException("Severity is a required property for AlertDto and cannot be null");
     }
     else
     {
         this.Severity = Severity;
     }
     this.NotificationName   = NotificationName;
     this.Data               = Data;
     this.Component          = Component;
     this.CreationTime       = CreationTime;
     this.State              = State;
     this.UserNotificationId = UserNotificationId;
     this.Id = Id;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="QueueConversationSocialExpressionEventTopicCobrowse" /> class.
 /// </summary>
 /// <param name="State">State.</param>
 /// <param name="DisconnectType">DisconnectType.</param>
 /// <param name="Id">Id.</param>
 /// <param name="Self">Self.</param>
 /// <param name="RoomId">RoomId.</param>
 /// <param name="CobrowseSessionId">CobrowseSessionId.</param>
 /// <param name="CobrowseRole">CobrowseRole.</param>
 /// <param name="Controlling">Controlling.</param>
 /// <param name="ViewerUrl">ViewerUrl.</param>
 /// <param name="Provider">Provider.</param>
 /// <param name="ScriptId">ScriptId.</param>
 /// <param name="PeerId">PeerId.</param>
 /// <param name="ProviderEventTime">ProviderEventTime.</param>
 /// <param name="ConnectedTime">ConnectedTime.</param>
 /// <param name="DisconnectedTime">DisconnectedTime.</param>
 /// <param name="AdditionalProperties">AdditionalProperties.</param>
 public QueueConversationSocialExpressionEventTopicCobrowse(StateEnum?State = null, DisconnectTypeEnum?DisconnectType = null, string Id = null, QueueConversationSocialExpressionEventTopicAddress Self = null, string RoomId = null, string CobrowseSessionId = null, string CobrowseRole = null, List <string> Controlling = null, string ViewerUrl = null, string Provider = null, string ScriptId = null, string PeerId = null, DateTime?ProviderEventTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, Object AdditionalProperties = null)
 {
     this.State                = State;
     this.DisconnectType       = DisconnectType;
     this.Id                   = Id;
     this.Self                 = Self;
     this.RoomId               = RoomId;
     this.CobrowseSessionId    = CobrowseSessionId;
     this.CobrowseRole         = CobrowseRole;
     this.Controlling          = Controlling;
     this.ViewerUrl            = ViewerUrl;
     this.Provider             = Provider;
     this.ScriptId             = ScriptId;
     this.PeerId               = PeerId;
     this.ProviderEventTime    = ProviderEventTime;
     this.ConnectedTime        = ConnectedTime;
     this.DisconnectedTime     = DisconnectedTime;
     this.AdditionalProperties = AdditionalProperties;
 }
コード例 #25
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationChat" /> class.
 /// </summary>
 /// <param name="State">The connection state of this communication..</param>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="RoomId">The room id for the chat..</param>
 /// <param name="RecordingId">A globally unique identifier for the recording associated with this chat..</param>
 /// <param name="Segments">The time line of the participant&#39;s chat, divided into activity segments..</param>
 /// <param name="Held">True if this call is held and the person on this side hears silence..</param>
 /// <param name="Direction">The direction of the chat.</param>
 /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>
 /// <param name="StartHoldTime">The timestamp the chat was placed on hold in the cloud clock if the chat is currently on hold. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="StartAlertingTime">The timestamp the communication has when it is first put into an alerting state. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Provider">The source provider for the email..</param>
 /// <param name="ScriptId">The UUID of the script to use..</param>
 /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="JourneyContext">A subset of the Journey System&#39;s data relevant to a part of a conversation (for external linkage and internal usage/context)..</param>
 public ConversationChat(StateEnum?State = null, string Id = null, string RoomId = null, string RecordingId = null, List <Segment> Segments = null, bool?Held = null, DirectionEnum?Direction = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?StartAlertingTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null, string ScriptId = null, string PeerId = null, JourneyContext JourneyContext = null)
 {
     this.State             = State;
     this.Id                = Id;
     this.RoomId            = RoomId;
     this.RecordingId       = RecordingId;
     this.Segments          = Segments;
     this.Held              = Held;
     this.Direction         = Direction;
     this.DisconnectType    = DisconnectType;
     this.StartHoldTime     = StartHoldTime;
     this.StartAlertingTime = StartAlertingTime;
     this.ConnectedTime     = ConnectedTime;
     this.DisconnectedTime  = DisconnectedTime;
     this.Provider          = Provider;
     this.ScriptId          = ScriptId;
     this.PeerId            = PeerId;
     this.JourneyContext    = JourneyContext;
 }
コード例 #26
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuScheduleRun" /> class.
 /// </summary>
 /// <param name="SchedulerRunId">The scheduler run ID.  Reference this value for support.</param>
 /// <param name="IntradayRescheduling">Whether this is an intraday rescheduling run.</param>
 /// <param name="State">The state of the generation run.</param>
 /// <param name="WeekCount">The number of weeks spanned by the schedule.</param>
 /// <param name="PercentComplete">Percent completion of the schedule run.</param>
 /// <param name="TargetWeek">The start date of the target week. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd.</param>
 /// <param name="Schedule">The generated schedule.  Null unless the schedule run is complete.</param>
 /// <param name="ScheduleDescription">The description of the generated schedule.</param>
 /// <param name="SchedulingStartTime">When the schedule generation run started. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="SchedulingStartedBy">The user who started the scheduling run.</param>
 /// <param name="SchedulingCanceledBy">The user who canceled the scheduling run, if applicable.</param>
 /// <param name="SchedulingCompletedTime">When the scheduling run was completed, if applicable. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="MessageCount">The number of schedule generation messages for this schedule generation run.</param>
 /// <param name="MessageSeverityCounts">The list of schedule generation message counts by severity for this schedule generation run.</param>
 /// <param name="ReschedulingOptions">Rescheduling options for this run.  Null unless intradayRescheduling is true.</param>
 /// <param name="ReschedulingResultExpiration">When the reschedule result will expire.  Null unless intradayRescheduling is true. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 public BuScheduleRun(string SchedulerRunId = null, bool?IntradayRescheduling = null, StateEnum?State = null, int?WeekCount = null, double?PercentComplete = null, String TargetWeek = null, BuScheduleReference Schedule = null, string ScheduleDescription = null, DateTime?SchedulingStartTime = null, UserReference SchedulingStartedBy = null, UserReference SchedulingCanceledBy = null, DateTime?SchedulingCompletedTime = null, int?MessageCount = null, List <SchedulerMessageSeverityCount> MessageSeverityCounts = null, ReschedulingOptionsRunResponse ReschedulingOptions = null, DateTime?ReschedulingResultExpiration = null)
 {
     this.SchedulerRunId       = SchedulerRunId;
     this.IntradayRescheduling = IntradayRescheduling;
     this.State                        = State;
     this.WeekCount                    = WeekCount;
     this.PercentComplete              = PercentComplete;
     this.TargetWeek                   = TargetWeek;
     this.Schedule                     = Schedule;
     this.ScheduleDescription          = ScheduleDescription;
     this.SchedulingStartTime          = SchedulingStartTime;
     this.SchedulingStartedBy          = SchedulingStartedBy;
     this.SchedulingCanceledBy         = SchedulingCanceledBy;
     this.SchedulingCompletedTime      = SchedulingCompletedTime;
     this.MessageCount                 = MessageCount;
     this.MessageSeverityCounts        = MessageSeverityCounts;
     this.ReschedulingOptions          = ReschedulingOptions;
     this.ReschedulingResultExpiration = ReschedulingResultExpiration;
 }
コード例 #27
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NewCustomerSessionV2" /> class.
 /// </summary>
 /// <param name="profileId">ID of the customers profile as used within this Talon.One account. May be omitted or set to the empty string if the customer does not yet have a known profile ID..</param>
 /// <param name="couponCodes">Any coupon codes entered..</param>
 /// <param name="referralCode">Any referral code entered..</param>
 /// <param name="state">Indicates the current state of the session. All sessions must start in the \&quot;open\&quot; state, after which valid transitions are...  1. open -&gt; closed 2. open -&gt; cancelled 3. closed -&gt; cancelled  (default to StateEnum.Open).</param>
 /// <param name="cartItems">All items the customer will be purchasing in this session.</param>
 /// <param name="additionalCosts">Any costs associated with the session that can not be explicitly attributed to cart items. Examples include shipping costs and service fees..</param>
 /// <param name="identifiers">Identifiers for the customer, this can be used for limits on values such as device ID..</param>
 /// <param name="attributes">A key-value map of the sessions attributes. The potentially valid attributes are configured in your accounts developer settings. .</param>
 public NewCustomerSessionV2(string profileId = default(string), List <string> couponCodes = default(List <string>), string referralCode = default(string), StateEnum?state = StateEnum.Open, List <CartItem> cartItems = default(List <CartItem>), Dictionary <string, AdditionalCost> additionalCosts = default(Dictionary <string, AdditionalCost>), List <string> identifiers = default(List <string>), Object attributes = default(Object))
 {
     this.ProfileId    = profileId;
     this.CouponCodes  = couponCodes;
     this.ReferralCode = referralCode;
     // use default value if no "state" provided
     if (state == null)
     {
         this.State = StateEnum.Open;
     }
     else
     {
         this.State = state;
     }
     this.CartItems       = cartItems;
     this.AdditionalCosts = additionalCosts;
     this.Identifiers     = identifiers;
     this.Attributes      = attributes;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SchedulingRunResponse" /> class.
 /// </summary>
 /// <param name="RunId">ID of the schedule run.</param>
 /// <param name="SchedulerRunId">The runId from scheduler service.  Useful for debugging schedule errors.</param>
 /// <param name="IntradayRescheduling">Whether this is the result of a rescheduling request.</param>
 /// <param name="State">Status of the schedule run.</param>
 /// <param name="PercentComplete">Completion percentage of the schedule run.</param>
 /// <param name="TargetWeek">The start date of the week for which the scheduling is done in yyyy-MM-dd format.</param>
 /// <param name="ScheduleId">ID of the schedule. Does not apply to reschedule, see reschedulingOptions.existingScheduleId.</param>
 /// <param name="ScheduleDescription">Description of the schedule.</param>
 /// <param name="SchedulingStartTime">Start time of the schedule run. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="SchedulingStartedBy">User that started the schedule run.</param>
 /// <param name="SchedulingCanceledBy">User that canceled the schedule run.</param>
 /// <param name="SchedulingCompletedTime">Time at which the scheduling run was completed. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ReschedulingOptions">The selected options for the reschedule request. Will always be null if intradayRescheduling is false.</param>
 /// <param name="ReschedulingResultExpiration">When the rescheduling result data will expire. Results are kept temporarily as they should be applied as soon as possible after the run finishes.  Will always be null if intradayRescheduling is false. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Applied">Whether the rescheduling run has been marked applied.</param>
 /// <param name="UnscheduledAgents">Agents that were not scheduled in the rescheduling operation. Will always be null if intradayRescheduling is false.</param>
 public SchedulingRunResponse(string RunId = null, string SchedulerRunId = null, bool?IntradayRescheduling = null, StateEnum?State = null, double?PercentComplete = null, string TargetWeek = null, string ScheduleId = null, string ScheduleDescription = null, DateTime?SchedulingStartTime = null, UserReference SchedulingStartedBy = null, UserReference SchedulingCanceledBy = null, DateTime?SchedulingCompletedTime = null, ReschedulingOptionsResponse ReschedulingOptions = null, DateTime?ReschedulingResultExpiration = null, bool?Applied = null, List <UnscheduledAgentWarning> UnscheduledAgents = null)
 {
     this.RunId                        = RunId;
     this.SchedulerRunId               = SchedulerRunId;
     this.IntradayRescheduling         = IntradayRescheduling;
     this.State                        = State;
     this.PercentComplete              = PercentComplete;
     this.TargetWeek                   = TargetWeek;
     this.ScheduleId                   = ScheduleId;
     this.ScheduleDescription          = ScheduleDescription;
     this.SchedulingStartTime          = SchedulingStartTime;
     this.SchedulingStartedBy          = SchedulingStartedBy;
     this.SchedulingCanceledBy         = SchedulingCanceledBy;
     this.SchedulingCompletedTime      = SchedulingCompletedTime;
     this.ReschedulingOptions          = ReschedulingOptions;
     this.ReschedulingResultExpiration = ReschedulingResultExpiration;
     this.Applied                      = Applied;
     this.UnscheduledAgents            = UnscheduledAgents;
 }
コード例 #29
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Screenshare" /> class.
 /// </summary>
 /// <param name="State">The connection state of this communication..</param>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="Context">The room id context (xmpp jid) for the conference session..</param>
 /// <param name="Sharing">Indicates whether this participant is sharing their screen..</param>
 /// <param name="PeerCount">The number of peer participants from the perspective of the participant in the conference..</param>
 /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>
 /// <param name="StartAlertingTime">The timestamp the communication has when it is first put into an alerting state. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="Provider">The source provider for the screen share..</param>
 /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="Segments">The time line of the participant's call, divided into activity segments..</param>
 /// <param name="Wrapup">Call wrap up or disposition data..</param>
 /// <param name="AfterCallWork">After-call work for the communication..</param>
 /// <param name="AfterCallWorkRequired">Indicates if after-call work is required for a communication. Only used when the ACW Setting is Agent Requested..</param>
 /// <param name="InitialState">The initial connection state of this communication..</param>
 public Screenshare(StateEnum?State = null, string Id = null, string Context = null, bool?Sharing = null, int?PeerCount = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartAlertingTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null, string PeerId = null, List <Segment> Segments = null, Wrapup Wrapup = null, AfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null, InitialStateEnum?InitialState = null)
 {
     this.State                 = State;
     this.Id                    = Id;
     this.Context               = Context;
     this.Sharing               = Sharing;
     this.PeerCount             = PeerCount;
     this.DisconnectType        = DisconnectType;
     this.StartAlertingTime     = StartAlertingTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.Provider              = Provider;
     this.PeerId                = PeerId;
     this.Segments              = Segments;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
     this.InitialState          = InitialState;
 }
コード例 #30
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateCampaign" /> class.
 /// </summary>
 /// <param name="AutostopReason">Text description of why a campaign failed to start or why a campaign stopped..</param>
 /// <param name="CreatedAt">The time the update campaign was created.</param>
 /// <param name="Description">An optional description of the campaign.</param>
 /// <param name="DeviceFilter">The filter for the devices the campaign is targeting at.</param>
 /// <param name="Etag">The entity instance signature.</param>
 /// <param name="Finished">The campaign finish timestamp.</param>
 /// <param name="HealthIndicator">An indication to the condition of the campaign..</param>
 /// <param name="Id">The campaign ID.</param>
 /// <param name="Name">The campaign name.</param>
 /// <param name="_Object">The API resource entity.</param>
 /// <param name="RootManifestId">RootManifestId.</param>
 /// <param name="RootManifestUrl">RootManifestUrl.</param>
 /// <param name="StartedAt">StartedAt.</param>
 /// <param name="State">The state of the campaign.</param>
 /// <param name="UpdatedAt">The time the object was updated.</param>
 /// <param name="When">The scheduled start time for the campaign. The campaign will start within 1 minute when then start time has elapsed..</param>
 public UpdateCampaign(string AutostopReason = default(string), DateTime?CreatedAt = default(DateTime?), string Description = default(string), string DeviceFilter = default(string), string Etag = default(string), DateTime?Finished = default(DateTime?), HealthIndicatorEnum?HealthIndicator = default(HealthIndicatorEnum?), string Id = default(string), string Name = default(string), string _Object = default(string), string RootManifestId = default(string), string RootManifestUrl = default(string), DateTime?StartedAt = default(DateTime?), StateEnum?State = default(StateEnum?), DateTime?UpdatedAt = default(DateTime?), DateTime?When = default(DateTime?))
 {
     this.AutostopReason  = AutostopReason;
     this.CreatedAt       = CreatedAt;
     this.Description     = Description;
     this.DeviceFilter    = DeviceFilter;
     this.Etag            = Etag;
     this.Finished        = Finished;
     this.HealthIndicator = HealthIndicator;
     this.Id              = Id;
     this.Name            = Name;
     this._Object         = _Object;
     this.RootManifestId  = RootManifestId;
     this.RootManifestUrl = RootManifestUrl;
     this.StartedAt       = StartedAt;
     this.State           = State;
     this.UpdatedAt       = UpdatedAt;
     this.When            = When;
 }