Class EntityFetcher


  • public class EntityFetcher
    extends Fetcher<Entity>
    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

      • EntityFetcher

        public EntityFetcher​(String pathServiceSid,
                             String pathIdentity)
        Construct a new EntityFetcher.
        Parameters:
        pathServiceSid - Service Sid.
        pathIdentity - Unique identity of the Entity
    • Method Detail

      • fetch

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