News Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. websearch. models. ResponseBase - com.
microsoft. azure. cognitiveservices. search. websearch. models. Identifiable - com.
microsoft. azure. cognitiveservices. search. websearch. models. Response - com.
microsoft. azure. cognitiveservices. search. websearch. models. Answer - com.
microsoft. azure. cognitiveservices. search. websearch. models. SearchResultsAnswer - com.
microsoft. azure. cognitiveservices. search. websearch. models. News
- com.
- com.
- com.
- com.
- com.
- com.
public class News
extends SearchResultsAnswer
Defines a news answer.
Constructor Summary
Constructor | Description | |
---|---|---|
News() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
location()
Get the location value. |
java.util.List<News |
value()
Get the value value. |
News |
withValue(List<NewsArticle> value)
Set the value value. |
Methods inherited from Answer
Methods inherited from Identifiable
Methods inherited from Response
Methods inherited from SearchResultsAnswer
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
News
public News()
Method Details
location
public String location()
Get the location value.
Returns:
the location value
value
public List
Get the value value.
Returns:
the value value
withValue
public News withValue(List
Set the value value.
Parameters:
value
- the value value to set
Returns:
the News object itself.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java