BAOLH
2026-11-10 4d730af0447c686133130d0116a0fa3dd82c2dca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package me.zhengjie.modules.weixin.cp.bean.smartsheet.view;
 
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import me.chanjar.weixin.cp.bean.WxCpBaseResp;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;
 
import java.io.Serializable;
import java.util.List;
 
@Data
public class WxCpViewInfo extends WxCpBaseResp implements Serializable {
 
    private static final long serialVersionUID = 2784209688695630244L;
 
    /**
     * 符合筛选条件的视图总数
     */
    @SerializedName("total")
    private Integer total;
 
    /**
     * 是否还有更多项
     */
    @SerializedName("has_more")
    private Boolean hasMore;
 
    /**
     * 下次下一个搜索结果的偏移量
     */
    @SerializedName("next")
    private Integer next;
 
    /**
     * 视图数据
     */
    @SerializedName("views")
    private List<View> views;
 
    public static WxCpViewInfo fromJson(String json) {
        return WxCpGsonBuilder.create().fromJson(json, WxCpViewInfo.class);
    }
 
    public String toJson() {
        return WxCpGsonBuilder.create().toJson(this);
    }
}