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
|
||||||||||||
callback |
function |
<optional> |
Callback to handle processed record |
- Source:
Returns:
Resolves to processed EndUserInstance
- Type
- Promise