FiltroMittenteTokenClaim.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 javax.validation.constraints.*;

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

  25. public class FiltroMittenteTokenClaim extends FiltroTokenClaimBase implements OneOfRicercaIntervalloTemporaleMittente, OneOfRicercaStatisticaAndamentoTemporaleMittente, OneOfRicercaStatisticaDistribuzioneApiMittente, OneOfRicercaStatisticaDistribuzioneAzioneMittente, OneOfRicercaStatisticaDistribuzioneErroriMittente, OneOfRicercaStatisticaDistribuzioneEsitiMittente, OneOfRicercaStatisticaDistribuzioneSoggettoLocaleMittente, OneOfRicercaStatisticaDistribuzioneSoggettoRemotoMittente {
  26.  
  27.   @Schema(example = "false", description = "")
  28.   private Boolean ricercaEsatta = true;
  29.  
  30.   @Schema(example = "false", description = "")
  31.   private Boolean caseSensitive = true;
  32.  
  33.   @Schema(example = "abc123", required = true, description = "")
  34.   private String id = null;
  35.  
  36.   @Schema(required = true, description = "")
  37.   private TipoFiltroMittenteEnum identificazione = null;
  38.  /**
  39.    * Get ricercaEsatta
  40.    * @return ricercaEsatta
  41.   **/
  42.   @JsonProperty("ricerca_esatta")
  43.   @Valid
  44.   public Boolean isRicercaEsatta() {
  45.     return this.ricercaEsatta;
  46.   }

  47.   public void setRicercaEsatta(Boolean ricercaEsatta) {
  48.     this.ricercaEsatta = ricercaEsatta;
  49.   }

  50.   public FiltroMittenteTokenClaim ricercaEsatta(Boolean ricercaEsatta) {
  51.     this.ricercaEsatta = ricercaEsatta;
  52.     return this;
  53.   }

  54.  /**
  55.    * Get caseSensitive
  56.    * @return caseSensitive
  57.   **/
  58.   @JsonProperty("case_sensitive")
  59.   @Valid
  60.   public Boolean isCaseSensitive() {
  61.     return this.caseSensitive;
  62.   }

  63.   public void setCaseSensitive(Boolean caseSensitive) {
  64.     this.caseSensitive = caseSensitive;
  65.   }

  66.   public FiltroMittenteTokenClaim caseSensitive(Boolean caseSensitive) {
  67.     this.caseSensitive = caseSensitive;
  68.     return this;
  69.   }

  70.  /**
  71.    * Get id
  72.    * @return id
  73.   **/
  74.   @JsonProperty("id")
  75.   @NotNull
  76.   @Valid
  77.   public String getId() {
  78.     return this.id;
  79.   }

  80.   public void setId(String id) {
  81.     this.id = id;
  82.   }

  83.   public FiltroMittenteTokenClaim id(String id) {
  84.     this.id = id;
  85.     return this;
  86.   }

  87.  /**
  88.    * Get identificazione
  89.    * @return identificazione
  90.   **/
  91.   @Override
  92. @JsonProperty("identificazione")
  93.   @NotNull
  94.   @Valid
  95.   public TipoFiltroMittenteEnum getIdentificazione() {
  96.     return this.identificazione;
  97.   }

  98.   public void setIdentificazione(TipoFiltroMittenteEnum identificazione) {
  99.     this.identificazione = identificazione;
  100.   }

  101.   public FiltroMittenteTokenClaim identificazione(TipoFiltroMittenteEnum identificazione) {
  102.     this.identificazione = identificazione;
  103.     return this;
  104.   }


  105.   @Override
  106.   public String toString() {
  107.     StringBuilder sb = new StringBuilder();
  108.     sb.append("class FiltroMittenteTokenClaim {\n");
  109.     sb.append("    ").append(FiltroMittenteTokenClaim.toIndentedString(super.toString())).append("\n");
  110.     sb.append("    ricercaEsatta: ").append(FiltroMittenteTokenClaim.toIndentedString(this.ricercaEsatta)).append("\n");
  111.     sb.append("    caseSensitive: ").append(FiltroMittenteTokenClaim.toIndentedString(this.caseSensitive)).append("\n");
  112.     sb.append("    id: ").append(FiltroMittenteTokenClaim.toIndentedString(this.id)).append("\n");
  113.     sb.append("    identificazione: ").append(FiltroMittenteTokenClaim.toIndentedString(this.identificazione)).append("\n");
  114.     sb.append("}");
  115.     return sb.toString();
  116.   }

  117.   /**
  118.    * Convert the given object to string with each line indented by 4 spaces
  119.    * (except the first line).
  120.    */
  121.   private static String toIndentedString(java.lang.Object o) {
  122.     if (o == null) {
  123.       return "null";
  124.     }
  125.     return o.toString().replace("\n", "\n    ");
  126.   }
  127. }