public class Invite extends Resource
Modifier and Type | Method and Description |
---|---|
static InviteCreator |
creator(String pathServiceSid,
String pathChannelSid,
String identity)
Create a InviteCreator to execute create.
|
static InviteDeleter |
deleter(String pathServiceSid,
String pathChannelSid,
String pathSid)
Create a InviteDeleter to execute delete.
|
boolean |
equals(Object o) |
static InviteFetcher |
fetcher(String pathServiceSid,
String pathChannelSid,
String pathSid)
Create a InviteFetcher to execute fetch.
|
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()
Returns The account_sid.
|
String |
getChannelSid()
Returns The channel_sid.
|
String |
getCreatedBy()
Returns The created_by.
|
ZonedDateTime |
getDateCreated()
Returns The date_created.
|
ZonedDateTime |
getDateUpdated()
Returns The date_updated.
|
String |
getIdentity()
Returns The identity.
|
String |
getRoleSid()
Returns The role_sid.
|
String |
getServiceSid()
Returns The service_sid.
|
String |
getSid()
Returns The sid.
|
URI |
getUrl()
Returns The url.
|
int |
hashCode() |
static InviteReader |
reader(String pathServiceSid,
String pathChannelSid)
Create a InviteReader to execute read.
|
public static InviteFetcher fetcher(String pathServiceSid, String pathChannelSid, String pathSid)
pathServiceSid
- The service_sidpathChannelSid
- The channel_sidpathSid
- The sidpublic static InviteCreator creator(String pathServiceSid, String pathChannelSid, String identity)
pathServiceSid
- The service_sidpathChannelSid
- The channel_sididentity
- The identitypublic static InviteReader reader(String pathServiceSid, String pathChannelSid)
pathServiceSid
- The service_sidpathChannelSid
- The channel_sidpublic static InviteDeleter deleter(String pathServiceSid, String pathChannelSid, String pathSid)
pathServiceSid
- The service_sidpathChannelSid
- The channel_sidpathSid
- The sidpublic static Invite fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Invite 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 ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final String getRoleSid()
public final String getCreatedBy()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.