|
|
@@ -1,44 +0,0 @@
|
|
|
-package com.genersoft.iot.vmp.media.zlm.dto;
|
|
|
-
|
|
|
-import com.alibaba.fastjson2.JSONObject;
|
|
|
-import com.alibaba.fastjson2.annotation.JSONField;
|
|
|
-
|
|
|
-import java.time.Instant;
|
|
|
-
|
|
|
-/**
|
|
|
- * hook订阅-流变化
|
|
|
- * @author lin
|
|
|
- */
|
|
|
-public class HookSubscribeForServerStarted implements IHookSubscribe{
|
|
|
-
|
|
|
- private HookType hookType = HookType.on_server_started;
|
|
|
-
|
|
|
- private JSONObject content;
|
|
|
-
|
|
|
- @JSONField(format="yyyy-MM-dd HH:mm:ss")
|
|
|
- private Instant expires;
|
|
|
-
|
|
|
- @Override
|
|
|
- public HookType getHookType() {
|
|
|
- return hookType;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public JSONObject getContent() {
|
|
|
- return content;
|
|
|
- }
|
|
|
-
|
|
|
- public void setContent(JSONObject content) {
|
|
|
- this.content = content;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public Instant getExpires() {
|
|
|
- return expires;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public void setExpires(Instant expires) {
|
|
|
- this.expires = expires;
|
|
|
- }
|
|
|
-}
|