Class Annotation

    • Method Detail

      • 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 String
        objectMapper - 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 InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        Annotation object represented by the provided JSON
      • getCallSid

        public final String getCallSid()
      • getAccountSid

        public final String getAccountSid()
      • getQualityIssues

        public final List<String> getQualityIssues()
      • 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()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object