Class ChannelUpdatedNoticeEvent
java.lang.Object
com.mikuac.shiro.dto.event.Event
com.mikuac.shiro.dto.event.notice.NoticeEvent
com.mikuac.shiro.dto.event.notice.ChannelUpdatedNoticeEvent
ChannelUpdatedNoticeEvent class.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classChannelUpdatedNoticeEvent.ChannelUpdatedNoticeEventBuilder<C extends ChannelUpdatedNoticeEvent,B extends ChannelUpdatedNoticeEvent.ChannelUpdatedNoticeEventBuilder<C, B>> Nested classes/interfaces inherited from class com.mikuac.shiro.dto.event.notice.NoticeEvent
NoticeEvent.NoticeEventBuilder<C extends NoticeEvent,B extends NoticeEvent.NoticeEventBuilder<C, B>> Nested classes/interfaces inherited from class com.mikuac.shiro.dto.event.Event
Event.EventBuilder<C extends Event,B extends Event.EventBuilder<C, B>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedChannelUpdatedNoticeEvent(String guildId, String channelId, String operatorId, ChannelInfoResp oldInfo, ChannelInfoResp newInfo) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean子频道ID频道ID更新后的频道信息更新前的频道信息操作者IDinthashCode()voidsetChannelId(String channelId) 子频道IDvoidsetGuildId(String guildId) 频道IDvoidsetNewInfo(ChannelInfoResp newInfo) 更新后的频道信息voidsetOldInfo(ChannelInfoResp oldInfo) 更新前的频道信息voidsetOperatorId(String operatorId) 操作者IDtoString()Methods inherited from class com.mikuac.shiro.dto.event.notice.NoticeEvent
getNoticeType, getUserId, setNoticeType, setUserIdMethods inherited from class com.mikuac.shiro.dto.event.Event
getPostType, getSelfId, getTime, setPostType, setSelfId, setTime
-
Constructor Details
-
ChannelUpdatedNoticeEvent
protected ChannelUpdatedNoticeEvent(ChannelUpdatedNoticeEvent.ChannelUpdatedNoticeEventBuilder<?, ?> b) -
ChannelUpdatedNoticeEvent
public ChannelUpdatedNoticeEvent() -
ChannelUpdatedNoticeEvent
public ChannelUpdatedNoticeEvent(String guildId, String channelId, String operatorId, ChannelInfoResp oldInfo, ChannelInfoResp newInfo)
-
-
Method Details
-
builder
-
toBuilder
- Overrides:
toBuilderin classNoticeEvent
-
getGuildId
频道ID -
getChannelId
子频道ID -
getOperatorId
操作者ID -
getOldInfo
更新前的频道信息 -
getNewInfo
更新后的频道信息 -
setGuildId
频道ID -
setChannelId
子频道ID -
setOperatorId
操作者ID -
setOldInfo
更新前的频道信息 -
setNewInfo
更新后的频道信息 -
toString
- Overrides:
toStringin classNoticeEvent
-
equals
- Overrides:
equalsin classNoticeEvent
-
canEqual
- Overrides:
canEqualin classNoticeEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classNoticeEvent
-