me.chanjar.weixin.mp.bean.result.WxMpUserList Maven / Gradle / Ivy
package me.chanjar.weixin.mp.bean.result;
import lombok.Data;
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* 关注者列表
*
* @author chanjarster
*/
@Data
public class WxMpUserList implements Serializable {
private static final long serialVersionUID = 1389073042674901032L;
protected long total = -1;
protected int count = -1;
protected List openids = new ArrayList<>();
protected String nextOpenid;
public static WxMpUserList fromJson(String json) {
return WxMpGsonBuilder.create().fromJson(json, WxMpUserList.class);
}
@Override
public String toString() {
return WxMpGsonBuilder.create().toJson(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy