TransazioneExtInformazioniMittenteBase.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.utils.service.beans;

  21. import javax.validation.constraints.*;

  22. import io.swagger.v3.oas.annotations.media.Schema;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlAccessType;
  25. import javax.xml.bind.annotation.XmlAccessorType;
  26. import javax.xml.bind.annotation.XmlType;
  27. import com.fasterxml.jackson.annotation.JsonProperty;
  28. import javax.validation.Valid;

  29. @XmlAccessorType(XmlAccessType.FIELD)
  30.  @XmlType(name = "TransazioneExtInformazioniMittenteBase", propOrder =
  31.     { "informazioniFruitore", "applicativo", "applicativoToken"
  32. })


  33. public class TransazioneExtInformazioniMittenteBase extends TransazioneInformazioniMittente {
  34.   @XmlElement(name="informazioni_fruitore")
  35.  
  36.   @Schema(description = "")
  37.   private TransazioneExtInformazioniSoggetto informazioniFruitore = null;
  38.   @XmlElement(name="applicativo")
  39.  
  40.   @Schema(description = "")
  41.   private String applicativo = null;
  42.   @XmlElement(name="applicativo_token")
  43.  
  44.   @Schema(description = "")
  45.   private TransazioneExtInformazioniMittenteApplicativoToken applicativoToken = null;
  46.  /**
  47.    * Get informazioniFruitore
  48.    * @return informazioniFruitore
  49.   **/
  50.   @JsonProperty("informazioni_fruitore")
  51.   @Valid
  52.   public TransazioneExtInformazioniSoggetto getInformazioniFruitore() {
  53.     return this.informazioniFruitore;
  54.   }

  55.   public void setInformazioniFruitore(TransazioneExtInformazioniSoggetto informazioniFruitore) {
  56.     this.informazioniFruitore = informazioniFruitore;
  57.   }

  58.   public TransazioneExtInformazioniMittenteBase informazioniFruitore(TransazioneExtInformazioniSoggetto informazioniFruitore) {
  59.     this.informazioniFruitore = informazioniFruitore;
  60.     return this;
  61.   }

  62.  /**
  63.    * Get applicativo
  64.    * @return applicativo
  65.   **/
  66.   @JsonProperty("applicativo")
  67.   @Valid
  68.  @Pattern(regexp="^[_A-Za-z][\\-\\._A-Za-z0-9]*$") @Size(max=255)  public String getApplicativo() {
  69.     return this.applicativo;
  70.   }

  71.   public void setApplicativo(String applicativo) {
  72.     this.applicativo = applicativo;
  73.   }

  74.   public TransazioneExtInformazioniMittenteBase applicativo(String applicativo) {
  75.     this.applicativo = applicativo;
  76.     return this;
  77.   }

  78.  /**
  79.    * Get applicativoToken
  80.    * @return applicativoToken
  81.   **/
  82.   @JsonProperty("applicativo_token")
  83.   @Valid
  84.   public TransazioneExtInformazioniMittenteApplicativoToken getApplicativoToken() {
  85.     return this.applicativoToken;
  86.   }

  87.   public void setApplicativoToken(TransazioneExtInformazioniMittenteApplicativoToken applicativoToken) {
  88.     this.applicativoToken = applicativoToken;
  89.   }

  90.   public TransazioneExtInformazioniMittenteBase applicativoToken(TransazioneExtInformazioniMittenteApplicativoToken applicativoToken) {
  91.     this.applicativoToken = applicativoToken;
  92.     return this;
  93.   }


  94.   @Override
  95.   public String toString() {
  96.     StringBuilder sb = new StringBuilder();
  97.     sb.append("class TransazioneExtInformazioniMittenteBase {\n");
  98.     sb.append("    ").append(TransazioneExtInformazioniMittenteBase.toIndentedString(super.toString())).append("\n");
  99.     sb.append("    informazioniFruitore: ").append(TransazioneExtInformazioniMittenteBase.toIndentedString(this.informazioniFruitore)).append("\n");
  100.     sb.append("    applicativo: ").append(TransazioneExtInformazioniMittenteBase.toIndentedString(this.applicativo)).append("\n");
  101.     sb.append("    applicativoToken: ").append(TransazioneExtInformazioniMittenteBase.toIndentedString(this.applicativoToken)).append("\n");
  102.     sb.append("}");
  103.     return sb.toString();
  104.   }

  105.   /**
  106.    * Convert the given object to string with each line indented by 4 spaces
  107.    * (except the first line).
  108.    */
  109.   private static String toIndentedString(java.lang.Object o) {
  110.     if (o == null) {
  111.       return "null";
  112.     }
  113.     return o.toString().replace("\n", "\n    ");
  114.   }
  115. }