Class Member
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.chat.v2.service.channel.Member
-
- All Implemented Interfaces:
Serializable
public class Member extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Member.WebhookEnabledType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MemberCreator
creator(String pathServiceSid, String pathChannelSid, String identity)
static MemberDeleter
deleter(String pathServiceSid, String pathChannelSid, String pathSid)
boolean
equals(Object o)
static MemberFetcher
fetcher(String pathServiceSid, String pathChannelSid, String pathSid)
static Member
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Member object using the provided ObjectMapper.static Member
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Member object using the provided ObjectMapper.String
getAccountSid()
String
getAttributes()
String
getChannelSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getIdentity()
Integer
getLastConsumedMessageIndex()
ZonedDateTime
getLastConsumptionTimestamp()
String
getRoleSid()
String
getServiceSid()
String
getSid()
URI
getUrl()
int
hashCode()
static MemberReader
reader(String pathServiceSid, String pathChannelSid)
static MemberUpdater
updater(String pathServiceSid, String pathChannelSid, String pathSid)
-
-
-
Method Detail
-
creator
public static MemberCreator creator(String pathServiceSid, String pathChannelSid, String identity)
-
deleter
public static MemberDeleter deleter(String pathServiceSid, String pathChannelSid, String pathSid)
-
fetcher
public static MemberFetcher fetcher(String pathServiceSid, String pathChannelSid, String pathSid)
-
reader
public static MemberReader reader(String pathServiceSid, String pathChannelSid)
-
updater
public static MemberUpdater updater(String pathServiceSid, String pathChannelSid, String pathSid)
-
fromJson
public static Member fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Member object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Member object represented by the provided JSON
-
fromJson
public static Member fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Member object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Member object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getChannelSid
public final String getChannelSid()
-
getServiceSid
public final String getServiceSid()
-
getIdentity
public final String getIdentity()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getRoleSid
public final String getRoleSid()
-
getLastConsumedMessageIndex
public final Integer getLastConsumedMessageIndex()
-
getLastConsumptionTimestamp
public final ZonedDateTime getLastConsumptionTimestamp()
-
getUrl
public final URI getUrl()
-
getAttributes
public final String getAttributes()
-
-