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 InviteCreatorcreator(String pathServiceSid, String pathChannelSid, String identity)static InviteDeleterdeleter(String pathServiceSid, String pathChannelSid, String pathSid)booleanequals(Object o)static InviteFetcherfetcher(String pathServiceSid, String pathChannelSid, String pathSid)static InvitefromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Invite object using the provided ObjectMapper.static InvitefromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Invite object using the provided ObjectMapper.StringgetAccountSid()StringgetChannelSid()StringgetCreatedBy()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetIdentity()StringgetRoleSid()StringgetServiceSid()StringgetSid()URIgetUrl()inthashCode()static InviteReaderreader(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()
-
-