Record Class RichiesteApi.ContattoDisponibilita
java.lang.Object
java.lang.Record
it.unina.picus.richieste.api.RichiesteApi.ContattoDisponibilita
- Record Components:
id- identificativo specifico del contattorichiestaId- richiesta per cui si valuta la disponibilitàerogatoreId- account interpellatoambito- opzione per cui è stato interpellatoesito- esito del contatto, distinto dallo stato della richiesta
- Enclosing interface:
RichiesteApi
public static record RichiesteApi.ContattoDisponibilita(UUID id, UUID richiestaId, UUID erogatoreId, CatalogoApi.AmbitoErogazione ambito, RichiesteApi.EsitoContatto esito)
extends Record
Contatto con un singolo erogatore e relativo esito.
-
Constructor Summary
ConstructorsConstructorDescriptionContattoDisponibilita(UUID id, UUID richiestaId, UUID erogatoreId, CatalogoApi.AmbitoErogazione ambito, RichiesteApi.EsitoContatto esito) Creates an instance of aContattoDisponibilitarecord class. -
Method Summary
Modifier and TypeMethodDescriptionambito()Returns the value of theambitorecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerogatoreIdrecord component.esito()Returns the value of theesitorecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of therichiestaIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ContattoDisponibilita
public ContattoDisponibilita(UUID id, UUID richiestaId, UUID erogatoreId, CatalogoApi.AmbitoErogazione ambito, RichiesteApi.EsitoContatto esito) Creates an instance of aContattoDisponibilitarecord class.- Parameters:
id- the value for theidrecord componentrichiestaId- the value for therichiestaIdrecord componenterogatoreId- the value for theerogatoreIdrecord componentambito- the value for theambitorecord componentesito- the value for theesitorecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
id
-
richiestaId
Returns the value of therichiestaIdrecord component.- Returns:
- the value of the
richiestaIdrecord component
-
erogatoreId
Returns the value of theerogatoreIdrecord component.- Returns:
- the value of the
erogatoreIdrecord component
-
ambito
-
esito
-