Class Document

    • Method Detail

      • fromJson

        public static Document fromJson​(String json,
                                        com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a Document object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        Document object represented by the provided JSON
      • fromJson

        public static Document fromJson​(InputStream json,
                                        com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a Document object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        Document object represented by the provided JSON
      • getSid

        public final String getSid()
      • getUniqueName

        public final String getUniqueName()
      • getAccountSid

        public final String getAccountSid()
      • getServiceSid

        public final String getServiceSid()
      • getUrl

        public final URI getUrl()
      • getRevision

        public final String getRevision()
      • getCreatedBy

        public final String getCreatedBy()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object