public class UserBinding extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
UserBinding.BindingType |
Modifier and Type | Method and Description |
---|---|
static UserBindingDeleter |
deleter(String pathServiceSid,
String pathUserSid,
String pathSid)
Create a UserBindingDeleter to execute delete.
|
boolean |
equals(Object o) |
static UserBindingFetcher |
fetcher(String pathServiceSid,
String pathUserSid,
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 account_sid.
|
UserBinding.BindingType |
getBindingType()
Returns The binding_type.
|
String |
getCredentialSid()
Returns The credential_sid.
|
ZonedDateTime |
getDateCreated()
Returns The date_created.
|
ZonedDateTime |
getDateUpdated()
Returns The date_updated.
|
String |
getEndpoint()
Returns The endpoint.
|
String |
getIdentity()
Returns The identity.
|
List<String> |
getMessageTypes()
Returns The message_types.
|
String |
getServiceSid()
Returns The service_sid.
|
String |
getSid()
Returns The sid.
|
URI |
getUrl()
Returns The url.
|
String |
getUserSid()
Returns The user_sid.
|
int |
hashCode() |
static UserBindingReader |
reader(String pathServiceSid,
String pathUserSid)
Create a UserBindingReader to execute read.
|
public static UserBindingReader reader(String pathServiceSid, String pathUserSid)
pathServiceSid
- The service_sidpathUserSid
- The user_sidpublic static UserBindingFetcher fetcher(String pathServiceSid, String pathUserSid, String pathSid)
pathServiceSid
- The service_sidpathUserSid
- The user_sidpathSid
- The sidpublic static UserBindingDeleter deleter(String pathServiceSid, String pathUserSid, String pathSid)
pathServiceSid
- The service_sidpathUserSid
- The user_sidpathSid
- The sidpublic 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 ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final String getEndpoint()
public final String getIdentity()
public final String getUserSid()
public final String getCredentialSid()
public final UserBinding.BindingType getBindingType()
public final List<String> getMessageTypes()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.