クラス ThingsEvent.ThingsEventBuilder

java.lang.Object
com.linecorp.bot.model.event.ThingsEvent.ThingsEventBuilder
含まれているクラス:
ThingsEvent

public static class ThingsEvent.ThingsEventBuilder
extends java.lang.Object
  • メソッドの詳細

    • replyToken

      public ThingsEvent.ThingsEventBuilder replyToken​(java.lang.String replyToken)
      Token for replying to this event.
      戻り値:
      this.
    • source

      public ThingsEvent.ThingsEventBuilder source​(Source source)
      JSON object which contains the source of the event.
      戻り値:
      this.
    • things

      public ThingsEvent.ThingsEventBuilder things​(ThingsContent things)
      Content of the things event.
      戻り値:
      this.
    • timestamp

      public ThingsEvent.ThingsEventBuilder timestamp​(java.time.Instant 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

      public ThingsEvent build()
    • toString

      public java.lang.String toString()
      オーバーライド:
      toString クラス内 java.lang.Object