Package com.twilio.rest.insights.v1
Class Call
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.insights.v1.Call
-
- All Implemented Interfaces:
Serializable
public class Call extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static CallFetcher
fetcher(String pathSid)
static Call
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Call object using the provided ObjectMapper.static Call
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Call object using the provided ObjectMapper.Map<String,String>
getLinks()
String
getSid()
URI
getUrl()
int
hashCode()
-
-
-
Method Detail
-
fetcher
public static CallFetcher fetcher(String pathSid)
-
fromJson
public static Call fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Call object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Call object represented by the provided JSON
-
fromJson
public static Call fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Call object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Call object represented by the provided JSON
-
getSid
public final String getSid()
-
getUrl
public final URI getUrl()
-
-