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

me.chanjar.weixin.cp.bean.external.WxCpUserWithExternalPermission Maven / Gradle / Ivy

There is a newer version: 4.6.7.B
Show newest version
package me.chanjar.weixin.cp.bean.external;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;

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

/**
 * The type Wx cp user with external permission.
 *
 * @author 曹祖鹏
 */
@Data
public class WxCpUserWithExternalPermission implements Serializable {
  private static final long serialVersionUID = -4301684507150486556L;

  @SerializedName("errcode")
  @Expose
  private Long errCode;
  @SerializedName("errmsg")
  @Expose
  private String errMsg;

  @SerializedName("follow_user")
  @Expose
  private List followers = null;

  /**
   * From json wx cp user with external permission.
   *
   * @param json the json
   * @return the wx cp user with external permission
   */
  public static WxCpUserWithExternalPermission fromJson(String json) {
    return WxCpGsonBuilder.create().fromJson(json, WxCpUserWithExternalPermission.class);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy