Class InviteFetcher

    • Constructor Detail

      • InviteFetcher

        public InviteFetcher​(String pathServiceSid,
                             String pathChannelSid,
                             String pathSid)
        Construct a new InviteFetcher.
        Parameters:
        pathServiceSid - The SID of the Service to fetch the resource from
        pathChannelSid - The SID of the Channel the resource to fetch belongs to
        pathSid - The unique string that identifies the resource
    • Method Detail

      • fetch

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