TermList Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. TermList
- com.
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. |
Term |
metadata()
Get the metadata value. |
String |
name()
Get the name value. |
Term |
withDescription(String description)
Set the description value. |
Term |
withId(Integer id)
Set the id value. |
Term |
withMetadata(TermListMetadata metadata)
Set the metadata value. |
Term |
withName(String name)
Set the name value. |
Method Details
description
public String description()
Get the description value.
Returns:
id
public Integer id()
Get the id value.
Returns:
metadata
public TermListMetadata metadata()
Get the metadata value.
Returns:
name
public String name()
Get the name value.
Returns:
withDescription
public TermList withDescription(String description)
Set the description value.
Parameters:
Returns:
withId
public TermList withId(Integer id)
Set the id value.
Parameters:
Returns:
withMetadata
public TermList withMetadata(TermListMetadata metadata)
Set the metadata value.
Parameters:
Returns:
withName
public TermList withName(String name)
Set the name value.
Parameters:
Returns:
Applies to
Azure SDK for Java