Class PhoneNumber

    • Method Detail

      • fromJson

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

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

        public final String getCallingCountryCode()
      • getCountryCode

        public final String getCountryCode()
      • getPhoneNumber

        public final PhoneNumber getPhoneNumber()
      • getNationalFormat

        public final String getNationalFormat()
      • getValid

        public final Boolean getValid()
      • getCallForwarding

        public final Map<String,​Object> getCallForwarding()
      • getLineTypeIntelligence

        public final Map<String,​Object> getLineTypeIntelligence()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object