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>

public final class RecordingStateChanged extends CallAutomationEventBase
The RecordingStateChanged model.
  • Method Details

    • getRecordingId

      public String getRecordingId()
      Get the recordingId property: Recording Id.
      Returns:
      the recordingId value.
    • getRecordingState

      public RecordingState getRecordingState()
      Get the recordingState property: Recording State.
      Returns:
      the recordingState value.
    • getRecordingKind

      public RecordingKind getRecordingKind()
      Get the recordingKind property: Recording Kind.
      Returns:
      the recordingKind value.
    • getStartDateTime

      public OffsetDateTime getStartDateTime()
      Get the startDateTime property: Start Date time.
      Returns:
      the startDateTime value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      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.