Class FunctionReader


  • public class FunctionReader
    extends Reader<Function>
    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

      • FunctionReader

        public FunctionReader​(String pathServiceSid)
        Construct a new FunctionReader.
        Parameters:
        pathServiceSid - Service Sid.
    • Method Detail

      • read

        public ResourceSet<Function> read​(TwilioRestClient client)
        Make the request to the Twilio API to perform the read.
        Specified by:
        read in class Reader<Function>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Function ResourceSet
      • firstPage

        public Page<Function> firstPage​(TwilioRestClient client)
        Make the request to the Twilio API to perform the read.
        Specified by:
        firstPage in class Reader<Function>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Function ResourceSet
      • getPage

        public Page<Function> getPage​(String targetUrl,
                                      TwilioRestClient client)
        Retrieve the target page from the Twilio API.
        Specified by:
        getPage in class Reader<Function>
        Parameters:
        targetUrl - API-generated URL for the requested results page
        client - TwilioRestClient with which to make the request
        Returns:
        Function ResourceSet