PivotSuggestions Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.imagesearch.models.PivotSuggestions

public class PivotSuggestions

Defines the pivot segment.

Method Summary

Modifier and Type Method and Description
String pivot()

Get the pivot value.

List<Query> suggestions()

Get the suggestions value.

PivotSuggestions withPivot(String pivot)

Set the pivot value.

PivotSuggestions withSuggestions(List<Query> suggestions)

Set the suggestions value.

Method Details

pivot

public String pivot()

Get the pivot value.

Returns:

the pivot value

suggestions

public List suggestions()

Get the suggestions value.

Returns:

the suggestions value

withPivot

public PivotSuggestions withPivot(String pivot)

Set the pivot value.

Parameters:

pivot - the pivot value to set

Returns:

the PivotSuggestions object itself.

withSuggestions

public PivotSuggestions withSuggestions(List suggestions)

Set the suggestions value.

Parameters:

suggestions - the suggestions value to set

Returns:

the PivotSuggestions object itself.

Applies to