public class FaxMedia extends Resource
| Modifier and Type | Method and Description |
|---|---|
static FaxMediaDeleter |
deleter(String pathFaxSid,
String pathSid)
Create a FaxMediaDeleter to execute delete.
|
boolean |
equals(Object o) |
static FaxMediaFetcher |
fetcher(String pathFaxSid,
String pathSid)
Create a FaxMediaFetcher to execute fetch.
|
static FaxMedia |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a FaxMedia object using the provided
ObjectMapper.
|
static FaxMedia |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a FaxMedia object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The Account SID.
|
String |
getContentType()
Returns The Media content type.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this fax media was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this fax media was updated.
|
String |
getFaxSid()
Returns The Fax SID.
|
String |
getSid()
Returns The A string that uniquely identifies this fax media.
|
URI |
getUrl()
Returns The The URL of this resource.
|
int |
hashCode() |
static FaxMediaReader |
reader(String pathFaxSid)
Create a FaxMediaReader to execute read.
|
String |
toString() |
public static FaxMediaFetcher fetcher(String pathFaxSid, String pathSid)
pathFaxSid - Fax SIDpathSid - A string that uniquely identifies this fax mediapublic static FaxMediaReader reader(String pathFaxSid)
pathFaxSid - Fax SIDpublic static FaxMediaDeleter deleter(String pathFaxSid, String pathSid)
pathFaxSid - Fax SIDpathSid - A string that uniquely identifies this fax mediapublic static FaxMedia fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static FaxMedia 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 getFaxSid()
public final String getContentType()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.