public RecordingMetadataResponse(string applicationId = null, string accountId = null, string callId = null, string parentCallId = null, string recordingId = null, string to = null, string from = null, string transferCallerId = null, string transferTo = null, string duration = null, Models.DirectionEnum?direction = null, int?channels = null, DateTime?startTime = null, DateTime?endTime = null, Models.FileFormatEnum?fileFormat = null, Models.Status1Enum?status = null, string mediaUrl = null, Models.Transcription transcription = null) { ApplicationId = applicationId; AccountId = accountId; CallId = callId; ParentCallId = parentCallId; RecordingId = recordingId; To = to; From = from; TransferCallerId = transferCallerId; TransferTo = transferTo; Duration = duration; Direction = direction; Channels = channels; StartTime = startTime; EndTime = endTime; FileFormat = fileFormat; Status = status; MediaUrl = mediaUrl; Transcription = transcription; }
/// <summary> /// Initializes a new instance of the <see cref="CallCallback"/> class. /// </summary> /// <param name="eventType">eventType.</param> /// <param name="eventTime">eventTime.</param> /// <param name="accountId">accountId.</param> /// <param name="applicationId">applicationId.</param> /// <param name="from">from.</param> /// <param name="to">to.</param> /// <param name="direction">direction.</param> /// <param name="callId">callId.</param> /// <param name="callUrl">callUrl.</param> /// <param name="startTime">startTime.</param> /// <param name="answerTime">answerTime.</param> /// <param name="transferCallerId">transferCallerId.</param> /// <param name="transferTo">transferTo.</param> /// <param name="cause">cause.</param> /// <param name="errorMessage">errorMessage.</param> /// <param name="errorId">errorId.</param> /// <param name="endTime">endTime.</param> /// <param name="digit">digit.</param> /// <param name="parentCallId">parentCallId.</param> /// <param name="recordingId">recordingId.</param> /// <param name="duration">duration.</param> /// <param name="fileFormat">fileFormat.</param> /// <param name="mediaUrl">mediaUrl.</param> /// <param name="tag">tag.</param> /// <param name="channels">channels.</param> /// <param name="status">status.</param> /// <param name="digits">digits.</param> /// <param name="terminatingDigit">terminatingDigit.</param> /// <param name="transcription">transcription.</param> /// <param name="diversion">diversion.</param> /// <param name="machineDetectionResult">machineDetectionResult.</param> public CallCallback( string eventType = null, string eventTime = null, string accountId = null, string applicationId = null, string from = null, string to = null, string direction = null, string callId = null, string callUrl = null, string startTime = null, string answerTime = null, string transferCallerId = null, string transferTo = null, string cause = null, string errorMessage = null, string errorId = null, string endTime = null, string digit = null, string parentCallId = null, string recordingId = null, string duration = null, string fileFormat = null, string mediaUrl = null, string tag = null, int?channels = null, string status = null, string digits = null, string terminatingDigit = null, Models.Transcription transcription = null, Models.Diversion diversion = null, Models.MachineDetectionResult machineDetectionResult = null) { this.EventType = eventType; this.EventTime = eventTime; this.AccountId = accountId; this.ApplicationId = applicationId; this.From = from; this.To = to; this.Direction = direction; this.CallId = callId; this.CallUrl = callUrl; this.StartTime = startTime; this.AnswerTime = answerTime; this.TransferCallerId = transferCallerId; this.TransferTo = transferTo; this.Cause = cause; this.ErrorMessage = errorMessage; this.ErrorId = errorId; this.EndTime = endTime; this.Digit = digit; this.ParentCallId = parentCallId; this.RecordingId = recordingId; this.Duration = duration; this.FileFormat = fileFormat; this.MediaUrl = mediaUrl; this.Tag = tag; this.Channels = channels; this.Status = status; this.Digits = digits; this.TerminatingDigit = terminatingDigit; this.Transcription = transcription; this.Diversion = diversion; this.MachineDetectionResult = machineDetectionResult; }