public class Activity extends Resource
Modifier and Type | Method and Description |
---|---|
static ActivityCreator |
creator(String pathWorkspaceSid,
String friendlyName)
Create a ActivityCreator to execute create.
|
static ActivityDeleter |
deleter(String pathWorkspaceSid,
String pathSid)
Create a ActivityDeleter to execute delete.
|
boolean |
equals(Object o) |
static ActivityFetcher |
fetcher(String pathWorkspaceSid,
String pathSid)
Create a ActivityFetcher to execute fetch.
|
static Activity |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Activity object using the provided
ObjectMapper.
|
static Activity |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Activity object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
Boolean |
getAvailable()
Returns The The available.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getFriendlyName()
Returns The The friendly_name.
|
String |
getSid()
Returns The The sid.
|
URI |
getUrl()
Returns The The url.
|
String |
getWorkspaceSid()
Returns The The workspace_sid.
|
int |
hashCode() |
static ActivityReader |
reader(String pathWorkspaceSid)
Create a ActivityReader to execute read.
|
String |
toString() |
static ActivityUpdater |
updater(String pathWorkspaceSid,
String pathSid)
Create a ActivityUpdater to execute update.
|
public static ActivityFetcher fetcher(String pathWorkspaceSid, String pathSid)
pathWorkspaceSid
- The workspace_sidpathSid
- The sidpublic static ActivityUpdater updater(String pathWorkspaceSid, String pathSid)
pathWorkspaceSid
- The workspace_sidpathSid
- The sidpublic static ActivityDeleter deleter(String pathWorkspaceSid, String pathSid)
pathWorkspaceSid
- The workspace_sidpathSid
- The sidpublic static ActivityReader reader(String pathWorkspaceSid)
pathWorkspaceSid
- The workspace_sidpublic static ActivityCreator creator(String pathWorkspaceSid, String friendlyName)
pathWorkspaceSid
- The workspace_sidfriendlyName
- The friendly_namepublic static Activity fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Activity fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final Boolean getAvailable()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getFriendlyName()
public final String getSid()
public final String getWorkspaceSid()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.