<commit_before>package io.github.rcarlosdasilva.weixin.model.request.user;

import java.util.List;

import com.google.common.collect.Lists;
import com.google.gson.annotations.SerializedName;

import io.github.rcarlosdasilva.weixin.common.ApiAddress;
import io.github.rcarlosdasilva.weixin.model.request.base.BasicRequest;

/**
 * 取消拉黑用户请求模型
 * 
 * @author <NAME> (<EMAIL>)
 */
public class BlackListCancelRequest extends BasicRequest {

  @SerializedName("openid_list")
  private List<String> list;

  public BlackListCancelRequest() {
    this.path = ApiAddress.URL_BLACK_LIST_APPEND;
  }

  /**
   * 设置OpenId列表，如列表大于20个，设置失败.
   * 
   * @param list
   *          open_id list
   */
  public void setList(List<String> list) {
    this.list = list;
  }

  /**
   * 添加一个OpenId，如果列表中OpenId已经到20个，不再继续添加到列表中.
   * 
   * @param openId<commit_msg>修复 取消拉黑接口调用接口地址错误<commit_after>package io.github.rcarlosdasilva.weixin.model.request.user;

import java.util.List;

import com.google.common.collect.Lists;
import com.google.gson.annotations.SerializedName;

import io.github.rcarlosdasilva.weixin.common.ApiAddress;
import io.github.rcarlosdasilva.weixin.model.request.base.BasicRequest;

/**
 * 取消拉黑用户请求模型
 * 
 * @author <NAME> (<EMAIL>)
 */
public class BlackListCancelRequest extends BasicRequest {

  @SerializedName("openid_list")
  private List<String> list;

  public BlackListCancelRequest() {
    this.path = ApiAddress.URL_BLACK_LIST_CANCEL;
  }

  /**
   * 设置OpenId列表，如列表大于20个，设置失败.
   * 
   * @param list
   *          open_id list
   */
  public void setList(List<String> list) {
    this.list = list;
  }

  /**
   * 添加一个OpenId，如果列表中OpenId已经到20个，不再继续添加到列表中.
   * 
   * @param openId
{'fraction_non_alphanumeric': 0.11966824644549763, 'fraction_numerical': 0.004739336492890996, 'mean_word_length': 3.8257142857142856, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2375741', 'n_tokens_mistral': 698, 'n_tokens_neox': 702, 'n_words': 86}