类 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 class  PlaceDetails.Review.AspectRating  
  • 字段概要

    字段 
    修饰符和类型 字段 说明
    PlaceDetails.Review.AspectRating[] aspects
    A list of AspectRating objects, each of which provides a rating of a single attribute of the establishment.
    java.lang.String authorName
    The name of the user who submitted the review.
    java.net.URL authorUrl
    The URL of the user's Google+ profile, if available.
    java.lang.String language
    An IETF language code indicating the language used in the user's review.
    java.lang.String profilePhotoUrl
    The URL of the user's Google+ profile photo, if available.
    int rating
    The user's overall rating for this place.
    java.lang.String relativeTimeDescription
    The relative time that the review was submitted.
    java.lang.String text
    The user's review.
    java.time.Instant time
    The time that the review was submitted.
  • 构造器概要

    构造器 
    构造器 说明
    Review()  
  • 方法概要

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • 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 authorName
      The name of the user who submitted the review. Anonymous reviews are attributed to "A Google user".
    • authorUrl

      public java.net.URL authorUrl
      The URL of the user's Google+ profile, if available.
    • language

      public java.lang.String language
      An IETF language code indicating the language used in the user's review.
    • profilePhotoUrl

      public java.lang.String profilePhotoUrl
      The URL of the user's Google+ profile photo, if available.
    • rating

      public int rating
      The user's overall rating for this place. This is a whole number, ranging from 1 to 5.
    • relativeTimeDescription

      public java.lang.String relativeTimeDescription
      The relative time that the review was submitted.
    • text

      public java.lang.String text
      The user's review. When reviewing a location with Google Places, text reviews are considered optional.
    • time

      public java.time.Instant time
      The time that the review was submitted.
  • 构造器详细资料