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; @Data public class WxCpViewCreateData extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = 227968342029225522L; @SerializedName("view") private View view; public static WxCpViewCreateData fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpViewCreateData.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }