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()
      • getAccountSid

        public final String getAccountSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getDefaultServiceRoleSid

        public final String getDefaultServiceRoleSid()
      • getDefaultChannelRoleSid

        public final String getDefaultChannelRoleSid()
      • getDefaultChannelCreatorRoleSid

        public final String getDefaultChannelCreatorRoleSid()
      • getReadStatusEnabled

        public final Boolean getReadStatusEnabled()
      • getReachabilityEnabled

        public final Boolean getReachabilityEnabled()
      • getTypingIndicatorTimeout

        public final Integer getTypingIndicatorTimeout()
      • getConsumptionReportInterval

        public final Integer getConsumptionReportInterval()
      • getPreWebhookUrl

        public final String getPreWebhookUrl()
      • getPostWebhookUrl

        public final String getPostWebhookUrl()
      • getWebhookMethod

        public final String getWebhookMethod()
      • getWebhookFilters

        public final List<String> getWebhookFilters()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object