Class OriginationUrl

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getSid

        public final String getSid()
      • getTrunkSid

        public final String getTrunkSid()
      • getWeight

        public final Integer getWeight()
      • getEnabled

        public final Boolean getEnabled()
      • getSipUrl

        public final URI getSipUrl()
      • getFriendlyName

        public final String getFriendlyName()
      • getPriority

        public final Integer getPriority()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object