Partilhar via


CustomDocumentModelsDetails Class

  • java.lang.Object
    • com.azure.ai.documentintelligence.models.CustomDocumentModelsDetails

Implements

public final class CustomDocumentModelsDetails
implements JsonSerializable<CustomDocumentModelsDetails>

Details regarding custom document models.

Method Summary

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

Reads an instance of CustomDocumentModelsDetails from the JsonReader.

int getCount()

Get the count property: Number of custom document models in the current resource.

int getLimit()

Get the limit property: Maximum number of custom document models supported in the current resource.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static CustomDocumentModelsDetails fromJson(JsonReader jsonReader)

Reads an instance of CustomDocumentModelsDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CustomDocumentModelsDetails 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.

getCount

public int getCount()

Get the count property: Number of custom document models in the current resource.

Returns:

the count value.

getLimit

public int getLimit()

Get the limit property: Maximum number of custom document models supported in the current resource.

Returns:

the limit value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to