Share via


OnYourDataAuthenticationOptions Class

  • java.lang.Object
    • com.azure.ai.openai.models.OnYourDataAuthenticationOptions

Implements

public class OnYourDataAuthenticationOptions
implements JsonSerializable<OnYourDataAuthenticationOptions>

The authentication options for Azure OpenAI On Your Data.

Constructor Summary

Constructor Description
OnYourDataAuthenticationOptions()

Creates an instance of OnYourDataAuthenticationOptions class.

Method Summary

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

Reads an instance of OnYourDataAuthenticationOptions from the JsonReader.

OnYourDataAuthenticationType getType()

Get the type property: The authentication type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

OnYourDataAuthenticationOptions

public OnYourDataAuthenticationOptions()

Creates an instance of OnYourDataAuthenticationOptions class.

Method Details

fromJson

public static OnYourDataAuthenticationOptions fromJson(JsonReader jsonReader)

Reads an instance of OnYourDataAuthenticationOptions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getType

public OnYourDataAuthenticationType getType()

Get the type property: The authentication type.

Returns:

the type value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to