Class Service

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getUniqueName

        public final String getUniqueName()
      • getAccountSid

        public final String getAccountSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getUrl

        public final URI getUrl()
      • getWebhookUrl

        public final URI getWebhookUrl()
      • getWebhooksFromRestEnabled

        public final Boolean getWebhooksFromRestEnabled()
      • getReachabilityWebhooksEnabled

        public final Boolean getReachabilityWebhooksEnabled()
      • getAclEnabled

        public final Boolean getAclEnabled()
      • getReachabilityDebouncingEnabled

        public final Boolean getReachabilityDebouncingEnabled()
      • getReachabilityDebouncingWindow

        public final Integer getReachabilityDebouncingWindow()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object