ModITrustStoreDefault.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 ModITrustStoreDefault  implements OneOfErogazioneModIRestRichiestaSicurezzaMessaggioTruststore, OneOfErogazioneModIRestRichiestaSicurezzaMessaggioTruststoreSsl, OneOfErogazioneModISoapRichiestaSicurezzaMessaggioTruststore, OneOfFruizioneModIRestRispostaSicurezzaMessaggioTruststore, OneOfFruizioneModIRestRispostaSicurezzaMessaggioTruststoreSsl, OneOfFruizioneModISoapRispostaSicurezzaMessaggioTruststore {
  26.  
  27.   @Schema(required = true, description = "")
  28.   private StatoDefaultRidefinitoEnum modalita = null;
  29.  /**
  30.    * Get modalita
  31.    * @return modalita
  32.   **/
  33.   @Override
  34. @JsonProperty("modalita")
  35.   @NotNull
  36.   @Valid
  37.   public StatoDefaultRidefinitoEnum getModalita() {
  38.     return this.modalita;
  39.   }

  40.   public void setModalita(StatoDefaultRidefinitoEnum modalita) {
  41.     this.modalita = modalita;
  42.   }

  43.   public ModITrustStoreDefault modalita(StatoDefaultRidefinitoEnum modalita) {
  44.     this.modalita = modalita;
  45.     return this;
  46.   }


  47.   @Override
  48.   public String toString() {
  49.     StringBuilder sb = new StringBuilder();
  50.     sb.append("class ModITrustStoreDefault {\n");
  51.    
  52.     sb.append("    modalita: ").append(ModITrustStoreDefault.toIndentedString(this.modalita)).append("\n");
  53.     sb.append("}");
  54.     return sb.toString();
  55.   }

  56.   /**
  57.    * Convert the given object to string with each line indented by 4 spaces
  58.    * (except the first line).
  59.    */
  60.   private static String toIndentedString(java.lang.Object o) {
  61.     if (o == null) {
  62.       return "null";
  63.     }
  64.     return o.toString().replace("\n", "\n    ");
  65.   }
  66. }