Class Alert

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getAlertText

        public final String getAlertText()
      • getApiVersion

        public final String getApiVersion()
      • getDateGenerated

        public final ZonedDateTime getDateGenerated()
      • getErrorCode

        public final String getErrorCode()
      • getLogLevel

        public final String getLogLevel()
      • getMoreInfo

        public final String getMoreInfo()
      • getRequestMethod

        public final HttpMethod getRequestMethod()
      • getRequestUrl

        public final String getRequestUrl()
      • getRequestVariables

        public final String getRequestVariables()
      • getResourceSid

        public final String getResourceSid()
      • getResponseBody

        public final String getResponseBody()
      • getResponseHeaders

        public final String getResponseHeaders()
      • getSid

        public final String getSid()
      • getUrl

        public final URI getUrl()
      • getRequestHeaders

        public final String getRequestHeaders()
      • getServiceSid

        public final String getServiceSid()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object