-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
CallRecordingStateChangeEvent.cs
46 lines (40 loc) · 1.87 KB
/
CallRecordingStateChangeEvent.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.Communication.CallingServer
{
/// <summary> The call recording state change event. </summary>
public partial class CallRecordingStateChangeEvent
{
/// <summary> Initializes a new instance of CallRecordingStateChangeEvent. </summary>
/// <param name="state"> The state of the recording. </param>
/// <param name="startDateTime"> The time of the recording started. </param>
internal CallRecordingStateChangeEvent(CallRecordingState state, DateTimeOffset startDateTime)
{
State = state;
StartDateTime = startDateTime;
}
/// <summary> Initializes a new instance of CallRecordingStateChangeEvent. </summary>
/// <param name="recordingId"> The call recording id. </param>
/// <param name="state"> The state of the recording. </param>
/// <param name="startDateTime"> The time of the recording started. </param>
/// <param name="serverCallId"> The server call.id. </param>
internal CallRecordingStateChangeEvent(string recordingId, CallRecordingState state, DateTimeOffset startDateTime, string serverCallId)
{
RecordingId = recordingId;
State = state;
StartDateTime = startDateTime;
ServerCallId = serverCallId;
}
/// <summary> The call recording id. </summary>
public string RecordingId { get; }
/// <summary> The state of the recording. </summary>
public CallRecordingState State { get; }
/// <summary> The time of the recording started. </summary>
public DateTimeOffset StartDateTime { get; }
/// <summary> The server call.id. </summary>
public string ServerCallId { get; }
}
}