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

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

There is a newer version: 4.6.7.B
Show 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;

/**
 * @author ArBing
 */
@Data
public class WxMaTemplateListResult implements Serializable {
  private static final long serialVersionUID = -7430535579782184537L;
  private List list;

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

  @Data
  public static class TemplateInfo {

    @SerializedName("template_id")
    private String templateId;
    private String title;
    private String content;
    private String example;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy