public class Deployment extends Resource
| Modifier and Type | Method and Description |
|---|---|
static DeploymentCreator |
creator(String pathFleetSid)
Create a DeploymentCreator to execute create.
|
static DeploymentDeleter |
deleter(String pathFleetSid,
String pathSid)
Create a DeploymentDeleter to execute delete.
|
boolean |
equals(Object o) |
static DeploymentFetcher |
fetcher(String pathFleetSid,
String pathSid)
Create a DeploymentFetcher to execute fetch.
|
static Deployment |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Deployment object using the provided
ObjectMapper.
|
static Deployment |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Deployment object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The unique SID that identifies this Account..
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this Deployment was created..
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this Deployment was updated..
|
String |
getFleetSid()
Returns The The unique identifier of the Fleet..
|
String |
getFriendlyName()
Returns The A human readable description for this Deployment.
|
String |
getSid()
Returns The A string that uniquely identifies this Deployment..
|
String |
getSyncServiceSid()
Returns The The unique identifier of the Sync service instance..
|
URI |
getUrl()
Returns The URL of this Deployment..
|
int |
hashCode() |
static DeploymentReader |
reader(String pathFleetSid)
Create a DeploymentReader to execute read.
|
String |
toString() |
static DeploymentUpdater |
updater(String pathFleetSid,
String pathSid)
Create a DeploymentUpdater to execute update.
|
public static DeploymentFetcher fetcher(String pathFleetSid, String pathSid)
pathFleetSid - The fleet_sidpathSid - A string that uniquely identifies the Deployment.public static DeploymentDeleter deleter(String pathFleetSid, String pathSid)
pathFleetSid - The fleet_sidpathSid - A string that uniquely identifies the Deployment.public static DeploymentCreator creator(String pathFleetSid)
pathFleetSid - The fleet_sidpublic static DeploymentReader reader(String pathFleetSid)
pathFleetSid - The fleet_sidpublic static DeploymentUpdater updater(String pathFleetSid, String pathSid)
pathFleetSid - The fleet_sidpathSid - A string that uniquely identifies the Deployment.public static Deployment fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Deployment fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final URI getUrl()
public final String getFriendlyName()
public final String getFleetSid()
public final String getAccountSid()
public final String getSyncServiceSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
Copyright © 2016 Twilio, Inc. All Rights Reserved.