public class IpMessagingGrant extends Object implements Grant
For more information see: https://www.twilio.com/docs/api/rest/access-tokens
Modifier and Type | Class and Description |
---|---|
class |
IpMessagingGrant.Payload |
Constructor and Description |
---|
IpMessagingGrant() |
Modifier and Type | Method and Description |
---|---|
String |
getDeploymentRoleSid() |
String |
getEndpointId() |
String |
getGrantKey()
The key for the grant.
|
Object |
getPayload()
The payload for this grant.
|
String |
getPushCredentialSid() |
String |
getServiceSid() |
IpMessagingGrant |
setDeploymentRoleSid(String deploymentRoleSid) |
IpMessagingGrant |
setEndpointId(String endpointId) |
IpMessagingGrant |
setPushCredentialSid(String pushCredentialSid) |
IpMessagingGrant |
setServiceSid(String serviceSid) |
public String getServiceSid()
public IpMessagingGrant setServiceSid(String serviceSid)
public String getPushCredentialSid()
public IpMessagingGrant setPushCredentialSid(String pushCredentialSid)
public String getDeploymentRoleSid()
public IpMessagingGrant setDeploymentRoleSid(String deploymentRoleSid)
public String getEndpointId()
public IpMessagingGrant setEndpointId(String endpointId)
public String getGrantKey()
Grant
getGrantKey
in interface Grant
public Object getPayload()
Grant
The payload allows us to decouple the user API from how the grant is structured.
getPayload
in interface Grant
Copyright © 2011 Twilio, Inc. All Rights Reserved.