GetTrendingSearchesViewOptions

public final class GetTrendingSearchesViewOptions


Ta klasa zawiera wszystkie opcje potrzebne do żądania widoku interfejsu wyszukiwania na podstawie trendów. Aby uzyskać odpowiedź, dzwoniący muszą uzyskać prawidłowy identyfikator klienta.

Podsumowanie

Konstruktory publiczne

Metody publiczne

GetTrendingSearchesViewOptions

Określa identyfikator klienta używany do żądania widoku wyszukiwań zyskujących popularność.

GetTrendingSearchesViewOptions

Określa maksymalną liczbę trendów zwracanych przez backend.

GetTrendingSearchesViewOptions

Ustawia opcje widoku, które umożliwiają dostosowanie widoku wyszukiwań zyskujących popularność.

Konstruktory publiczne

GetTrendingSearchesViewOptions

public GetTrendingSearchesViewOptions()

Metody publiczne

setClientId

@CanIgnoreReturnValue
public GetTrendingSearchesViewOptions setClientId(String clientId)

Określa identyfikator klienta używany do żądania widoku wyszukiwań zyskujących popularność.

Parametry
String clientId

identyfikator klienta,

Zwroty
GetTrendingSearchesViewOptions

bieżącego obiektu GetTrendingSearchesViewOptions.

setMaxNumTrends

@CanIgnoreReturnValue
public GetTrendingSearchesViewOptions setMaxNumTrends(int maxNumTrends)

Określa maksymalną liczbę trendów zwracanych z backendu.

Parametry
int maxNumTrends

maksymalna liczba zwracanych trendów.

Zwroty
GetTrendingSearchesViewOptions

bieżący obiekt GetTrendingSearchesViewOptions.

setTrendingSearchesViewOptions

@CanIgnoreReturnValue
public GetTrendingSearchesViewOptions setTrendingSearchesViewOptions(
    SearchSuggestionsViewOptions trendingSearchesViewOptions
)

Ustawia opcje widoku, które umożliwiają dostosowanie widoku wyszukiwań zyskujących popularność.

Parametry
SearchSuggestionsViewOptions trendingSearchesViewOptions

obiekt SearchSuggestionsViewOptions używany do dostosowywania widoku interfejsu wyszukiwania zyskującego popularność.

Zwroty
GetTrendingSearchesViewOptions

bieżący obiekt GetTrendingSearchesViewOptions.