Class SipDomain

    • Method Detail

      • fromJson

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

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

        public final String getSipDomain()
      • getUrl

        public final URI getUrl()
      • getSid

        public final String getSid()
      • getAccountSid

        public final String getAccountSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getVoiceRegion

        public final String getVoiceRegion()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object