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

me.chanjar.weixin.cp.bean.external.contact.WxCpExternalContactBatchInfo Maven / Gradle / Ivy

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

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;

/**
 * 
 * 批量获取客户详情
 * 参考文档:https://work.weixin.qq.com/api/doc/90000/90135/92994
 * 
* * @author alucardxh */ @Getter @Setter public class WxCpExternalContactBatchInfo extends WxCpBaseResp implements Serializable { private static final long serialVersionUID = -5166048319463473186L; @SerializedName("external_contact_list") private List externalContactList; @SerializedName("next_cursor") private String nextCursor; /** * The type External contact info. */ @Getter @Setter public static class ExternalContactInfo implements Serializable { private static final long serialVersionUID = 4723983768235723206L; @SerializedName("external_contact") private ExternalContact externalContact; @SerializedName("follow_info") private FollowedUser followInfo; } /** * From json wx cp external contact batch info. * * @param json the json * @return the wx cp external contact batch info */ public static WxCpExternalContactBatchInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpExternalContactBatchInfo.class); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy