Class LineChannelProperties


  • public final class LineChannelProperties
    extends Object
    The parameters to provide for the Line channel.
    • Constructor Detail

      • LineChannelProperties

        public LineChannelProperties()
    • Method Detail

      • lineRegistrations

        public List<LineRegistration> lineRegistrations()
        Get the lineRegistrations property: The list of line channel registrations.
        Returns:
        the lineRegistrations value.
      • withLineRegistrations

        public LineChannelProperties withLineRegistrations​(List<LineRegistration> lineRegistrations)
        Set the lineRegistrations property: The list of line channel registrations.
        Parameters:
        lineRegistrations - the lineRegistrations value to set.
        Returns:
        the LineChannelProperties object itself.
      • callbackUrl

        public String callbackUrl()
        Get the callbackUrl property: Callback Url to enter in line registration.
        Returns:
        the callbackUrl value.
      • isValidated

        public Boolean isValidated()
        Get the isValidated property: Whether this channel is validated for the bot.
        Returns:
        the isValidated value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.