Class Build
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.serverless.v1.service.Build
-
- All Implemented Interfaces:
Serializable
public class Build extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBuild.Runtimestatic classBuild.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BuildCreatorcreator(String pathServiceSid)static BuildDeleterdeleter(String pathServiceSid, String pathSid)booleanequals(Object o)static BuildFetcherfetcher(String pathServiceSid, String pathSid)static BuildfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Build object using the provided ObjectMapper.static BuildfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Build object using the provided ObjectMapper.StringgetAccountSid()List<Map<String,Object>>getAssetVersions()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()List<Map<String,Object>>getDependencies()List<Map<String,Object>>getFunctionVersions()Map<String,String>getLinks()Build.RuntimegetRuntime()StringgetServiceSid()StringgetSid()Build.StatusgetStatus()URIgetUrl()inthashCode()static BuildReaderreader(String pathServiceSid)
-
-
-
Method Detail
-
creator
public static BuildCreator creator(String pathServiceSid)
-
fetcher
public static BuildFetcher fetcher(String pathServiceSid, String pathSid)
-
deleter
public static BuildDeleter deleter(String pathServiceSid, String pathSid)
-
reader
public static BuildReader reader(String pathServiceSid)
-
fromJson
public static Build fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Build object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Build object represented by the provided JSON
-
fromJson
public static Build fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Build object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Build object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getStatus
public final Build.Status getStatus()
-
getRuntime
public final Build.Runtime getRuntime()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-