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'operatore
nomeVisualizzato - nome dell'erogatore mostrato al Banco
tipo - tipologia funzionale dell'erogatore
comuneCodice - comune dell'OPT o territorio di riferimento dell'operatore
centroPicus - 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 Details

    • ProfiloErogatore

      public ProfiloErogatore(UUID accountId, String nomeVisualizzato, UtenzeApi.TipoErogatore tipo, String comuneCodice, boolean centroPicus)
      Creates an instance of a ProfiloErogatore record class.
      Parameters:
      accountId - the value for the accountId record component
      nomeVisualizzato - the value for the nomeVisualizzato record component
      tipo - the value for the tipo record component
      comuneCodice - the value for the comuneCodice record component
      centroPicus - the value for the centroPicus 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.
    • accountId

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

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

      public UtenzeApi.TipoErogatore tipo()
      Returns the value of the tipo record component.
      Returns:
      the value of the tipo record component
    • comuneCodice

      public String comuneCodice()
      Returns the value of the comuneCodice record component.
      Returns:
      the value of the comuneCodice record component
    • centroPicus

      public boolean centroPicus()
      Returns the value of the centroPicus record component.
      Returns:
      the value of the centroPicus record component