クラス ThingsEvent.ThingsEventBuilder
java.lang.Object
com.linecorp.bot.model.event.ThingsEvent.ThingsEventBuilder
- 含まれているクラス:
- ThingsEvent
public static class ThingsEvent.ThingsEventBuilder
extends java.lang.Object
-
メソッドの概要
修飾子とタイプ メソッド 説明 ThingsEvent
build()
ThingsEvent.ThingsEventBuilder
mode(EventMode mode)
Channel state.ThingsEvent.ThingsEventBuilder
replyToken(java.lang.String replyToken)
Token for replying to this event.ThingsEvent.ThingsEventBuilder
source(Source source)
JSON object which contains the source of the event.ThingsEvent.ThingsEventBuilder
things(ThingsContent things)
Content of the things event.ThingsEvent.ThingsEventBuilder
timestamp(java.time.Instant timestamp)
Time of the event.java.lang.String
toString()
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
メソッドの詳細
-
replyToken
Token for replying to this event.- 戻り値:
this
.
-
source
JSON object which contains the source of the event.- 戻り値:
this
.
-
things
Content of the things event.- 戻り値:
this
.
-
timestamp
Time of the event.- 戻り値:
this
.
-
mode
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.
- 戻り値:
this
.
-
build
-
toString
public java.lang.String toString()- オーバーライド:
toString
クラス内java.lang.Object
-