Class FunctionVersion
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.serverless.v1.service.function.FunctionVersion
-
- All Implemented Interfaces:
Serializable
public class FunctionVersion extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFunctionVersion.Visibility
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static FunctionVersionFetcherfetcher(String pathServiceSid, String pathFunctionSid, String pathSid)static FunctionVersionfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a FunctionVersion object using the provided ObjectMapper.static FunctionVersionfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a FunctionVersion object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()StringgetFunctionSid()Map<String,String>getLinks()StringgetPath()StringgetServiceSid()StringgetSid()URIgetUrl()FunctionVersion.VisibilitygetVisibility()inthashCode()static FunctionVersionReaderreader(String pathServiceSid, String pathFunctionSid)
-
-
-
Method Detail
-
fetcher
public static FunctionVersionFetcher fetcher(String pathServiceSid, String pathFunctionSid, String pathSid)
-
reader
public static FunctionVersionReader reader(String pathServiceSid, String pathFunctionSid)
-
fromJson
public static FunctionVersion fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a FunctionVersion object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- FunctionVersion object represented by the provided JSON
-
fromJson
public static FunctionVersion fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a FunctionVersion object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- FunctionVersion object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getFunctionSid
public final String getFunctionSid()
-
getPath
public final String getPath()
-
getVisibility
public final FunctionVersion.Visibility getVisibility()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getUrl
public final URI getUrl()
-
-