TermsData Class

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

public class TermsData

All term Id response properties.

Method Summary

Modifier and Type Method and Description
String language()

Get the language value.

Status status()

Get the status value.

List<TermsInList> terms()

Get the terms value.

String trackingId()

Get the trackingId value.

TermsData withLanguage(String language)

Set the language value.

TermsData withStatus(Status status)

Set the status value.

TermsData withTerms(List<TermsInList> terms)

Set the terms value.

TermsData withTrackingId(String trackingId)

Set the trackingId value.

Method Details

language

public String language()

Get the language value.

Returns:

the language value

status

public Status status()

Get the status value.

Returns:

the status value

terms

public List terms()

Get the terms value.

Returns:

the terms value

trackingId

public String trackingId()

Get the trackingId value.

Returns:

the trackingId value

withLanguage

public TermsData withLanguage(String language)

Set the language value.

Parameters:

language - the language value to set

Returns:

the TermsData object itself.

withStatus

public TermsData withStatus(Status status)

Set the status value.

Parameters:

status - the status value to set

Returns:

the TermsData object itself.

withTerms

public TermsData withTerms(List terms)

Set the terms value.

Parameters:

terms - the terms value to set

Returns:

the TermsData object itself.

withTrackingId

public TermsData withTrackingId(String trackingId)

Set the trackingId value.

Parameters:

trackingId - the trackingId value to set

Returns:

the TermsData object itself.

Applies to