共用方式為


Screen Class

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

public class Screen

The response for a Screen text request.

Method Summary

Modifier and Type Method and Description
String autoCorrectedText()

Get the autoCorrectedText value.

Classification classification()

Get the classification value.

String language()

Get the language value.

List<String> misrepresentation()

Get the misrepresentation value.

String normalizedText()

Get the normalizedText value.

String originalText()

Get the originalText value.

PII pII()

Get the pII value.

Status status()

Get the status value.

List<DetectedTerms> terms()

Get the terms value.

String trackingId()

Get the trackingId value.

Screen withAutoCorrectedText(String autoCorrectedText)

Set the autoCorrectedText value.

Screen withClassification(Classification classification)

Set the classification value.

Screen withLanguage(String language)

Set the language value.

Screen withMisrepresentation(List<String> misrepresentation)

Set the misrepresentation value.

Screen withNormalizedText(String normalizedText)

Set the normalizedText value.

Screen withOriginalText(String originalText)

Set the originalText value.

Screen withPII(PII pII)

Set the pII value.

Screen withStatus(Status status)

Set the status value.

Screen withTerms(List<DetectedTerms> terms)

Set the terms value.

Screen withTrackingId(String trackingId)

Set the trackingId value.

Method Details

autoCorrectedText

public String autoCorrectedText()

Get the autoCorrectedText value.

Returns:

the autoCorrectedText value

classification

public Classification classification()

Get the classification value.

Returns:

the classification value

language

public String language()

Get the language value.

Returns:

the language value

misrepresentation

public List misrepresentation()

Get the misrepresentation value.

Returns:

the misrepresentation value

normalizedText

public String normalizedText()

Get the normalizedText value.

Returns:

the normalizedText value

originalText

public String originalText()

Get the originalText value.

Returns:

the originalText value

pII

public PII pII()

Get the pII value.

Returns:

the pII 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

withAutoCorrectedText

public Screen withAutoCorrectedText(String autoCorrectedText)

Set the autoCorrectedText value.

Parameters:

autoCorrectedText - the autoCorrectedText value to set

Returns:

the Screen object itself.

withClassification

public Screen withClassification(Classification classification)

Set the classification value.

Parameters:

classification - the classification value to set

Returns:

the Screen object itself.

withLanguage

public Screen withLanguage(String language)

Set the language value.

Parameters:

language - the language value to set

Returns:

the Screen object itself.

withMisrepresentation

public Screen withMisrepresentation(List misrepresentation)

Set the misrepresentation value.

Parameters:

misrepresentation - the misrepresentation value to set

Returns:

the Screen object itself.

withNormalizedText

public Screen withNormalizedText(String normalizedText)

Set the normalizedText value.

Parameters:

normalizedText - the normalizedText value to set

Returns:

the Screen object itself.

withOriginalText

public Screen withOriginalText(String originalText)

Set the originalText value.

Parameters:

originalText - the originalText value to set

Returns:

the Screen object itself.

withPII

public Screen withPII(PII pII)

Set the pII value.

Parameters:

pII - the pII value to set

Returns:

the Screen object itself.

withStatus

public Screen withStatus(Status status)

Set the status value.

Parameters:

status - the status value to set

Returns:

the Screen object itself.

withTerms

public Screen withTerms(List terms)

Set the terms value.

Parameters:

terms - the terms value to set

Returns:

the Screen object itself.

withTrackingId

public Screen withTrackingId(String trackingId)

Set the trackingId value.

Parameters:

trackingId - the trackingId value to set

Returns:

the Screen object itself.

Applies to