Class ConnectionPolicyTarget

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getConnectionPolicySid

        public final String getConnectionPolicySid()
      • getSid

        public final String getSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getTarget

        public final URI getTarget()
      • getPriority

        public final Integer getPriority()
      • getWeight

        public final Integer getWeight()
      • getEnabled

        public final Boolean getEnabled()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object