Class Log
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.serverless.v1.service.environment.Log
-
- All Implemented Interfaces:
Serializable
public class Log extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLog.Level
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static LogFetcherfetcher(String pathServiceSid, String pathEnvironmentSid, String pathSid)static LogfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Log object using the provided ObjectMapper.static LogfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Log object using the provided ObjectMapper.StringgetAccountSid()StringgetBuildSid()ZonedDateTimegetDateCreated()StringgetDeploymentSid()StringgetEnvironmentSid()StringgetFunctionSid()Log.LevelgetLevel()StringgetMessage()StringgetRequestSid()StringgetServiceSid()StringgetSid()URIgetUrl()inthashCode()static LogReaderreader(String pathServiceSid, String pathEnvironmentSid)
-
-
-
Method Detail
-
fetcher
public static LogFetcher fetcher(String pathServiceSid, String pathEnvironmentSid, String pathSid)
-
fromJson
public static Log fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Log object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Log object represented by the provided JSON
-
fromJson
public static Log fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Log object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Log 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()
-
getBuildSid
public final String getBuildSid()
-
getDeploymentSid
public final String getDeploymentSid()
-
getFunctionSid
public final String getFunctionSid()
-
getRequestSid
public final String getRequestSid()
-
getLevel
public final Log.Level getLevel()
-
getMessage
public final String getMessage()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getUrl
public final URI getUrl()
-
-