Class RatePlanUpdater


  • public class RatePlanUpdater
    extends Updater<RatePlan>
    PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
    • Constructor Detail

      • RatePlanUpdater

        public RatePlanUpdater​(String pathSid)
        Construct a new RatePlanUpdater.
        Parameters:
        pathSid - The sid
    • Method Detail

      • setUniqueName

        public RatePlanUpdater setUniqueName​(String uniqueName)
        The unique_name.
        Parameters:
        uniqueName - The unique_name
        Returns:
        this
      • setFriendlyName

        public RatePlanUpdater setFriendlyName​(String friendlyName)
        The friendly_name.
        Parameters:
        friendlyName - The friendly_name
        Returns:
        this
      • update

        public RatePlan update​(TwilioRestClient client)
        Make the request to the Twilio API to perform the update.
        Specified by:
        update in class Updater<RatePlan>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Updated RatePlan