public class SubscribedEvent extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static SubscribedEvent |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SubscribedEvent object using the provided
ObjectMapper.
|
static SubscribedEvent |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SubscribedEvent object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns Account SID..
|
String |
getSubscriptionSid()
Returns Subscription SID..
|
String |
getType()
Returns Type of event being subscribed to..
|
URI |
getUrl()
Returns The URL of this resource..
|
Integer |
getVersion()
Returns The schema version that the subscription should use..
|
int |
hashCode() |
static SubscribedEventReader |
reader(String pathSubscriptionSid)
Create a SubscribedEventReader to execute read.
|
public static SubscribedEventReader reader(String pathSubscriptionSid)
pathSubscriptionSid
- Subscription SID.public static SubscribedEvent fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static SubscribedEvent fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getType()
public final Integer getVersion()
public final String getSubscriptionSid()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.