Record Class UtenzeApi.ProfiloErogatore
java.lang.Object
java.lang.Record
it.unina.picus.utenze.api.UtenzeApi.ProfiloErogatore
- Record Components:
accountId- identificativo dell'OPT o dell'operatorenomeVisualizzato- nome dell'erogatore mostrato al Bancotipo- tipologia funzionale dell'erogatorecomuneCodice- comune dell'OPT o territorio di riferimento dell'operatorecentroPicus- indica l'appartenenza di un operatore al Centro PICUS
- Enclosing interface:
UtenzeApi
public static record UtenzeApi.ProfiloErogatore(UUID accountId, String nomeVisualizzato, UtenzeApi.TipoErogatore tipo, String comuneCodice, boolean centroPicus)
extends Record
Dati di profilo utilizzati dal Catalogo per individuare gli erogatori compatibili.
-
Constructor Summary
ConstructorsConstructorDescriptionProfiloErogatore(UUID accountId, String nomeVisualizzato, UtenzeApi.TipoErogatore tipo, String comuneCodice, boolean centroPicus) Creates an instance of aProfiloErogatorerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountIdrecord component.booleanReturns the value of thecentroPicusrecord component.Returns the value of thecomuneCodicerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thenomeVisualizzatorecord component.tipo()Returns the value of thetiporecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProfiloErogatore
public ProfiloErogatore(UUID accountId, String nomeVisualizzato, UtenzeApi.TipoErogatore tipo, String comuneCodice, boolean centroPicus) Creates an instance of aProfiloErogatorerecord class.- Parameters:
accountId- the value for theaccountIdrecord componentnomeVisualizzato- the value for thenomeVisualizzatorecord componenttipo- the value for thetiporecord componentcomuneCodice- the value for thecomuneCodicerecord componentcentroPicus- the value for thecentroPicusrecord 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. -
accountId
-
nomeVisualizzato
Returns the value of thenomeVisualizzatorecord component.- Returns:
- the value of the
nomeVisualizzatorecord component
-
tipo
-
comuneCodice
Returns the value of thecomuneCodicerecord component.- Returns:
- the value of the
comuneCodicerecord component
-
centroPicus
public boolean centroPicus()Returns the value of thecentroPicusrecord component.- Returns:
- the value of the
centroPicusrecord component
-