FiltroMittenteIdAutenticato.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */
  20. package org.openspcoop2.core.monitor.rs.server.model;

  21. import org.openspcoop2.utils.service.beans.FiltroRicercaId;
  22. import javax.validation.constraints.*;

  23. import io.swagger.v3.oas.annotations.media.Schema;
  24. import com.fasterxml.jackson.annotation.JsonProperty;
  25. import javax.validation.Valid;

  26. public class FiltroMittenteIdAutenticato extends FiltroRicercaId implements OneOfRicercaIntervalloTemporaleMittente, OneOfRicercaStatisticaAndamentoTemporaleMittente, OneOfRicercaStatisticaDistribuzioneApiMittente, OneOfRicercaStatisticaDistribuzioneAzioneMittente, OneOfRicercaStatisticaDistribuzioneErroriMittente, OneOfRicercaStatisticaDistribuzioneEsitiMittente, OneOfRicercaStatisticaDistribuzioneSoggettoLocaleMittente, OneOfRicercaStatisticaDistribuzioneSoggettoRemotoMittente {
  27.  
  28.   @Schema(required = true, description = "")
  29.   private TipoFiltroMittenteEnum identificazione = null;
  30.  
  31.   @Schema(required = true, description = "")
  32.   private TipoFiltroMittenteIdentificativoAutenticatoEnum autenticazione = null;
  33.  /**
  34.    * Get identificazione
  35.    * @return identificazione
  36.   **/
  37.   @Override
  38. @JsonProperty("identificazione")
  39.   @NotNull
  40.   @Valid
  41.   public TipoFiltroMittenteEnum getIdentificazione() {
  42.     return this.identificazione;
  43.   }

  44.   public void setIdentificazione(TipoFiltroMittenteEnum identificazione) {
  45.     this.identificazione = identificazione;
  46.   }

  47.   public FiltroMittenteIdAutenticato identificazione(TipoFiltroMittenteEnum identificazione) {
  48.     this.identificazione = identificazione;
  49.     return this;
  50.   }

  51.  /**
  52.    * Get autenticazione
  53.    * @return autenticazione
  54.   **/
  55.   @JsonProperty("autenticazione")
  56.   @NotNull
  57.   @Valid
  58.   public TipoFiltroMittenteIdentificativoAutenticatoEnum getAutenticazione() {
  59.     return this.autenticazione;
  60.   }

  61.   public void setAutenticazione(TipoFiltroMittenteIdentificativoAutenticatoEnum autenticazione) {
  62.     this.autenticazione = autenticazione;
  63.   }

  64.   public FiltroMittenteIdAutenticato autenticazione(TipoFiltroMittenteIdentificativoAutenticatoEnum autenticazione) {
  65.     this.autenticazione = autenticazione;
  66.     return this;
  67.   }


  68.   @Override
  69.   public String toString() {
  70.     StringBuilder sb = new StringBuilder();
  71.     sb.append("class FiltroMittenteIdAutenticato {\n");
  72.     sb.append("    ").append(FiltroMittenteIdAutenticato.toIndentedString(super.toString())).append("\n");
  73.     sb.append("    identificazione: ").append(FiltroMittenteIdAutenticato.toIndentedString(this.identificazione)).append("\n");
  74.     sb.append("    autenticazione: ").append(FiltroMittenteIdAutenticato.toIndentedString(this.autenticazione)).append("\n");
  75.     sb.append("}");
  76.     return sb.toString();
  77.   }

  78.   /**
  79.    * Convert the given object to string with each line indented by 4 spaces
  80.    * (except the first line).
  81.    */
  82.   private static String toIndentedString(java.lang.Object o) {
  83.     if (o == null) {
  84.       return "null";
  85.     }
  86.     return o.toString().replace("\n", "\n    ");
  87.   }
  88. }