Class VoiceReceiver


  • public class VoiceReceiver
    extends Object
    A voice receiver.
    • Constructor Detail

      • VoiceReceiver

        public VoiceReceiver()
    • Method Detail

      • name

        public String name()
        Get the name of the voice receiver. Names must be unique across all receivers within an action group.
        Returns:
        the name value
      • withName

        public VoiceReceiver withName​(String name)
        Set the name of the voice receiver. Names must be unique across all receivers within an action group.
        Parameters:
        name - the name value to set
        Returns:
        the VoiceReceiver object itself.
      • countryCode

        public String countryCode()
        Get the country code of the voice receiver.
        Returns:
        the countryCode value
      • withCountryCode

        public VoiceReceiver withCountryCode​(String countryCode)
        Set the country code of the voice receiver.
        Parameters:
        countryCode - the countryCode value to set
        Returns:
        the VoiceReceiver object itself.
      • phoneNumber

        public String phoneNumber()
        Get the phone number of the voice receiver.
        Returns:
        the phoneNumber value
      • withPhoneNumber

        public VoiceReceiver withPhoneNumber​(String phoneNumber)
        Set the phone number of the voice receiver.
        Parameters:
        phoneNumber - the phoneNumber value to set
        Returns:
        the VoiceReceiver object itself.