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

me.chanjar.weixin.cp.bean.external.WxCpNewExternalUserIdList 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.SerializedName;
import lombok.Getter;
import lombok.Setter;
import me.chanjar.weixin.cp.bean.WxCpBaseResp;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;

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

/**
 * 企业客户微信unionid的升级 - 企业客户external_userid列表
 *
 * @author Mr.Pan  created on  2021/11/18
 */
@Getter
@Setter
public class WxCpNewExternalUserIdList extends WxCpBaseResp {

  @SerializedName("items")
  private List items;

  /**
   * The type New external user id info.
   */
  @Getter
  @Setter
  public static class NewExternalUserIdInfo implements Serializable {
    private static final long serialVersionUID = 8846290993790709261L;

    /**
     * 外部联系人id
     */
    @SerializedName("external_userid")
    private String externalUserId;

    /**
     * 新外部联系人id
     */
    @SerializedName("new_external_userid")
    private String newExternalUserId;

  }

  /**
   * From json wx cp new external user id list.
   *
   * @param json the json
   * @return the wx cp new external user id list
   */
  public static WxCpNewExternalUserIdList fromJson(String json) {
    return WxCpGsonBuilder.create().fromJson(json, WxCpNewExternalUserIdList.class);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy