new DomainContext(version, accountSid, sid)
Initialize the DomainContext
Parameters:
Name | Type | Description |
---|---|---|
version |
V2010 | Version of the resource |
accountSid |
sid | The SID of the Account that created the resource to fetch |
sid |
sid | The unique string that identifies the resource |
Properties:
Name | Type | Description |
---|---|---|
ipAccessControlListMappings |
Twilio.Api.V2010.AccountContext.SipContext.DomainContext.IpAccessControlListMappingList | ipAccessControlListMappings resource |
credentialListMappings |
Twilio.Api.V2010.AccountContext.SipContext.DomainContext.CredentialListMappingList | credentialListMappings resource |
auth |
Twilio.Api.V2010.AccountContext.SipContext.DomainContext.AuthTypesList | auth resource |
Classes
- AuthTypesList
- CredentialListMappingContext
- CredentialListMappingInstance
- CredentialListMappingList
- CredentialListMappingPage
- IpAccessControlListMappingContext
- IpAccessControlListMappingInstance
- IpAccessControlListMappingList
- IpAccessControlListMappingPage
Methods
auth(sid) → {Twilio.Api.V2010.AccountContext.SipContext.DomainContext.AuthTypesContext}
Parameters:
Name | Type | Description |
---|---|---|
sid |
string | sid of instance |
Returns:
credentialListMappings(sid) → {Twilio.Api.V2010.AccountContext.SipContext.DomainContext.CredentialListMappingContext}
Parameters:
Name | Type | Description |
---|---|---|
sid |
string | sid of instance |
Returns:
fetch(callbackopt) → {Promise}
fetch a DomainInstance
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
callback |
function |
<optional> |
Callback to handle processed record |
Returns:
Resolves to processed DomainInstance
- Type
- Promise
ipAccessControlListMappings(sid) → {Twilio.Api.V2010.AccountContext.SipContext.DomainContext.IpAccessControlListMappingContext}
Parameters:
Name | Type | Description |
---|---|---|
sid |
string | sid of instance |
Returns:
remove(callbackopt) → {Promise}
remove a DomainInstance
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
callback |
function |
<optional> |
Callback to handle processed record |
Returns:
Resolves to processed DomainInstance
- Type
- Promise
toJSON()
Provide a user-friendly representation
Returns:
Object
update(optsopt, callbackopt) → {Promise}
update a DomainInstance
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
object |
<optional> |
Options for request
Properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
callback |
function |
<optional> |
Callback to handle processed record |
Returns:
Resolves to processed DomainInstance
- Type
- Promise