-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Showing
9 changed files
with
664 additions
and
0 deletions.
There are no files selected for viewing
86 changes: 86 additions & 0 deletions
86
...ain/java/io/github/doocs/im/model/callback/AfterAddOfficialAccountSubscriberCallback.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,86 @@ | ||
package io.github.doocs.im.model.callback; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
/** | ||
* 订阅公众号之后回调 | ||
* | ||
* @author bingo | ||
* @since 2024/1/10 10:18 | ||
*/ | ||
public class AfterAddOfficialAccountSubscriberCallback implements Serializable { | ||
private static final long serialVersionUID = -2551706422161131110L; | ||
|
||
/** | ||
* 回调命令 | ||
*/ | ||
@JsonProperty("CallbackCommand") | ||
private String callbackCommand; | ||
|
||
/** | ||
* 订阅的公众号用户 ID。 | ||
*/ | ||
@JsonProperty("Official_Account") | ||
private String officialAccount; | ||
|
||
/** | ||
* 发起请求的操作者 UserID。 | ||
*/ | ||
@JsonProperty("Operator_Account") | ||
private String operatorAccount; | ||
|
||
/** | ||
* 添加的订阅者列表。 | ||
*/ | ||
@JsonProperty("SubscribeAccountList") | ||
private List<SubscriberAccount> subscribeAccountList; | ||
|
||
/** | ||
* 事件触发的毫秒级别时间戳。 | ||
*/ | ||
@JsonProperty("EventTime") | ||
private Long eventTime; | ||
|
||
public String getCallbackCommand() { | ||
return callbackCommand; | ||
} | ||
|
||
public void setCallbackCommand(String callbackCommand) { | ||
this.callbackCommand = callbackCommand; | ||
} | ||
|
||
public String getOfficialAccount() { | ||
return officialAccount; | ||
} | ||
|
||
public void setOfficialAccount(String officialAccount) { | ||
this.officialAccount = officialAccount; | ||
} | ||
|
||
public String getOperatorAccount() { | ||
return operatorAccount; | ||
} | ||
|
||
public void setOperatorAccount(String operatorAccount) { | ||
this.operatorAccount = operatorAccount; | ||
} | ||
|
||
public List<SubscriberAccount> getSubscribeAccountList() { | ||
return subscribeAccountList; | ||
} | ||
|
||
public void setSubscribeAccountList(List<SubscriberAccount> subscribeAccountList) { | ||
this.subscribeAccountList = subscribeAccountList; | ||
} | ||
|
||
public Long getEventTime() { | ||
return eventTime; | ||
} | ||
|
||
public void setEventTime(Long eventTime) { | ||
this.eventTime = eventTime; | ||
} | ||
} |
86 changes: 86 additions & 0 deletions
86
.../java/io/github/doocs/im/model/callback/AfterDeleteOfficialAccountSubscriberCallback.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,86 @@ | ||
package io.github.doocs.im.model.callback; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
/** | ||
* 删除订阅者之后回调 | ||
* | ||
* @author bingo | ||
* @since 2024/1/10 10:18 | ||
*/ | ||
public class AfterDeleteOfficialAccountSubscriberCallback implements Serializable { | ||
private static final long serialVersionUID = -9151244339635022909L; | ||
|
||
/** | ||
* 回调命令 | ||
*/ | ||
@JsonProperty("CallbackCommand") | ||
private String callbackCommand; | ||
|
||
/** | ||
* 取消订阅的公众号用户 ID。 | ||
*/ | ||
@JsonProperty("Official_Account") | ||
private String officialAccount; | ||
|
||
/** | ||
* 发起请求的操作者 UserID。 | ||
*/ | ||
@JsonProperty("Operator_Account") | ||
private String operatorAccount; | ||
|
||
/** | ||
* 取消订阅的用户列表。 | ||
*/ | ||
@JsonProperty("SubscribeAccountList") | ||
private List<SubscriberAccount> subscribeAccountList; | ||
|
||
/** | ||
* 事件触发的毫秒级别时间戳。 | ||
*/ | ||
@JsonProperty("EventTime") | ||
private Long eventTime; | ||
|
||
public String getCallbackCommand() { | ||
return callbackCommand; | ||
} | ||
|
||
public void setCallbackCommand(String callbackCommand) { | ||
this.callbackCommand = callbackCommand; | ||
} | ||
|
||
public String getOfficialAccount() { | ||
return officialAccount; | ||
} | ||
|
||
public void setOfficialAccount(String officialAccount) { | ||
this.officialAccount = officialAccount; | ||
} | ||
|
||
public String getOperatorAccount() { | ||
return operatorAccount; | ||
} | ||
|
||
public void setOperatorAccount(String operatorAccount) { | ||
this.operatorAccount = operatorAccount; | ||
} | ||
|
||
public List<SubscriberAccount> getSubscribeAccountList() { | ||
return subscribeAccountList; | ||
} | ||
|
||
public void setSubscribeAccountList(List<SubscriberAccount> subscribeAccountList) { | ||
this.subscribeAccountList = subscribeAccountList; | ||
} | ||
|
||
public Long getEventTime() { | ||
return eventTime; | ||
} | ||
|
||
public void setEventTime(Long eventTime) { | ||
this.eventTime = eventTime; | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
src/main/java/io/github/doocs/im/model/callback/AfterOfficialAccountFullCallback.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,57 @@ | ||
package io.github.doocs.im.model.callback; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* 公众号可订阅的人数已满之后回调 | ||
* | ||
* @author bingo | ||
* @since 2024/1/10 10:18 | ||
*/ | ||
public class AfterOfficialAccountFullCallback implements Serializable { | ||
private static final long serialVersionUID = -8315181166386493588L; | ||
|
||
/** | ||
* 回调命令 | ||
*/ | ||
@JsonProperty("CallbackCommand") | ||
private String callbackCommand; | ||
|
||
/** | ||
* 订阅的公众号用户 ID。 | ||
*/ | ||
@JsonProperty("Official_Account") | ||
private String officialAccount; | ||
|
||
/** | ||
* 事件触发的毫秒级别时间戳。 | ||
*/ | ||
@JsonProperty("EventTime") | ||
private Long eventTime; | ||
|
||
public String getCallbackCommand() { | ||
return callbackCommand; | ||
} | ||
|
||
public void setCallbackCommand(String callbackCommand) { | ||
this.callbackCommand = callbackCommand; | ||
} | ||
|
||
public String getOfficialAccount() { | ||
return officialAccount; | ||
} | ||
|
||
public void setOfficialAccount(String officialAccount) { | ||
this.officialAccount = officialAccount; | ||
} | ||
|
||
public Long getEventTime() { | ||
return eventTime; | ||
} | ||
|
||
public void setEventTime(Long eventTime) { | ||
this.eventTime = eventTime; | ||
} | ||
} |
72 changes: 72 additions & 0 deletions
72
src/main/java/io/github/doocs/im/model/callback/AfterOfficialAccountMsgWithdrawCallback.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,72 @@ | ||
package io.github.doocs.im.model.callback; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
/** | ||
* 撤回公众号消息之后回调 | ||
* | ||
* @author bingo | ||
* @since 2024/1/10 10:18 | ||
*/ | ||
public class AfterOfficialAccountMsgWithdrawCallback implements Serializable { | ||
private static final long serialVersionUID = -7080030096097700901L; | ||
|
||
/** | ||
* 回调命令。 | ||
*/ | ||
@JsonProperty("CallbackCommand") | ||
private String callbackCommand; | ||
|
||
/** | ||
* 公众号用户 ID。 | ||
*/ | ||
@JsonProperty("Official_Account") | ||
private String officialAccount; | ||
|
||
/** | ||
* 撤回消息 MsgKey 列表。 | ||
*/ | ||
@JsonProperty("WithdrawMsgList") | ||
private List<WithdrawMsgItem> withdrawMsgList; | ||
|
||
/** | ||
* 事件触发的毫秒级别时间戳。 | ||
*/ | ||
@JsonProperty("EventTime") | ||
private Long eventTime; | ||
|
||
public String getCallbackCommand() { | ||
return callbackCommand; | ||
} | ||
|
||
public void setCallbackCommand(String callbackCommand) { | ||
this.callbackCommand = callbackCommand; | ||
} | ||
|
||
public String getOfficialAccount() { | ||
return officialAccount; | ||
} | ||
|
||
public void setOfficialAccount(String officialAccount) { | ||
this.officialAccount = officialAccount; | ||
} | ||
|
||
public List<WithdrawMsgItem> getWithdrawMsgList() { | ||
return withdrawMsgList; | ||
} | ||
|
||
public void setWithdrawMsgList(List<WithdrawMsgItem> withdrawMsgList) { | ||
this.withdrawMsgList = withdrawMsgList; | ||
} | ||
|
||
public Long getEventTime() { | ||
return eventTime; | ||
} | ||
|
||
public void setEventTime(Long eventTime) { | ||
this.eventTime = eventTime; | ||
} | ||
} |
Oops, something went wrong.