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 oneget_document_transcription_by_idtakestitle- the title displayed in Documents: the meeting's title and daterecordedDate- when the recording was saved, an ISO 8601 instant in UTCstartedDate- when the recording started, an ISO 8601 instant in UTC, absent when its file name does not tell itsizeBytes- the size of the recording in bytes, -1 when unknownmimeType- the media type of the recordingdurationSeconds- how long the recording lasts, in seconds, absent when its file does not tell itpreviewUrl- the link opening the recording in Documentschapters- the chapters of the recording's transcript, each with the moment it starts and its title, absent when it has nonespeakers- 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 Summary
ConstructorsConstructorDescriptionMeetingRecordingModel(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 aMeetingRecordingModelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchapters()Returns the value of thechaptersrecord component.Returns the value of thedocumentIdrecord component.Returns the value of thedurationSecondsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mimeType()Returns the value of themimeTyperecord component.Returns the value of thepreviewUrlrecord component.Returns the value of therecordedDaterecord component.longReturns the value of thesizeBytesrecord component.speakers()Returns the value of thespeakersrecord component.Returns the value of thestartedDaterecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
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 aMeetingRecordingModelrecord class.- Parameters:
documentId- the value for thedocumentIdrecord componenttitle- the value for thetitlerecord componentrecordedDate- the value for therecordedDaterecord componentstartedDate- the value for thestartedDaterecord componentsizeBytes- the value for thesizeBytesrecord componentmimeType- the value for themimeTyperecord componentdurationSeconds- the value for thedurationSecondsrecord componentpreviewUrl- the value for thepreviewUrlrecord componentchapters- the value for thechaptersrecord componentspeakers- the value for thespeakersrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
documentId
Returns the value of thedocumentIdrecord component.- Returns:
- the value of the
documentIdrecord component
-
title
-
recordedDate
Returns the value of therecordedDaterecord component.- Returns:
- the value of the
recordedDaterecord component
-
startedDate
Returns the value of thestartedDaterecord component.- Returns:
- the value of the
startedDaterecord component
-
sizeBytes
-
mimeType
-
durationSeconds
Returns the value of thedurationSecondsrecord component.- Returns:
- the value of the
durationSecondsrecord component
-
previewUrl
Returns the value of thepreviewUrlrecord component.- Returns:
- the value of the
previewUrlrecord component
-
chapters
-
speakers
-