PivotSuggestions Class

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

public class PivotSuggestions

Defines the pivot segment.

Constructor Summary

Constructor Description
PivotSuggestions()

Method Summary

Modifier and Type Method and Description
java.lang.String pivot()

Get the pivot value.

java.util.List<Query> suggestions()

Get the suggestions value.

PivotSuggestions withPivot(String pivot)

Set the pivot value.

PivotSuggestions withSuggestions(List<Query> suggestions)

Set the suggestions value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

PivotSuggestions

public PivotSuggestions()

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