Class ValidationRequest

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getCallSid

        public final String getCallSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getPhoneNumber

        public final PhoneNumber getPhoneNumber()
      • getValidationCode

        public final String getValidationCode()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object