Class Variable
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.serverless.v1.service.environment.Variable
-
- All Implemented Interfaces:
Serializable
public class Variable extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VariableCreator
creator(String pathServiceSid, String pathEnvironmentSid, String key, String value)
static VariableDeleter
deleter(String pathServiceSid, String pathEnvironmentSid, String pathSid)
boolean
equals(Object o)
static VariableFetcher
fetcher(String pathServiceSid, String pathEnvironmentSid, String pathSid)
static Variable
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Variable object using the provided ObjectMapper.static Variable
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Variable object using the provided ObjectMapper.String
getAccountSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getEnvironmentSid()
String
getKey()
String
getServiceSid()
String
getSid()
URI
getUrl()
String
getValue()
int
hashCode()
static VariableReader
reader(String pathServiceSid, String pathEnvironmentSid)
static VariableUpdater
updater(String pathServiceSid, String pathEnvironmentSid, String pathSid)
-
-
-
Method Detail
-
creator
public static VariableCreator creator(String pathServiceSid, String pathEnvironmentSid, String key, String value)
-
deleter
public static VariableDeleter deleter(String pathServiceSid, String pathEnvironmentSid, String pathSid)
-
fetcher
public static VariableFetcher fetcher(String pathServiceSid, String pathEnvironmentSid, String pathSid)
-
reader
public static VariableReader reader(String pathServiceSid, String pathEnvironmentSid)
-
updater
public static VariableUpdater updater(String pathServiceSid, String pathEnvironmentSid, String pathSid)
-
fromJson
public static Variable fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Variable object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Variable object represented by the provided JSON
-
fromJson
public static Variable fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Variable object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Variable object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getServiceSid
public final String getServiceSid()
-
getEnvironmentSid
public final String getEnvironmentSid()
-
getKey
public final String getKey()
-
getValue
public final String getValue()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-