Partager via


DocumentModelCopyToOperationDetails Class

public final class DocumentModelCopyToOperationDetails
extends DocumentIntelligenceOperationDetails

Get Operation response object.

Method Summary

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

Reads an instance of DocumentModelCopyToOperationDetails from the JsonReader.

OperationKind getKind()

Get the kind property: Type of operation.

DocumentModelDetails 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 DocumentModelCopyToOperationDetails fromJson(JsonReader jsonReader)

Reads an instance of DocumentModelCopyToOperationDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DocumentModelCopyToOperationDetails 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:

DocumentModelCopyToOperationDetails.getKind()

Returns:

the kind value.

getResult

public DocumentModelDetails getResult()

Get the result property: Operation result upon success.

Returns:

the result value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DocumentModelCopyToOperationDetails.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to