AllarmeMail.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.allarmi;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import java.io.Serializable;


  27. /** <p>Java class for allarme-mail complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="allarme-mail"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="invia" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0" maxOccurs="1"/&gt;
  35.  *          &lt;element name="invia-warning" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0" maxOccurs="1"/&gt;
  36.  *          &lt;element name="destinatari" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  37.  *          &lt;element name="subject" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="body" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  39.  *      &lt;/sequence&gt;
  40.  * &lt;/complexType&gt;
  41.  * </pre>
  42.  *
  43.  * @version $Rev$, $Date$
  44.  *
  45.  * @author Poli Andrea (poli@link.it)
  46.  * @author $Author$
  47.  * */

  48. @XmlAccessorType(XmlAccessType.FIELD)
  49. @XmlType(name = "allarme-mail",
  50.   propOrder = {
  51.     "invia",
  52.     "inviaWarning",
  53.     "destinatari",
  54.     "subject",
  55.     "body"
  56.   }
  57. )

  58. @XmlRootElement(name = "allarme-mail")

  59. public class AllarmeMail extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  60.   public AllarmeMail() {
  61.     super();
  62.   }

  63.   public java.lang.Integer getInvia() {
  64.     return this.invia;
  65.   }

  66.   public void setInvia(java.lang.Integer invia) {
  67.     this.invia = invia;
  68.   }

  69.   public java.lang.Integer getInviaWarning() {
  70.     return this.inviaWarning;
  71.   }

  72.   public void setInviaWarning(java.lang.Integer inviaWarning) {
  73.     this.inviaWarning = inviaWarning;
  74.   }

  75.   public java.lang.String getDestinatari() {
  76.     return this.destinatari;
  77.   }

  78.   public void setDestinatari(java.lang.String destinatari) {
  79.     this.destinatari = destinatari;
  80.   }

  81.   public java.lang.String getSubject() {
  82.     return this.subject;
  83.   }

  84.   public void setSubject(java.lang.String subject) {
  85.     this.subject = subject;
  86.   }

  87.   public java.lang.String getBody() {
  88.     return this.body;
  89.   }

  90.   public void setBody(java.lang.String body) {
  91.     this.body = body;
  92.   }

  93.   private static final long serialVersionUID = 1L;



  94.   @javax.xml.bind.annotation.XmlSchemaType(name="integer")
  95.   @XmlElement(name="invia",required=false,nillable=false)
  96.   protected java.lang.Integer invia;

  97.   @javax.xml.bind.annotation.XmlSchemaType(name="integer")
  98.   @XmlElement(name="invia-warning",required=false,nillable=false)
  99.   protected java.lang.Integer inviaWarning;

  100.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  101.   @XmlElement(name="destinatari",required=false,nillable=false)
  102.   protected java.lang.String destinatari;

  103.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  104.   @XmlElement(name="subject",required=false,nillable=false)
  105.   protected java.lang.String subject;

  106.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  107.   @XmlElement(name="body",required=false,nillable=false)
  108.   protected java.lang.String body;

  109. }