DocumentIntelligenceOperationDetails Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. DocumentIntelligenceOperationDetails
- com.
Implements
public class DocumentIntelligenceOperationDetails
implements JsonSerializable<DocumentIntelligenceOperationDetails>
Operation info.
Constructor Summary
Modifier | Constructor | Description |
---|---|---|
protected | DocumentIntelligenceOperationDetails(DocumentIntelligenceOperationStatus status, OffsetDateTime createdOn, OffsetDateTime lastUpdatedOn, String resourceLocation) |
Creates an instance of Document |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
String |
getApiVersion()
Get the api |
Offset |
getCreatedOn()
Get the created |
Document |
getError()
Get the error property: Encountered error. |
Operation |
getKind()
Get the kind property: Type of operation. |
Offset |
getLastUpdatedOn()
Get the last |
String |
getOperationId()
Get the operation |
Integer |
getPercentCompleted()
Get the percent |
String |
getResourceLocation()
Get the resource |
Document |
getStatus()
Get the status property: Operation status. |
Map<String,String> |
getTags()
Get the tags property: List of key-value tag attributes associated with the document model. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
DocumentIntelligenceOperationDetails
protected DocumentIntelligenceOperationDetails(DocumentIntelligenceOperationStatus status, OffsetDateTime createdOn, OffsetDateTime lastUpdatedOn, String resourceLocation)
Creates an instance of DocumentIntelligenceOperationDetails class.
Parameters:
Method Details
fromJson
public static DocumentIntelligenceOperationDetails fromJson(JsonReader jsonReader)
Reads an instance of DocumentIntelligenceOperationDetails from the JsonReader.
Parameters:
Returns:
Throws:
getApiVersion
public String getApiVersion()
Get the apiVersion property: API version used to create this operation.
Returns:
getCreatedOn
public OffsetDateTime getCreatedOn()
Get the createdOn property: Date and time (UTC) when the operation was created.
Returns:
getError
public DocumentIntelligenceError getError()
Get the error property: Encountered error.
Returns:
getKind
public OperationKind getKind()
Get the kind property: Type of operation.
Returns:
getLastUpdatedOn
public OffsetDateTime getLastUpdatedOn()
Get the lastUpdatedOn property: Date and time (UTC) when the status was last updated.
Returns:
getOperationId
public String getOperationId()
Get the operationId property: Operation ID.
Returns:
getPercentCompleted
public Integer getPercentCompleted()
Get the percentCompleted property: Operation progress (0-100).
Returns:
getResourceLocation
public String getResourceLocation()
Get the resourceLocation property: URL of the resource targeted by this operation.
Returns:
getStatus
public DocumentIntelligenceOperationStatus getStatus()
Get the status property: Operation status. notStarted, running, completed, or failed.
Returns:
getTags
public Map
Get the tags property: List of key-value tag attributes associated with the document model.
Returns:
toJson
Applies to
Azure SDK for Java