Class ParticipantFetcher

    • Constructor Detail

      • ParticipantFetcher

        public ParticipantFetcher​(String pathConferenceSid,
                                  String pathCallSid)
        Construct a new ParticipantFetcher.
        Parameters:
        pathConferenceSid - The SID of the conference with the participant to fetch
        pathCallSid - The Call SID of the resource to fetch
      • ParticipantFetcher

        public ParticipantFetcher​(String pathAccountSid,
                                  String pathConferenceSid,
                                  String pathCallSid)
        Construct a new ParticipantFetcher.
        Parameters:
        pathAccountSid - The SID of the Account that created the resource to fetch
        pathConferenceSid - The SID of the conference with the participant to fetch
        pathCallSid - The Call SID of the resource to fetch
    • 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