RecommendationCluster


public final class RecommendationCluster


A list of entities for recommendation.

Summary

Nested types

Builder class for RecommendationCluster.

Public fields

final String

Public methods

Optional<String>

Returns the action text associated with the RecommendationCluster.

Optional<Uri>

Returns the action Uri which user is navigated to on clicking the action text of .

int
ImmutableList<DisplayTimeWindow>

Returns the display time windows associated with the RecommendationCluster.

List<Entity>

Returns the list of Entity in the Cluster.

Optional<String>

Returns the subtitle of RecommendationCluster.

String

Returns the title of RecommendationCluster.

Public fields

title

public final String title

Public methods

getActionText

public Optional<StringgetActionText()

Returns the action text associated with the RecommendationCluster.

getActionUri

public Optional<UrigetActionUri()

Returns the action Uri which user is navigated to on clicking the action text of .

getClusterType

public int getClusterType()

getDisplayTimeWindows

public ImmutableList<DisplayTimeWindowgetDisplayTimeWindows()

Returns the display time windows associated with the RecommendationCluster.

getEntities

public List<EntitygetEntities()

Returns the list of Entity in the Cluster.

getSubtitle

public Optional<StringgetSubtitle()

Returns the subtitle of RecommendationCluster.

getTitle

public String getTitle()

Returns the title of RecommendationCluster.