Class DependentPhoneNumber

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getAccountSid

        public final String getAccountSid()
      • getFriendlyName

        public final PhoneNumber getFriendlyName()
      • getPhoneNumber

        public final PhoneNumber getPhoneNumber()
      • getVoiceUrl

        public final URI getVoiceUrl()
      • getVoiceMethod

        public final HttpMethod getVoiceMethod()
      • getVoiceFallbackMethod

        public final HttpMethod getVoiceFallbackMethod()
      • getVoiceFallbackUrl

        public final URI getVoiceFallbackUrl()
      • getVoiceCallerIdLookup

        public final Boolean getVoiceCallerIdLookup()
      • getSmsFallbackMethod

        public final HttpMethod getSmsFallbackMethod()
      • getSmsFallbackUrl

        public final URI getSmsFallbackUrl()
      • getSmsMethod

        public final HttpMethod getSmsMethod()
      • getSmsUrl

        public final URI getSmsUrl()
      • getStatusCallback

        public final URI getStatusCallback()
      • getStatusCallbackMethod

        public final HttpMethod getStatusCallbackMethod()
      • getApiVersion

        public final String getApiVersion()
      • getSmsApplicationSid

        public final String getSmsApplicationSid()
      • getVoiceApplicationSid

        public final String getVoiceApplicationSid()
      • getTrunkSid

        public final String getTrunkSid()
      • getEmergencyAddressSid

        public final String getEmergencyAddressSid()
      • getUri

        public final String getUri()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object