EntityRecord Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.textanalytics.models.EntityRecord

public class EntityRecord

The EntityRecord model.

Method Summary

Modifier and Type Method and Description
String bingId()

Get the bingId value.

List<MatchRecord> 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.

EntityRecord withBingId(String bingId)

Set the bingId value.

EntityRecord withName(String name)

Set the name value.

EntityRecord withWikipediaId(String wikipediaId)

Set the wikipediaId value.

EntityRecord withWikipediaLanguage(String wikipediaLanguage)

Set the wikipediaLanguage value.

Method Details

bingId

public String bingId()

Get the bingId value.

Returns:

the bingId value

matches

public List matches()

Get the matches value.

Returns:

the matches value

name

public String name()

Get the name value.

Returns:

the name value

wikipediaId

public String wikipediaId()

Get the wikipediaId value.

Returns:

the wikipediaId value

wikipediaLanguage

public String wikipediaLanguage()

Get the wikipediaLanguage value.

Returns:

the wikipediaLanguage value

wikipediaUrl

public String wikipediaUrl()

Get the wikipediaUrl value.

Returns:

the wikipediaUrl value

withBingId

public EntityRecord withBingId(String bingId)

Set the bingId value.

Parameters:

bingId - the bingId value to set

Returns:

the EntityRecord object itself.

withName

public EntityRecord withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the EntityRecord object itself.

withWikipediaId

public EntityRecord withWikipediaId(String wikipediaId)

Set the wikipediaId value.

Parameters:

wikipediaId - the wikipediaId value to set

Returns:

the EntityRecord object itself.

withWikipediaLanguage

public EntityRecord withWikipediaLanguage(String wikipediaLanguage)

Set the wikipediaLanguage value.

Parameters:

wikipediaLanguage - the wikipediaLanguage value to set

Returns:

the EntityRecord object itself.

Applies to