EntityRecord Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. textanalytics. models. EntityRecord
- com.
public class EntityRecord
The EntityRecord model.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
bingId()
Get the bingId value. |
List<Match |
matches()
Get the matches value. |
String |
name()
Get the name value. |
String |
wikipediaId()
Get the wikipediaId value. |
String |
wikipediaLanguage()
Get the wikipediaLanguage value. |
String |
wikipediaUrl()
Get the wikipediaUrl value. |
Entity |
withBingId(String bingId)
Set the bingId value. |
Entity |
withName(String name)
Set the name value. |
Entity |
withWikipediaId(String wikipediaId)
Set the wikipediaId value. |
Entity |
withWikipediaLanguage(String wikipediaLanguage)
Set the wikipediaLanguage value. |
Method Details
bingId
public String bingId()
Get the bingId value.
Returns:
matches
public List
Get the matches value.
Returns:
name
public String name()
Get the name value.
Returns:
wikipediaId
public String wikipediaId()
Get the wikipediaId value.
Returns:
wikipediaLanguage
public String wikipediaLanguage()
Get the wikipediaLanguage value.
Returns:
wikipediaUrl
public String wikipediaUrl()
Get the wikipediaUrl value.
Returns:
withBingId
public EntityRecord withBingId(String bingId)
Set the bingId value.
Parameters:
Returns:
withName
public EntityRecord withName(String name)
Set the name value.
Parameters:
Returns:
withWikipediaId
public EntityRecord withWikipediaId(String wikipediaId)
Set the wikipediaId value.
Parameters:
Returns:
withWikipediaLanguage
public EntityRecord withWikipediaLanguage(String wikipediaLanguage)
Set the wikipediaLanguage value.
Parameters:
Returns:
Applies to
Azure SDK for Java