Exemple #1
0
 public CfText(string fromNumber, CfToNumber toNumber, CfActionState state, long batchId, long broadcastId, long contactId,
               bool inbound, DateTime created, DateTime modified, CfResult finalResult, CfLabel[] label, long id, string message, CfTextRecord[] textRecord)
     : base(fromNumber, toNumber, state, batchId, broadcastId, contactId, inbound, created, modified, finalResult, label, id)
 {
     Message    = message;
     TextRecord = textRecord;
 }
Exemple #2
0
 protected CfActionRecord(CfResult result, DateTime finishTime, float billedAmount, CfActionRecordQuestionResponse[] questionResponse, long id)
 {
     Result           = result;
     FinishTime       = finishTime;
     BilledAmount     = billedAmount;
     QuestionResponse = questionResponse;
     Id = id;
 }
Exemple #3
0
 public CfCallRecord(CfResult result, DateTime finishTime, float billedAmount, CfActionRecordQuestionResponse[] questionResponse, long id,
                     DateTime?originateTime, DateTime?answerTime, int duration, CfRecordingMeta[] recordingMeta)
     : base(result, finishTime, billedAmount, questionResponse, id)
 {
     OriginateTime = originateTime;
     AnswerTime    = answerTime;
     Duration      = duration;
     RecordingMeta = recordingMeta;
 }
Exemple #4
0
        private CfResult TransferDetail(CfContestResult result)
        {
            CfResult cfResult = new CfResult();
            cfResult.ContestId = result.ContestId;
            cfResult.Nickname = result.UserName;
            cfResult.Rating = result.Rating;

            cfResult.RatingChange = result.Change;
            cfResult.Timesplayed = result.Timesplayed;
            //result.Rank
            //result.ContestName
            //result.ContestUrl

            return cfResult;
        }
 public CfActionQuery(long maxResult, long firstResult, long? broadcastId, long? batchId, CfActionState[] state, CfResult[] result,
     bool? inbound, DateTime? intervalBegin, DateTime? intervalEnd, string fromNumber, string toNumber, string labelName)
     : base(maxResult, firstResult)
 {
     BroadcastId = broadcastId;
     BatchId = batchId;
     State = state;
     Result = result;
     Inbound = inbound;
     IntervalBegin = intervalBegin;
     IntervalEnd = intervalEnd;
     FromNumber = fromNumber;
     ToNumber = toNumber;
     LabelName = labelName;
 }
Exemple #6
0
 public CfAction(string fromNumber, CfToNumber toNumber, CfActionState state, long?batchId, long?broadcastId, long contactId,
                 bool inbound, DateTime created, DateTime modified, CfResult finalResult, CfLabel[] label, long id)
 {
     FromNumber  = fromNumber;
     ToNumber    = toNumber;
     State       = state;
     BatchId     = batchId;
     BroadcastId = broadcastId;
     ContactId   = contactId;
     Inbound     = inbound;
     Created     = created;
     Modified    = modified;
     FinalResult = finalResult;
     Label       = label;
     Id          = id;
 }
 public CfCallRecord(CfResult result, DateTime finishTime, float billedAmount, CfActionRecordQuestionResponse[] questionResponse, long id,
     DateTime? originateTime, DateTime? answerTime, int duration, CfRecordingMeta[] recordingMeta)
     : base(result, finishTime, billedAmount, questionResponse, id)
 {
     OriginateTime = originateTime;
     AnswerTime = answerTime;
     Duration = duration;
     RecordingMeta = recordingMeta;
 }
 public CfCall(string fromNumber, CfToNumber toNumber, CfActionState state, long batchId, long broadcastId, long contactId, bool inbound,
     DateTime created, DateTime modified, CfResult finalResult, CfLabel[] label, long id, CfCallRecord[] callRecord)
     : base(fromNumber, toNumber, state, batchId, broadcastId, contactId, inbound, created, modified, finalResult, label, id)
 {
     CallRecord = callRecord;
 }
 public CfBroadcastConfigRetryConfig(int maxAttempts, int minutesBetweenAttempts, CfResult[] retryResults, CfRetryPhoneType[] retryPhoneTypes)
 {
     MaxAttempts = maxAttempts;
     MinutesBetweenAttempts = minutesBetweenAttempts;
     RetryResults = retryResults;
     RetryPhoneTypes = retryPhoneTypes;
 }
 protected CfActionRecord(CfResult result, DateTime finishTime, float billedAmount, CfActionRecordQuestionResponse[] questionResponse, long id)
 {
     Result = result;
     FinishTime = finishTime;
     BilledAmount = billedAmount;
     QuestionResponse = questionResponse;
     Id = id;
 }
 public CfTextRecord(CfResult result, DateTime finishTime, float billedAmount, CfActionRecordQuestionResponse[] questionResponse, long id, string message)
     : base(result, finishTime, billedAmount, questionResponse, id)
 {
     Message = message;
 }
 public CfAction(string fromNumber, CfToNumber toNumber, CfActionState state, long? batchId, long? broadcastId, long contactId,
     bool inbound, DateTime created, DateTime modified, CfResult finalResult, CfLabel[] label, long id)
 {
     FromNumber = fromNumber;
     ToNumber = toNumber;
     State = state;
     BatchId = batchId;
     BroadcastId = broadcastId;
     ContactId = contactId;
     Inbound = inbound;
     Created = created;
     Modified = modified;
     FinalResult = finalResult;
     Label = label;
     Id = id;
 }
Exemple #13
0
        private CfResult TransferResult(CfContestResult cfContestResult)
        {
            var cfResult = new CfResult();
            cfResult.Nickname = cfContestResult.UserName;
            cfResult.Rating = cfContestResult.Rating;
            cfResult.RatingChange = cfContestResult.Change;
            cfResult.Timesplayed = cfContestResult.Timesplayed;
            //cfResult.CFContest=cfContestResult.ContestId

            return cfResult;
        }
Exemple #14
0
 public CfTextRecord(CfResult result, DateTime finishTime, float billedAmount, CfActionRecordQuestionResponse[] questionResponse, long id, string message)
     : base(result, finishTime, billedAmount, questionResponse, id)
 {
     Message = message;
 }