Class Invite
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.chat.v2.service.channel.Invite
-
- All Implemented Interfaces:
Serializable
public class Invite extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InviteCreator
creator(String pathServiceSid, String pathChannelSid, String identity)
static InviteDeleter
deleter(String pathServiceSid, String pathChannelSid, String pathSid)
boolean
equals(Object o)
static InviteFetcher
fetcher(String pathServiceSid, String pathChannelSid, String pathSid)
static Invite
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Invite object using the provided ObjectMapper.static Invite
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Invite object using the provided ObjectMapper.String
getAccountSid()
String
getChannelSid()
String
getCreatedBy()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getIdentity()
String
getRoleSid()
String
getServiceSid()
String
getSid()
URI
getUrl()
int
hashCode()
static InviteReader
reader(String pathServiceSid, String pathChannelSid)
-
-
-
Method Detail
-
creator
public static InviteCreator creator(String pathServiceSid, String pathChannelSid, String identity)
-
fetcher
public static InviteFetcher fetcher(String pathServiceSid, String pathChannelSid, String pathSid)
-
deleter
public static InviteDeleter deleter(String pathServiceSid, String pathChannelSid, String pathSid)
-
reader
public static InviteReader reader(String pathServiceSid, String pathChannelSid)
-
fromJson
public static Invite fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Invite object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Invite object represented by the provided JSON
-
fromJson
public static Invite fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Invite object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Invite 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()
-
getCreatedBy
public final String getCreatedBy()
-
getUrl
public final URI getUrl()
-
-