TransazioneInformazioniMittente.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.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlAccessType;
  26. import javax.xml.bind.annotation.XmlAccessorType;
  27. import javax.xml.bind.annotation.XmlType;
  28. import com.fasterxml.jackson.annotation.JsonProperty;
  29. import javax.validation.Valid;

  30. @XmlAccessorType(XmlAccessType.FIELD)
  31.  @XmlType(name = "TransazioneInformazioniMittente", propOrder =
  32.     { "principal", "fruitore", "utente", "client", "indirizzoClient", "indirizzoClientInoltrato"
  33. })

  34. @XmlRootElement(name="TransazioneInformazioniMittente")
  35. public class TransazioneInformazioniMittente  {
  36.   @XmlElement(name="principal")
  37.  
  38.   @Schema(description = "")
  39.   private String principal = null;
  40.   @XmlElement(name="fruitore")
  41.  
  42.   @Schema(description = "")
  43.   private String fruitore = null;
  44.   @XmlElement(name="utente")
  45.  
  46.   @Schema(description = "")
  47.   private String utente = null;
  48.   @XmlElement(name="client")
  49.  
  50.   @Schema(description = "")
  51.   private String client = null;
  52.   @XmlElement(name="indirizzo_client")
  53.  
  54.   @Schema(description = "")
  55.   private String indirizzoClient = null;
  56.   @XmlElement(name="indirizzo_client_inoltrato")
  57.  
  58.   @Schema(description = "")
  59.   private String indirizzoClientInoltrato = null;
  60.  /**
  61.    * Get principal
  62.    * @return principal
  63.   **/
  64.   @JsonProperty("principal")
  65.   @Valid
  66.   public String getPrincipal() {
  67.     return this.principal;
  68.   }

  69.   public void setPrincipal(String principal) {
  70.     this.principal = principal;
  71.   }

  72.   public TransazioneInformazioniMittente principal(String principal) {
  73.     this.principal = principal;
  74.     return this;
  75.   }

  76.  /**
  77.    * Get fruitore
  78.    * @return fruitore
  79.   **/
  80.   @JsonProperty("fruitore")
  81.   @Valid
  82.  @Pattern(regexp="^[_A-Za-z][\\-\\._A-Za-z0-9]*$") @Size(max=255)  public String getFruitore() {
  83.     return this.fruitore;
  84.   }

  85.   public void setFruitore(String fruitore) {
  86.     this.fruitore = fruitore;
  87.   }

  88.   public TransazioneInformazioniMittente fruitore(String fruitore) {
  89.     this.fruitore = fruitore;
  90.     return this;
  91.   }

  92.  /**
  93.    * Get utente
  94.    * @return utente
  95.   **/
  96.   @JsonProperty("utente")
  97.   @Valid
  98.   public String getUtente() {
  99.     return this.utente;
  100.   }

  101.   public void setUtente(String utente) {
  102.     this.utente = utente;
  103.   }

  104.   public TransazioneInformazioniMittente utente(String utente) {
  105.     this.utente = utente;
  106.     return this;
  107.   }

  108.  /**
  109.    * Get client
  110.    * @return client
  111.   **/
  112.   @JsonProperty("client")
  113.   @Valid
  114.   public String getClient() {
  115.     return this.client;
  116.   }

  117.   public void setClient(String client) {
  118.     this.client = client;
  119.   }

  120.   public TransazioneInformazioniMittente client(String client) {
  121.     this.client = client;
  122.     return this;
  123.   }

  124.  /**
  125.    * Get indirizzoClient
  126.    * @return indirizzoClient
  127.   **/
  128.   @JsonProperty("indirizzo_client")
  129.   @Valid
  130.   public String getIndirizzoClient() {
  131.     return this.indirizzoClient;
  132.   }

  133.   public void setIndirizzoClient(String indirizzoClient) {
  134.     this.indirizzoClient = indirizzoClient;
  135.   }

  136.   public TransazioneInformazioniMittente indirizzoClient(String indirizzoClient) {
  137.     this.indirizzoClient = indirizzoClient;
  138.     return this;
  139.   }

  140.  /**
  141.    * Get indirizzoClientInoltrato
  142.    * @return indirizzoClientInoltrato
  143.   **/
  144.   @JsonProperty("indirizzo_client_inoltrato")
  145.   @Valid
  146.   public String getIndirizzoClientInoltrato() {
  147.     return this.indirizzoClientInoltrato;
  148.   }

  149.   public void setIndirizzoClientInoltrato(String indirizzoClientInoltrato) {
  150.     this.indirizzoClientInoltrato = indirizzoClientInoltrato;
  151.   }

  152.   public TransazioneInformazioniMittente indirizzoClientInoltrato(String indirizzoClientInoltrato) {
  153.     this.indirizzoClientInoltrato = indirizzoClientInoltrato;
  154.     return this;
  155.   }


  156.   @Override
  157.   public String toString() {
  158.     StringBuilder sb = new StringBuilder();
  159.     sb.append("class TransazioneInformazioniMittente {\n");
  160.    
  161.     sb.append("    principal: ").append(TransazioneInformazioniMittente.toIndentedString(this.principal)).append("\n");
  162.     sb.append("    fruitore: ").append(TransazioneInformazioniMittente.toIndentedString(this.fruitore)).append("\n");
  163.     sb.append("    utente: ").append(TransazioneInformazioniMittente.toIndentedString(this.utente)).append("\n");
  164.     sb.append("    client: ").append(TransazioneInformazioniMittente.toIndentedString(this.client)).append("\n");
  165.     sb.append("    indirizzoClient: ").append(TransazioneInformazioniMittente.toIndentedString(this.indirizzoClient)).append("\n");
  166.     sb.append("    indirizzoClientInoltrato: ").append(TransazioneInformazioniMittente.toIndentedString(this.indirizzoClientInoltrato)).append("\n");
  167.     sb.append("}");
  168.     return sb.toString();
  169.   }

  170.   /**
  171.    * Convert the given object to string with each line indented by 4 spaces
  172.    * (except the first line).
  173.    */
  174.   private static String toIndentedString(java.lang.Object o) {
  175.     if (o == null) {
  176.       return "null";
  177.     }
  178.     return o.toString().replace("\n", "\n    ");
  179.   }
  180. }