Share via


TextAnalyticsActionResult Class

  • java.lang.Object
    • com.azure.ai.textanalytics.models.TextAnalyticsActionResult

public class TextAnalyticsActionResult

The TextAnalyticsActionResult model.

Constructor Summary

Constructor Description
TextAnalyticsActionResult()

Constructs a TextAnalyticsActionResult model.

Method Summary

Modifier and Type Method and Description
String getActionName()

Get the customized action name.

OffsetDateTime getCompletedAt()

Gets the time when the action was completed.

TextAnalyticsError getError()

Gets the error of action.

boolean isError()

Gets the boolean value indicates if the action result is error or not.

Methods inherited from java.lang.Object

Constructor Details

TextAnalyticsActionResult

public TextAnalyticsActionResult()

Constructs a TextAnalyticsActionResult model.

Method Details

getActionName

public String getActionName()

Get the customized action name.

Returns:

the name of action.

getCompletedAt

public OffsetDateTime getCompletedAt()

Gets the time when the action was completed.

Returns:

The time when the action was completed.

getError

public TextAnalyticsError getError()

Gets the error of action.

Returns:

The error of action.

isError

public boolean isError()

Gets the boolean value indicates if the action result is error or not.

Returns:

A boolean indicates if the action result is error or not.

Applies to