Class RatingFilter
Average user rating filters.
Implements
Namespace: Google.Maps.AreaInsights.V1
Assembly: Google.Maps.AreaInsights.V1.dll
Syntax
public sealed class RatingFilter : IMessage<RatingFilter>, IEquatable<RatingFilter>, IDeepCloneable<RatingFilter>, IBufferMessage, IMessage
Constructors
RatingFilter()
Declaration
public RatingFilter()
RatingFilter(RatingFilter)
Declaration
public RatingFilter(RatingFilter other)
Parameters
Type | Name | Description |
---|---|---|
RatingFilter | other |
Properties
HasMaxRating
Gets whether the "max_rating" field is set
Declaration
public bool HasMaxRating { get; }
Property Value
Type | Description |
---|---|
bool |
HasMinRating
Gets whether the "min_rating" field is set
Declaration
public bool HasMinRating { get; }
Property Value
Type | Description |
---|---|
bool |
MaxRating
Optional. Restricts results to places whose average user rating is strictly less than or equal to max_rating. Values must be between 1.0 and 5.0.
Declaration
public float MaxRating { get; set; }
Property Value
Type | Description |
---|---|
float |
MinRating
Optional. Restricts results to places whose average user rating is greater than or equal to min_rating. Values must be between 1.0 and 5.0.
Declaration
public float MinRating { get; set; }
Property Value
Type | Description |
---|---|
float |