次の方法で共有


CognitiveServicesAccount Class

  • java.lang.Object
    • com.azure.search.documents.indexes.models.CognitiveServicesAccount

Implements

public class CognitiveServicesAccount
implements JsonSerializable<CognitiveServicesAccount>

Base type for describing any Azure AI service resource attached to a skillset.

Constructor Summary

Constructor Description
CognitiveServicesAccount()

Creates an instance of CognitiveServicesAccount class.

Method Summary

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

Reads an instance of CognitiveServicesAccount from the JsonReader.

String getDescription()

Get the description property: Description of the Azure AI service resource attached to a skillset.

String getOdataType()

Get the odataType property: A URI fragment specifying the type of Azure AI service resource attached to a skillset.

CognitiveServicesAccount setDescription(String description)

Set the description property: Description of the Azure AI service resource attached to a skillset.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

CognitiveServicesAccount

public CognitiveServicesAccount()

Creates an instance of CognitiveServicesAccount class.

Method Details

fromJson

public static CognitiveServicesAccount fromJson(JsonReader jsonReader)

Reads an instance of CognitiveServicesAccount from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the CognitiveServicesAccount.

getDescription

public String getDescription()

Get the description property: Description of the Azure AI service resource attached to a skillset.

Returns:

the description value.

getOdataType

public String getOdataType()

Get the odataType property: A URI fragment specifying the type of Azure AI service resource attached to a skillset.

Returns:

the odataType value.

setDescription

public CognitiveServicesAccount setDescription(String description)

Set the description property: Description of the Azure AI service resource attached to a skillset.

Parameters:

description - the description value to set.

Returns:

the CognitiveServicesAccount object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to