Class AcsRecordingFileStatusUpdatedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRecordingFileStatusUpdatedEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRecordingFileStatusUpdatedEventData>

public final class AcsRecordingFileStatusUpdatedEventData extends Object implements com.azure.json.JsonSerializable<AcsRecordingFileStatusUpdatedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RecordingFileStatusUpdated event.
  • Method Details

    • getRecordingStorageInfo

      public AcsRecordingStorageInfoProperties getRecordingStorageInfo()
      Get the recordingStorageInfo property: The details of recording storage information.
      Returns:
      the recordingStorageInfo value.
    • getRecordingStartTime

      public OffsetDateTime getRecordingStartTime()
      Get the recordingStartTime property: The time at which the recording started.
      Returns:
      the recordingStartTime value.
    • getRecordingDuration

      public Duration getRecordingDuration()
      Get the recordingDuration property: The recording duration.
      Returns:
      the recordingDuration value.
    • getRecordingContentType

      public RecordingContentType getRecordingContentType()
      Get the recordingContentType property: The recording content type- AudioVideo, or Audio.
      Returns:
      the recordingContentType value.
    • getRecordingChannelType

      public RecordingChannelType getRecordingChannelType()
      Get the recordingChannelType property: The recording channel type - Mixed, Unmixed.
      Returns:
      the recordingChannelType value.
    • getRecordingFormatType

      public RecordingFormatType getRecordingFormatType()
      Get the recordingFormatType property: The recording format type - Mp4, Mp3, Wav.
      Returns:
      the recordingFormatType value.
    • getSessionEndReason

      public String getSessionEndReason()
      Get the sessionEndReason property: The reason for ending recording session.
      Returns:
      the sessionEndReason value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AcsRecordingFileStatusUpdatedEventData>
      Throws:
      IOException
    • fromJson

      public static AcsRecordingFileStatusUpdatedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AcsRecordingFileStatusUpdatedEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AcsRecordingFileStatusUpdatedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the AcsRecordingFileStatusUpdatedEventData.