Partager via


DocumentClassifierBuildOperationDetails Class

public final class DocumentClassifierBuildOperationDetails
extends DocumentIntelligenceOperationDetails

Get Operation response object.

Method Summary

Modifier and Type Method and Description
static DocumentClassifierBuildOperationDetails fromJson(JsonReader jsonReader)

Reads an instance of DocumentClassifierBuildOperationDetails from the JsonReader.

OperationKind getKind()

Get the kind property: Type of operation.

DocumentClassifierDetails getResult()

Get the result property: Operation result upon success.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from DocumentIntelligenceOperationDetails

Methods inherited from java.lang.Object

Method Details

fromJson

public static DocumentClassifierBuildOperationDetails fromJson(JsonReader jsonReader)

Reads an instance of DocumentClassifierBuildOperationDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DocumentClassifierBuildOperationDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getKind

public OperationKind getKind()

Get the kind property: Type of operation.

Overrides:

DocumentClassifierBuildOperationDetails.getKind()

Returns:

the kind value.

getResult

public DocumentClassifierDetails getResult()

Get the result property: Operation result upon success.

Returns:

the result value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DocumentClassifierBuildOperationDetails.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to