public class FunctionVersionContent extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static FunctionVersionContentFetcher |
fetcher(String pathServiceSid,
String pathFunctionSid,
String pathSid)
Create a FunctionVersionContentFetcher to execute fetch.
|
static FunctionVersionContent |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a FunctionVersionContent object using the
provided ObjectMapper.
|
static FunctionVersionContent |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a FunctionVersionContent object using the
provided ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that created the Function Version resource.
|
String |
getContent()
Returns The content of the Function Version resource.
|
String |
getFunctionSid()
Returns The SID of the Function that is the parent of the Function Version.
|
String |
getServiceSid()
Returns The SID of the Service that the Function Version resource is
associated with.
|
String |
getSid()
Returns The unique string that identifies the Function Version resource.
|
URI |
getUrl()
Returns The url.
|
int |
hashCode() |
public static FunctionVersionContentFetcher fetcher(String pathServiceSid, String pathFunctionSid, String pathSid)
pathServiceSid
- The SID of the Service to fetch the Function Version
content frompathFunctionSid
- The SID of the Function that is the parent of the
Function Version content to fetchpathSid
- The SID that identifies the Function Version content to fetchpublic static FunctionVersionContent fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static FunctionVersionContent fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final String getServiceSid()
public final String getFunctionSid()
public final String getContent()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.