Class RecordingStateChanged
java.lang.Object
com.azure.communication.callautomation.models.events.CallAutomationEventBase
com.azure.communication.callautomation.models.events.RecordingStateChanged
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CallAutomationEventBase>
The RecordingStateChanged model.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RecordingStateChangedfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RecordingStateChanged from the JsonReader.Get the recordingId property: Recording Id.Get the recordingKind property: Recording Kind.Get the recordingState property: Recording State.Get the startDateTime property: Start Date time.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class com.azure.communication.callautomation.models.events.CallAutomationEventBase
getCallConnectionId, getCorrelationId, getOperationContext, getResultInformation, getServerCallIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getRecordingId
Get the recordingId property: Recording Id.- Returns:
- the recordingId value.
-
getRecordingState
Get the recordingState property: Recording State.- Returns:
- the recordingState value.
-
getRecordingKind
Get the recordingKind property: Recording Kind.- Returns:
- the recordingKind value.
-
getStartDateTime
Get the startDateTime property: Start Date time.- Returns:
- the startDateTime value.
-
toJson
- Throws:
IOException
-
fromJson
public static RecordingStateChanged fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RecordingStateChanged from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RecordingStateChanged if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the RecordingStateChanged.
-