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

me.chanjar.weixin.cp.bean.license.account.WxCpTpLicenseBatchCodeInfoResp Maven / Gradle / Ivy

The newest version!
package me.chanjar.weixin.cp.bean.license.account;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import me.chanjar.weixin.cp.bean.WxCpBaseResp;
import me.chanjar.weixin.cp.bean.license.WxCpTpLicenseActiveCodeInfo;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;

import java.util.List;

/**
 * 批量查询的激活码详情
 * 文档地址:https://developer.work.weixin.qq.com/document/path/95553
 *
 * @author Totoro  created on  2022-6-27 14:51:19
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WxCpTpLicenseBatchCodeInfoResp extends WxCpBaseResp {
  private static final long serialVersionUID = 1327038464020790843L;

  @SerializedName("active_info_list")
  private List activeCodeInfoList;

  @SerializedName("invalid_active_code_list")
  private List invalidActiveCodeList;


  /**
   * From json wx cp tp license batch code info resp.
   *
   * @param json the json
   * @return the wx cp tp license batch code info resp
   */
  public static WxCpTpLicenseBatchCodeInfoResp fromJson(String json) {
    return WxCpGsonBuilder.create().fromJson(json, WxCpTpLicenseBatchCodeInfoResp.class);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy