OperationDetails Class

  • java.lang.Object
    • com.azure.ai.formrecognizer.documentanalysis.administration.models.OperationDetails

public class OperationDetails

The OperationDetails model.

Constructor Summary

Constructor Description
OperationDetails()

Creates an instance of OperationDetails.

Method Summary

Modifier and Type Method and Description
OffsetDateTime getCreatedOn()

Get the Date and time (UTC) when the analyze operation was submitted.

ResponseError getError()

Get the error property: Encountered error.

OperationKind getKind()

Get the kind property: Type of operation.

OffsetDateTime getLastUpdatedOn()

Get the lastUpdatedDateTime property: Date and time (UTC) when the status was last updated.

String getOperationId()

Get the operationId property: Operation ID.

Integer getPercentCompleted()

Get the percentCompleted property: Operation progress (0-100).

String getResourceLocation()

Get the resourceLocation property: URL of the resource targeted by this operation.

String getServiceVersion()

Get the Service version used to create this document classifier.

OperationStatus getStatus()

Get the status property: Operation status.

Map<String,String> getTags()

Get the list of key-value tag attributes associated with the document model.

Methods inherited from java.lang.Object

Constructor Details

OperationDetails

public OperationDetails()

Creates an instance of OperationDetails.

Method Details

getCreatedOn

public OffsetDateTime getCreatedOn()

Get the Date and time (UTC) when the analyze operation was submitted.

Returns:

the createdDateTime value.

getError

public ResponseError getError()

Get the error property: Encountered error.

Returns:

the error value.

getKind

public OperationKind getKind()

Get the kind property: Type of operation.

Returns:

the kind value.

getLastUpdatedOn

public OffsetDateTime getLastUpdatedOn()

Get the lastUpdatedDateTime property: Date and time (UTC) when the status was last updated.

Returns:

the lastUpdatedDateTime value.

getOperationId

public String getOperationId()

Get the operationId property: Operation ID.

Returns:

the operationId value.

getPercentCompleted

public Integer getPercentCompleted()

Get the percentCompleted property: Operation progress (0-100).

Returns:

the percentCompleted value.

getResourceLocation

public String getResourceLocation()

Get the resourceLocation property: URL of the resource targeted by this operation.

Returns:

the resourceLocation value.

getServiceVersion

public String getServiceVersion()

Get the Service version used to create this document classifier.

Returns:

the serviceVersion value.

getStatus

public OperationStatus getStatus()

Get the status property: Operation status.

Returns:

the status value.

getTags

public Map getTags()

Get the list of key-value tag attributes associated with the document model.

Returns:

the tags value.

Applies to