public class Binding extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Binding.BindingType |
| Modifier and Type | Method and Description |
|---|---|
static BindingDeleter |
deleter(String pathServiceSid,
String pathSid)
Create a BindingDeleter to execute delete.
|
boolean |
equals(Object o) |
static BindingFetcher |
fetcher(String pathServiceSid,
String pathSid)
Create a BindingFetcher to execute fetch.
|
static Binding |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Binding object using the provided
ObjectMapper.
|
static Binding |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Binding object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
Binding.BindingType |
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.
|
List<String> |
getMessageTypes()
Returns The The message_types.
|
String |
getServiceSid()
Returns The The service_sid.
|
String |
getSid()
Returns The The sid.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static BindingReader |
reader(String pathServiceSid)
Create a BindingReader to execute read.
|
String |
toString() |
public static BindingReader reader(String pathServiceSid)
pathServiceSid - The service_sidpublic static BindingFetcher fetcher(String pathServiceSid, String pathSid)
pathServiceSid - The service_sidpathSid - The sidpublic static BindingDeleter deleter(String pathServiceSid, String pathSid)
pathServiceSid - The service_sidpathSid - The sidpublic static Binding fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Binding 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 org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getEndpoint()
public final String getIdentity()
public final String getCredentialSid()
public final Binding.BindingType getBindingType()
public final List<String> getMessageTypes()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.