Class: EndUserContext

Twilio.Trusthub.V1.EndUserContext(version, sid)

new EndUserContext(version, sid)

Initialize the EndUserContext
Parameters:
Name Type Description
version V1 Version of the resource
sid sid The unique string that identifies the resource
Source:

Methods

fetch(callbackopt) → {Promise}

fetch a EndUserInstance
Parameters:
Name Type Attributes Description
callback function <optional>
Callback to handle processed record
Source:
Returns:
Resolves to processed EndUserInstance
Type
Promise

remove(callbackopt) → {Promise}

remove a EndUserInstance
Parameters:
Name Type Attributes Description
callback function <optional>
Callback to handle processed record
Source:
Returns:
Resolves to processed EndUserInstance
Type
Promise

toJSON()

Provide a user-friendly representation
Source:
Returns:
Object

update(optsopt, callbackopt) → {Promise}

update a EndUserInstance
Parameters:
Name Type Attributes Description
opts object <optional>
Options for request
Properties
Name Type Attributes Description
friendlyName string <optional>
The string that you assigned to describe the resource
attributes object <optional>
The set of parameters that compose the End User resource
callback function <optional>
Callback to handle processed record
Source:
Returns:
Resolves to processed EndUserInstance
Type
Promise