Package ai.nextbillion.maps.model
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 intheightThe maximum height of the image.java.lang.String[]htmlAttributionsAttributions about this listing which must be displayed to the user.java.lang.StringphotoReferenceUsed to identify the photo when you perform a Photo request.intwidthThe maximum width of the image. -
Constructor Summary
Constructors Constructor Description Photo() -
Method Summary
Modifier and Type Method Description java.lang.StringtoString()
-
Field Details
-
photoReference
public java.lang.String photoReferenceUsed to identify the photo when you perform a Photo request. -
height
public int heightThe maximum height of the image. -
width
public int widthThe maximum width of the image. -
htmlAttributions
public java.lang.String[] htmlAttributionsAttributions about this listing which must be displayed to the user.
-
-
Constructor Details
-
Photo
public Photo()
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-