Package com.twilio.rest.video.v1.room
Class ParticipantFetcher
- java.lang.Object
-
- com.twilio.base.Fetcher<Participant>
-
- com.twilio.rest.video.v1.room.ParticipantFetcher
-
public class ParticipantFetcher extends Fetcher<Participant>
-
-
Constructor Summary
Constructors Constructor Description ParticipantFetcher(String pathRoomSid, String pathSid)
Construct a new ParticipantFetcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Participant
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
-
ParticipantFetcher
public ParticipantFetcher(String pathRoomSid, String pathSid)
Construct a new ParticipantFetcher.- Parameters:
pathRoomSid
- A system-generated 34-character string that uniquely identifies a Room.pathSid
- A system-generated 34-character string that uniquely identifies this Participant.
-
-
Method Detail
-
fetch
public Participant fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.- Specified by:
fetch
in classFetcher<Participant>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- Fetched Participant
-
-