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

        public final String getChatInstanceSid()
      • getCallbackUrl

        public final URI getCallbackUrl()
      • getDefaultTtl

        public final Integer getDefaultTtl()
      • getInterceptCallbackUrl

        public final URI getInterceptCallbackUrl()
      • getOutOfSessionCallbackUrl

        public final URI getOutOfSessionCallbackUrl()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object