Class ContentAndApprovals

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getAccountSid

        public final String getAccountSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getLanguage

        public final String getLanguage()
      • getApprovalRequests

        public final Map<String,​Object> getApprovalRequests()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object