All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.seejoke.wechat.entity.WxXmlOutVoiceMessage Maven / Gradle / Ivy

package com.seejoke.wechat.entity;

import com.seejoke.wechat.api.WxConsts;
import com.seejoke.wechat.util.xml.XStreamMediaIdConverter;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;

@XStreamAlias("xml")
public class WxXmlOutVoiceMessage extends AbstractWxXmlOutMessage {

	@XStreamAlias("Voice")
	@XStreamConverter(value = XStreamMediaIdConverter.class)
	private String mediaId;

	public WxXmlOutVoiceMessage() {
		this.msgType = WxConsts.XML_MSG_VOICE;
	}

	public String getMediaId() {
		return mediaId;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy