Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Campaign" /> class.
 /// </summary>
 /// <param name="Name">The name of the Campaign. (required).</param>
 /// <param name="Version">Required for updates, must match the version number of the most recent update.</param>
 /// <param name="ContactList">The ContactList for this Campaign to dial. (required).</param>
 /// <param name="Queue">The Queue for this Campaign to route calls to. Required for all dialing modes except agentless..</param>
 /// <param name="DialingMode">The strategy this Campaign will use for dialing. (required).</param>
 /// <param name="Script">The Script to be displayed to agents that are handling outbound calls. Required for all dialing modes except agentless..</param>
 /// <param name="EdgeGroup">The EdgeGroup that will place the calls. Required for all dialing modes except preview..</param>
 /// <param name="Site">The identifier of the site to be used for dialing; can be set in place of an edge group..</param>
 /// <param name="CampaignStatus">The current status of the Campaign. A Campaign may be turned 'on' or 'off'. Required for updates..</param>
 /// <param name="PhoneColumns">The ContactPhoneNumberColumns on the ContactList that this Campaign should dial. (required).</param>
 /// <param name="AbandonRate">The targeted abandon rate percentage. Required for progressive, power, and predictive campaigns..</param>
 /// <param name="DncLists">DncLists for this Campaign to check before placing a call..</param>
 /// <param name="CallableTimeSet">The callable time set for this campaign to check before placing a call..</param>
 /// <param name="CallAnalysisResponseSet">The call analysis response set to handle call analysis results from the edge. Required for all dialing modes except preview..</param>
 /// <param name="CallerName">The caller id name to be displayed on the outbound call. (required).</param>
 /// <param name="CallerAddress">The caller id phone number to be displayed on the outbound call. (required).</param>
 /// <param name="OutboundLineCount">The number of outbound lines to be concurrently dialed. Only applicable to non-preview campaigns; only required for agentless..</param>
 /// <param name="RuleSets">Rule sets to be applied while this campaign is dialing..</param>
 /// <param name="SkipPreviewDisabled">Whether or not agents can skip previews without placing a call. Only applicable for preview campaigns..</param>
 /// <param name="PreviewTimeOutSeconds">The number of seconds before a call will be automatically placed on a preview. A value of 0 indicates no automatic placement of calls. Only applicable to preview campaigns..</param>
 /// <param name="AlwaysRunning">Indicates (when true) that the campaign will remain on after contacts are depleted, allowing additional contacts to be appended/added to the contact list and processed by the still-running campaign. The campaign can still be turned off manually..</param>
 /// <param name="ContactSort">The order in which to sort contacts for dialing, based on a column..</param>
 /// <param name="ContactSorts">The order in which to sort contacts for dialing, based on up to four columns..</param>
 /// <param name="NoAnswerTimeout">How long to wait before dispositioning a call as 'no-answer'. Default 30 seconds. Only applicable to non-preview campaigns..</param>
 /// <param name="CallAnalysisLanguage">The language the edge will use to analyze the call..</param>
 /// <param name="Priority">The priority of this campaign relative to other campaigns that are running on the same queue. 5 is the highest priority, 1 the lowest..</param>
 /// <param name="ContactListFilters">Filter to apply to the contact list before dialing. Currently a campaign can only have one filter applied..</param>
 /// <param name="Division">The division this campaign belongs to..</param>
 public Campaign(string Name = null, int?Version = null, DomainEntityRef ContactList = null, DomainEntityRef Queue = null, DialingModeEnum?DialingMode = null, DomainEntityRef Script = null, DomainEntityRef EdgeGroup = null, DomainEntityRef Site = null, CampaignStatusEnum?CampaignStatus = null, List <PhoneColumn> PhoneColumns = null, double?AbandonRate = null, List <DomainEntityRef> DncLists = null, DomainEntityRef CallableTimeSet = null, DomainEntityRef CallAnalysisResponseSet = null, string CallerName = null, string CallerAddress = null, int?OutboundLineCount = null, List <DomainEntityRef> RuleSets = null, bool?SkipPreviewDisabled = null, long?PreviewTimeOutSeconds = null, bool?AlwaysRunning = null, ContactSort ContactSort = null, List <ContactSort> ContactSorts = null, int?NoAnswerTimeout = null, string CallAnalysisLanguage = null, int?Priority = null, List <DomainEntityRef> ContactListFilters = null, DomainEntityRef Division = null)
 {
     this.Name                    = Name;
     this.Version                 = Version;
     this.ContactList             = ContactList;
     this.Queue                   = Queue;
     this.DialingMode             = DialingMode;
     this.Script                  = Script;
     this.EdgeGroup               = EdgeGroup;
     this.Site                    = Site;
     this.CampaignStatus          = CampaignStatus;
     this.PhoneColumns            = PhoneColumns;
     this.AbandonRate             = AbandonRate;
     this.DncLists                = DncLists;
     this.CallableTimeSet         = CallableTimeSet;
     this.CallAnalysisResponseSet = CallAnalysisResponseSet;
     this.CallerName              = CallerName;
     this.CallerAddress           = CallerAddress;
     this.OutboundLineCount       = OutboundLineCount;
     this.RuleSets                = RuleSets;
     this.SkipPreviewDisabled     = SkipPreviewDisabled;
     this.PreviewTimeOutSeconds   = PreviewTimeOutSeconds;
     this.AlwaysRunning           = AlwaysRunning;
     this.ContactSort             = ContactSort;
     this.ContactSorts            = ContactSorts;
     this.NoAnswerTimeout         = NoAnswerTimeout;
     this.CallAnalysisLanguage    = CallAnalysisLanguage;
     this.Priority                = Priority;
     this.ContactListFilters      = ContactListFilters;
     this.Division                = Division;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DocumentUpload" /> class.
 /// </summary>
 /// <param name="Name">The name of the document (required).</param>
 /// <param name="Workspace">The workspace the document will be uploaded to (required).</param>
 /// <param name="Tags">Tags.</param>
 /// <param name="TagIds">TagIds.</param>
 public DocumentUpload(string Name = null, DomainEntityRef Workspace = null, List <string> Tags = null, List <string> TagIds = null)
 {
     this.Name      = Name;
     this.Workspace = Workspace;
     this.Tags      = Tags;
     this.TagIds    = TagIds;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LockInfo" /> class.
 /// </summary>
 /// <param name="LockedBy">LockedBy.</param>
 /// <param name="DateCreated">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DateExpires">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Action">Action.</param>
 public LockInfo(DomainEntityRef LockedBy = null, DateTime?DateCreated = null, DateTime?DateExpires = null, ActionEnum?Action = null)
 {
     this.LockedBy    = LockedBy;
     this.DateCreated = DateCreated;
     this.DateExpires = DateExpires;
     this.Action      = Action;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CallableContactsDiagnostic" /> class.
 /// </summary>
 /// <param name="AttemptLimits">Attempt limits for the campaign&#39;s contact list.</param>
 /// <param name="DncLists">Do not call lists for the campaign.</param>
 /// <param name="CallableTimeSet">Callable time sets for the campaign.</param>
 /// <param name="RuleSets">Rule sets for the campaign.</param>
 public CallableContactsDiagnostic(DomainEntityRef AttemptLimits = null, List <DomainEntityRef> DncLists = null, DomainEntityRef CallableTimeSet = null, List <DomainEntityRef> RuleSets = null)
 {
     this.AttemptLimits   = AttemptLimits;
     this.DncLists        = DncLists;
     this.CallableTimeSet = CallableTimeSet;
     this.RuleSets        = RuleSets;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EmailConfig" /> class.
 /// </summary>
 /// <param name="EmailColumns">The contact list columns specifying the email address(es) of the contact. (required).</param>
 /// <param name="ContentTemplate">The content template used to formulate the email to send to the contact..</param>
 /// <param name="FromAddress">The email address that will be used as the sender of the email. (required).</param>
 /// <param name="ReplyToAddress">The email address from which any reply will be sent..</param>
 public EmailConfig(List <string> EmailColumns = null, DomainEntityRef ContentTemplate = null, FromEmailAddress FromAddress = null, ReplyToEmailAddress ReplyToAddress = null)
 {
     this.EmailColumns    = EmailColumns;
     this.ContentTemplate = ContentTemplate;
     this.FromAddress     = FromAddress;
     this.ReplyToAddress  = ReplyToAddress;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContactListFilter" /> class.
 /// </summary>
 /// <param name="Name">The name of the list. (required).</param>
 /// <param name="Version">Required for updates, must match the version number of the most recent update.</param>
 /// <param name="ContactList">The contact list the filter is based on. (required).</param>
 /// <param name="Clauses">Groups of conditions to filter the contacts by..</param>
 /// <param name="FilterType">How to join clauses together..</param>
 public ContactListFilter(string Name = null, int?Version = null, DomainEntityRef ContactList = null, List <ContactListFilterClause> Clauses = null, FilterTypeEnum?FilterType = null)
 {
     this.Name        = Name;
     this.Version     = Version;
     this.ContactList = ContactList;
     this.Clauses     = Clauses;
     this.FilterType  = FilterType;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SecureSession" /> class.
 /// </summary>
 /// <param name="Flow">The flow to execute securely (required).</param>
 /// <param name="UserData">Customer-provided data.</param>
 /// <param name="State">The current state of a secure session (required).</param>
 /// <param name="SourceParticipantId">Unique identifier for the participant initiating the secure session..</param>
 /// <param name="Disconnect">If true, disconnect the agent after creating the session.</param>
 public SecureSession(DomainEntityRef Flow = null, string UserData = null, StateEnum?State = null, string SourceParticipantId = null, bool?Disconnect = null)
 {
     this.Flow                = Flow;
     this.UserData            = UserData;
     this.State               = State;
     this.SourceParticipantId = SourceParticipantId;
     this.Disconnect          = Disconnect;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GDPRRequest" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="CreatedBy">The user that created this request (required).</param>
 /// <param name="ReplacementTerms">The replacement terms for the provided search terms, in the case of a GDPR_UPDATE request.</param>
 /// <param name="RequestType">The type of GDPR request (required).</param>
 /// <param name="Subject">The subject of the GDPR request (required).</param>
 public GDPRRequest(string Name = null, DomainEntityRef CreatedBy = null, List <ReplacementTerm> ReplacementTerms = null, RequestTypeEnum?RequestType = null, GDPRSubject Subject = null)
 {
     this.Name             = Name;
     this.CreatedBy        = CreatedBy;
     this.ReplacementTerms = ReplacementTerms;
     this.RequestType      = RequestType;
     this.Subject          = Subject;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TrunkMetrics" /> class.
 /// </summary>
 /// <param name="EventTime">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="LogicalInterface">LogicalInterface.</param>
 /// <param name="Trunk">Trunk.</param>
 /// <param name="Calls">Calls.</param>
 /// <param name="Qos">Qos.</param>
 public TrunkMetrics(DateTime?EventTime = null, DomainEntityRef LogicalInterface = null, DomainEntityRef Trunk = null, TrunkMetricsCalls Calls = null, TrunkMetricsQoS Qos = null)
 {
     this.EventTime        = EventTime;
     this.LogicalInterface = LogicalInterface;
     this.Trunk            = Trunk;
     this.Calls            = Calls;
     this.Qos = Qos;
 }
Exemplo n.º 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SurveyAssignment" /> class.
 /// </summary>
 /// <param name="SurveyForm">The survey form used for this survey..</param>
 /// <param name="Flow">The URI reference to the flow associated with this survey..</param>
 /// <param name="InviteTimeInterval">An ISO 8601 repeated interval consisting of the number of repetitions, the start datetime, and the interval (e.g. R2/2018-03-01T13:00:00Z/P1M10DT2H30M). Total duration must not exceed 90 days..</param>
 /// <param name="SendingUser">User together with sendingDomain used to send email, null to use no-reply.</param>
 /// <param name="SendingDomain">Validated email domain, required (required).</param>
 public SurveyAssignment(PublishedSurveyFormReference SurveyForm = null, DomainEntityRef Flow = null, string InviteTimeInterval = null, string SendingUser = null, string SendingDomain = null)
 {
     this.SurveyForm         = SurveyForm;
     this.Flow               = Flow;
     this.InviteTimeInterval = InviteTimeInterval;
     this.SendingUser        = SendingUser;
     this.SendingDomain      = SendingDomain;
 }
Exemplo n.º 11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RuleSet" /> class.
 /// </summary>
 /// <param name="Name">The name of the RuleSet. (required).</param>
 /// <param name="Version">Required for updates, must match the version number of the most recent update.</param>
 /// <param name="ContactList">A ContactList to provide user-interface suggestions for contact columns on relevant conditions and actions..</param>
 /// <param name="Queue">A Queue to provide user-interface suggestions for wrap-up codes on relevant conditions and actions..</param>
 /// <param name="Rules">The list of rules. (required).</param>
 public RuleSet(string Name = null, int?Version = null, DomainEntityRef ContactList = null, DomainEntityRef Queue = null, List <DialerRule> Rules = null)
 {
     this.Name        = Name;
     this.Version     = Version;
     this.ContactList = ContactList;
     this.Queue       = Queue;
     this.Rules       = Rules;
 }
Exemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CampaignInteractions" /> class.
 /// </summary>
 /// <param name="Campaign">Campaign.</param>
 /// <param name="PendingInteractions">PendingInteractions.</param>
 /// <param name="ProceedingInteractions">ProceedingInteractions.</param>
 /// <param name="PreviewingInteractions">PreviewingInteractions.</param>
 /// <param name="InteractingInteractions">InteractingInteractions.</param>
 /// <param name="ScheduledInteractions">ScheduledInteractions.</param>
 public CampaignInteractions(DomainEntityRef Campaign = null, List <CampaignInteraction> PendingInteractions = null, List <CampaignInteraction> ProceedingInteractions = null, List <CampaignInteraction> PreviewingInteractions = null, List <CampaignInteraction> InteractingInteractions = null, List <CampaignInteraction> ScheduledInteractions = null)
 {
     this.Campaign                = Campaign;
     this.PendingInteractions     = PendingInteractions;
     this.ProceedingInteractions  = ProceedingInteractions;
     this.PreviewingInteractions  = PreviewingInteractions;
     this.InteractingInteractions = InteractingInteractions;
     this.ScheduledInteractions   = ScheduledInteractions;
 }
Exemplo n.º 13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConditionalGroupRoutingRule" /> class.
 /// </summary>
 /// <param name="Queue">The queue being evaluated for this rule.  For rule 1, this is always the current queue, so should not be specified..</param>
 /// <param name="Metric">The queue metric being evaluated.</param>
 /// <param name="Operator">The operator that compares the actual value against the condition value.</param>
 /// <param name="ConditionValue">The limit value, beyond which a rule evaluates as true.</param>
 /// <param name="Groups">The group(s) to activate if the rule evaluates as true.</param>
 /// <param name="WaitSeconds">The number of seconds to wait in this rule, if it evaluates as true, before evaluating the next rule.  For the final rule, this is ignored, so need not be specified..</param>
 public ConditionalGroupRoutingRule(DomainEntityRef Queue = null, MetricEnum?Metric = null, OperatorEnum?Operator = null, double?ConditionValue = null, List <MemberGroup> Groups = null, int?WaitSeconds = null)
 {
     this.Queue          = Queue;
     this.Metric         = Metric;
     this.Operator       = Operator;
     this.ConditionValue = ConditionValue;
     this.Groups         = Groups;
     this.WaitSeconds    = WaitSeconds;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkspaceMember" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Workspace">Workspace.</param>
 /// <param name="MemberType">The workspace member type. (required).</param>
 /// <param name="Member">Member.</param>
 /// <param name="User">User.</param>
 /// <param name="Group">Group.</param>
 /// <param name="SecurityProfile">SecurityProfile.</param>
 public WorkspaceMember(string Name = null, DomainEntityRef Workspace = null, MemberTypeEnum?MemberType = null, DomainEntityRef Member = null, User User = null, Group Group = null, SecurityProfile SecurityProfile = null)
 {
     this.Name            = Name;
     this.Workspace       = Workspace;
     this.MemberType      = MemberType;
     this.Member          = Member;
     this.User            = User;
     this.Group           = Group;
     this.SecurityProfile = SecurityProfile;
 }
Exemplo n.º 15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdgeMetrics" /> class.
 /// </summary>
 /// <param name="Edge">Edge.</param>
 /// <param name="EventTime">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="UpTimeMsec">UpTimeMsec.</param>
 /// <param name="Processors">Processors.</param>
 /// <param name="Memory">Memory.</param>
 /// <param name="Disks">Disks.</param>
 /// <param name="Subsystems">Subsystems.</param>
 /// <param name="Networks">Networks.</param>
 public EdgeMetrics(DomainEntityRef Edge = null, DateTime?EventTime = null, long?UpTimeMsec = null, List <EdgeMetricsProcessor> Processors = null, List <EdgeMetricsMemory> Memory = null, List <EdgeMetricsDisk> Disks = null, List <EdgeMetricsSubsystem> Subsystems = null, List <EdgeMetricsNetwork> Networks = null)
 {
     this.Edge       = Edge;
     this.EventTime  = EventTime;
     this.UpTimeMsec = UpTimeMsec;
     this.Processors = Processors;
     this.Memory     = Memory;
     this.Disks      = Disks;
     this.Subsystems = Subsystems;
     this.Networks   = Networks;
 }
Exemplo n.º 16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EventLog" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="ErrorEntity">ErrorEntity.</param>
 /// <param name="RelatedEntity">RelatedEntity.</param>
 /// <param name="Timestamp">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="Level">Level.</param>
 /// <param name="Category">Category.</param>
 /// <param name="CorrelationId">CorrelationId.</param>
 /// <param name="EventMessage">EventMessage.</param>
 public EventLog(string Name = null, DomainEntityRef ErrorEntity = null, DomainEntityRef RelatedEntity = null, DateTime?Timestamp = null, LevelEnum?Level = null, CategoryEnum?Category = null, string CorrelationId = null, EventMessage EventMessage = null)
 {
     this.Name          = Name;
     this.ErrorEntity   = ErrorEntity;
     this.RelatedEntity = RelatedEntity;
     this.Timestamp     = Timestamp;
     this.Level         = Level;
     this.Category      = Category;
     this.CorrelationId = CorrelationId;
     this.EventMessage  = EventMessage;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DependencyStatus" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="User">User that initiated the build..</param>
 /// <param name="Client">OAuth client that initiated the build..</param>
 /// <param name="BuildId">BuildId.</param>
 /// <param name="DateStarted">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DateCompleted">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="Status">Status.</param>
 /// <param name="FailedObjects">FailedObjects.</param>
 public DependencyStatus(string Name = null, User User = null, DomainEntityRef Client = null, string BuildId = null, DateTime?DateStarted = null, DateTime?DateCompleted = null, StatusEnum?Status = null, List <FailedObject> FailedObjects = null)
 {
     this.Name          = Name;
     this.User          = User;
     this.Client        = Client;
     this.BuildId       = BuildId;
     this.DateStarted   = DateStarted;
     this.DateCompleted = DateCompleted;
     this.Status        = Status;
     this.FailedObjects = FailedObjects;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TimeZoneMappingPreview" /> class.
 /// </summary>
 /// <param name="ContactList">The associated ContactList.</param>
 /// <param name="ContactsPerTimeZone">The number of contacts per time zone that mapped to only that time zone.</param>
 /// <param name="ContactsMappedUsingZipCode">The number of contacts per time zone that mapped to only that time zone and were mapped using the zip code column.</param>
 /// <param name="ContactsMappedToASingleZone">The total number of contacts that mapped to a single time zone.</param>
 /// <param name="ContactsMappedToASingleZoneUsingZipCode">The total number of contacts that mapped to a single time zone and were mapped using the zip code column.</param>
 /// <param name="ContactsMappedToMultipleZones">The total number of contacts that mapped to multiple time zones.</param>
 /// <param name="ContactsMappedToMultipleZonesUsingZipCode">The total number of contacts that mapped to multiple time zones and were mapped using the zip code column.</param>
 /// <param name="ContactsInDefaultWindow">The total number of contacts that will be dialed during the default window.</param>
 /// <param name="ContactListSize">The total number of contacts in the contact list.</param>
 public TimeZoneMappingPreview(DomainEntityRef ContactList = null, Dictionary <string, long?> ContactsPerTimeZone = null, Dictionary <string, long?> ContactsMappedUsingZipCode = null, long?ContactsMappedToASingleZone = null, long?ContactsMappedToASingleZoneUsingZipCode = null, long?ContactsMappedToMultipleZones = null, long?ContactsMappedToMultipleZonesUsingZipCode = null, long?ContactsInDefaultWindow = null, long?ContactListSize = null)
 {
     this.ContactList                               = ContactList;
     this.ContactsPerTimeZone                       = ContactsPerTimeZone;
     this.ContactsMappedUsingZipCode                = ContactsMappedUsingZipCode;
     this.ContactsMappedToASingleZone               = ContactsMappedToASingleZone;
     this.ContactsMappedToASingleZoneUsingZipCode   = ContactsMappedToASingleZoneUsingZipCode;
     this.ContactsMappedToMultipleZones             = ContactsMappedToMultipleZones;
     this.ContactsMappedToMultipleZonesUsingZipCode = ContactsMappedToMultipleZonesUsingZipCode;
     this.ContactsInDefaultWindow                   = ContactsInDefaultWindow;
     this.ContactListSize                           = ContactListSize;
 }
Exemplo n.º 19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContactList" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Version">Required for updates, must match the version number of the most recent update.</param>
 /// <param name="Division">The division this entity belongs to..</param>
 /// <param name="ColumnNames">The names of the contact data columns. (required).</param>
 /// <param name="PhoneColumns">Indicates which columns are phone numbers..</param>
 /// <param name="PreviewModeColumnName">A column to check if a contact should always be dialed in preview mode..</param>
 /// <param name="PreviewModeAcceptedValues">The values in the previewModeColumnName column that indicate a contact should always be dialed in preview mode..</param>
 /// <param name="AttemptLimits">AttemptLimits for this ContactList..</param>
 /// <param name="AutomaticTimeZoneMapping">Indicates if automatic time zone mapping is to be used for this ContactList..</param>
 /// <param name="ZipCodeColumnName">The name of contact list column containing the zip code for use with automatic time zone mapping. Only allowed if 'automaticTimeZoneMapping' is set to true..</param>
 public ContactList(string Name = null, int?Version = null, DomainEntityRef Division = null, List <string> ColumnNames = null, List <ContactPhoneNumberColumn> PhoneColumns = null, string PreviewModeColumnName = null, List <string> PreviewModeAcceptedValues = null, DomainEntityRef AttemptLimits = null, bool?AutomaticTimeZoneMapping = null, string ZipCodeColumnName = null)
 {
     this.Name                      = Name;
     this.Version                   = Version;
     this.Division                  = Division;
     this.ColumnNames               = ColumnNames;
     this.PhoneColumns              = PhoneColumns;
     this.PreviewModeColumnName     = PreviewModeColumnName;
     this.PreviewModeAcceptedValues = PreviewModeAcceptedValues;
     this.AttemptLimits             = AttemptLimits;
     this.AutomaticTimeZoneMapping  = AutomaticTimeZoneMapping;
     this.ZipCodeColumnName         = ZipCodeColumnName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Operation" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Complete">Complete.</param>
 /// <param name="User">User.</param>
 /// <param name="Client">Client.</param>
 /// <param name="ErrorMessage">ErrorMessage.</param>
 /// <param name="ErrorCode">ErrorCode.</param>
 /// <param name="ErrorDetails">ErrorDetails.</param>
 /// <param name="ErrorMessageParams">ErrorMessageParams.</param>
 /// <param name="ActionName">Action name.</param>
 /// <param name="ActionStatus">Action status.</param>
 public Operation(string Id = null, bool?Complete = null, User User = null, DomainEntityRef Client = null, string ErrorMessage = null, string ErrorCode = null, List <Detail> ErrorDetails = null, Dictionary <string, string> ErrorMessageParams = null, ActionNameEnum?ActionName = null, ActionStatusEnum?ActionStatus = null)
 {
     this.Id                 = Id;
     this.Complete           = Complete;
     this.User               = User;
     this.Client             = Client;
     this.ErrorMessage       = ErrorMessage;
     this.ErrorCode          = ErrorCode;
     this.ErrorDetails       = ErrorDetails;
     this.ErrorMessageParams = ErrorMessageParams;
     this.ActionName         = ActionName;
     this.ActionStatus       = ActionStatus;
 }
Exemplo n.º 21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InboundRoute" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Pattern">The search pattern that the mailbox name should match. (required).</param>
 /// <param name="Queue">The queue to route the emails to..</param>
 /// <param name="Priority">The priority to use for routing..</param>
 /// <param name="Skills">The skills to use for routing..</param>
 /// <param name="Language">The language to use for routing..</param>
 /// <param name="FromName">The sender name to use for outgoing replies. (required).</param>
 /// <param name="FromEmail">The sender email to use for outgoing replies..</param>
 /// <param name="Flow">The flow to use for processing the email..</param>
 /// <param name="ReplyEmailAddress">The route to use for email replies..</param>
 /// <param name="AutoBcc">The recipients that should be  automatically blind copied on outbound emails associated with this InboundRoute..</param>
 /// <param name="SpamFlow">The flow to use for processing inbound emails that have been marked as spam..</param>
 public InboundRoute(string Name = null, string Pattern = null, DomainEntityRef Queue = null, int?Priority = null, List <DomainEntityRef> Skills = null, DomainEntityRef Language = null, string FromName = null, string FromEmail = null, DomainEntityRef Flow = null, QueueEmailAddress ReplyEmailAddress = null, List <EmailAddress> AutoBcc = null, DomainEntityRef SpamFlow = null)
 {
     this.Name              = Name;
     this.Pattern           = Pattern;
     this.Queue             = Queue;
     this.Priority          = Priority;
     this.Skills            = Skills;
     this.Language          = Language;
     this.FromName          = FromName;
     this.FromEmail         = FromEmail;
     this.Flow              = Flow;
     this.ReplyEmailAddress = ReplyEmailAddress;
     this.AutoBcc           = AutoBcc;
     this.SpamFlow          = SpamFlow;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AuditLogMessage" /> class.
 /// </summary>
 /// <param name="Id">Id of the audit message..</param>
 /// <param name="User">User associated with this audit message..</param>
 /// <param name="Client">Client associated with this audit message..</param>
 /// <param name="RemoteIp">List of IP addresses of systems that originated or handled the request..</param>
 /// <param name="ServiceName">Name of the service that logged this audit message..</param>
 /// <param name="EventDate">Date and time of when the audit message was logged. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Message">Message describing the event being audited..</param>
 /// <param name="Action">Action that took place..</param>
 /// <param name="Entity">Entity that was impacted..</param>
 /// <param name="EntityType">Type of the entity that was impacted..</param>
 /// <param name="PropertyChanges">List of properties that were changed and changes made to those properties..</param>
 /// <param name="Context">Additional context for this message..</param>
 public AuditLogMessage(string Id = null, DomainEntityRef User = null, AddressableEntityRef Client = null, List <string> RemoteIp = null, ServiceNameEnum?ServiceName = null, DateTime?EventDate = null, MessageInfo Message = null, ActionEnum?Action = null, AddressableEntityRef Entity = null, EntityTypeEnum?EntityType = null, List <PropertyChange> PropertyChanges = null, Dictionary <string, string> Context = null)
 {
     this.Id              = Id;
     this.User            = User;
     this.Client          = Client;
     this.RemoteIp        = RemoteIp;
     this.ServiceName     = ServiceName;
     this.EventDate       = EventDate;
     this.Message         = Message;
     this.Action          = Action;
     this.Entity          = Entity;
     this.EntityType      = EntityType;
     this.PropertyChanges = PropertyChanges;
     this.Context         = Context;
 }
Exemplo n.º 23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessagingCampaign" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Version">Required for updates, must match the version number of the most recent update.</param>
 /// <param name="Division">The division this entity belongs to..</param>
 /// <param name="CampaignStatus">The current status of the messaging campaign. A messaging campaign may be turned 'on' or 'off'..</param>
 /// <param name="CallableTimeSet">The callable time set for this messaging campaign..</param>
 /// <param name="ContactList">The contact list that this messaging campaign will send messages for. (required).</param>
 /// <param name="DncLists">The dnc lists to check before sending a message for this messaging campaign..</param>
 /// <param name="AlwaysRunning">Whether this messaging campaign is always running.</param>
 /// <param name="ContactSorts">The order in which to sort contacts for dialing, based on up to four columns..</param>
 /// <param name="MessagesPerMinute">How many messages this messaging campaign will send per minute. (required).</param>
 /// <param name="ContactListFilters">The contact list filter to check before sending a message for this messaging campaign..</param>
 /// <param name="Errors">A list of current error conditions associated with this messaging campaign..</param>
 /// <param name="SmsConfig">Configuration for this messaging campaign to send SMS messages..</param>
 public MessagingCampaign(string Name = null, int?Version = null, DomainEntityRef Division = null, CampaignStatusEnum?CampaignStatus = null, DomainEntityRef CallableTimeSet = null, DomainEntityRef ContactList = null, List <DomainEntityRef> DncLists = null, bool?AlwaysRunning = null, List <ContactSort> ContactSorts = null, int?MessagesPerMinute = null, List <DomainEntityRef> ContactListFilters = null, List <RestErrorDetail> Errors = null, SmsConfig SmsConfig = null)
 {
     this.Name               = Name;
     this.Version            = Version;
     this.Division           = Division;
     this.CampaignStatus     = CampaignStatus;
     this.CallableTimeSet    = CallableTimeSet;
     this.ContactList        = ContactList;
     this.DncLists           = DncLists;
     this.AlwaysRunning      = AlwaysRunning;
     this.ContactSorts       = ContactSorts;
     this.MessagesPerMinute  = MessagesPerMinute;
     this.ContactListFilters = ContactListFilters;
     this.Errors             = Errors;
     this.SmsConfig          = SmsConfig;
 }
Exemplo n.º 24
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DocumentAudit" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="User">User.</param>
 /// <param name="Workspace">Workspace.</param>
 /// <param name="TransactionId">TransactionId.</param>
 /// <param name="TransactionInitiator">TransactionInitiator.</param>
 /// <param name="Application">Application.</param>
 /// <param name="ServiceName">ServiceName.</param>
 /// <param name="Level">Level.</param>
 /// <param name="Timestamp">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="Status">Status.</param>
 /// <param name="ActionContext">ActionContext.</param>
 /// <param name="Action">Action.</param>
 /// <param name="Entity">Entity.</param>
 /// <param name="Changes">Changes.</param>
 public DocumentAudit(string Name = null, DomainEntityRef User = null, DomainEntityRef Workspace = null, string TransactionId = null, bool?TransactionInitiator = null, string Application = null, string ServiceName = null, LevelEnum?Level = null, DateTime?Timestamp = null, StatusEnum?Status = null, ActionContextEnum?ActionContext = null, ActionEnum?Action = null, AuditEntityReference Entity = null, List <AuditChange> Changes = null)
 {
     this.Name                 = Name;
     this.User                 = User;
     this.Workspace            = Workspace;
     this.TransactionId        = TransactionId;
     this.TransactionInitiator = TransactionInitiator;
     this.Application          = Application;
     this.ServiceName          = ServiceName;
     this.Level                = Level;
     this.Timestamp            = Timestamp;
     this.Status               = Status;
     this.ActionContext        = ActionContext;
     this.Action               = Action;
     this.Entity               = Entity;
     this.Changes              = Changes;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CampaignInteraction" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Campaign">Campaign.</param>
 /// <param name="Agent">Agent.</param>
 /// <param name="Contact">Contact.</param>
 /// <param name="DestinationAddress">DestinationAddress.</param>
 /// <param name="ActivePreviewCall">Boolean value if there is an active preview call on the interaction.</param>
 /// <param name="LastActivePreviewWrapupTime">The time when the last preview of the interaction was wrapped up. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="CreationTime">The time when dialer created the interaction. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="CallPlacedTime">The time when the agent or system places the call. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="CallRoutedTime">The time when the agent was connected to the call. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="PreviewConnectedTime">The time when the customer and routing participant are connected. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="Queue">Queue.</param>
 /// <param name="Script">Script.</param>
 /// <param name="Disposition">Describes what happened with call analysis for instance: disposition.classification.callable.person, disposition.classification.callable.noanswer.</param>
 /// <param name="CallerName">CallerName.</param>
 /// <param name="CallerAddress">CallerAddress.</param>
 /// <param name="PreviewPopDeliveredTime">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="Conversation">Conversation.</param>
 /// <param name="DialerSystemParticipantId">conversation participant id that is the dialer system participant to monitor the call from dialer perspective.</param>
 /// <param name="DialingMode">DialingMode.</param>
 /// <param name="Skills">Any skills that are attached to the call for routing.</param>
 public CampaignInteraction(string Id = null, DomainEntityRef Campaign = null, DomainEntityRef Agent = null, DomainEntityRef Contact = null, string DestinationAddress = null, bool?ActivePreviewCall = null, DateTime?LastActivePreviewWrapupTime = null, DateTime?CreationTime = null, DateTime?CallPlacedTime = null, DateTime?CallRoutedTime = null, DateTime?PreviewConnectedTime = null, DomainEntityRef Queue = null, DomainEntityRef Script = null, DispositionEnum?Disposition = null, string CallerName = null, string CallerAddress = null, DateTime?PreviewPopDeliveredTime = null, ConversationBasic Conversation = null, string DialerSystemParticipantId = null, string DialingMode = null, List <DomainEntityRef> Skills = null)
 {
     this.Id                          = Id;
     this.Campaign                    = Campaign;
     this.Agent                       = Agent;
     this.Contact                     = Contact;
     this.DestinationAddress          = DestinationAddress;
     this.ActivePreviewCall           = ActivePreviewCall;
     this.LastActivePreviewWrapupTime = LastActivePreviewWrapupTime;
     this.CreationTime                = CreationTime;
     this.CallPlacedTime              = CallPlacedTime;
     this.CallRoutedTime              = CallRoutedTime;
     this.PreviewConnectedTime        = PreviewConnectedTime;
     this.Queue                       = Queue;
     this.Script                      = Script;
     this.Disposition                 = Disposition;
     this.CallerName                  = CallerName;
     this.CallerAddress               = CallerAddress;
     this.PreviewPopDeliveredTime     = PreviewPopDeliveredTime;
     this.Conversation                = Conversation;
     this.DialerSystemParticipantId   = DialerSystemParticipantId;
     this.DialingMode                 = DialingMode;
     this.Skills                      = Skills;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LineBase" /> class.
 /// </summary>
 /// <param name="Name">The name of the entity. (required).</param>
 /// <param name="Description">The resource&#39;s description..</param>
 /// <param name="Version">The current version of the resource..</param>
 /// <param name="DateCreated">The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DateModified">The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ModifiedBy">The ID of the user that last modified the resource..</param>
 /// <param name="CreatedBy">The ID of the user that created the resource..</param>
 /// <param name="ModifiedByApp">The application that last modified the resource..</param>
 /// <param name="CreatedByApp">The application that created the resource..</param>
 /// <param name="LineMetaBase">LineMetaBase.</param>
 /// <param name="Properties">Properties.</param>
 public LineBase(string Name = null, string Description = null, int?Version = null, DateTime?DateCreated = null, DateTime?DateModified = null, string ModifiedBy = null, string CreatedBy = null, string ModifiedByApp = null, string CreatedByApp = null, DomainEntityRef LineMetaBase = null, Dictionary <string, Object> Properties = null)
 {
     this.Name          = Name;
     this.Description   = Description;
     this.Version       = Version;
     this.DateCreated   = DateCreated;
     this.DateModified  = DateModified;
     this.ModifiedBy    = ModifiedBy;
     this.CreatedBy     = CreatedBy;
     this.ModifiedByApp = ModifiedByApp;
     this.CreatedByApp  = CreatedByApp;
     this.LineMetaBase  = LineMetaBase;
     this.Properties    = Properties;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Workspace" /> class.
 /// </summary>
 /// <param name="Name">The current name of the workspace. (required).</param>
 /// <param name="Type">Type.</param>
 /// <param name="IsCurrentUserWorkspace">IsCurrentUserWorkspace.</param>
 /// <param name="User">User.</param>
 /// <param name="Bucket">Bucket.</param>
 /// <param name="DateCreated">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DateModified">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="Summary">Summary.</param>
 /// <param name="Acl">Acl.</param>
 /// <param name="Description">Description.</param>
 public Workspace(string Name = null, TypeEnum?Type = null, bool?IsCurrentUserWorkspace = null, DomainEntityRef User = null, string Bucket = null, DateTime?DateCreated = null, DateTime?DateModified = null, WorkspaceSummary Summary = null, List <string> Acl = null, string Description = null)
 {
     this.Name = Name;
     this.Type = Type;
     this.IsCurrentUserWorkspace = IsCurrentUserWorkspace;
     this.User         = User;
     this.Bucket       = Bucket;
     this.DateCreated  = DateCreated;
     this.DateModified = DateModified;
     this.Summary      = Summary;
     this.Acl          = Acl;
     this.Description  = Description;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReplaceResponse" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Name">Name.</param>
 /// <param name="ChangeNumber">ChangeNumber.</param>
 /// <param name="UploadStatus">UploadStatus.</param>
 /// <param name="UploadDestinationUri">UploadDestinationUri.</param>
 /// <param name="UploadMethod">UploadMethod.</param>
 public ReplaceResponse(string Id = null, string Name = null, int?ChangeNumber = null, DomainEntityRef UploadStatus = null, string UploadDestinationUri = null, UploadMethodEnum?UploadMethod = null)
 {
     this.Id                   = Id;
     this.Name                 = Name;
     this.ChangeNumber         = ChangeNumber;
     this.UploadStatus         = UploadStatus;
     this.UploadDestinationUri = UploadDestinationUri;
     this.UploadMethod         = UploadMethod;
 }
Exemplo n.º 29
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InboundDomainPatchRequest" /> class.
 /// </summary>
 /// <param name="MailFromSettings">The DNS settings if the inbound domain is using a custom Mail From. These settings can only be used on InboundDomains where subDomain is false..</param>
 /// <param name="CustomSMTPServer">The custom SMTP server integration to use when sending outbound emails from this domain..</param>
 public InboundDomainPatchRequest(MailFromResult MailFromSettings = null, DomainEntityRef CustomSMTPServer = null)
 {
     this.MailFromSettings = MailFromSettings;
     this.CustomSMTPServer = CustomSMTPServer;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="QueueRequest" /> class.
 /// </summary>
 /// <param name="Name">The queue name (required).</param>
 /// <param name="Division">The division to which this entity belongs..</param>
 /// <param name="Description">The queue description..</param>
 /// <param name="DateCreated">The date the queue was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DateModified">The date of the last modification to the queue. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="ModifiedBy">The ID of the user that last modified the queue..</param>
 /// <param name="CreatedBy">The ID of the user that created the queue..</param>
 /// <param name="MediaSettings">The media settings for the queue. Valid key values: CALL, CALLBACK, CHAT, EMAIL, MESSAGE, SOCIAL_EXPRESSION, VIDEO_COMM.</param>
 /// <param name="RoutingRules">The routing rules for the queue, used for Preferred Agent Routing..</param>
 /// <param name="Bullseye">The bullseye settings for the queue..</param>
 /// <param name="AcwSettings">The ACW settings for the queue..</param>
 /// <param name="SkillEvaluationMethod">The skill evaluation method to use when routing conversations..</param>
 /// <param name="MemberGroups">The groups of agents associated with the queue, if any.  Queue membership will update to match group membership changes..</param>
 /// <param name="QueueFlow">The in-queue flow to use for call conversations waiting in queue..</param>
 /// <param name="EmailInQueueFlow">The in-queue flow to use for email conversations waiting in queue..</param>
 /// <param name="MessageInQueueFlow">The in-queue flow to use for message conversations waiting in queue..</param>
 /// <param name="WhisperPrompt">The prompt used for whisper on the queue, if configured..</param>
 /// <param name="OnHoldPrompt">The audio to be played when calls on this queue are on hold. If not configured, the default on-hold music will play..</param>
 /// <param name="AutoAnswerOnly">Specifies whether the configured whisper should play for all ACD calls, or only for those which are auto-answered..</param>
 /// <param name="EnableTranscription">Indicates whether voice transcription is enabled for this queue..</param>
 /// <param name="EnableManualAssignment">Indicates whether manual assignment is enabled for this queue..</param>
 /// <param name="AgentOwnedRouting">The Agent Owned Routing settings for the queue.</param>
 /// <param name="CallingPartyName">The name to use for caller identification for outbound calls from this queue..</param>
 /// <param name="CallingPartyNumber">The phone number to use for caller identification for outbound calls from this queue..</param>
 /// <param name="DefaultScripts">The default script Ids for the communication types..</param>
 /// <param name="OutboundMessagingAddresses">The messaging addresses for the queue..</param>
 /// <param name="OutboundEmailAddress">OutboundEmailAddress.</param>
 /// <param name="PeerId">The ID of an associated external queue..</param>
 public QueueRequest(string Name = null, WritableDivision Division = null, string Description = null, DateTime?DateCreated = null, DateTime?DateModified = null, string ModifiedBy = null, string CreatedBy = null, Dictionary <string, MediaSetting> MediaSettings = null, List <RoutingRule> RoutingRules = null, Bullseye Bullseye = null, AcwSettings AcwSettings = null, SkillEvaluationMethodEnum?SkillEvaluationMethod = null, List <MemberGroup> MemberGroups = null, DomainEntityRef QueueFlow = null, DomainEntityRef EmailInQueueFlow = null, DomainEntityRef MessageInQueueFlow = null, DomainEntityRef WhisperPrompt = null, DomainEntityRef OnHoldPrompt = null, bool?AutoAnswerOnly = null, bool?EnableTranscription = null, bool?EnableManualAssignment = null, AgentOwnedRouting AgentOwnedRouting = null, string CallingPartyName = null, string CallingPartyNumber = null, Dictionary <string, Script> DefaultScripts = null, QueueMessagingAddresses OutboundMessagingAddresses = null, QueueEmailAddress OutboundEmailAddress = null, string PeerId = null)
 {
     this.Name                       = Name;
     this.Division                   = Division;
     this.Description                = Description;
     this.DateCreated                = DateCreated;
     this.DateModified               = DateModified;
     this.ModifiedBy                 = ModifiedBy;
     this.CreatedBy                  = CreatedBy;
     this.MediaSettings              = MediaSettings;
     this.RoutingRules               = RoutingRules;
     this.Bullseye                   = Bullseye;
     this.AcwSettings                = AcwSettings;
     this.SkillEvaluationMethod      = SkillEvaluationMethod;
     this.MemberGroups               = MemberGroups;
     this.QueueFlow                  = QueueFlow;
     this.EmailInQueueFlow           = EmailInQueueFlow;
     this.MessageInQueueFlow         = MessageInQueueFlow;
     this.WhisperPrompt              = WhisperPrompt;
     this.OnHoldPrompt               = OnHoldPrompt;
     this.AutoAnswerOnly             = AutoAnswerOnly;
     this.EnableTranscription        = EnableTranscription;
     this.EnableManualAssignment     = EnableManualAssignment;
     this.AgentOwnedRouting          = AgentOwnedRouting;
     this.CallingPartyName           = CallingPartyName;
     this.CallingPartyNumber         = CallingPartyNumber;
     this.DefaultScripts             = DefaultScripts;
     this.OutboundMessagingAddresses = OutboundMessagingAddresses;
     this.OutboundEmailAddress       = OutboundEmailAddress;
     this.PeerId                     = PeerId;
 }