BaseModIRichiestaInformazioniUtenteAudit.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 BaseModIRichiestaInformazioniUtenteAudit  {
  26.  
  27.   @Schema(description = "")
  28.   private ModISicurezzaMessaggioRestSameDifferentEnum audience = null;
  29.  
  30.   @Schema(description = "")
  31.   private String audienceAtteso = null;
  32.  /**
  33.    * Get audience
  34.    * @return audience
  35.   **/
  36.   @JsonProperty("audience")
  37.   @Valid
  38.   public ModISicurezzaMessaggioRestSameDifferentEnum getAudience() {
  39.     return this.audience;
  40.   }

  41.   public void setAudience(ModISicurezzaMessaggioRestSameDifferentEnum audience) {
  42.     this.audience = audience;
  43.   }

  44.   public BaseModIRichiestaInformazioniUtenteAudit audience(ModISicurezzaMessaggioRestSameDifferentEnum audience) {
  45.     this.audience = audience;
  46.     return this;
  47.   }

  48.  /**
  49.    * Get audienceAtteso
  50.    * @return audienceAtteso
  51.   **/
  52.   @JsonProperty("audience_atteso")
  53.   @Valid
  54.  @Size(max=4000)  public String getAudienceAtteso() {
  55.     return this.audienceAtteso;
  56.   }

  57.   public void setAudienceAtteso(String audienceAtteso) {
  58.     this.audienceAtteso = audienceAtteso;
  59.   }

  60.   public BaseModIRichiestaInformazioniUtenteAudit audienceAtteso(String audienceAtteso) {
  61.     this.audienceAtteso = audienceAtteso;
  62.     return this;
  63.   }


  64.   @Override
  65.   public String toString() {
  66.     StringBuilder sb = new StringBuilder();
  67.     sb.append("class BaseModIRichiestaInformazioniUtenteAudit {\n");
  68.    
  69.     sb.append("    audience: ").append(BaseModIRichiestaInformazioniUtenteAudit.toIndentedString(this.audience)).append("\n");
  70.     sb.append("    audienceAtteso: ").append(BaseModIRichiestaInformazioniUtenteAudit.toIndentedString(this.audienceAtteso)).append("\n");
  71.     sb.append("}");
  72.     return sb.toString();
  73.   }

  74.   /**
  75.    * Convert the given object to string with each line indented by 4 spaces
  76.    * (except the first line).
  77.    */
  78.   private static String toIndentedString(java.lang.Object o) {
  79.     if (o == null) {
  80.       return "null";
  81.     }
  82.     return o.toString().replace("\n", "\n    ");
  83.   }
  84. }