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 class
Annotation.AnsweredBy
static class
Annotation.ConnectivityIssue
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static AnnotationFetcher
fetcher(String pathCallSid)
static Annotation
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Annotation object using the provided ObjectMapper.static Annotation
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Annotation object using the provided ObjectMapper.String
getAccountSid()
Annotation.AnsweredBy
getAnsweredBy()
Integer
getCallScore()
String
getCallSid()
String
getComment()
Annotation.ConnectivityIssue
getConnectivityIssue()
String
getIncident()
List<String>
getQualityIssues()
Boolean
getSpam()
URI
getUrl()
int
hashCode()
static AnnotationUpdater
updater(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()
-
-