Record Class TranscriptionSpeakersEntity
java.lang.Object
java.lang.Record
org.exoplatform.documents.rest.model.TranscriptionSpeakersEntity
- Record Components:
canEdit- whether the caller may say who the speakers are: anyone who can edit the filespeakers- the named speakers, by number
public record TranscriptionSpeakersEntity(boolean canEdit, List<TranscriptionSpeakerEntity> speakers)
extends Record
The named speakers of a transcript, as the REST answers them (EXO-92123).
-
Constructor Summary
ConstructorsConstructorDescriptionTranscriptionSpeakersEntity(boolean canEdit, List<TranscriptionSpeakerEntity> speakers) Creates an instance of aTranscriptionSpeakersEntityrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleancanEdit()Returns the value of thecanEditrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.speakers()Returns the value of thespeakersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. -
canEdit
-
speakers
-