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

com.riversoft.weixin.mp.event.template.JobFinishedEvent Maven / Gradle / Ivy

There is a newer version: 0.9.8
Show newest version
package com.riversoft.weixin.mp.event.template;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlCData;
import com.riversoft.weixin.common.event.EventRequest;
import org.codehaus.jackson.annotate.JsonProperty;

/**
 * 模板消息事件
 * Created by exizhai on 12/16/2015.
 */
public class JobFinishedEvent extends EventRequest {

    @JsonProperty("MsgID")
    private int msgId;

    @JsonProperty("Status")
    @JacksonXmlCData
    private String status;

    public int getMsgId() {
        return msgId;
    }

    public void setMsgId(int msgId) {
        this.msgId = msgId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public boolean success(){
        return "success".equalsIgnoreCase(this.status);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy