com.firefly.wechat.model.message.ImageMessage Maven / Gradle / Ivy
package com.firefly.wechat.model.message;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlCData;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
/**
* @author Pengtao Qiu
*/
@JacksonXmlRootElement(localName = "xml")
public class ImageMessage extends CommonMessage {
@JacksonXmlCData
@JacksonXmlProperty(localName = "PicUrl")
private String picUrl;
public String getPicUrl() {
return picUrl;
}
public void setPicUrl(String picUrl) {
this.picUrl = picUrl;
}
@Override
public String toString() {
return "ImageMessage{" +
"picUrl='" + picUrl + '\'' +
", url='" + url + '\'' +
", toUserName='" + toUserName + '\'' +
", fromUserName='" + fromUserName + '\'' +
", createTime=" + createTime +
", msgType='" + msgType + '\'' +
", msgId=" + msgId +
'}';
}
}