Class Trigger

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getApiVersion

        public final String getApiVersion()
      • getCallbackMethod

        public final HttpMethod getCallbackMethod()
      • getCallbackUrl

        public final URI getCallbackUrl()
      • getCurrentValue

        public final String getCurrentValue()
      • getFriendlyName

        public final String getFriendlyName()
      • getSid

        public final String getSid()
      • getTriggerValue

        public final String getTriggerValue()
      • getUri

        public final String getUri()
      • getUsageRecordUri

        public final String getUsageRecordUri()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object