Class ParticipantFetcher

    • 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 class Fetcher<Participant>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Fetched Participant