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 class
Build.Runtime
static class
Build.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BuildCreator
creator(String pathServiceSid)
static BuildDeleter
deleter(String pathServiceSid, String pathSid)
boolean
equals(Object o)
static BuildFetcher
fetcher(String pathServiceSid, String pathSid)
static Build
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Build object using the provided ObjectMapper.static Build
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Build object using the provided ObjectMapper.String
getAccountSid()
List<Map<String,Object>>
getAssetVersions()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
List<Map<String,Object>>
getDependencies()
List<Map<String,Object>>
getFunctionVersions()
Map<String,String>
getLinks()
Build.Runtime
getRuntime()
String
getServiceSid()
String
getSid()
Build.Status
getStatus()
URI
getUrl()
int
hashCode()
static BuildReader
reader(String pathServiceSid)
-
-
-
Method Detail
-
creator
public static BuildCreator creator(String pathServiceSid)
-
deleter
public static BuildDeleter deleter(String pathServiceSid, String pathSid)
-
fetcher
public static BuildFetcher fetcher(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()
-
-