public class Alert extends Resource
Modifier and Type | Method and Description |
---|---|
static AlertDeleter |
deleter(String pathSid)
Create a AlertDeleter to execute delete.
|
boolean |
equals(Object o) |
static AlertFetcher |
fetcher(String pathSid)
Create a AlertFetcher to execute fetch.
|
static Alert |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Alert object using the provided
ObjectMapper.
|
static Alert |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Alert object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getAlertText()
Returns The The alert_text.
|
String |
getApiVersion()
Returns The The api_version.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateGenerated()
Returns The The date_generated.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getErrorCode()
Returns The The error_code.
|
String |
getLogLevel()
Returns The The log_level.
|
String |
getMoreInfo()
Returns The The more_info.
|
HttpMethod |
getRequestMethod()
Returns The The request_method.
|
String |
getRequestUrl()
Returns The The request_url.
|
String |
getRequestVariables()
Returns The The request_variables.
|
String |
getResourceSid()
Returns The The resource_sid.
|
String |
getResponseBody()
Returns The The response_body.
|
String |
getResponseHeaders()
Returns The The response_headers.
|
String |
getSid()
Returns The The sid.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static AlertReader |
reader()
Create a AlertReader to execute read.
|
String |
toString() |
public static AlertFetcher fetcher(String pathSid)
pathSid
- The sidpublic static AlertDeleter deleter(String pathSid)
pathSid
- The sidpublic static AlertReader reader()
public static Alert fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Alert fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getAlertText()
public final String getApiVersion()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateGenerated()
public final org.joda.time.DateTime getDateUpdated()
public final String getErrorCode()
public final String getLogLevel()
public final String getMoreInfo()
public final HttpMethod getRequestMethod()
public final String getRequestUrl()
public final String getRequestVariables()
public final String getResourceSid()
public final String getResponseBody()
public final String getResponseHeaders()
public final String getSid()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.