Package com.twilio.rest.insights.v1.call
Class CallSummary
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.insights.v1.call.CallSummary
-
- All Implemented Interfaces:
Serializable
public class CallSummary extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CallSummary.AnsweredBy
static class
CallSummary.CallState
static class
CallSummary.CallType
static class
CallSummary.ProcessingState
-
Method Summary
-
-
-
Method Detail
-
fetcher
public static CallSummaryFetcher fetcher(String pathCallSid)
-
fromJson
public static CallSummary fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a CallSummary object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- CallSummary object represented by the provided JSON
-
fromJson
public static CallSummary fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a CallSummary object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- CallSummary object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getCallSid
public final String getCallSid()
-
getCallType
public final CallSummary.CallType getCallType()
-
getCallState
public final CallSummary.CallState getCallState()
-
getAnsweredBy
public final CallSummary.AnsweredBy getAnsweredBy()
-
getProcessingState
public final CallSummary.ProcessingState getProcessingState()
-
getCreatedTime
public final ZonedDateTime getCreatedTime()
-
getStartTime
public final ZonedDateTime getStartTime()
-
getEndTime
public final ZonedDateTime getEndTime()
-
getDuration
public final Integer getDuration()
-
getConnectDuration
public final Integer getConnectDuration()
-
getUrl
public final URI getUrl()
-
-