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

me.chanjar.weixin.cp.bean.kf.WxCpKfServicerOpResp Maven / Gradle / Ivy

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


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

import java.util.List;

/**
 * 添加/删除客服接待人员返回结果
 *
 * @author leiin  created on  2022/1/26 4:11 下午
 */
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
public class WxCpKfServicerOpResp extends WxCpBaseResp {

  private static final long serialVersionUID = -4082459764202987034L;

  @SerializedName("result_list")
  private List resultList;

  /**
   * The type Wx cp kf servicer resp.
   */
  @Data
  @NoArgsConstructor
  public static class WxCpKfServicerResp extends WxCpBaseResp {

    @SerializedName("userid")
    private String userId;
  }

  /**
   * From json wx cp kf servicer op resp.
   *
   * @param json the json
   * @return the wx cp kf servicer op resp
   */
  public static WxCpKfServicerOpResp fromJson(String json) {
    return WxCpGsonBuilder.create().fromJson(json, WxCpKfServicerOpResp.class);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy