Package com.twilio.rest.chat.v2.service
Class Binding
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.chat.v2.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 pathServiceSid, String pathSid)booleanequals(Object o)static BindingFetcherfetcher(String pathServiceSid, 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()StringgetCredentialSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetEndpoint()StringgetIdentity()Map<String,String>getLinks()List<String>getMessageTypes()StringgetServiceSid()StringgetSid()URIgetUrl()inthashCode()static BindingReaderreader(String pathServiceSid)
-
-
-
Method Detail
-
fetcher
public static BindingFetcher fetcher(String pathServiceSid, String pathSid)
-
deleter
public static BindingDeleter deleter(String pathServiceSid, String pathSid)
-
reader
public static BindingReader reader(String pathServiceSid)
-
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()
-
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()
-
getCredentialSid
public final String getCredentialSid()
-
getBindingType
public final Binding.BindingType getBindingType()
-
getUrl
public final URI getUrl()
-
-