Class PlacesSearchResponse

java.lang.Object
ai.nextbillion.maps.model.PlacesSearchResponse
All Implemented Interfaces:
java.io.Serializable

public class PlacesSearchResponse
extends java.lang.Object
implements java.io.Serializable
The response from a Places Search request.

Please see Places Search Response for more detail.

See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.lang.String[] htmlAttributions
    Attributions about this listing which must be displayed to the user.
    java.lang.String nextPageToken
    A token that can be used to request up to 20 additional results.
    PlacesSearchResult[] results
    The list of Search Results.
  • Constructor Summary

    Constructors 
    Constructor Description
    PlacesSearchResponse()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • results

      public PlacesSearchResult[] results
      The list of Search Results.
    • htmlAttributions

      public java.lang.String[] htmlAttributions
      Attributions about this listing which must be displayed to the user.
    • nextPageToken

      public java.lang.String nextPageToken
      A token that can be used to request up to 20 additional results. This field will be null if there are no further results. The maximum number of results that can be returned is 60.

      Note: There is a short delay between when this response is issued, and when nextPageToken will become valid to execute.

  • Constructor Details

  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object