public class Member extends Resource
| Modifier and Type | Method and Description |
|---|---|
static MemberCreator |
creator(String pathServiceSid,
String pathChannelSid,
String identity)
Create a MemberCreator to execute create.
|
static MemberDeleter |
deleter(String pathServiceSid,
String pathChannelSid,
String pathSid)
Create a MemberDeleter to execute delete.
|
boolean |
equals(Object o) |
static MemberFetcher |
fetcher(String pathServiceSid,
String pathChannelSid,
String pathSid)
Create a MemberFetcher to execute fetch.
|
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()
Returns The The account_sid.
|
String |
getChannelSid()
Returns The The channel_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getIdentity()
Returns The The identity.
|
Integer |
getLastConsumedMessageIndex()
Returns The The last_consumed_message_index.
|
org.joda.time.DateTime |
getLastConsumptionTimestamp()
Returns The The last_consumption_timestamp.
|
String |
getRoleSid()
Returns The The role_sid.
|
String |
getServiceSid()
Returns The The service_sid.
|
String |
getSid()
Returns The The sid.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static MemberReader |
reader(String pathServiceSid,
String pathChannelSid)
Create a MemberReader to execute read.
|
String |
toString() |
static MemberUpdater |
updater(String pathServiceSid,
String pathChannelSid,
String pathSid)
Create a MemberUpdater to execute update.
|
public static MemberFetcher fetcher(String pathServiceSid, String pathChannelSid, String pathSid)
pathServiceSid - The service_sidpathChannelSid - The channel_sidpathSid - The sidpublic static MemberCreator creator(String pathServiceSid, String pathChannelSid, String identity)
pathServiceSid - The service_sidpathChannelSid - The channel_sididentity - The identitypublic static MemberReader reader(String pathServiceSid, String pathChannelSid)
pathServiceSid - The service_sidpathChannelSid - The channel_sidpublic static MemberDeleter deleter(String pathServiceSid, String pathChannelSid, String pathSid)
pathServiceSid - The service_sidpathChannelSid - The channel_sidpathSid - The sidpublic static MemberUpdater updater(String pathServiceSid, String pathChannelSid, String pathSid)
pathServiceSid - The service_sidpathChannelSid - The channel_sidpathSid - The sidpublic static Member fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Member fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final String getChannelSid()
public final String getServiceSid()
public final String getIdentity()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getRoleSid()
public final Integer getLastConsumedMessageIndex()
public final org.joda.time.DateTime getLastConsumptionTimestamp()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.