public class UserBinding extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
UserBinding.BindingType |
| Modifier and Type | Method and Description |
|---|---|
static UserBindingCreator |
creator(String pathServiceSid,
String pathIdentity,
UserBinding.BindingType bindingType,
String address)
Create a UserBindingCreator to execute create.
|
static UserBindingDeleter |
deleter(String pathServiceSid,
String pathIdentity,
String pathSid)
Create a UserBindingDeleter to execute delete.
|
boolean |
equals(Object o) |
static UserBindingFetcher |
fetcher(String pathServiceSid,
String pathIdentity,
String pathSid)
Create a UserBindingFetcher to execute fetch.
|
static UserBinding |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a UserBinding object using the provided
ObjectMapper.
|
static UserBinding |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a UserBinding object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getAddress()
Returns The The address.
|
String |
getBindingType()
Returns The The binding_type.
|
String |
getCredentialSid()
Returns The The credential_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getEndpoint()
Returns The The endpoint.
|
String |
getIdentity()
Returns The The identity.
|
Map<String,String> |
getLinks()
Returns The The links.
|
String |
getNotificationProtocolVersion()
Returns The The notification_protocol_version.
|
String |
getServiceSid()
Returns The The service_sid.
|
String |
getSid()
Returns The The sid.
|
List<String> |
getTags()
Returns The The tags.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static UserBindingReader |
reader(String pathServiceSid,
String pathIdentity)
Create a UserBindingReader to execute read.
|
String |
toString() |
public static UserBindingFetcher fetcher(String pathServiceSid, String pathIdentity, String pathSid)
pathServiceSid - The service_sidpathIdentity - The identitypathSid - The sidpublic static UserBindingDeleter deleter(String pathServiceSid, String pathIdentity, String pathSid)
pathServiceSid - The service_sidpathIdentity - The identitypathSid - The sidpublic static UserBindingCreator creator(String pathServiceSid, String pathIdentity, UserBinding.BindingType bindingType, String address)
pathServiceSid - The service_sidpathIdentity - The identitybindingType - The binding_typeaddress - The addresspublic static UserBindingReader reader(String pathServiceSid, String pathIdentity)
pathServiceSid - The service_sidpathIdentity - The identitypublic static UserBinding fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static UserBinding fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final String getServiceSid()
public final String getCredentialSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getNotificationProtocolVersion()
public final String getEndpoint()
public final String getIdentity()
public final String getBindingType()
public final String getAddress()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.