Class FieldFetcher


  • public class FieldFetcher
    extends Fetcher<Field>
    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

      • FieldFetcher

        public FieldFetcher​(String pathAssistantSid,
                            String pathTaskSid,
                            String pathSid)
        Construct a new FieldFetcher.
        Parameters:
        pathAssistantSid - The SID of the Assistant that is the parent of the Task associated with the resource to fetch
        pathTaskSid - The SID of the [Task](https://www.twilio.com/docs/autopilot/api/task) resource associated with the Field resource to fetch
        pathSid - The unique string that identifies the resource
    • Method Detail

      • fetch

        public Field fetch​(TwilioRestClient client)
        Make the request to the Twilio API to perform the fetch.
        Specified by:
        fetch in class Fetcher<Field>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Fetched Field