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

com.seejoke.wechat.entity.WxXmlOutImageMessage 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 WxXmlOutImageMessage extends AbstractWxXmlOutMessage {

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

	public WxXmlOutImageMessage() {
		this.msgType = WxConsts.XML_MSG_IMAGE;
	}

	public String getMediaId() {
		return mediaId;
	}

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy