Package com.twilio.rest.insights.v1.call
Class Annotation
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.insights.v1.call.Annotation
-
- All Implemented Interfaces:
Serializable
public class Annotation extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnnotation.AnsweredBystatic classAnnotation.ConnectivityIssue
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static AnnotationFetcherfetcher(String pathCallSid)static AnnotationfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Annotation object using the provided ObjectMapper.static AnnotationfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Annotation object using the provided ObjectMapper.StringgetAccountSid()Annotation.AnsweredBygetAnsweredBy()IntegergetCallScore()StringgetCallSid()StringgetComment()Annotation.ConnectivityIssuegetConnectivityIssue()StringgetIncident()List<String>getQualityIssues()BooleangetSpam()URIgetUrl()inthashCode()static AnnotationUpdaterupdater(String pathCallSid)
-
-
-
Method Detail
-
fetcher
public static AnnotationFetcher fetcher(String pathCallSid)
-
updater
public static AnnotationUpdater updater(String pathCallSid)
-
fromJson
public static Annotation fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Annotation object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Annotation object represented by the provided JSON
-
fromJson
public static Annotation fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Annotation object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Annotation object represented by the provided JSON
-
getCallSid
public final String getCallSid()
-
getAccountSid
public final String getAccountSid()
-
getAnsweredBy
public final Annotation.AnsweredBy getAnsweredBy()
-
getConnectivityIssue
public final Annotation.ConnectivityIssue getConnectivityIssue()
-
getSpam
public final Boolean getSpam()
-
getCallScore
public final Integer getCallScore()
-
getComment
public final String getComment()
-
getIncident
public final String getIncident()
-
getUrl
public final URI getUrl()
-
-