Class IpRecord

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getSid

        public final String getSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getIpAddress

        public final String getIpAddress()
      • getCidrPrefixLength

        public final Integer getCidrPrefixLength()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object