添加接口分析数据接口

This commit is contained in:
BinaryWang
2016-08-30 19:52:03 +08:00
parent 4a994ea4c3
commit af9bfa2156
4 changed files with 173 additions and 15 deletions

View File

@@ -0,0 +1,87 @@
package me.chanjar.weixin.mp.bean.datacube;
import com.google.gson.annotations.SerializedName;
/**
* 接口分析数据接口返回结果对象
* @author binarywang(https://github.com/binarywang)
* Created by Binary Wang on 2016/8/30.
*/
public class WxDataCubeInterfaceResult extends WxDataCubeBaseResult {
/**
* ref_hour
* 数据的小时包括从000到2300分别代表的是[000,100)到[2300,2400)即每日的第1小时和最后1小时
*/
@SerializedName("ref_hour")
private Integer refHour;
/**
* callback_count
* 通过服务器配置地址获得消息后,被动回复用户消息的次数
*/
@SerializedName("callback_count")
private Integer callbackCount;
/**
* fail_count
* 上述动作的失败次数
*/
@SerializedName("fail_count")
private Integer failCount;
/**
* total_time_cost
* 总耗时除以callback_count即为平均耗时
*/
@SerializedName("total_time_cost")
private Integer totalTimeCost;
/**
* max_time_cost
* 最大耗时
*/
@SerializedName("max_time_cost")
private Integer maxTimeCost;
public Integer getRefHour() {
return this.refHour;
}
public void setRefHour(Integer refHour) {
this.refHour = refHour;
}
public Integer getCallbackCount() {
return this.callbackCount;
}
public void setCallbackCount(Integer callbackCount) {
this.callbackCount = callbackCount;
}
public Integer getFailCount() {
return this.failCount;
}
public void setFailCount(Integer failCount) {
this.failCount = failCount;
}
public Integer getTotalTimeCost() {
return this.totalTimeCost;
}
public void setTotalTimeCost(Integer totalTimeCost) {
this.totalTimeCost = totalTimeCost;
}
public Integer getMaxTimeCost() {
return this.maxTimeCost;
}
public void setMaxTimeCost(Integer maxTimeCost) {
this.maxTimeCost = maxTimeCost;
}
}