Mail.java

//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.06.29 at 10:16:21 PM GMT 
//


package com.io7m.idstore.server.service.configuration.jaxb;

import javax.xml.datatype.Duration;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;choice&gt;
 *           &lt;element ref="{urn:com.io7m.idstore:configuration:1}SMTP"/&gt;
 *           &lt;element ref="{urn:com.io7m.idstore:configuration:1}SMTPS"/&gt;
 *           &lt;element ref="{urn:com.io7m.idstore:configuration:1}SMTPTLS"/&gt;
 *         &lt;/choice&gt;
 *         &lt;element ref="{urn:com.io7m.idstore:configuration:1}MailAuthentication" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="SenderAddress" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="VerificationExpiration" use="required" type="{http://www.w3.org/2001/XMLSchema}duration" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "smtp",
    "smtps",
    "smtptls",
    "mailAuthentication"
})
@XmlRootElement(name = "Mail")
public class Mail {

    @XmlElement(name = "SMTP")
    protected SMTPType smtp;
    @XmlElement(name = "SMTPS")
    protected SMTPSType smtps;
    @XmlElement(name = "SMTPTLS")
    protected SMTPTLSType smtptls;
    @XmlElement(name = "MailAuthentication")
    protected MailAuthentication mailAuthentication;
    @XmlAttribute(name = "SenderAddress", required = true)
    protected String senderAddress;
    @XmlAttribute(name = "VerificationExpiration", required = true)
    protected Duration verificationExpiration;

    /**
     * Gets the value of the smtp property.
     * 
     * @return
     *     possible object is
     *     {@link SMTPType }
     *     
     */
    public SMTPType getSMTP() {
        return smtp;
    }

    /**
     * Sets the value of the smtp property.
     * 
     * @param value
     *     allowed object is
     *     {@link SMTPType }
     *     
     */
    public void setSMTP(SMTPType value) {
        this.smtp = value;
    }

    /**
     * Gets the value of the smtps property.
     * 
     * @return
     *     possible object is
     *     {@link SMTPSType }
     *     
     */
    public SMTPSType getSMTPS() {
        return smtps;
    }

    /**
     * Sets the value of the smtps property.
     * 
     * @param value
     *     allowed object is
     *     {@link SMTPSType }
     *     
     */
    public void setSMTPS(SMTPSType value) {
        this.smtps = value;
    }

    /**
     * Gets the value of the smtptls property.
     * 
     * @return
     *     possible object is
     *     {@link SMTPTLSType }
     *     
     */
    public SMTPTLSType getSMTPTLS() {
        return smtptls;
    }

    /**
     * Sets the value of the smtptls property.
     * 
     * @param value
     *     allowed object is
     *     {@link SMTPTLSType }
     *     
     */
    public void setSMTPTLS(SMTPTLSType value) {
        this.smtptls = value;
    }

    /**
     * Gets the value of the mailAuthentication property.
     * 
     * @return
     *     possible object is
     *     {@link MailAuthentication }
     *     
     */
    public MailAuthentication getMailAuthentication() {
        return mailAuthentication;
    }

    /**
     * Sets the value of the mailAuthentication property.
     * 
     * @param value
     *     allowed object is
     *     {@link MailAuthentication }
     *     
     */
    public void setMailAuthentication(MailAuthentication value) {
        this.mailAuthentication = value;
    }

    /**
     * Gets the value of the senderAddress property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSenderAddress() {
        return senderAddress;
    }

    /**
     * Sets the value of the senderAddress property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSenderAddress(String value) {
        this.senderAddress = value;
    }

    /**
     * Gets the value of the verificationExpiration property.
     * 
     * @return
     *     possible object is
     *     {@link Duration }
     *     
     */
    public Duration getVerificationExpiration() {
        return verificationExpiration;
    }

    /**
     * Sets the value of the verificationExpiration property.
     * 
     * @param value
     *     allowed object is
     *     {@link Duration }
     *     
     */
    public void setVerificationExpiration(Duration value) {
        this.verificationExpiration = value;
    }

}