Record Class RichiesteApi.AccordoADistanza
java.lang.Object
java.lang.Record
it.unina.picus.richieste.api.RichiesteApi.AccordoADistanza
- Record Components:
dataOra- istante concordatolink- collegamento per l'appuntamento
- All Implemented Interfaces:
RichiesteApi.DettagliAccordo
- Enclosing interface:
RichiesteApi
public static record RichiesteApi.AccordoADistanza(Instant dataOra, URI link)
extends Record
implements RichiesteApi.DettagliAccordo
Accordo per un appuntamento a distanza.
-
Constructor Summary
ConstructorsConstructorDescriptionAccordoADistanza(Instant dataOra, URI link) Creates an instance of aAccordoADistanzarecord class. -
Method Summary
Modifier and TypeMethodDescriptiondataOra()Returns the value of thedataOrarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.link()Returns the value of thelinkrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AccordoADistanza
-
-
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). -
dataOra
-
link
-