Class Fleet
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.deployedDevices.Fleet
-
- All Implemented Interfaces:
Serializable
public class Fleet extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FleetCreator
creator()
static FleetDeleter
deleter(String pathSid)
boolean
equals(Object o)
static FleetFetcher
fetcher(String pathSid)
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()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getDefaultDeploymentSid()
String
getFriendlyName()
Map<String,String>
getLinks()
String
getSid()
String
getUniqueName()
URI
getUrl()
int
hashCode()
static FleetReader
reader()
static FleetUpdater
updater(String pathSid)
-
-
-
Method Detail
-
creator
public static FleetCreator creator()
-
deleter
public static FleetDeleter deleter(String pathSid)
-
fetcher
public static FleetFetcher fetcher(String pathSid)
-
reader
public static FleetReader reader()
-
updater
public static FleetUpdater updater(String pathSid)
-
fromJson
public static Fleet fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Fleet object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Fleet object represented by the provided JSON
-
fromJson
public static Fleet fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Fleet object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Fleet object represented by the provided JSON
-
getSid
public final String getSid()
-
getUrl
public final URI getUrl()
-
getUniqueName
public final String getUniqueName()
-
getFriendlyName
public final String getFriendlyName()
-
getAccountSid
public final String getAccountSid()
-
getDefaultDeploymentSid
public final String getDefaultDeploymentSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
-