new AvailableAddOnExtensionContext(version, availableAddOnSid, sid)
Initialize the AvailableAddOnExtensionContext
PLEASE NOTE that this class contains preview products that are subject to
change. Use them with caution. If you currently do not have developer preview
access, please contact help@twilio.com.
Parameters:
Name | Type | Description |
---|---|---|
version |
Marketplace | Version of the resource |
availableAddOnSid |
sid | The SID of the AvailableAddOn resource with the extension to fetch |
sid |
sid | The SID of the AvailableAddOn Extension resource to fetch |
Methods
fetch(callbackopt) → {Promise}
fetch a AvailableAddOnExtensionInstance
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
callback |
function |
<optional> |
Callback to handle processed record |
Returns:
Resolves to processed AvailableAddOnExtensionInstance
- Type
- Promise
toJSON()
Provide a user-friendly representation
Returns:
Object