Class ModelBuild
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.understand.assistant.ModelBuild
-
- All Implemented Interfaces:
Serializable
public class ModelBuild extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelBuild.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelBuildCreatorcreator(String pathAssistantSid)static ModelBuildDeleterdeleter(String pathAssistantSid, String pathSid)booleanequals(Object o)static ModelBuildFetcherfetcher(String pathAssistantSid, String pathSid)static ModelBuildfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a ModelBuild object using the provided ObjectMapper.static ModelBuildfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a ModelBuild object using the provided ObjectMapper.StringgetAccountSid()StringgetAssistantSid()IntegergetBuildDuration()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()IntegergetErrorCode()StringgetSid()ModelBuild.StatusgetStatus()StringgetUniqueName()URIgetUrl()inthashCode()static ModelBuildReaderreader(String pathAssistantSid)static ModelBuildUpdaterupdater(String pathAssistantSid, String pathSid)
-
-
-
Method Detail
-
creator
public static ModelBuildCreator creator(String pathAssistantSid)
-
fetcher
public static ModelBuildFetcher fetcher(String pathAssistantSid, String pathSid)
-
deleter
public static ModelBuildDeleter deleter(String pathAssistantSid, String pathSid)
-
reader
public static ModelBuildReader reader(String pathAssistantSid)
-
updater
public static ModelBuildUpdater updater(String pathAssistantSid, String pathSid)
-
fromJson
public static ModelBuild fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ModelBuild object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- ModelBuild object represented by the provided JSON
-
fromJson
public static ModelBuild fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ModelBuild object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- ModelBuild object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getAssistantSid
public final String getAssistantSid()
-
getSid
public final String getSid()
-
getStatus
public final ModelBuild.Status getStatus()
-
getUniqueName
public final String getUniqueName()
-
getUrl
public final URI getUrl()
-
getBuildDuration
public final Integer getBuildDuration()
-
getErrorCode
public final Integer getErrorCode()
-
-