Class UserBinding
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.ipmessaging.v2.service.user.UserBinding
-
- All Implemented Interfaces:
Serializable
public class UserBinding extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserBinding.BindingType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserBindingDeleter
deleter(String pathServiceSid, String pathUserSid, String pathSid)
boolean
equals(Object o)
static UserBindingFetcher
fetcher(String pathServiceSid, String pathUserSid, String pathSid)
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()
UserBinding.BindingType
getBindingType()
String
getCredentialSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getEndpoint()
String
getIdentity()
List<String>
getMessageTypes()
String
getServiceSid()
String
getSid()
URI
getUrl()
String
getUserSid()
int
hashCode()
static UserBindingReader
reader(String pathServiceSid, String pathUserSid)
-
-
-
Method Detail
-
fetcher
public static UserBindingFetcher fetcher(String pathServiceSid, String pathUserSid, String pathSid)
-
deleter
public static UserBindingDeleter deleter(String pathServiceSid, String pathUserSid, String pathSid)
-
reader
public static UserBindingReader reader(String pathServiceSid, String pathUserSid)
-
fromJson
public static UserBinding fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a UserBinding object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- UserBinding object represented by the provided JSON
-
fromJson
public static UserBinding fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a UserBinding object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- UserBinding object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getEndpoint
public final String getEndpoint()
-
getIdentity
public final String getIdentity()
-
getUserSid
public final String getUserSid()
-
getCredentialSid
public final String getCredentialSid()
-
getBindingType
public final UserBinding.BindingType getBindingType()
-
getUrl
public final URI getUrl()
-
-