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

me.chanjar.weixin.cp.bean.kf.WxCpKfAccountAddResp 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;

/**
 * 添加客服帐号-返回结果
 *
 * @author Fu  created on  2022/1/19 19:04
 */
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
public class WxCpKfAccountAddResp extends WxCpBaseResp {

  private static final long serialVersionUID = -6649323005421772827L;

  /**
   * 新创建的客服帐号ID
   */
  @SerializedName("open_kfid")
  private String openKfid;

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy