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
-
-
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.inthashCode()static LogReaderreader(String pathServiceSid, String pathEnvironmentSid)static StringtoJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
-
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
-
toJson
public static String toJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-