com.riversoft.weixin.common.request.VideoRequest Maven / Gradle / Ivy
package com.riversoft.weixin.common.request;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlCData;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import com.riversoft.weixin.common.message.XmlMessageHeader;
/**
* Created by exizhai on 9/29/2015.
*/
@JacksonXmlRootElement(localName = "xml")
public class VideoRequest extends XmlMessageHeader {
@JsonProperty("MsgId")
private String msgId;
@JsonProperty("MediaId")
@JacksonXmlCData
private String mediaId;
@JsonProperty("ThumbMediaId")
@JacksonXmlCData
private String thumbMediaId;
public String getMsgId() {
return msgId;
}
public void setMsgId(String msgId) {
this.msgId = msgId;
}
public String getMediaId() {
return mediaId;
}
public void setMediaId(String mediaId) {
this.mediaId = mediaId;
}
public String getThumbMediaId() {
return thumbMediaId;
}
public void setThumbMediaId(String thumbMediaId) {
this.thumbMediaId = thumbMediaId;
}
}