TermList Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.TermList

public class TermList

Term List Properties.

Method Summary

Modifier and Type Method and Description
String description()

Get the description value.

Integer id()

Get the id value.

TermListMetadata metadata()

Get the metadata value.

String name()

Get the name value.

TermList withDescription(String description)

Set the description value.

TermList withId(Integer id)

Set the id value.

TermList withMetadata(TermListMetadata metadata)

Set the metadata value.

TermList withName(String name)

Set the name value.

Method Details

description

public String description()

Get the description value.

Returns:

the description value

id

public Integer id()

Get the id value.

Returns:

the id value

metadata

public TermListMetadata metadata()

Get the metadata value.

Returns:

the metadata value

name

public String name()

Get the name value.

Returns:

the name value

withDescription

public TermList withDescription(String description)

Set the description value.

Parameters:

description - the description value to set

Returns:

the TermList object itself.

withId

public TermList withId(Integer id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the TermList object itself.

withMetadata

public TermList withMetadata(TermListMetadata metadata)

Set the metadata value.

Parameters:

metadata - the metadata value to set

Returns:

the TermList object itself.

withName

public TermList withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the TermList object itself.

Applies to