Class FieldTypeReader
- java.lang.Object
-
- com.twilio.base.Reader<FieldType>
-
- com.twilio.rest.preview.understand.assistant.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 Summary
Constructors Constructor Description FieldTypeReader(String pathAssistantSid)
Construct a new FieldTypeReader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<FieldType>
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.Page<FieldType>
getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.Page<FieldType>
nextPage(Page<FieldType> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.Page<FieldType>
previousPage(Page<FieldType> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.ResourceSet<FieldType>
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
-
-
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.
-
firstPage
public Page<FieldType> firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
getPage
public Page<FieldType> getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.
-
nextPage
public Page<FieldType> nextPage(Page<FieldType> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.
-
previousPage
public Page<FieldType> previousPage(Page<FieldType> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.- Specified by:
previousPage
in classReader<FieldType>
- Parameters:
page
- current pageclient
- TwilioRestClient with which to make the request- Returns:
- Previous Page
-
-