DefaultCognitiveServicesAccount Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. CognitiveServicesAccount - com.
azure. search. documents. indexes. models. DefaultCognitiveServicesAccount
- com.
- com.
public final class DefaultCognitiveServicesAccount
extends CognitiveServicesAccount
An empty object that represents the default Azure AI service resource for a skillset.
Constructor Summary
| Constructor | Description |
|---|---|
| DefaultCognitiveServicesAccount() |
Creates an instance of Default |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Default |
fromJson(JsonReader jsonReader)
Reads an instance of Default |
| String |
getOdataType()
Get the odata |
|
Default |
setDescription(String description)
Set the description property: Description of the Azure AI service resource attached to a skillset. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from CognitiveServicesAccount
Methods inherited from java.lang.Object
Constructor Details
DefaultCognitiveServicesAccount
public DefaultCognitiveServicesAccount()
Creates an instance of DefaultCognitiveServicesAccount class.
Method Details
fromJson
public static DefaultCognitiveServicesAccount fromJson(JsonReader jsonReader)
Reads an instance of DefaultCognitiveServicesAccount from the JsonReader.
Parameters:
Returns:
Throws:
getOdataType
public String getOdataType()
Get the odataType property: A URI fragment specifying the type of Azure AI service resource attached to a skillset.
Overrides:
DefaultCognitiveServicesAccount.getOdataType()Returns:
setDescription
public DefaultCognitiveServicesAccount setDescription(String description)
Set the description property: Description of the Azure AI service resource attached to a skillset.
Overrides:
DefaultCognitiveServicesAccount.setDescription(String description)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DefaultCognitiveServicesAccount.toJson(JsonWriter jsonWriter)Parameters:
Throws: