Class UserChannelFetcher

    • Constructor Detail

      • UserChannelFetcher

        public UserChannelFetcher​(String pathServiceSid,
                                  String pathUserSid,
                                  String pathChannelSid)
        Construct a new UserChannelFetcher.
        Parameters:
        pathServiceSid - The SID of the Service to fetch the User Channel resource from
        pathUserSid - The SID of the User to fetch the User Channel resource from
        pathChannelSid - The SID of the Channel that has the User Channel to fetch
    • Method Detail

      • fetch

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