Class RecordingFetcher

    • Constructor Detail

      • RecordingFetcher

        public RecordingFetcher​(String pathCallSid,
                                String pathSid)
        Construct a new RecordingFetcher.
        Parameters:
        pathCallSid - The Call SID of the resource to fetch
        pathSid - The unique string that identifies the resource
      • RecordingFetcher

        public RecordingFetcher​(String pathAccountSid,
                                String pathCallSid,
                                String pathSid)
        Construct a new RecordingFetcher.
        Parameters:
        pathAccountSid - The SID of the Account that created the resource to fetch
        pathCallSid - The Call SID of the resource to fetch
        pathSid - The unique string that identifies the resource
    • Method Detail

      • fetch

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