Class FieldTypeReader


  • public class FieldTypeReader
    extends Reader<FieldType>
    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

      • FieldTypeReader

        public FieldTypeReader​(String pathAssistantSid)
        Construct a new FieldTypeReader.
        Parameters:
        pathAssistantSid - The assistant_sid
    • Method Detail

      • read

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

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

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