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

com.riversoft.weixin.mp.request.LinkRequest Maven / Gradle / Ivy

There is a newer version: 0.9.8
Show newest version
package com.riversoft.weixin.mp.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 11/14/2015.
 */
@JacksonXmlRootElement(localName = "xml")
public class LinkRequest extends XmlMessageHeader {

    @JsonProperty("Title")
    @JacksonXmlCData
    private String title;

    @JsonProperty("Description")
    @JacksonXmlCData
    private String desc;

    @JsonProperty("Url")
    @JacksonXmlCData
    private String url;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy