Class StandardInsightRequest

java.lang.Object
com.vonage.client.insight.BaseInsightRequest
com.vonage.client.insight.StandardInsightRequest
All Implemented Interfaces:
QueryParamsRequest

  • Method Details

    • getCnam

      public Boolean getCnam()
    • withNumber

      public static StandardInsightRequest withNumber(String number)
      Construct a StandardInsightRequest with a number.
      Parameters:
      number - A single phone number that you need insight about in national or international format.
      Returns:
      A new StandardInsightRequest object.
    • withNumberAndCountry

      public static StandardInsightRequest withNumberAndCountry(String number, String country)
      Construct a StandardInsightRequest with a number and country.
      Parameters:
      number - A single phone number that you need insight about in national or international format.
      country - If a number does not have a country code or it is uncertain, set the two-character country code.
      Returns:
      A new StandardInsightRequest object.
    • builder

      This method is the starting point for constructing a Standard Insight request.
      Parameters:
      number - A single phone number that you need insight about in national or international format.
      Returns:
      A new StandardInsightRequest.Builder instance.
    • builder

      This method is the starting point for constructing a Standard Insight request. Note that the number field must be set.
      Returns:
      A new StandardInsightRequest.Builder instance.