BingNews.BingNewsTrendingDefinitionStages.WithExecute Interface
public interface WithExecute extends BingNews.BingNewsTrendingDefinitionStages.WithAllOptions
The last stage of the definition which will make the operation call.
Method Summary
Modifier and Type | Method and Description |
---|---|
Trending |
execute()
Execute the request. |
Observable<Trending |
executeAsync()
Execute the request asynchronously. |
Inherited Members
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withAcceptLanguage(String acceptLanguage)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withClientId(String clientId)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withClientIp(String clientIp)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withCount(Integer count)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withCountryCode(String countryCode)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withLocation(String location)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withMarket(String market)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withOffset(Integer offset)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withSafeSearch(SafeSearch safeSearch)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withSetLang(String setLang)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withSince(Long since)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withSortBy(String sortBy)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withTextDecorations(Boolean textDecorations)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withTextFormat(TextFormat textFormat)
BingNews.BingNewsTrendingDefinitionStages.WithAllOptions.withUserAgent(String userAgent)
Method Details
execute
public TrendingTopics execute()
Execute the request.
Returns:
the TrendingTopics object if successful.
executeAsync
public Observable
Execute the request asynchronously.
Returns:
the observable to the TrendingTopics object
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java