Class Webhook

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getChatServiceSid

        public final String getChatServiceSid()
      • getPreWebhookUrl

        public final URI getPreWebhookUrl()
      • getPostWebhookUrl

        public final URI getPostWebhookUrl()
      • getFilters

        public final List<String> getFilters()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object