CorrelazioneApplicativaRichiesta.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.config.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 CorrelazioneApplicativaRichiesta extends CorrelazioneApplicativaBase {
  26.  
  27.   @Schema(required = true, description = "")
  28.   private CorrelazioneApplicativaRichiestaEnum identificazioneTipo = null;
  29.  
  30.   @Schema(description = "La semantica cambia in funzione del tipo:   * header-based: nome dell'header   * url-based: espressione regolare da applicare alla url di invocazione   * content-based: xpath o json path da applicare sul contenuto   * input-based: questo field non deve essere valorizzato poichè l'informazione applicativa viene estratta dagli header di integrazione   * template: template con parti dinamiche risolte a runtime da GovWay   * freemarker-template: freemarker template   * velocity-template: velocity template   * disabilitato:  questo field non deve essere valorizzato poichè la funzionalità di estrazione è disabilitata")
  31.  /**
  32.    * La semantica cambia in funzione del tipo:   * header-based: nome dell'header   * url-based: espressione regolare da applicare alla url di invocazione   * content-based: xpath o json path da applicare sul contenuto   * input-based: questo field non deve essere valorizzato poichè l'informazione applicativa viene estratta dagli header di integrazione   * template: template con parti dinamiche risolte a runtime da GovWay   * freemarker-template: freemarker template   * velocity-template: velocity template   * disabilitato:  questo field non deve essere valorizzato poichè la funzionalità di estrazione è disabilitata  
  33.   **/
  34.   private String identificazione = null;
  35.  /**
  36.    * Get identificazioneTipo
  37.    * @return identificazioneTipo
  38.   **/
  39.   @JsonProperty("identificazione_tipo")
  40.   @NotNull
  41.   @Valid
  42.   public CorrelazioneApplicativaRichiestaEnum getIdentificazioneTipo() {
  43.     return this.identificazioneTipo;
  44.   }

  45.   public void setIdentificazioneTipo(CorrelazioneApplicativaRichiestaEnum identificazioneTipo) {
  46.     this.identificazioneTipo = identificazioneTipo;
  47.   }

  48.   public CorrelazioneApplicativaRichiesta identificazioneTipo(CorrelazioneApplicativaRichiestaEnum identificazioneTipo) {
  49.     this.identificazioneTipo = identificazioneTipo;
  50.     return this;
  51.   }

  52.  /**
  53.    * La semantica cambia in funzione del tipo:   * header-based: nome dell'header   * url-based: espressione regolare da applicare alla url di invocazione   * content-based: xpath o json path da applicare sul contenuto   * input-based: questo field non deve essere valorizzato poichè l'informazione applicativa viene estratta dagli header di integrazione   * template: template con parti dinamiche risolte a runtime da GovWay   * freemarker-template: freemarker template   * velocity-template: velocity template   * disabilitato:  questo field non deve essere valorizzato poichè la funzionalità di estrazione è disabilitata
  54.    * @return identificazione
  55.   **/
  56.   @JsonProperty("identificazione")
  57.   @Valid
  58.   public String getIdentificazione() {
  59.     return this.identificazione;
  60.   }

  61.   public void setIdentificazione(String identificazione) {
  62.     this.identificazione = identificazione;
  63.   }

  64.   public CorrelazioneApplicativaRichiesta identificazione(String identificazione) {
  65.     this.identificazione = identificazione;
  66.     return this;
  67.   }


  68.   @Override
  69.   public String toString() {
  70.     StringBuilder sb = new StringBuilder();
  71.     sb.append("class CorrelazioneApplicativaRichiesta {\n");
  72.     sb.append("    ").append(CorrelazioneApplicativaRichiesta.toIndentedString(super.toString())).append("\n");
  73.     sb.append("    identificazioneTipo: ").append(CorrelazioneApplicativaRichiesta.toIndentedString(this.identificazioneTipo)).append("\n");
  74.     sb.append("    identificazione: ").append(CorrelazioneApplicativaRichiesta.toIndentedString(this.identificazione)).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. }