Class LineRegistration


  • public final class LineRegistration
    extends Object
    The properties corresponding to a line channel registration.
    • Constructor Detail

      • LineRegistration

        public LineRegistration()
    • Method Detail

      • generatedId

        public String generatedId()
        Get the generatedId property: Id generated for the line channel registration.
        Returns:
        the generatedId value.
      • channelSecret

        public String channelSecret()
        Get the channelSecret property: Secret for the line channel registration.
        Returns:
        the channelSecret value.
      • withChannelSecret

        public LineRegistration withChannelSecret​(String channelSecret)
        Set the channelSecret property: Secret for the line channel registration.
        Parameters:
        channelSecret - the channelSecret value to set.
        Returns:
        the LineRegistration object itself.
      • channelAccessToken

        public String channelAccessToken()
        Get the channelAccessToken property: Access token for the line channel registration.
        Returns:
        the channelAccessToken value.
      • withChannelAccessToken

        public LineRegistration withChannelAccessToken​(String channelAccessToken)
        Set the channelAccessToken property: Access token for the line channel registration.
        Parameters:
        channelAccessToken - the channelAccessToken value to set.
        Returns:
        the LineRegistration object itself.
      • validate

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