Class IpAddress

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getAccountSid

        public final String getAccountSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getIpAddress

        public final String getIpAddress()
      • getCidrPrefixLength

        public final Integer getCidrPrefixLength()
      • getIpAccessControlListSid

        public final String getIpAccessControlListSid()
      • getUri

        public final String getUri()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object