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

me.chanjar.weixin.common.bean.subscribemsg.PubTemplateTitleListResult Maven / Gradle / Ivy

The newest version!
package me.chanjar.weixin.common.bean.subscribemsg;

import lombok.Data;
import me.chanjar.weixin.common.util.json.WxGsonBuilder;

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

/**
 * @author ArBing
 */
@Data
public class PubTemplateTitleListResult implements Serializable {
  private static final long serialVersionUID = -7718911668757837527L;

  private int count;

  private List data;

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

  @Data
  public static class TemplateItem implements Serializable {
    private static final long serialVersionUID = 6888726696879905332L;

    private Integer type;

    private Integer tid;

    private String categoryId;

    private String title;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy