ApiModIPatternInterazioneCorrelazioneSoap.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 ApiModIPatternInterazioneCorrelazioneSoap  {
  26.  
  27.   @Schema(required = true, description = "")
  28.   private String apiNome = null;
  29.  
  30.   @Schema(required = true, description = "")
  31.   private Integer apiVersione = null;
  32.  
  33.   @Schema(required = true, description = "")
  34.   private String servizio = null;
  35.  
  36.   @Schema(description = "")
  37.   private String azione = null;
  38.  /**
  39.    * Get apiNome
  40.    * @return apiNome
  41.   **/
  42.   @JsonProperty("api_nome")
  43.   @NotNull
  44.   @Valid
  45.  @Pattern(regexp="^[_A-Za-z][\\-\\._A-Za-z0-9]*$") @Size(max=255)  public String getApiNome() {
  46.     return this.apiNome;
  47.   }

  48.   public void setApiNome(String apiNome) {
  49.     this.apiNome = apiNome;
  50.   }

  51.   public ApiModIPatternInterazioneCorrelazioneSoap apiNome(String apiNome) {
  52.     this.apiNome = apiNome;
  53.     return this;
  54.   }

  55.  /**
  56.    * Get apiVersione
  57.    * @return apiVersione
  58.   **/
  59.   @JsonProperty("api_versione")
  60.   @NotNull
  61.   @Valid
  62.   public Integer getApiVersione() {
  63.     return this.apiVersione;
  64.   }

  65.   public void setApiVersione(Integer apiVersione) {
  66.     this.apiVersione = apiVersione;
  67.   }

  68.   public ApiModIPatternInterazioneCorrelazioneSoap apiVersione(Integer apiVersione) {
  69.     this.apiVersione = apiVersione;
  70.     return this;
  71.   }

  72.  /**
  73.    * Get servizio
  74.    * @return servizio
  75.   **/
  76.   @JsonProperty("servizio")
  77.   @NotNull
  78.   @Valid
  79.  @Pattern(regexp="^[_A-Za-z][\\-\\._A-Za-z0-9]*$") @Size(max=255)  public String getServizio() {
  80.     return this.servizio;
  81.   }

  82.   public void setServizio(String servizio) {
  83.     this.servizio = servizio;
  84.   }

  85.   public ApiModIPatternInterazioneCorrelazioneSoap servizio(String servizio) {
  86.     this.servizio = servizio;
  87.     return this;
  88.   }

  89.  /**
  90.    * Get azione
  91.    * @return azione
  92.   **/
  93.   @JsonProperty("azione")
  94.   @Valid
  95.  @Pattern(regexp="^[_A-Za-z][\\-\\._A-Za-z0-9]*$") @Size(max=255)  public String getAzione() {
  96.     return this.azione;
  97.   }

  98.   public void setAzione(String azione) {
  99.     this.azione = azione;
  100.   }

  101.   public ApiModIPatternInterazioneCorrelazioneSoap azione(String azione) {
  102.     this.azione = azione;
  103.     return this;
  104.   }


  105.   @Override
  106.   public String toString() {
  107.     StringBuilder sb = new StringBuilder();
  108.     sb.append("class ApiModIPatternInterazioneCorrelazioneSoap {\n");
  109.    
  110.     sb.append("    apiNome: ").append(ApiModIPatternInterazioneCorrelazioneSoap.toIndentedString(this.apiNome)).append("\n");
  111.     sb.append("    apiVersione: ").append(ApiModIPatternInterazioneCorrelazioneSoap.toIndentedString(this.apiVersione)).append("\n");
  112.     sb.append("    servizio: ").append(ApiModIPatternInterazioneCorrelazioneSoap.toIndentedString(this.servizio)).append("\n");
  113.     sb.append("    azione: ").append(ApiModIPatternInterazioneCorrelazioneSoap.toIndentedString(this.azione)).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. }