BingNews.BingNewsSearchDefinitionStages.WithExecute Interface
public interface WithExecute extends BingNews.BingNewsSearchDefinitionStages.WithAllOptions
The last stage of the definition which will make the operation call.
Method Summary
Modifier and Type | Method and Description |
---|---|
News |
execute()
Execute the request. |
Observable<News |
executeAsync()
Execute the request asynchronously. |
Inherited Members
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withAcceptLanguage(String acceptLanguage)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withClientId(String clientId)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withClientIp(String clientIp)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withCount(Integer count)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withCountryCode(String countryCode)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withFreshness(Freshness freshness)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withLocation(String location)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withMarket(String market)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withOffset(Integer offset)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withOriginalImage(Boolean originalImage)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withSafeSearch(SafeSearch safeSearch)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withSetLang(String setLang)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withSortBy(String sortBy)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withTextDecorations(Boolean textDecorations)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withTextFormat(TextFormat textFormat)
BingNews.BingNewsSearchDefinitionStages.WithAllOptions.withUserAgent(String userAgent)
Method Details
execute
public NewsModel execute()
Execute the request.
Returns:
the NewsModel object if successful.
executeAsync
public Observable
Execute the request asynchronously.
Returns:
the observable to the NewsModel 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