TransazioneDettaglioMessaggioContenuti.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 = "TransazioneDettaglioMessaggioContenuti", propOrder =
  31.     { "contenuti"
  32. })

  33. @XmlRootElement(name="TransazioneDettaglioMessaggioContenuti")
  34. public class TransazioneDettaglioMessaggioContenuti  {
  35.   @XmlElement(name="contenuti")
  36.  
  37.   @Schema(description = "")
  38.   private TransazioneContenutoMessaggio contenuti = null;
  39.  /**
  40.    * Get contenuti
  41.    * @return contenuti
  42.   **/
  43.   @JsonProperty("contenuti")
  44.   @Valid
  45.   public TransazioneContenutoMessaggio getContenuti() {
  46.     return this.contenuti;
  47.   }

  48.   public void setContenuti(TransazioneContenutoMessaggio contenuti) {
  49.     this.contenuti = contenuti;
  50.   }

  51.   public TransazioneDettaglioMessaggioContenuti contenuti(TransazioneContenutoMessaggio contenuti) {
  52.     this.contenuti = contenuti;
  53.     return this;
  54.   }


  55.   @Override
  56.   public String toString() {
  57.     StringBuilder sb = new StringBuilder();
  58.     sb.append("class TransazioneDettaglioMessaggioContenuti {\n");
  59.    
  60.     sb.append("    contenuti: ").append(TransazioneDettaglioMessaggioContenuti.toIndentedString(this.contenuti)).append("\n");
  61.     sb.append("}");
  62.     return sb.toString();
  63.   }

  64.   /**
  65.    * Convert the given object to string with each line indented by 4 spaces
  66.    * (except the first line).
  67.    */
  68.   private static String toIndentedString(java.lang.Object o) {
  69.     if (o == null) {
  70.       return "null";
  71.     }
  72.     return o.toString().replace("\n", "\n    ");
  73.   }
  74. }