Ir a la consola

AggregateRatingBuilder

public final class AggregateRatingBuilder extends IndexableBuilder<AggregateRatingBuilder>

Builder to construct an Indexable for aggregate rating.

The aggregate rating can only be used as a parameter of other builders, and it cannot be passed to update(Indexable...) directly.

For reference, see: //schema.org/AggregateRating.

Public Method Summary

AggregateRatingBuilder
setRatingCount(long ratingCount)
Sets the count of total number of ratings.
AggregateRatingBuilder
setRatingValue(String ratingValue)
Sets the rating value.

Inherited Method Summary