RegistrazioneTransazioniConfigurazioneFiletrace.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 RegistrazioneTransazioniConfigurazioneFiletrace extends RegistrazioneTransazioniConfigurazioneBase {
  26.  
  27.   @Schema(description = "")
  28.   private String configPath = null;
  29.  
  30.   @Schema(description = "")
  31.   private RegistrazioneTransazioniConfigurazioneFiletraceMessaggio dumpClient = null;
  32.  
  33.   @Schema(description = "")
  34.   private RegistrazioneTransazioniConfigurazioneFiletraceMessaggio dumpServer = null;
  35.  /**
  36.    * Get configPath
  37.    * @return configPath
  38.   **/
  39.   @JsonProperty("config_path")
  40.   @Valid
  41.  @Size(max=255)  public String getConfigPath() {
  42.     return this.configPath;
  43.   }

  44.   public void setConfigPath(String configPath) {
  45.     this.configPath = configPath;
  46.   }

  47.   public RegistrazioneTransazioniConfigurazioneFiletrace configPath(String configPath) {
  48.     this.configPath = configPath;
  49.     return this;
  50.   }

  51.  /**
  52.    * Get dumpClient
  53.    * @return dumpClient
  54.   **/
  55.   @JsonProperty("dump_client")
  56.   @Valid
  57.   public RegistrazioneTransazioniConfigurazioneFiletraceMessaggio getDumpClient() {
  58.     return this.dumpClient;
  59.   }

  60.   public void setDumpClient(RegistrazioneTransazioniConfigurazioneFiletraceMessaggio dumpClient) {
  61.     this.dumpClient = dumpClient;
  62.   }

  63.   public RegistrazioneTransazioniConfigurazioneFiletrace dumpClient(RegistrazioneTransazioniConfigurazioneFiletraceMessaggio dumpClient) {
  64.     this.dumpClient = dumpClient;
  65.     return this;
  66.   }

  67.  /**
  68.    * Get dumpServer
  69.    * @return dumpServer
  70.   **/
  71.   @JsonProperty("dump_server")
  72.   @Valid
  73.   public RegistrazioneTransazioniConfigurazioneFiletraceMessaggio getDumpServer() {
  74.     return this.dumpServer;
  75.   }

  76.   public void setDumpServer(RegistrazioneTransazioniConfigurazioneFiletraceMessaggio dumpServer) {
  77.     this.dumpServer = dumpServer;
  78.   }

  79.   public RegistrazioneTransazioniConfigurazioneFiletrace dumpServer(RegistrazioneTransazioniConfigurazioneFiletraceMessaggio dumpServer) {
  80.     this.dumpServer = dumpServer;
  81.     return this;
  82.   }


  83.   @Override
  84.   public String toString() {
  85.     StringBuilder sb = new StringBuilder();
  86.     sb.append("class RegistrazioneTransazioniConfigurazioneFiletrace {\n");
  87.     sb.append("    ").append(RegistrazioneTransazioniConfigurazioneFiletrace.toIndentedString(super.toString())).append("\n");
  88.     sb.append("    configPath: ").append(RegistrazioneTransazioniConfigurazioneFiletrace.toIndentedString(this.configPath)).append("\n");
  89.     sb.append("    dumpClient: ").append(RegistrazioneTransazioniConfigurazioneFiletrace.toIndentedString(this.dumpClient)).append("\n");
  90.     sb.append("    dumpServer: ").append(RegistrazioneTransazioniConfigurazioneFiletrace.toIndentedString(this.dumpServer)).append("\n");
  91.     sb.append("}");
  92.     return sb.toString();
  93.   }

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