All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.binarywang.wx.miniapp.bean.template.WxMaTemplateLibraryListResult Maven / Gradle / Ivy

The newest version!
package cn.binarywang.wx.miniapp.bean.template;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import me.chanjar.weixin.common.util.json.WxGsonBuilder;

import java.io.Serializable;
import java.util.List;

@Data
public class WxMaTemplateLibraryListResult implements Serializable{
  private static final long serialVersionUID = -2780782521447602209L;

  @SerializedName("total_count")
  private int totalCount;
  private List list;

  public static WxMaTemplateLibraryListResult fromJson(String json){
    return WxGsonBuilder.create().fromJson(json, WxMaTemplateLibraryListResult.class);
  }

  @Data
  public static class TemplateItem{

    private String id;
    private String title;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy