TransazioneDettaglioMessaggio.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 io.swagger.v3.oas.annotations.media.Schema;
  22. import javax.xml.bind.annotation.XmlElement;
  23. import javax.xml.bind.annotation.XmlRootElement;
  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 = "TransazioneDettaglioMessaggio", propOrder =
  31.     { "id", "idApplicativo"
  32. })

  33. @XmlRootElement(name="TransazioneDettaglioMessaggio")
  34. public class TransazioneDettaglioMessaggio  {
  35.   @XmlElement(name="id")
  36.  
  37.   @Schema(example = "eba4355e-403f-4e75-8d56-0751710409c2", description = "")
  38.   private String id = null;
  39.   @XmlElement(name="id_applicativo")
  40.  
  41.   @Schema(description = "")
  42.   private String idApplicativo = null;
  43.  /**
  44.    * Get id
  45.    * @return id
  46.   **/
  47.   @JsonProperty("id")
  48.   @Valid
  49.   public String getId() {
  50.     return this.id;
  51.   }

  52.   public void setId(String id) {
  53.     this.id = id;
  54.   }

  55.   public TransazioneDettaglioMessaggio id(String id) {
  56.     this.id = id;
  57.     return this;
  58.   }

  59.  /**
  60.    * Get idApplicativo
  61.    * @return idApplicativo
  62.   **/
  63.   @JsonProperty("id_applicativo")
  64.   @Valid
  65.   public String getIdApplicativo() {
  66.     return this.idApplicativo;
  67.   }

  68.   public void setIdApplicativo(String idApplicativo) {
  69.     this.idApplicativo = idApplicativo;
  70.   }

  71.   public TransazioneDettaglioMessaggio idApplicativo(String idApplicativo) {
  72.     this.idApplicativo = idApplicativo;
  73.     return this;
  74.   }


  75.   @Override
  76.   public String toString() {
  77.     StringBuilder sb = new StringBuilder();
  78.     sb.append("class TransazioneDettaglioMessaggio {\n");
  79.    
  80.     sb.append("    id: ").append(TransazioneDettaglioMessaggio.toIndentedString(this.id)).append("\n");
  81.     sb.append("    idApplicativo: ").append(TransazioneDettaglioMessaggio.toIndentedString(this.idApplicativo)).append("\n");
  82.     sb.append("}");
  83.     return sb.toString();
  84.   }

  85.   /**
  86.    * Convert the given object to string with each line indented by 4 spaces
  87.    * (except the first line).
  88.    */
  89.   private static String toIndentedString(java.lang.Object o) {
  90.     if (o == null) {
  91.       return "null";
  92.     }
  93.     return o.toString().replace("\n", "\n    ");
  94.   }
  95. }