Class Notification

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getAccountSid

        public final String getAccountSid()
      • getServiceSid

        public final String getServiceSid()
      • getIdentities

        public final List<String> getIdentities()
      • getSegments

        public final List<String> getSegments()
      • getTtl

        public final Integer getTtl()
      • getTitle

        public final String getTitle()
      • getBody

        public final String getBody()
      • getSound

        public final String getSound()
      • getAction

        public final String getAction()
      • getFacebookMessenger

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

        public int hashCode()
        Overrides:
        hashCode in class Object