Record Class TranscriptionSpeakerProposalEntity

java.lang.Object
java.lang.Record
org.exoplatform.documents.rest.model.TranscriptionSpeakerProposalEntity
Record Components:
speaker - the speaker's number in the transcript
identityId - the person's identity id
username - the person's user name
fullName - the person's full name
avatarUrl - the person's avatar
strong - whether the evidence was strong
autoApplied - whether the speaker was named after it without waiting for a person
quotes - the sentences that show it, each with its moment
premiseSpeaker - for a proposal made by elimination, the other voice it follows from; null otherwise
premiseFullName - 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 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 a TranscriptionSpeakerProposalEntity record class.
      Parameters:
      speaker - the value for the speaker record component
      identityId - the value for the identityId record component
      username - the value for the username record component
      fullName - the value for the fullName record component
      avatarUrl - the value for the avatarUrl record component
      strong - the value for the strong record component
      autoApplied - the value for the autoApplied record component
      quotes - the value for the quotes record component
      premiseSpeaker - the value for the premiseSpeaker record component
      premiseFullName - the value for the premiseFullName 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.
    • speaker

      public String speaker()
      Returns the value of the speaker record component.
      Returns:
      the value of the speaker record component
    • identityId

      public String identityId()
      Returns the value of the identityId record component.
      Returns:
      the value of the identityId record component
    • username

      public String username()
      Returns the value of the username record component.
      Returns:
      the value of the username record component
    • fullName

      public String fullName()
      Returns the value of the fullName record component.
      Returns:
      the value of the fullName record component
    • avatarUrl

      public String avatarUrl()
      Returns the value of the avatarUrl record component.
      Returns:
      the value of the avatarUrl record component
    • strong

      public boolean strong()
      Returns the value of the strong record component.
      Returns:
      the value of the strong record component
    • autoApplied

      public boolean autoApplied()
      Returns the value of the autoApplied record component.
      Returns:
      the value of the autoApplied record component
    • quotes

      public List<org.exoplatform.documents.model.TranscriptionQuote> quotes()
      Returns the value of the quotes record component.
      Returns:
      the value of the quotes record component
    • premiseSpeaker

      public String premiseSpeaker()
      Returns the value of the premiseSpeaker record component.
      Returns:
      the value of the premiseSpeaker record component
    • premiseFullName

      public String premiseFullName()
      Returns the value of the premiseFullName record component.
      Returns:
      the value of the premiseFullName record component