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 unique SID that identifies this Account..
|
ZonedDateTime |
getDateCreated()
Returns The date this Fleet was created..
|
ZonedDateTime |
getDateUpdated()
Returns The date this Fleet was updated..
|
String |
getDefaultDeploymentSid()
Returns The unique SID that identifies this Fleet's default Deployment..
|
String |
getFriendlyName()
Returns A human readable description for this Fleet..
|
Map<String,String> |
getLinks()
Returns Nested resource URLs..
|
String |
getSid()
Returns A string that uniquely identifies this Fleet..
|
String |
getUniqueName()
Returns A unique, addressable name of this Fleet..
|
URI |
getUrl()
Returns URL of this Fleet..
|
int |
hashCode() |
static FleetReader |
reader()
Create a FleetReader to execute read.
|
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 ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final Map<String,String> getLinks()
Copyright © 2019 Twilio, Inc. All Rights Reserved.