共用方式為


DetectedTerms Class

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

public class DetectedTerms

Detected Terms details.

Method Summary

Modifier and Type Method and Description
Integer index()

Get the index value.

Integer listId()

Get the listId value.

Integer originalIndex()

Get the originalIndex value.

String term()

Get the term value.

DetectedTerms withIndex(Integer index)

Set the index value.

DetectedTerms withListId(Integer listId)

Set the listId value.

DetectedTerms withOriginalIndex(Integer originalIndex)

Set the originalIndex value.

DetectedTerms withTerm(String term)

Set the term value.

Method Details

index

public Integer index()

Get the index value.

Returns:

the index value

listId

public Integer listId()

Get the listId value.

Returns:

the listId value

originalIndex

public Integer originalIndex()

Get the originalIndex value.

Returns:

the originalIndex value

term

public String term()

Get the term value.

Returns:

the term value

withIndex

public DetectedTerms withIndex(Integer index)

Set the index value.

Parameters:

index - the index value to set

Returns:

the DetectedTerms object itself.

withListId

public DetectedTerms withListId(Integer listId)

Set the listId value.

Parameters:

listId - the listId value to set

Returns:

the DetectedTerms object itself.

withOriginalIndex

public DetectedTerms withOriginalIndex(Integer originalIndex)

Set the originalIndex value.

Parameters:

originalIndex - the originalIndex value to set

Returns:

the DetectedTerms object itself.

withTerm

public DetectedTerms withTerm(String term)

Set the term value.

Parameters:

term - the term value to set

Returns:

the DetectedTerms object itself.

Applies to