Class EventFetcher

    • Constructor Detail

      • EventFetcher

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

      • fetch

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