
package com.ejie.ad74a.ws.client.platea.notificaciones;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Clase Java para TNotifyChannel complex type.
 * 
 * <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
 * 
 * <pre>
 * &lt;complexType name="TNotifyChannel"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="channelType" type="{com/ejie/x43s/v2/ttn/xml}TNotificationType"/&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}postal" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TNotifyChannel", propOrder = {
    "channelType",
    "postal"
})
public class TNotifyChannel {

    @XmlElement(required = true)
    @XmlSchemaType(name = "string")
    protected TNotificationType channelType;
    protected TPostalAddress postal;

    /**
     * Obtiene el valor de la propiedad channelType.
     * 
     * @return
     *     possible object is
     *     {@link TNotificationType }
     *     
     */
    public TNotificationType getChannelType() {
        return channelType;
    }

    /**
     * Define el valor de la propiedad channelType.
     * 
     * @param value
     *     allowed object is
     *     {@link TNotificationType }
     *     
     */
    public void setChannelType(TNotificationType value) {
        this.channelType = value;
    }

    /**
     * Obtiene el valor de la propiedad postal.
     * 
     * @return
     *     possible object is
     *     {@link TPostalAddress }
     *     
     */
    public TPostalAddress getPostal() {
        return postal;
    }

    /**
     * Define el valor de la propiedad postal.
     * 
     * @param value
     *     allowed object is
     *     {@link TPostalAddress }
     *     
     */
    public void setPostal(TPostalAddress value) {
        this.postal = value;
    }

}
