mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
add user black list api and impl
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
package me.chanjar.weixin.mp.bean.result;
|
||||
|
||||
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author miller
|
||||
*/
|
||||
public class WxMpUserBlackListGetResult {
|
||||
protected int total = -1;
|
||||
protected int count = -1;
|
||||
protected List<String> openIds = new ArrayList<>();
|
||||
protected String nextOpenId;
|
||||
|
||||
public static WxMpUserBlackListGetResult fromJson(String json) {
|
||||
return WxMpGsonBuilder.INSTANCE.create().fromJson(json, WxMpUserBlackListGetResult.class);
|
||||
}
|
||||
|
||||
public int getTotal() {
|
||||
return this.total;
|
||||
}
|
||||
|
||||
public void setTotal(int total) {
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
public int getCount() {
|
||||
return this.count;
|
||||
}
|
||||
|
||||
public void setCount(int count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public List<String> getOpenIds() {
|
||||
return this.openIds;
|
||||
}
|
||||
|
||||
public void setOpenIds(List<String> openIds) {
|
||||
this.openIds = openIds;
|
||||
}
|
||||
|
||||
public String getNextOpenId() {
|
||||
return this.nextOpenId;
|
||||
}
|
||||
|
||||
public void setNextOpenId(String nextOpenId) {
|
||||
this.nextOpenId = nextOpenId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return WxMpGsonBuilder.INSTANCE.create().toJson(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user