Class Binding
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.conversations.v1.service.Binding
-
- All Implemented Interfaces:
Serializable
public class Binding extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBinding.BindingType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BindingDeleterdeleter(String pathChatServiceSid, String pathSid)booleanequals(Object o)static BindingFetcherfetcher(String pathChatServiceSid, String pathSid)static BindingfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Binding object using the provided ObjectMapper.static BindingfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Binding object using the provided ObjectMapper.StringgetAccountSid()Binding.BindingTypegetBindingType()StringgetChatServiceSid()StringgetCredentialSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetEndpoint()StringgetIdentity()List<String>getMessageTypes()StringgetSid()URIgetUrl()inthashCode()static BindingReaderreader(String pathChatServiceSid)
-
-
-
Method Detail
-
fetcher
public static BindingFetcher fetcher(String pathChatServiceSid, String pathSid)
-
deleter
public static BindingDeleter deleter(String pathChatServiceSid, String pathSid)
-
reader
public static BindingReader reader(String pathChatServiceSid)
-
fromJson
public static Binding fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Binding object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Binding object represented by the provided JSON
-
fromJson
public static Binding fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Binding object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Binding object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getChatServiceSid
public final String getChatServiceSid()
-
getCredentialSid
public final String getCredentialSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getEndpoint
public final String getEndpoint()
-
getIdentity
public final String getIdentity()
-
getBindingType
public final Binding.BindingType getBindingType()
-
getUrl
public final URI getUrl()
-
-