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

cn.binarywang.wx.miniapp.bean.WxMaPluginListResult Maven / Gradle / Ivy

There is a newer version: 4.6.7.B
Show newest version
package cn.binarywang.wx.miniapp.bean;

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 WxMaPluginListResult implements Serializable {
  private static final long serialVersionUID = -5898572369543593656L;

  @SerializedName("plugin_list")
  private List pluginList;

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

  @Data
  public static class PluginInfo {

    @SerializedName("appid")
    private String appId;

    private String status;

    @SerializedName("nickname")
    private String nickName;

    @SerializedName("headimgurl")
    private String headImgUrl;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy