FiltroMittenteErogazioneApplicativo.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.monitor.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 FiltroMittenteErogazioneApplicativo  implements OneOfRicercaIntervalloTemporaleMittente, OneOfRicercaStatisticaAndamentoTemporaleMittente, OneOfRicercaStatisticaDistribuzioneApiMittente, OneOfRicercaStatisticaDistribuzioneAzioneMittente, OneOfRicercaStatisticaDistribuzioneErroriMittente, OneOfRicercaStatisticaDistribuzioneEsitiMittente, OneOfRicercaStatisticaDistribuzioneSoggettoLocaleMittente {
  26.  
  27.   @Schema(required = true, description = "")
  28.   private TipoFiltroMittenteEnum identificazione = null;
  29.  
  30.   @Schema(description = "")
  31.   private TipoIdentificazioneApplicativoEnum tipoIdentificazioneApplicativo = null;
  32.  
  33.   @Schema(required = true, description = "")
  34.   private String soggetto = null;
  35.  
  36.   @Schema(required = true, description = "")
  37.   private String applicativo = null;
  38.  /**
  39.    * Get identificazione
  40.    * @return identificazione
  41.   **/
  42.   @Override
  43. @JsonProperty("identificazione")
  44.   @NotNull
  45.   @Valid
  46.   public TipoFiltroMittenteEnum getIdentificazione() {
  47.     return this.identificazione;
  48.   }

  49.   public void setIdentificazione(TipoFiltroMittenteEnum identificazione) {
  50.     this.identificazione = identificazione;
  51.   }

  52.   public FiltroMittenteErogazioneApplicativo identificazione(TipoFiltroMittenteEnum identificazione) {
  53.     this.identificazione = identificazione;
  54.     return this;
  55.   }

  56.  /**
  57.    * Get tipoIdentificazioneApplicativo
  58.    * @return tipoIdentificazioneApplicativo
  59.   **/
  60.   @JsonProperty("tipo_identificazione_applicativo")
  61.   @Valid
  62.   public TipoIdentificazioneApplicativoEnum getTipoIdentificazioneApplicativo() {
  63.     return this.tipoIdentificazioneApplicativo;
  64.   }

  65.   public void setTipoIdentificazioneApplicativo(TipoIdentificazioneApplicativoEnum tipoIdentificazioneApplicativo) {
  66.     this.tipoIdentificazioneApplicativo = tipoIdentificazioneApplicativo;
  67.   }

  68.   public FiltroMittenteErogazioneApplicativo tipoIdentificazioneApplicativo(TipoIdentificazioneApplicativoEnum tipoIdentificazioneApplicativo) {
  69.     this.tipoIdentificazioneApplicativo = tipoIdentificazioneApplicativo;
  70.     return this;
  71.   }

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

  82.   public void setSoggetto(String soggetto) {
  83.     this.soggetto = soggetto;
  84.   }

  85.   public FiltroMittenteErogazioneApplicativo soggetto(String soggetto) {
  86.     this.soggetto = soggetto;
  87.     return this;
  88.   }

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

  99.   public void setApplicativo(String applicativo) {
  100.     this.applicativo = applicativo;
  101.   }

  102.   public FiltroMittenteErogazioneApplicativo applicativo(String applicativo) {
  103.     this.applicativo = applicativo;
  104.     return this;
  105.   }


  106.   @Override
  107.   public String toString() {
  108.     StringBuilder sb = new StringBuilder();
  109.     sb.append("class FiltroMittenteErogazioneApplicativo {\n");
  110.    
  111.     sb.append("    identificazione: ").append(FiltroMittenteErogazioneApplicativo.toIndentedString(this.identificazione)).append("\n");
  112.     sb.append("    tipoIdentificazioneApplicativo: ").append(FiltroMittenteErogazioneApplicativo.toIndentedString(this.tipoIdentificazioneApplicativo)).append("\n");
  113.     sb.append("    soggetto: ").append(FiltroMittenteErogazioneApplicativo.toIndentedString(this.soggetto)).append("\n");
  114.     sb.append("    applicativo: ").append(FiltroMittenteErogazioneApplicativo.toIndentedString(this.applicativo)).append("\n");
  115.     sb.append("}");
  116.     return sb.toString();
  117.   }

  118.   /**
  119.    * Convert the given object to string with each line indented by 4 spaces
  120.    * (except the first line).
  121.    */
  122.   private static String toIndentedString(java.lang.Object o) {
  123.     if (o == null) {
  124.       return "null";
  125.     }
  126.     return o.toString().replace("\n", "\n    ");
  127.   }
  128. }