Class DocumentPermission

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getServiceSid

        public final String getServiceSid()
      • getDocumentSid

        public final String getDocumentSid()
      • getIdentity

        public final String getIdentity()
      • getRead

        public final Boolean getRead()
      • getWrite

        public final Boolean getWrite()
      • getManage

        public final Boolean getManage()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object