FiltroRicercaId.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.utils.service.beans;

  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 FiltroRicercaId  {
  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.    * Get ricercaEsatta
  37.    * @return ricercaEsatta
  38.   **/
  39.   @JsonProperty("ricerca_esatta")
  40.   @Valid
  41.   public Boolean isRicercaEsatta() {
  42.     return this.ricercaEsatta;
  43.   }

  44.   public void setRicercaEsatta(Boolean ricercaEsatta) {
  45.     this.ricercaEsatta = ricercaEsatta;
  46.   }

  47.   public FiltroRicercaId ricercaEsatta(Boolean ricercaEsatta) {
  48.     this.ricercaEsatta = ricercaEsatta;
  49.     return this;
  50.   }

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

  60.   public void setCaseSensitive(Boolean caseSensitive) {
  61.     this.caseSensitive = caseSensitive;
  62.   }

  63.   public FiltroRicercaId caseSensitive(Boolean caseSensitive) {
  64.     this.caseSensitive = caseSensitive;
  65.     return this;
  66.   }

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

  77.   public void setId(String id) {
  78.     this.id = id;
  79.   }

  80.   public FiltroRicercaId id(String id) {
  81.     this.id = id;
  82.     return this;
  83.   }


  84.   @Override
  85.   public String toString() {
  86.     StringBuilder sb = new StringBuilder();
  87.     sb.append("class FiltroRicercaId {\n");
  88.    
  89.     sb.append("    ricercaEsatta: ").append(FiltroRicercaId.toIndentedString(this.ricercaEsatta)).append("\n");
  90.     sb.append("    caseSensitive: ").append(FiltroRicercaId.toIndentedString(this.caseSensitive)).append("\n");
  91.     sb.append("    id: ").append(FiltroRicercaId.toIndentedString(this.id)).append("\n");
  92.     sb.append("}");
  93.     return sb.toString();
  94.   }

  95.   /**
  96.    * Convert the given object to string with each line indented by 4 spaces
  97.    * (except the first line).
  98.    */
  99.   private static String toIndentedString(java.lang.Object o) {
  100.     if (o == null) {
  101.       return "null";
  102.     }
  103.     return o.toString().replace("\n", "\n    ");
  104.   }
  105. }