类 PlaceDetails.Review
java.lang.Object
ai.nextbillion.maps.model.PlaceDetails.Review
- 所有已实现的接口:
java.io.Serializable
- 封闭类:
- PlaceDetails
public static class PlaceDetails.Review
extends java.lang.Object
implements java.io.Serializable
- 另请参阅:
- 序列化表格
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classPlaceDetails.Review.AspectRating -
字段概要
字段 修饰符和类型 字段 说明 PlaceDetails.Review.AspectRating[]aspectsA list of AspectRating objects, each of which provides a rating of a single attribute of the establishment.java.lang.StringauthorNameThe name of the user who submitted the review.java.net.URLauthorUrlThe URL of the user's Google+ profile, if available.java.lang.StringlanguageAn IETF language code indicating the language used in the user's review.java.lang.StringprofilePhotoUrlThe URL of the user's Google+ profile photo, if available.intratingThe user's overall rating for this place.java.lang.StringrelativeTimeDescriptionThe relative time that the review was submitted.java.lang.StringtextThe user's review.java.time.InstanttimeThe time that the review was submitted. -
构造器概要
构造器 构造器 说明 Review() -
方法概要
-
字段详细资料
-
aspects
A list of AspectRating objects, each of which provides a rating of a single attribute of the establishment.Note: this is a Premium Data field available to the Google Places API for Work customers.
-
authorName
public java.lang.String authorNameThe name of the user who submitted the review. Anonymous reviews are attributed to "A Google user". -
authorUrl
public java.net.URL authorUrlThe URL of the user's Google+ profile, if available. -
language
public java.lang.String languageAn IETF language code indicating the language used in the user's review. -
profilePhotoUrl
public java.lang.String profilePhotoUrlThe URL of the user's Google+ profile photo, if available. -
rating
public int ratingThe user's overall rating for this place. This is a whole number, ranging from 1 to 5. -
relativeTimeDescription
public java.lang.String relativeTimeDescriptionThe relative time that the review was submitted. -
text
public java.lang.String textThe user's review. When reviewing a location with Google Places, text reviews are considered optional. -
time
public java.time.Instant timeThe time that the review was submitted.
-
-
构造器详细资料
-
Review
public Review()
-