Record Class TranscriptionSpeakerProposalEntity
java.lang.Object
java.lang.Record
org.exoplatform.documents.rest.model.TranscriptionSpeakerProposalEntity
- Record Components:
speaker- the speaker's number in the transcriptidentityId- the person's identity idusername- the person's user namefullName- the person's full nameavatarUrl- the person's avatarstrong- whether the evidence was strongautoApplied- whether the speaker was named after it without waiting for a personquotes- the sentences that show it, each with its momentpremiseSpeaker- for a proposal made by elimination, the other voice it follows from; null otherwisepremiseFullName- for a proposal made by elimination, the full name of the person that other voice is taken to be; null otherwise
public record TranscriptionSpeakerProposalEntity(String speaker, String identityId, String username, String fullName, String avatarUrl, boolean strong, boolean autoApplied, List<org.exoplatform.documents.model.TranscriptionQuote> quotes, String premiseSpeaker, String premiseFullName)
extends Record
A proposal of who a speaker of a transcript is, as the REST answers it to a
person who can edit the file (EXO-92126).
-
Constructor Summary
ConstructorsConstructorDescriptionTranscriptionSpeakerProposalEntity(String speaker, String identityId, String username, String fullName, String avatarUrl, boolean strong, boolean autoApplied, List<org.exoplatform.documents.model.TranscriptionQuote> quotes, String premiseSpeaker, String premiseFullName) Creates an instance of aTranscriptionSpeakerProposalEntityrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theautoAppliedrecord component.Returns the value of theavatarUrlrecord component.final booleanIndicates whether some other object is "equal to" this one.fullName()Returns the value of thefullNamerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theidentityIdrecord component.Returns the value of thepremiseFullNamerecord component.Returns the value of thepremiseSpeakerrecord component.List<org.exoplatform.documents.model.TranscriptionQuote> quotes()Returns the value of thequotesrecord component.speaker()Returns the value of thespeakerrecord component.booleanstrong()Returns the value of thestrongrecord component.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.
-
Constructor Details
-
TranscriptionSpeakerProposalEntity
public TranscriptionSpeakerProposalEntity(String speaker, String identityId, String username, String fullName, String avatarUrl, boolean strong, boolean autoApplied, List<org.exoplatform.documents.model.TranscriptionQuote> quotes, String premiseSpeaker, String premiseFullName) Creates an instance of aTranscriptionSpeakerProposalEntityrecord class.- Parameters:
speaker- the value for thespeakerrecord componentidentityId- the value for theidentityIdrecord componentusername- the value for theusernamerecord componentfullName- the value for thefullNamerecord componentavatarUrl- the value for theavatarUrlrecord componentstrong- the value for thestrongrecord componentautoApplied- the value for theautoAppliedrecord componentquotes- the value for thequotesrecord componentpremiseSpeaker- the value for thepremiseSpeakerrecord componentpremiseFullName- the value for thepremiseFullNamerecord 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. -
speaker
-
identityId
Returns the value of theidentityIdrecord component.- Returns:
- the value of the
identityIdrecord component
-
username
-
fullName
-
avatarUrl
-
strong
-
autoApplied
public boolean autoApplied()Returns the value of theautoAppliedrecord component.- Returns:
- the value of the
autoAppliedrecord component
-
quotes
-
premiseSpeaker
Returns the value of thepremiseSpeakerrecord component.- Returns:
- the value of the
premiseSpeakerrecord component
-
premiseFullName
Returns the value of thepremiseFullNamerecord component.- Returns:
- the value of the
premiseFullNamerecord component
-