public class Fleet extends Resource
| Modifier and Type | Method and Description |
|---|---|
static FleetCreator |
creator()
Create a FleetCreator to execute create.
|
static FleetDeleter |
deleter(String pathSid)
Create a FleetDeleter to execute delete.
|
boolean |
equals(Object o) |
static FleetFetcher |
fetcher(String pathSid)
Create a FleetFetcher to execute fetch.
|
static Fleet |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Fleet object using the provided
ObjectMapper.
|
static Fleet |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Fleet 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 Fleet was created..
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this Fleet was updated..
|
String |
getDefaultDeploymentSid()
Returns The The unique SID that identifies this Fleet's default Deployment..
|
String |
getFriendlyName()
Returns The A human readable description for this Fleet..
|
Map<String,String> |
getLinks()
Returns The Nested resource URLs..
|
String |
getSid()
Returns The A string that uniquely identifies this Fleet..
|
String |
getUniqueName()
Returns The A unique, addressable name of this Fleet..
|
URI |
getUrl()
Returns The URL of this Fleet..
|
int |
hashCode() |
static FleetReader |
reader()
Create a FleetReader to execute read.
|
String |
toString() |
static FleetUpdater |
updater(String pathSid)
Create a FleetUpdater to execute update.
|
public static FleetFetcher fetcher(String pathSid)
pathSid - A string that uniquely identifies the Fleet.public static FleetDeleter deleter(String pathSid)
pathSid - A string that uniquely identifies the Fleet.public static FleetCreator creator()
public static FleetReader reader()
public static FleetUpdater updater(String pathSid)
pathSid - A string that uniquely identifies the Fleet.public static Fleet fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Fleet 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 getUniqueName()
public final String getFriendlyName()
public final String getAccountSid()
public final String getDefaultDeploymentSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final Map<String,String> getLinks()
Copyright © 2016 Twilio, Inc. All Rights Reserved.