Class UserFetcher

    • Constructor Detail

      • UserFetcher

        public UserFetcher​(String pathServiceSid,
                           String pathSid)
        Construct a new UserFetcher.
        Parameters:
        pathServiceSid - The SID of the Service to fetch the resource from
        pathSid - The unique string that identifies the resource
    • Method Detail

      • fetch

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