-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e96d7c
commit 43a3a1e
Showing
6 changed files
with
250 additions
and
1 deletion.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
...java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpConvertTmpExternalUserIdResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package me.chanjar.weixin.cp.bean; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||
|
||
import java.util.List; | ||
|
||
@Setter | ||
@Getter | ||
public class WxCpTpConvertTmpExternalUserIdResult extends WxCpBaseResp { | ||
|
||
|
||
@SerializedName("invalid_tmp_external_userid_list") | ||
private List<Results> results; | ||
|
||
@Getter | ||
@Setter | ||
public static class Results { | ||
|
||
@SerializedName("tmp_external_userid") | ||
private String tmpExternalUserId; | ||
|
||
@SerializedName("external_userid") | ||
private String externalUserId; | ||
|
||
@SerializedName("corpid") | ||
private String corpId; | ||
|
||
@SerializedName("userid") | ||
private String userId; | ||
} | ||
|
||
@SerializedName("invalid_tmp_external_userid_list") | ||
private List<String> invalidTmpExternalUserIdList; | ||
|
||
public static WxCpTpConvertTmpExternalUserIdResult fromJson(String json) { | ||
return WxCpGsonBuilder.create().fromJson(json, WxCpTpConvertTmpExternalUserIdResult.class); | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpOpenKfIdConvertResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package me.chanjar.weixin.cp.bean; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||
|
||
import java.util.List; | ||
|
||
@Setter | ||
@Getter | ||
public class WxCpTpOpenKfIdConvertResult extends WxCpBaseResp { | ||
|
||
/** | ||
* 微信客服ID转换结果 | ||
*/ | ||
@SerializedName("items") | ||
private List<Item> items; | ||
|
||
/** | ||
* 无法转换的微信客服ID列表 | ||
*/ | ||
@SerializedName("invalid_open_kfid_list") | ||
private List<String> invalidOpenKfIdList; | ||
|
||
@Getter | ||
@Setter | ||
public static class Item { | ||
|
||
/*** | ||
* 企业主体下的微信客服ID | ||
*/ | ||
@SerializedName("open_kfid") | ||
private String openKfId; | ||
|
||
/** | ||
* 服务商主体下的微信客服ID,如果传入的open_kfid已经是服务商主体下的ID,则new_open_kfid与open_kfid相同。 | ||
*/ | ||
@SerializedName("new_open_kfid") | ||
private String newOpenKfId; | ||
} | ||
|
||
public static WxCpTpOpenKfIdConvertResult fromJson(String json) { | ||
return WxCpGsonBuilder.create().fromJson(json, WxCpTpOpenKfIdConvertResult.class); | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpTagIdListConvertResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package me.chanjar.weixin.cp.bean; | ||
|
||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||
|
||
import java.util.List; | ||
|
||
@Getter | ||
@Setter | ||
public class WxCpTpTagIdListConvertResult extends WxCpBaseResp { | ||
|
||
private static final long serialVersionUID = -6153589164415497369L; | ||
|
||
|
||
/** | ||
* 客户标签转换结果 | ||
*/ | ||
@SerializedName("items") | ||
private List<Item> items; | ||
|
||
/** | ||
* 无法转换的客户标签ID列表 | ||
*/ | ||
@SerializedName("invalid_external_tagid_list") | ||
private List<String> invalidExternalTagIdList; | ||
|
||
|
||
@Getter | ||
@Setter | ||
public static class Item { | ||
|
||
/** | ||
* 企业主体下的客户标签ID | ||
*/ | ||
@SerializedName("external_tagid") | ||
private String externalTagId; | ||
|
||
/** | ||
* 服务商主体下的客户标签ID,如果传入的external_tagid已经是服务商主体下的ID,则open_external_tagid与external_tagid相同。 | ||
*/ | ||
@SerializedName("open_external_tagid") | ||
private String openExternalTagId; | ||
} | ||
|
||
public static WxCpTpTagIdListConvertResult fromJson(String json) { | ||
return WxCpGsonBuilder.create().fromJson(json, WxCpTpTagIdListConvertResult.class); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters