-
-
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
1e64a7f
commit 71289e4
Showing
3 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
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
38 changes: 38 additions & 0 deletions
38
...a-cp/src/main/java/me/chanjar/weixin/cp/bean/message/WxCpLinkedCorpMessageSendResult.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,38 @@ | ||
package me.chanjar.weixin.cp.bean.message; | ||
|
||
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; | ||
|
||
/** | ||
* 互联企业的消息推送接口返回实体 | ||
* | ||
* @author pg | ||
* @date 2021年6月22日 | ||
*/ | ||
@Setter | ||
@Getter | ||
public class WxCpLinkedCorpMessageSendResult extends WxCpBaseResp { | ||
private static final long serialVersionUID = 3990693822996824333L; | ||
|
||
@SerializedName("invaliduser") | ||
private String[] invalidUser; | ||
|
||
@SerializedName("invalidparty") | ||
private String[] invalidParty; | ||
|
||
@SerializedName("invalidtag") | ||
private String[] invalidTag; | ||
|
||
@Override | ||
public String toString() { | ||
return WxCpGsonBuilder.create().toJson(this); | ||
} | ||
|
||
public static WxCpLinkedCorpMessageSendResult fromJson(String json) { | ||
return WxCpGsonBuilder.create().fromJson(json, WxCpLinkedCorpMessageSendResult.class); | ||
} | ||
|
||
} |