DefaultCognitiveServicesAccount Class

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 DefaultCognitiveServicesAccount class.

Method Summary

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

Reads an instance of DefaultCognitiveServicesAccount from the JsonReader.

String getOdataType()

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

DefaultCognitiveServicesAccount 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 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:

jsonReader - The JsonReader being read.

Returns:

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

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:

the odataType value.

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:

description

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DefaultCognitiveServicesAccount.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to