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

me.chanjar.weixin.cp.bean.WxCpUseridToOpenUseridResult Maven / Gradle / Ivy

package me.chanjar.weixin.cp.bean;

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;

/**
 * userid转换为open_userid
 * 将自建应用或代开发应用获取的userid转换为第三方应用的userid
 * Created by gxh0797 on 2022.07.26.
 */
@Data
public class WxCpUseridToOpenUseridResult implements Serializable {
  private static final long serialVersionUID = 1420065684270213578L;

  @Override
  public String toString() {
    return WxCpGsonBuilder.create().toJson(this);
  }

  /**
   * From json wx cp userid to open userid result.
   *
   * @param json the json
   * @return the wx cp userid to open userid result
   */
  public static WxCpUseridToOpenUseridResult fromJson(String json) {
    return WxCpGsonBuilder.create().fromJson(json, WxCpUseridToOpenUseridResult.class);
  }

  @SerializedName("errcode")
  private Integer errCode;

  @SerializedName("errmsg")
  private String errMsg;

  @SerializedName("open_userid_list")
  private List openUseridList;

  @SerializedName("invalid_userid_list")
  private List invalidUseridList;


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy