Class Deployment
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.serverless.v1.service.environment.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 pathServiceSid, String pathEnvironmentSid)booleanequals(Object o)static DeploymentFetcherfetcher(String pathServiceSid, String pathEnvironmentSid, 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()StringgetBuildSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetEnvironmentSid()StringgetServiceSid()StringgetSid()URIgetUrl()inthashCode()static DeploymentReaderreader(String pathServiceSid, String pathEnvironmentSid)
-
-
-
Method Detail
-
creator
public static DeploymentCreator creator(String pathServiceSid, String pathEnvironmentSid)
-
fetcher
public static DeploymentFetcher fetcher(String pathServiceSid, String pathEnvironmentSid, String pathSid)
-
reader
public static DeploymentReader reader(String pathServiceSid, String pathEnvironmentSid)
-
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()
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getEnvironmentSid
public final String getEnvironmentSid()
-
getBuildSid
public final String getBuildSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-