Record Class MeetingRecordingModel

java.lang.Object
java.lang.Record
org.exoplatform.webconferencing.mcp.model.MeetingRecordingModel
Record Components:
documentId - the id of the recording's document, the one get_document_transcription_by_id takes
title - the title displayed in Documents: the meeting's title and date
recordedDate - when the recording was saved, an ISO 8601 instant in UTC
startedDate - when the recording started, an ISO 8601 instant in UTC, absent when its file name does not tell it
sizeBytes - the size of the recording in bytes, -1 when unknown
mimeType - the media type of the recording
durationSeconds - how long the recording lasts, in seconds, absent when its file does not tell it
previewUrl - the link opening the recording in Documents
chapters - the chapters of the recording's transcript, each with the moment it starts and its title, absent when it has none
speakers - the names of the speakers of the recording's transcript, absent when it does not tell them apart

public record MeetingRecordingModel(String documentId, String title, String recordedDate, String startedDate, long sizeBytes, String mimeType, Long durationSeconds, String previewUrl, List<RecordingChapterModel> chapters, List<String> speakers) extends Record
A recording of a meeting, as the assistant tool answers it.
  • Constructor Details

    • MeetingRecordingModel

      public MeetingRecordingModel(String documentId, String title, String recordedDate, String startedDate, long sizeBytes, String mimeType, Long durationSeconds, String previewUrl, List<RecordingChapterModel> chapters, List<String> speakers)
      Creates an instance of a MeetingRecordingModel record class.
      Parameters:
      documentId - the value for the documentId record component
      title - the value for the title record component
      recordedDate - the value for the recordedDate record component
      startedDate - the value for the startedDate record component
      sizeBytes - the value for the sizeBytes record component
      mimeType - the value for the mimeType record component
      durationSeconds - the value for the durationSeconds record component
      previewUrl - the value for the previewUrl record component
      chapters - the value for the chapters record component
      speakers - the value for the speakers record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • documentId

      public String documentId()
      Returns the value of the documentId record component.
      Returns:
      the value of the documentId record component
    • title

      public String title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • recordedDate

      public String recordedDate()
      Returns the value of the recordedDate record component.
      Returns:
      the value of the recordedDate record component
    • startedDate

      public String startedDate()
      Returns the value of the startedDate record component.
      Returns:
      the value of the startedDate record component
    • sizeBytes

      public long sizeBytes()
      Returns the value of the sizeBytes record component.
      Returns:
      the value of the sizeBytes record component
    • mimeType

      public String mimeType()
      Returns the value of the mimeType record component.
      Returns:
      the value of the mimeType record component
    • durationSeconds

      public Long durationSeconds()
      Returns the value of the durationSeconds record component.
      Returns:
      the value of the durationSeconds record component
    • previewUrl

      public String previewUrl()
      Returns the value of the previewUrl record component.
      Returns:
      the value of the previewUrl record component
    • chapters

      public List<RecordingChapterModel> chapters()
      Returns the value of the chapters record component.
      Returns:
      the value of the chapters record component
    • speakers

      public List<String> speakers()
      Returns the value of the speakers record component.
      Returns:
      the value of the speakers record component