Package com.linecorp.bot.model.event
Class UnsendEvent
- java.lang.Object
-
- com.linecorp.bot.model.event.UnsendEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnsendEvent.UnsendDetail
static class
UnsendEvent.UnsendEventBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnsendEvent.UnsendEventBuilder
builder()
boolean
equals(java.lang.Object o)
EventMode
getMode()
Channel state.Source
getSource()
JSON object which contains the source of the event.java.time.Instant
getTimestamp()
Time of the event.UnsendEvent.UnsendDetail
getUnsend()
int
hashCode()
UnsendEvent.UnsendEventBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static UnsendEvent.UnsendEventBuilder builder()
-
toBuilder
public UnsendEvent.UnsendEventBuilder toBuilder()
-
getSource
public Source getSource()
JSON object which contains the source of the event.
-
getTimestamp
public java.time.Instant getTimestamp()
Time of the event.- Specified by:
getTimestamp
in interfaceEvent
-
getMode
public EventMode getMode()
Channel state.- active
- The channel is active. You can send a reply message or push message from the bot server that received this webhook event.
- standby (under development)
- The channel is waiting. The bot server that received this webhook event shouldn't send any messages.
-
getUnsend
public UnsendEvent.UnsendDetail getUnsend()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-