Class Photo

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

public class Photo
extends java.lang.Object
implements java.io.Serializable
Describes a photo available with a Search Result.

Please see Place Photos for more details.

See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    int height
    The maximum height of the image.
    java.lang.String[] htmlAttributions
    Attributions about this listing which must be displayed to the user.
    java.lang.String photoReference
    Used to identify the photo when you perform a Photo request.
    int width
    The maximum width of the image.
  • Constructor Summary

    Constructors 
    Constructor Description
    Photo()  
  • 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

    • photoReference

      public java.lang.String photoReference
      Used to identify the photo when you perform a Photo request.
    • height

      public int height
      The maximum height of the image.
    • width

      public int width
      The maximum width of the image.
    • htmlAttributions

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

  • Method Details

    • toString

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