Package ai.nextbillion.maps.model
Enum PlaceDetails.Review.AspectRating.RatingType
java.lang.Object
java.lang.Enum<PlaceDetails.Review.AspectRating.RatingType>
ai.nextbillion.maps.model.PlaceDetails.Review.AspectRating.RatingType
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PlaceDetails.Review.AspectRating.RatingType>,java.lang.constant.Constable
- Enclosing class:
- PlaceDetails.Review.AspectRating
public static enum PlaceDetails.Review.AspectRating.RatingType extends java.lang.Enum<PlaceDetails.Review.AspectRating.RatingType>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description APPEALATMOSPHEREDECORFACILITIESFOODOVERALLQUALITYSERVICEUNKNOWNIndicates an unknown rating type returned by the server. -
Method Summary
Modifier and Type Method Description static PlaceDetails.Review.AspectRating.RatingTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PlaceDetails.Review.AspectRating.RatingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
APPEAL
-
ATMOSPHERE
-
DECOR
-
FACILITIES
-
FOOD
-
OVERALL
-
QUALITY
-
SERVICE
-
UNKNOWN
Indicates an unknown rating type returned by the server. The Java Client for Google Maps Services should be updated to support the new value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-