Class WorkerFetcher

    • Constructor Detail

      • WorkerFetcher

        public WorkerFetcher​(String pathWorkspaceSid,
                             String pathSid)
        Construct a new WorkerFetcher.
        Parameters:
        pathWorkspaceSid - The workspace_sid
        pathSid - The sid
    • Method Detail

      • fetch

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