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 class
Binding.BindingType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BindingDeleter
deleter(String pathServiceSid, String pathSid)
boolean
equals(Object o)
static BindingFetcher
fetcher(String pathServiceSid, String pathSid)
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()
Binding.BindingType
getBindingType()
String
getCredentialSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getEndpoint()
String
getIdentity()
Map<String,String>
getLinks()
List<String>
getMessageTypes()
String
getServiceSid()
String
getSid()
URI
getUrl()
int
hashCode()
static BindingReader
reader(String pathServiceSid)
-
-
-
Method Detail
-
deleter
public static BindingDeleter deleter(String pathServiceSid, String pathSid)
-
fetcher
public static BindingFetcher fetcher(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()
-
-