Record Class ComunicazioniApi.Riscontro

java.lang.Object
java.lang.Record
it.unina.picus.comunicazioni.api.ComunicazioniApi.Riscontro
Record Components:
destinatarioId - account destinatario
nomeVisualizzato - nome dell'organizzazione o dell'operatore
confermataIl - istante della prima conferma, oppure null in assenza di riscontro
Enclosing interface:
ComunicazioniApi

public static record ComunicazioniApi.Riscontro(UUID destinatarioId, String nomeVisualizzato, Instant confermataIl) extends Record
Riscontro di un account destinatario, anche se ancora in attesa.
  • Constructor Details

    • Riscontro

      public Riscontro(UUID destinatarioId, String nomeVisualizzato, Instant confermataIl)
      Creates an instance of a Riscontro record class.
      Parameters:
      destinatarioId - the value for the destinatarioId record component
      nomeVisualizzato - the value for the nomeVisualizzato record component
      confermataIl - the value for the confermataIl 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • destinatarioId

      public UUID destinatarioId()
      Returns the value of the destinatarioId record component.
      Returns:
      the value of the destinatarioId record component
    • nomeVisualizzato

      public String nomeVisualizzato()
      Returns the value of the nomeVisualizzato record component.
      Returns:
      the value of the nomeVisualizzato record component
    • confermataIl

      public Instant confermataIl()
      Returns the value of the confermataIl record component.
      Returns:
      the value of the confermataIl record component