Class Deployment
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.deployedDevices.fleet.Deployment
-
- All Implemented Interfaces:
Serializable
public class Deployment extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentCreatorcreator(String pathFleetSid)static DeploymentDeleterdeleter(String pathFleetSid, String pathSid)booleanequals(Object o)static DeploymentFetcherfetcher(String pathFleetSid, String pathSid)static DeploymentfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Deployment object using the provided ObjectMapper.static DeploymentfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Deployment object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetFleetSid()StringgetFriendlyName()StringgetSid()StringgetSyncServiceSid()URIgetUrl()inthashCode()static DeploymentReaderreader(String pathFleetSid)static DeploymentUpdaterupdater(String pathFleetSid, String pathSid)
-
-
-
Method Detail
-
creator
public static DeploymentCreator creator(String pathFleetSid)
-
fetcher
public static DeploymentFetcher fetcher(String pathFleetSid, String pathSid)
-
deleter
public static DeploymentDeleter deleter(String pathFleetSid, String pathSid)
-
reader
public static DeploymentReader reader(String pathFleetSid)
-
updater
public static DeploymentUpdater updater(String pathFleetSid, String pathSid)
-
fromJson
public static Deployment fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Deployment object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Deployment object represented by the provided JSON
-
fromJson
public static Deployment fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Deployment object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Deployment object represented by the provided JSON
-
getSid
public final String getSid()
-
getUrl
public final URI getUrl()
-
getFriendlyName
public final String getFriendlyName()
-
getFleetSid
public final String getFleetSid()
-
getAccountSid
public final String getAccountSid()
-
getSyncServiceSid
public final String getSyncServiceSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
-