/// <summary>
 /// Initializes a new instance of the <see cref="AnalyticsConversationSegment" /> class.
 /// </summary>
 /// <param name="SegmentStart">The timestamp when this segment began. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="SegmentEnd">The timestamp when this segment ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="QueueId">Queue identifier.</param>
 /// <param name="WrapUpCode">Wrapup Code id.</param>
 /// <param name="WrapUpNote">Note entered by an agent during after-call work.</param>
 /// <param name="WrapUpTags">WrapUpTags.</param>
 /// <param name="ErrorCode">ErrorCode.</param>
 /// <param name="DisconnectType">A description of the event that disconnected the segment.</param>
 /// <param name="SegmentType">The activity taking place for the participant in the segment.</param>
 /// <param name="RequestedRoutingUserIds">RequestedRoutingUserIds.</param>
 /// <param name="RequestedRoutingSkillIds">RequestedRoutingSkillIds.</param>
 /// <param name="RequestedLanguageId">A unique identifier for the language requested for an interaction..</param>
 /// <param name="ScoredAgents">ScoredAgents.</param>
 /// <param name="Properties">Properties.</param>
 /// <param name="SourceConversationId">SourceConversationId.</param>
 /// <param name="DestinationConversationId">DestinationConversationId.</param>
 /// <param name="SourceSessionId">SourceSessionId.</param>
 /// <param name="DestinationSessionId">DestinationSessionId.</param>
 /// <param name="SipResponseCodes">SipResponseCodes.</param>
 /// <param name="Q850ResponseCodes">Q850ResponseCodes.</param>
 /// <param name="Conference">Indicates whether the segment was a conference.</param>
 /// <param name="GroupId">GroupId.</param>
 /// <param name="Subject">Subject.</param>
 /// <param name="AudioMuted">AudioMuted.</param>
 /// <param name="VideoMuted">VideoMuted.</param>
 public AnalyticsConversationSegment(DateTime?SegmentStart = null, DateTime?SegmentEnd = null, string QueueId = null, string WrapUpCode = null, string WrapUpNote = null, List <string> WrapUpTags = null, string ErrorCode = null, DisconnectTypeEnum?DisconnectType = null, SegmentTypeEnum?SegmentType = null, List <string> RequestedRoutingUserIds = null, List <string> RequestedRoutingSkillIds = null, string RequestedLanguageId = null, List <AnalyticsScoredAgent> ScoredAgents = null, List <AnalyticsProperty> Properties = null, string SourceConversationId = null, string DestinationConversationId = null, string SourceSessionId = null, string DestinationSessionId = null, List <long?> SipResponseCodes = null, List <long?> Q850ResponseCodes = null, bool?Conference = null, string GroupId = null, string Subject = null, bool?AudioMuted = null, bool?VideoMuted = null)
 {
     this.SegmentStart              = SegmentStart;
     this.SegmentEnd                = SegmentEnd;
     this.QueueId                   = QueueId;
     this.WrapUpCode                = WrapUpCode;
     this.WrapUpNote                = WrapUpNote;
     this.WrapUpTags                = WrapUpTags;
     this.ErrorCode                 = ErrorCode;
     this.DisconnectType            = DisconnectType;
     this.SegmentType               = SegmentType;
     this.RequestedRoutingUserIds   = RequestedRoutingUserIds;
     this.RequestedRoutingSkillIds  = RequestedRoutingSkillIds;
     this.RequestedLanguageId       = RequestedLanguageId;
     this.ScoredAgents              = ScoredAgents;
     this.Properties                = Properties;
     this.SourceConversationId      = SourceConversationId;
     this.DestinationConversationId = DestinationConversationId;
     this.SourceSessionId           = SourceSessionId;
     this.DestinationSessionId      = DestinationSessionId;
     this.SipResponseCodes          = SipResponseCodes;
     this.Q850ResponseCodes         = Q850ResponseCodes;
     this.Conference                = Conference;
     this.GroupId                   = GroupId;
     this.Subject                   = Subject;
     this.AudioMuted                = AudioMuted;
     this.VideoMuted                = VideoMuted;
 }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="OrderChangeMessage" /> class.
        /// Initializes a new instance of the <see cref="OrderChangeMessage" />class.
        /// </summary>
        /// <param name="Op">The operation type.</param>
        /// <param name="Id">Client generated unique id to link request with response (like json rpc).</param>
        /// <param name="Ct">Change Type - set to indicate the type of change - if null this is a delta).</param>
        /// <param name="Clk">Token value (non-null) should be stored and passed in a MarketSubscriptionMessage to resume subscription (in case of disconnect).</param>
        /// <param name="HeartbeatMs">Heartbeat Milliseconds - the heartbeat rate (may differ from requested: bounds are 500 to 30000).</param>
        /// <param name="Pt">Publish Time (in millis since epoch) that the changes were generated.</param>
        /// <param name="Oc">OrderMarketChanges - the modifications to account&#39;s orders (will be null on a heartbeat.</param>
        /// <param name="InitialClk">Token value (non-null) should be stored and passed in a MarketSubscriptionMessage to resume subscription (in case of disconnect).</param>
        /// <param name="ConflateMs">Conflate Milliseconds - the conflation rate (may differ from that requested if subscription is delayed).</param>
        /// <param name="SegmentType">Segment Type - if the change is split into multiple segments, this denotes the beginning and end of a change, and segments in between. Will be null if data is not segmented.</param>

        public OrderChangeMessage(string Op = null, int?Id = null, CtEnum?Ct = null, string Clk = null, long?HeartbeatMs = null, long?Pt = null, List <OrderMarketChange> Oc = null, string InitialClk = null, long?ConflateMs = null, SegmentTypeEnum?SegmentType = null)
        {
            this.Op          = Op;
            this.Id          = Id;
            this.Ct          = Ct;
            this.Clk         = Clk;
            this.HeartbeatMs = HeartbeatMs;
            this.Pt          = Pt;
            this.Oc          = Oc;
            this.InitialClk  = InitialClk;
            this.ConflateMs  = ConflateMs;
            this.SegmentType = SegmentType;
        }