
package com.ejie.ab63.clientesWS.X43ExpedienteElectronico;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

/**
 * <p>
 * Java class for TNoticeChannel complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="TNoticeChannel">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="channelType" type="{com/ejie/x43s/v2/ttn/xml}TNoticeType"/>
 *         &lt;choice>
 *           &lt;element ref="{com/ejie/x43s/v2/ttn/xml}email"/>
 *           &lt;element ref="{com/ejie/x43s/v2/ttn/xml}sms"/>
 *         &lt;/choice>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TNoticeChannel", namespace = "com/ejie/x43s/v2/ttn/xml", propOrder = { "channelType", "email", "sms" })
public class TNoticeChannel {

	@XmlElement(required = true)
	protected TNoticeType channelType;
	@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
	protected String email;
	@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
	protected String sms;

	/**
	 * Gets the value of the channelType property.
	 * 
	 * @return possible object is {@link TNoticeType }
	 * 
	 */
	public TNoticeType getChannelType() {
		return channelType;
	}

	/**
	 * Sets the value of the channelType property.
	 * 
	 * @param value
	 *            allowed object is {@link TNoticeType }
	 * 
	 */
	public void setChannelType(TNoticeType value) {
		this.channelType = value;
	}

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

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

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

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

}
