Class LineAllOf


  • public class LineAllOf
    extends java.lang.Object
    LineAllOf
    • Field Detail

      • JSON_PROPERTY_TYPE

        public static final java.lang.String JSON_PROPERTY_TYPE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CHANNEL_ID

        public static final java.lang.String JSON_PROPERTY_CHANNEL_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CHANNEL_SECRET

        public static final java.lang.String JSON_PROPERTY_CHANNEL_SECRET
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CHANNEL_ACCESS_TOKEN

        public static final java.lang.String JSON_PROPERTY_CHANNEL_ACCESS_TOKEN
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SERVICE_CODE

        public static final java.lang.String JSON_PROPERTY_SERVICE_CODE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SWITCHER_SECRET

        public static final java.lang.String JSON_PROPERTY_SWITCHER_SECRET
        See Also:
        Constant Field Values
      • JSON_PROPERTY_QR_CODE_URL

        public static final java.lang.String JSON_PROPERTY_QR_CODE_URL
        See Also:
        Constant Field Values
      • JSON_PROPERTY_LINE_ID

        public static final java.lang.String JSON_PROPERTY_LINE_ID
        See Also:
        Constant Field Values
    • Constructor Detail

      • LineAllOf

        public LineAllOf()
    • Method Detail

      • type

        public LineAllOf type​(java.lang.String type)
      • getType

        @Nullable
        public java.lang.String getType()
        For LINE, each of your customers will need to manually configure a webhook in their LINE configuration page that will point to Sunshine Conversations servers. You must instruct your customers how to configure this manually on their LINE bot page. Once you’ve acquired all the required information, call the Create Integration endpoint. Then, using the returned integration _id, your customer must set the Callback URL field in their LINE Business Center page. The URL should look like the following: `https://app.smooch.io:443/api/line/webhooks/{appId}/{integrationId}`.
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
      • channelId

        public LineAllOf channelId​(java.lang.String channelId)
      • getChannelId

        @Nullable
        public java.lang.String getChannelId()
        LINE Channel ID. Can be omitted along with `channelSecret` to integrate LINE to setup a webhook before receiving the `channelId` and `channelSecret` back from LINE.
        Returns:
        channelId
      • setChannelId

        public void setChannelId​(java.lang.String channelId)
      • channelSecret

        public LineAllOf channelSecret​(java.lang.String channelSecret)
      • getChannelSecret

        @Nullable
        public java.lang.String getChannelSecret()
        LINE Channel Secret. Can be omitted along with `channelId` to integrate LINE to setup a webhook before receiving the `channelId` and `channelSecret` back from LINE.
        Returns:
        channelSecret
      • setChannelSecret

        public void setChannelSecret​(java.lang.String channelSecret)
      • channelAccessToken

        public LineAllOf channelAccessToken​(java.lang.String channelAccessToken)
      • getChannelAccessToken

        @Nullable
        public java.lang.String getChannelAccessToken()
        LINE Channel Access Token.
        Returns:
        channelAccessToken
      • setChannelAccessToken

        public void setChannelAccessToken​(java.lang.String channelAccessToken)
      • serviceCode

        public LineAllOf serviceCode​(java.lang.String serviceCode)
      • getServiceCode

        @Nullable
        public java.lang.String getServiceCode()
        LINE Service Code.
        Returns:
        serviceCode
      • setServiceCode

        public void setServiceCode​(java.lang.String serviceCode)
      • switcherSecret

        public LineAllOf switcherSecret​(java.lang.String switcherSecret)
      • getSwitcherSecret

        @Nullable
        public java.lang.String getSwitcherSecret()
        LINE Switcher Secret.
        Returns:
        switcherSecret
      • setSwitcherSecret

        public void setSwitcherSecret​(java.lang.String switcherSecret)
      • qrCodeUrl

        public LineAllOf qrCodeUrl​(java.lang.String qrCodeUrl)
      • getQrCodeUrl

        @Nullable
        public java.lang.String getQrCodeUrl()
        URL provided by LINE in the [Developer Console](https://developers.line.biz/console/).
        Returns:
        qrCodeUrl
      • setQrCodeUrl

        public void setQrCodeUrl​(java.lang.String qrCodeUrl)
      • getLineId

        @Nullable
        public java.lang.String getLineId()
        LINE Basic ID. Is automatically set when qrCodeUrl is updated.
        Returns:
        lineId
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object