Class AssignedAddOnFetcher


  • public class AssignedAddOnFetcher
    extends Fetcher<AssignedAddOn>
    PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
    • Constructor Detail

      • AssignedAddOnFetcher

        public AssignedAddOnFetcher​(String pathResourceSid,
                                    String pathSid)
        Construct a new AssignedAddOnFetcher.
        Parameters:
        pathResourceSid - The SID of the Phone Number that installed this Add-on
        pathSid - The unique string that identifies the resource
      • AssignedAddOnFetcher

        public AssignedAddOnFetcher​(String pathAccountSid,
                                    String pathResourceSid,
                                    String pathSid)
        Construct a new AssignedAddOnFetcher.
        Parameters:
        pathAccountSid - The SID of the Account that created the resource to fetch
        pathResourceSid - The SID of the Phone Number that installed this Add-on
        pathSid - The unique string that identifies the resource
    • Method Detail

      • fetch

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