Class UserChannelFetcher
- java.lang.Object
-
- com.twilio.base.Fetcher<UserChannel>
-
- com.twilio.rest.chat.v2.service.user.UserChannelFetcher
-
public class UserChannelFetcher extends Fetcher<UserChannel>
-
-
Constructor Summary
Constructors Constructor Description UserChannelFetcher(String pathServiceSid, String pathUserSid, String pathChannelSid)
Construct a new UserChannelFetcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserChannel
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.-
Methods inherited from class com.twilio.base.Fetcher
fetch, fetchAsync, fetchAsync
-
-
-
-
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 frompathUserSid
- The SID of the User to fetch the User Channel resource frompathChannelSid
- 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 classFetcher<UserChannel>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- Fetched UserChannel
-
-